ATLAS Ouvrir dans l'atlas →

ExerciceMaths Sup – MPSI, chapitre 19 — Espaces préhilbertiens réels · Projection orthogonale sur un sous-espace de dimension finie

Exercice 48

Démonstration

On note E=𝒞1([0 ,1],ℝ)E = \mathcal{C}^{1}([0\,,1], \mathbb{R}).

1. Montrer que la formule ⟨f,g⟩=∫01(f(t)g(t)+f′(t)g′(t)) dt\displaystyle\langle f, g \rangle = \int_{0}^{1} \big(f(t)g(t) + f'(t)g'(t)\big)\,\mathrm{d} t définit un produit scalaire sur EE.

2. On pose F={f∈𝒞2([0 ,1],ℝ)∣f′′=f}F = \{f \in \mathcal{C}^{2}([0\,,1], \mathbb{R}) \mid f'' = f\}. Montrer que FF est un sous-espace de dimension 22 de EE, et que F⊥={f∈E∣f(0)=f(1)=0}.F^{\perp} = \{f \in E \mid f(0) = f(1) = 0\}.

3. Déterminer une expression explicite de la projection orthogonale pF(f)p_{F}(f) d'une fonction f∈Ef \in E, à l'aide de f(0)f(0), de f(1)f(1) et des fonctions sh⁡\operatorname{sh}.

4. Soit α\alpha, β∈ℝ\beta \in \mathbb{R}, et Eα,β={f∈E∣f(0)=α et f(1)=β}E_{\alpha, \beta} = \{f \in E \mid f(0) = \alpha \text{ et } f(1) = \beta\}. Montrer que inf⁡f∈Eα,β∫01(f(t)2+f′(t)2) dt=(α2+β2)ch⁡1−2αβsh⁡1,\inf_{f \in E_{\alpha, \beta}} \int_{0}^{1} \big(f(t)^{2} + f'(t)^{2}\big)\,\mathrm{d} t = \frac{(\alpha^{2} + \beta^{2})\operatorname{ch} 1 - 2\alpha\beta}{\operatorname{sh} 1}, et que cette borne inférieure est atteinte en une unique fonction, que l'on précisera.

Corrigé

1. L'application est symétrique, et linéaire par rapport à ff, par linéarité de la dérivation et de l'intégrale. Pour f∈Ef \in E, la fonction f2+f′2f^{2} + f'^{2} est continue et positive, donc ⟨f,f⟩⩾0\langle f, f \rangle \geqslant 0. Si ⟨f,f⟩=0\langle f, f \rangle = 0, le théorème 4 du chapitre 18 montre que f2+f′2f^{2} + f'^{2} est nulle sur [0 ,1][0\,,1], donc f=0f = 0. ⟨f,g⟩=∫01(fg+f′g′) est un produit scalaire sur 𝒞1([0 ,1],ℝ)\boxed{\langle f, g \rangle = \int_{0}^{1} (fg + f'g') \text{ est un produit scalaire sur } \mathcal{C}^{1}([0\,,1], \mathbb{R})}

2. L'équation y′′−y=0y'' - y = 0 est linéaire, homogène, à coefficients constants, d'équation caractéristique r2−1=0r^{2} - 1 = 0, de racines ±1\pm 1 (chapitre 6, théorème 5) : ses solutions sont les fonctions λet+μe−t\lambda\mathrm{e}^{t} + \mu\mathrm{e}^{-t}, c'est-à-dire les combinaisons linéaires de ch⁡\operatorname{ch} et sh⁡\operatorname{sh}. Ainsi F=Vect(ch⁡,sh⁡)F = \mathrm{Vect}(\operatorname{ch}, \operatorname{sh}) est un sous-espace de EE, et la famille (ch⁡,sh⁡)(\operatorname{ch}, \operatorname{sh}) est libre : si ach⁡+bsh⁡=0a\operatorname{ch} + b\operatorname{sh} = 0, l'évaluation en 00 donne a=0a = 0, puis celle en 11 donne b=0b = 0. Donc dim⁡F=2\boxed{\dim F = 2}, ce que donnait aussi la proposition 1 (ii) du chapitre 15.

Soit f∈Ef \in E et g∈Fg \in F. On intègre par parties ∫01f′g′\int_{0}^{1} f'g', en primitivant f′f' et en dérivant g′g', qui est de classe 𝒞1\mathcal{C}^{1} puisque g′′=gg'' = g (chapitre 6, proposition 4) : ∫01f′g′=[fg′]01−∫01fg′′=f(1)g′(1)−f(0)g′(0)−∫01fg,d’ouˋ⟨f,g⟩=f(1)g′(1)−f(0)g′(0)\int_{0}^{1} f'g' = \big[fg'\big]_{0}^{1} - \int_{0}^{1} fg'' = f(1)g'(1) - f(0)g'(0) - \int_{0}^{1} fg, \qquad\text{d'où}\qquad \boxed{\langle f, g \rangle = f(1)g'(1) - f(0)g'(0)} Si f(0)=f(1)=0f(0) = f(1) = 0, ce produit est nul pour tout g∈Fg \in F, et f∈F⊥f \in F^{\perp}. Réciproquement, si f∈F⊥f \in F^{\perp}, le choix g=ch⁡g = \operatorname{ch}, avec g′=sh⁡g' = \operatorname{sh} et sh⁡0=0\operatorname{sh} 0 = 0, donne f(1)sh⁡1=0f(1)\operatorname{sh} 1 = 0, donc f(1)=0f(1) = 0 ; le choix g=sh⁡g = \operatorname{sh}, avec g′=ch⁡g' = \operatorname{ch}, donne alors −f(0)=0-f(0) = 0. F⊥={f∈E∣f(0)=f(1)=0}\boxed{F^{\perp} = \{f \in E \mid f(0) = f(1) = 0\}}

3. Par la proposition 10 (ii), pF(f)p_{F}(f) est l'unique g∈Fg \in F tel que f−g∈F⊥f - g \in F^{\perp}, c'est-à-dire tel que g(0)=f(0)g(0) = f(0) et g(1)=f(1)g(1) = f(1). La fonction t↦sh⁡(1−t)=sh⁡1 ch⁡t−ch⁡1 sh⁡tt \mapsto \operatorname{sh}(1 - t) = \operatorname{sh} 1\,\operatorname{ch} t - \operatorname{ch} 1\,\operatorname{sh} t appartient à FF, s'annule en 11 et vaut sh⁡1\operatorname{sh} 1 en 00 ; la fonction sh⁡\operatorname{sh} s'annule en 00 et vaut sh⁡1\operatorname{sh} 1 en 11. On en déduit pF(f)(t)=f(0) sh⁡(1−t)+f(1) sh⁡tsh⁡1\boxed{p_{F}(f)(t) = \frac{f(0)\,\operatorname{sh}(1 - t) + f(1)\,\operatorname{sh} t}{\operatorname{sh} 1}} La projection orthogonale sur FF remplace ff par l'unique solution de y′′=yy'' = y qui a les mêmes valeurs aux deux bords.

4. Soit gα,β=α sh⁡(1−t)+β sh⁡tsh⁡1g_{\alpha, \beta} = \frac{\alpha\,\operatorname{sh}(1 - t) + \beta\,\operatorname{sh} t}{\operatorname{sh} 1}, qui appartient à F∩Eα,βF \cap E_{\alpha, \beta}. Pour toute f∈Eα,βf \in E_{\alpha, \beta}, la question 3 donne pF(f)=gα,βp_{F}(f) = g_{\alpha, \beta}, et le théorème de Pythagore, appliqué à gα,β∈Fg_{\alpha, \beta} \in F et f−gα,β∈F⊥f - g_{\alpha, \beta} \in F^{\perp}, donne ∫01(f2+f′2)=∥f∥2=∥gα,β∥2+∥f−gα,β∥2⩾∥gα,β∥2,\int_{0}^{1}\big(f^{2} + f'^{2}\big) = \lVert f \rVert^{2} = \lVert g_{\alpha, \beta} \rVert^{2} + \lVert f - g_{\alpha, \beta} \rVert^{2} \geqslant \lVert g_{\alpha, \beta} \rVert^{2}, avec égalité si et seulement si f=gα,βf = g_{\alpha, \beta}. La borne inférieure est donc un minimum, atteint en la seule fonction gα,βg_{\alpha, \beta}. Pour le calculer, on applique la formule de la question 2 avec f=g=gα,βf = g = g_{\alpha, \beta}, après avoir dérivé : gα,β′(t)=−α ch⁡(1−t)+β ch⁡tsh⁡1,gα,β′(0)=β−αch⁡1sh⁡1,gα,β′(1)=βch⁡1−αsh⁡1,g_{\alpha, \beta}'(t) = \frac{-\alpha\,\operatorname{ch}(1 - t) + \beta\,\operatorname{ch} t}{\operatorname{sh} 1}, \qquad g_{\alpha, \beta}'(0) = \frac{\beta - \alpha\operatorname{ch} 1}{\operatorname{sh} 1}, \qquad g_{\alpha, \beta}'(1) = \frac{\beta\operatorname{ch} 1 - \alpha}{\operatorname{sh} 1},

∥gα,β∥2=β βch⁡1−αsh⁡1−α β−αch⁡1sh⁡1,inf⁡f∈Eα,β∫01(f2+f′2)=(α2+β2)ch⁡1−2αβsh⁡1\lVert g_{\alpha, \beta} \rVert^{2} = \beta\,\frac{\beta\operatorname{ch} 1 - \alpha}{\operatorname{sh} 1} - \alpha\,\frac{\beta - \alpha\operatorname{ch} 1}{\operatorname{sh} 1}, \qquad \boxed{\inf_{f \in E_{\alpha, \beta}} \int_{0}^{1}\big(f^{2} + f'^{2}\big) = \frac{(\alpha^{2} + \beta^{2})\operatorname{ch} 1 - 2\alpha\beta}{\operatorname{sh} 1}} atteinte seulement en gα,βg_{\alpha, \beta}. On a contrôlé cette valeur par un calcul direct de l'intégrale pour quatre couples (α,β)(\alpha, \beta) ✓.

Figure

Pour α=β=1\alpha = \beta = 1, en bleu, la fonction optimale est g1,1(t)=ch⁡(t−1/2)ch⁡(1/2)g_{1, 1}(t) = \frac{\operatorname{ch}(t - 1/2)}{\operatorname{ch}(1/2)} : elle descend jusqu'à 1ch⁡(1/2)≈0,887\frac{1}{\operatorname{ch}(1/2)} \approx 0{,}887 au milieu, et le minimum vaut 2(ch⁡1−1)sh⁡1=2 th 12≈0,924\frac{2(\operatorname{ch} 1 - 1)}{\operatorname{sh} 1} = 2\,\mathrm{th}\,\frac{1}{2} \approx 0{,}924, plus petit que la valeur 11 obtenue pour la fonction constante, en gris. En descendant un peu au milieu, elle gagne plus sur ∫f2\int f^{2} qu'elle ne perd sur ∫f′2\int f'^{2}, qui n'est plus nul mais reste petit. Pour α=1\alpha = 1 et β=0\beta = 0, en rouge, la fonction optimale g1,0(t)=sh⁡(1−t)sh⁡1g_{1, 0}(t) = \frac{\operatorname{sh}(1 - t)}{\operatorname{sh} 1} est très proche de la droite grise 1−t1 - t, et les deux valeurs le sont aussi : ch⁡1sh⁡1≈1,313\frac{\operatorname{ch} 1}{\operatorname{sh} 1} \approx 1{,}313 contre 43≈1,333\frac{4}{3} \approx 1{,}333.

À retenir. L'ensemble Eα,β=gα,β+F⊥E_{\alpha, \beta} = g_{\alpha, \beta} + F^{\perp} est un sous-espace affine de direction F⊥F^{\perp} (chapitre 14) ; son élément de plus petite norme est celui qui est orthogonal à la direction. C'est la même idée que la distance à un sous-espace, appliquée à 00 et à un sous-espace affine. Le produit scalaire de la question 1 n'est pas celui de la proposition 2 : il mesure aussi la dérivée, et c'est pourquoi la fonction optimale est une solution d'équation différentielle, et non une fonction affine.

Ouvrir dans l'atlas interactif →