ATLAS Ouvrir dans l'atlas →

ExerciceMaths Sup – MPSI, chapitre 6 — Primitives et équations différentielles linéaires · Équations du second ordre à coefficients constants

Exercice 38

Calcul

Résoudre sur ℝ\mathbb{R} les équations suivantes, en cherchant les solutions réelles.

(a) y′′−3y′+2y=1y'' - 3y' + 2y = 1

(b) y′′+4y′+4y=exy'' + 4y' + 4y = \mathrm{e}^{x}

(c) y′′−y=e2x−exy'' - y = \mathrm{e}^{2x} - \mathrm{e}^{x}

(d) y′′−4y′+3y=3e3xy'' - 4y' + 3y = 3\mathrm{e}^{3x}

(e) y′′+y′+y=cos⁡xy'' + y' + y = \cos x

(f) y′′+y′−2y=cos⁡xy'' + y' - 2y = \cos x

(g) y′′+4y′+4y=e−2x+1y'' + 4y' + 4y = \mathrm{e}^{-2x} + 1

(h) y′′−y=ch⁡xy'' - y = \operatorname{ch} x

(i) y′′+2y′+y=sh⁡xy'' + 2y' + y = \operatorname{sh} x

(j) y′′+y′=xy'' + y' = x

Corrigé

Dans chaque cas, on donne les racines caractéristiques, une solution particulière obtenue par la proposition 10 ou par la méthode qui la suit, puis la solution générale, avec (λ,μ)∈ℝ2(\lambda, \mu) \in \mathbb{R}^{2}.

(a) Racines 11 et 22 ; la constante 12\frac{1}{2} est solution. y(x)=λ ex+μ e2x+12\boxed{y(x) = \lambda\,\mathrm{e}^{x} + \mu\,\mathrm{e}^{2x} + \frac{1}{2}} (b) Racine double −2-2 ; 11 n'est pas racine et P(1)=9P(1) = 9. y(x)=(λ+μx) e−2x+ex9\boxed{y(x) = (\lambda + \mu x)\,\mathrm{e}^{-2x} + \frac{\mathrm{e}^{x}}{9}} (c) Racines 11 et −1-1. Pour e2x\mathrm{e}^{2x}, P(2)=3P(2) = 3 ; pour −ex-\mathrm{e}^{x}, 11 est racine simple et P′(1)=2P'(1) = 2 ; on superpose. y(x)=λ ex+μ e−x+e2x3−x ex2\boxed{y(x) = \lambda\,\mathrm{e}^{x} + \mu\,\mathrm{e}^{-x} + \frac{\mathrm{e}^{2x}}{3} - \frac{x\,\mathrm{e}^{x}}{2}} (d) Racines 11 et 33 ; 33 est racine simple, P′(3)=2P'(3) = 2. y(x)=λ ex+μ e3x+32 x e3x\boxed{y(x) = \lambda\,\mathrm{e}^{x} + \mu\,\mathrm{e}^{3x} + \frac{3}{2}\,x\,\mathrm{e}^{3x}} (e) Racines −12±i32-\frac{1}{2} \pm \mathrm{i}\frac{\sqrt{3}}{2}. Pour eix\mathrm{e}^{\mathrm{i} x}, P(i)=−1+i+1=iP(\mathrm{i}) = -1 + \mathrm{i} + 1 = \mathrm{i}, et Re⁡eixi=sin⁡x\operatorname{Re}\frac{\mathrm{e}^{\mathrm{i} x}}{\mathrm{i}} = \sin x. y(x)=e−x/2(λcos⁡3 x2+μsin⁡3 x2)+sin⁡x\boxed{y(x) = \mathrm{e}^{-x/2}\Big(\lambda\cos\frac{\sqrt{3}\,x}{2} + \mu\sin\frac{\sqrt{3}\,x}{2}\Big) + \sin x} (f) Racines 11 et −2-2. On a P(i)=−3+iP(\mathrm{i}) = -3 + \mathrm{i}, et Re⁡eix−3+i=Re⁡(−3−i) eix10\operatorname{Re}\frac{\mathrm{e}^{\mathrm{i} x}}{-3 + \mathrm{i}} = \operatorname{Re}\frac{(-3 - \mathrm{i})\,\mathrm{e}^{\mathrm{i} x}}{10}. y(x)=λ ex+μ e−2x+sin⁡x−3cos⁡x10\boxed{y(x) = \lambda\,\mathrm{e}^{x} + \mu\,\mathrm{e}^{-2x} + \frac{\sin x - 3\cos x}{10}} (g) Racine double −2-2 : pour e−2x\mathrm{e}^{-2x}, la proposition 10 donne x22 e−2x\frac{x^{2}}{2}\,\mathrm{e}^{-2x} ; pour la constante 11, on trouve 14\frac{1}{4}. y(x)=(λ+μx+x22)e−2x+14\boxed{y(x) = \Big(\lambda + \mu x + \frac{x^{2}}{2}\Big)\mathrm{e}^{-2x} + \frac{1}{4}} (h) Racines ±1\pm 1, toutes deux simples, et ch⁡x=ex+e−x2\operatorname{ch} x = \frac{\mathrm{e}^{x} + \mathrm{e}^{-x}}{2}. Les solutions particulières de y′′−y=ex2y'' - y = \frac{\mathrm{e}^{x}}{2} et y′′−y=e−x2y'' - y = \frac{\mathrm{e}^{-x}}{2} sont x ex4\frac{x\,\mathrm{e}^{x}}{4} et −x e−x4-\frac{x\,\mathrm{e}^{-x}}{4}, puisque P′(±1)=±2P'(\pm 1) = \pm 2 ; leur somme est x2sh⁡x\frac{x}{2}\operatorname{sh} x. y(x)=λ ex+μ e−x+x2sh⁡x\boxed{y(x) = \lambda\,\mathrm{e}^{x} + \mu\,\mathrm{e}^{-x} + \frac{x}{2}\operatorname{sh} x} (i) Racine double −1-1. Pour ex2\frac{\mathrm{e}^{x}}{2}, P(1)=4P(1) = 4 ; pour −e−x2-\frac{\mathrm{e}^{-x}}{2}, la racine est double, d'où −x24 e−x-\frac{x^{2}}{4}\,\mathrm{e}^{-x}. y(x)=(λ+μx−x24)e−x+ex8\boxed{y(x) = \Big(\lambda + \mu x - \frac{x^{2}}{4}\Big)\mathrm{e}^{-x} + \frac{\mathrm{e}^{x}}{8}} (j) Racines 00 et −1-1 ; comme b=0b = 0 et a≠0a \neq 0, on cherche un polynôme de degré 22, et l'identification donne x22−x\frac{x^{2}}{2} - x. y(x)=λ+μ e−x+x22−x\boxed{y(x) = \lambda + \mu\,\mathrm{e}^{-x} + \frac{x^{2}}{2} - x}

Piège : en (h) et en (i), on écrit souvent la solution particulière en remplaçant ch⁡\operatorname{ch} ou sh⁡\operatorname{sh} par lui-même, ce qui ne marche pas puisque ex\mathrm{e}^{x} ou e−x\mathrm{e}^{-x} est solution de l'équation homogène ; il faut revenir aux exponentielles et traiter chaque terme selon sa propre position par rapport aux racines.

Dans l'édifice

Thèmes

équations du second ordre, primitives trigonométriques, équations différentielles, second ordre

Notions

équation différentielle, exponentielle

Ouvrir dans l'atlas interactif →