Salta al contenuto
Note per Studenti Second-Order Linear Equations with Constant Coefficients - Homogeneous Case Report

Second-Order Linear Equations with Constant Coefficients - Homogeneous Case

In questa pagina 6

Prerequisites: Second-Order Linear Differential Equations - General StructureFor y'' + a1(t)y' + a0(t)y = b(t) with continuous coefficients on an interval, solutions are defined on the whole interval and the Cauchy problem with y(t0), y'(t0) has a unique solution. The general integral of the homogeneous equation is c1 y1 + c2 y2 with y1, y2 linearly independent solutions (checked with the Wronskian); that of the complete equation is yp + c1 y1 + c2 y2, with yp a particular solution. The same structure holds for every order n.Second-Order Linear Differential Equations - General Structure → (structure of the general integral, Wronskian). Next: Second-Order Linear Equations with Constant Coefficients - Nonhomogeneous CaseFor y'' + a1 y' + a0 y = b(t) with constant coefficients the general integral is y0 + yp: y0 comes from the characteristic polynomial, yp from the method of similarity when b(t) = Qm(t) e^(alpha t) cos(omega t) (or sin). Put lambda-bar = alpha + i omega: if p(lambda-bar) is not 0, yp = e^(alpha t)[Pm(t) cos omega t + Rm(t) sin omega t] with polynomials of degree m to be determined; if lambda-bar is a simple root multiply by t, if it is a double root by t^2 (resonance). If b = b1 + b2 the particular solutions are added (superposition principle).Second-Order Linear Equations with Constant Coefficients - Nonhomogeneous Case →.

The theorem

Consider the homogeneous equation with real-number coefficients (not functions of tt): y′′+a1 y′+a0 y=0,a0,a1∈R(E0)y'' + a_1\,y' + a_0\,y = 0, \qquad a_0, a_1 \in \mathbb{R} \tag{$E_0$} Constant coefficients are continuous on all of R\mathbb{R}, so the solutions are defined on I=RI = \mathbb{R}.

Theorem. The characteristic polynomial of (E0)(E_0) is p(λ)=λ2+a1 λ+a0p(\lambda) = \lambda^2 + a_1\,\lambda + a_0 (obtained by substituting y′′→λ2y'' \to \lambda^2, y′→λy' \to \lambda, y→1y \to 1). Let Δ=a12−4a0\Delta = a_1^2 - 4a_0 be its discriminant.

  1. Δ>0\Delta > 0: p(λ)=0p(\lambda) = 0 has two distinct real roots λ1≠λ2\lambda_1 \ne \lambda_2, and the general integral is y(t)=c1 eλ1t+c2 eλ2t∀t∈R, ∀c1,c2∈Ry(t) = c_1\,e^{\lambda_1 t} + c_2\,e^{\lambda_2 t} \qquad \forall t \in \mathbb{R},\ \forall c_1, c_2 \in \mathbb{R}
  2. Δ=0\Delta = 0: a single root λ1=λ2\lambda_1 = \lambda_2, of multiplicity 22, and y(t)=(c1+c2 t) eλ1ty(t) = (c_1 + c_2\,t)\,e^{\lambda_1 t}
  3. Δ<0\Delta < 0: two complex conjugate roots λ1,2=α±iω\lambda_{1,2} = \alpha \pm i\omega, with ω>0\omega > 0, and y(t)=eαt(c1cos⁡(ωt)+c2sin⁡(ωt))y(t) = e^{\alpha t}\big(c_1\cos(\omega t) + c_2\sin(\omega t)\big)

Example. y′′−3y′+2y=0y'' - 3y' + 2y = 0: λ2−3λ+2=0\lambda^2 - 3\lambda + 2 = 0 has roots 11 and 22 (Δ>0\Delta > 0), so y=c1et+c2e2ty = c_1 e^t + c_2 e^{2t}. For y′′+2y′+y=0y'' + 2y' + y = 0 (Δ=0\Delta = 0, λ=−1\lambda = -1): y=(c1+c2t) e−ty = (c_1 + c_2 t)\,e^{-t}. For y′′+2y′+5y=0y'' + 2y' + 5y = 0 (λ=−1±2i\lambda = -1 \pm 2i): y=e−t(c1cos⁡2t+c2sin⁡2t)y = e^{-t}(c_1 \cos 2t + c_2 \sin 2t).

In each case the two functions that are combined are l.i. solutions: eλ1te^{\lambda_1 t} and eλ2te^{\lambda_2 t}; eλ1te^{\lambda_1 t} and t eλ1tt\,e^{\lambda_1 t}; eαtcos⁡(ωt)e^{\alpha t}\cos(\omega t) and eαtsin⁡(ωt)e^{\alpha t}\sin(\omega t).

Proof of case 1

Step 1: when eλte^{\lambda t} is a solution. The idea is to look for exponential solutions, because differentiating an exponential gives back a multiple of the same exponential. With y=eλty = e^{\lambda t}: y′=λeλty' = \lambda e^{\lambda t}, y′′=λ2eλty'' = \lambda^2 e^{\lambda t}, so y′′+a1y′+a0y=λ2eλt+a1λeλt+a0eλt=eλt(λ2+a1λ+a0)=eλt p(λ)y'' + a_1 y' + a_0 y = \lambda^2 e^{\lambda t} + a_1\lambda e^{\lambda t} + a_0 e^{\lambda t} = e^{\lambda t}\left(\lambda^2 + a_1\lambda + a_0\right) = e^{\lambda t}\,p(\lambda) Since eλt≠0e^{\lambda t} \ne 0, this vanishes for every tt if and only if p(λ)=0p(\lambda) = 0. Hence eλte^{\lambda t} is a solution if and only if λ\lambda is a root of the characteristic polynomial. With Δ>0\Delta > 0 two solutions are obtained, y1=eλ1ty_1 = e^{\lambda_1 t} and y2=eλ2ty_2 = e^{\lambda_2 t}.

Step 2: they are independent. Wronskian at t0=0t_0 = 0 (with e0=1e^0 = 1): W(0)=det⁡(y1(0)y2(0)y1′(0)y2′(0))=det⁡(11λ1λ2)=λ2−λ1≠0W(0) = \det\begin{pmatrix} y_1(0) & y_2(0) \\ y_1'(0) & y_2'(0) \end{pmatrix} = \det\begin{pmatrix} 1 & 1 \\ \lambda_1 & \lambda_2 \end{pmatrix} = \lambda_2 - \lambda_1 \ne 0 because the roots are distinct. By the theorem on the structure of the general integral of the homogeneous equation, the general integral is c1eλ1t+c2eλ2tc_1 e^{\lambda_1 t} + c_2 e^{\lambda_2 t} ∎.

Case 2 (idea, direct check). With Δ=0\Delta = 0 the root is λ1=−a12\lambda_1 = -\frac{a_1}{2}, and step 1 gives a single solution eλ1te^{\lambda_1 t}. One checks that y=t eλ1ty = t\,e^{\lambda_1 t} also works: y′=(1+λ1t)eλ1ty' = (1 + \lambda_1 t)e^{\lambda_1 t}, y′′=(2λ1+λ12t)eλ1ty'' = (2\lambda_1 + \lambda_1^2 t)e^{\lambda_1 t}, and y′′+a1y′+a0y=eλ1t[t p(λ1)+2λ1+a1]=0y'' + a_1 y' + a_0 y = e^{\lambda_1 t}\left[t\,p(\lambda_1) + 2\lambda_1 + a_1\right] = 0 because p(λ1)=0p(\lambda_1) = 0 and 2λ1+a1=02\lambda_1 + a_1 = 0. The Wronskian at 00 is det⁡(10λ11)=1≠0\det\begin{pmatrix}1 & 0 \\ \lambda_1 & 1\end{pmatrix} = 1 \ne 0.

Why sine and cosine appear in case 3

With Δ<0\Delta < 0 step 1 works all the same in the complex numbers: y1=e(α+iω)t=eαteiωty_1 = e^{(\alpha + i\omega)t} = e^{\alpha t}e^{i\omega t} and y2=e(α−iω)t=eαte−iωty_2 = e^{(\alpha - i\omega)t} = e^{\alpha t}e^{-i\omega t} are independent (complex) solutions. To get back to real functions one uses Euler's formulas cos⁡(ωt)=eiωt+e−iωt2,sin⁡(ωt)=eiωt−e−iωt2i\cos(\omega t) = \frac{e^{i\omega t} + e^{-i\omega t}}{2}, \qquad \sin(\omega t) = \frac{e^{i\omega t} - e^{-i\omega t}}{2i} and takes the combinations (which are still solutions, by the structure theorem) yˉ1=y1+y22=eαtcos⁡(ωt),yˉ2=y1−y22i=eαtsin⁡(ωt)\bar y_1 = \frac{y_1 + y_2}{2} = e^{\alpha t}\cos(\omega t), \qquad \bar y_2 = \frac{y_1 - y_2}{2i} = e^{\alpha t}\sin(\omega t) which are real.

The physical meaning. For the damped harmonic oscillator y′′+kmy′+hmy=0y'' + \frac km y' + \frac hm y = 0 case 3 is that of weak damping: the cos⁡\cos, sin⁡\sin part makes the position oscillate, the factor eαte^{\alpha t} with α=−k2m<0\alpha = -\frac{k}{2m} < 0 damps the oscillations. Indeed ∣y(t)∣≤C eαt→0|y(t)| \le C\,e^{\alpha t} \to 0: the graph oscillates between the curves ±Ceαt\pm C e^{\alpha t}.

Grafico interattivo: y = e^(−t/2) cos(√7 t/2): damped oscillation (y'' + y' + 2y = 0)

The method holds for every order

For a homogeneous linear equation with constant coefficients of order nn, y(n)+an−1 y(n−1)+⋯+a1 y′+a0 y=0y^{(n)} + a_{n-1}\,y^{(n-1)} + \dots + a_1\,y' + a_0\,y = 0 the characteristic polynomial is p(λ)=λn+an−1λn−1+⋯+a1λ+a0p(\lambda) = \lambda^n + a_{n-1}\lambda^{n-1} + \dots + a_1\lambda + a_0, and each root contributes solutions:

  • real root λ\lambda of multiplicity mm: eλt,t eλt,…,tm−1eλte^{\lambda t}, t\,e^{\lambda t}, \dots, t^{m-1}e^{\lambda t};
  • pair of complex roots α±iω\alpha \pm i\omega of multiplicity mm: tkeαtcos⁡(ωt)t^k e^{\alpha t}\cos(\omega t) and tkeαtsin⁡(ωt)t^k e^{\alpha t}\sin(\omega t) for k=0,…,m−1k = 0, \dots, m - 1.

In all there are nn l.i. solutions, and the general integral is their combination with nn constants.

Summary table

Roots of p(λ)=λ2+a1λ+a0p(\lambda) = \lambda^2 + a_1\lambda + a_0 General integral of y′′+a1y′+a0y=0y'' + a_1 y' + a_0 y = 0
real distinct λ1≠λ2\lambda_1 \ne \lambda_2 (Δ>0\Delta > 0) c1eλ1t+c2eλ2tc_1 e^{\lambda_1 t} + c_2 e^{\lambda_2 t}
real double λ1\lambda_1 (Δ=0\Delta = 0) (c1+c2t) eλ1t(c_1 + c_2 t)\,e^{\lambda_1 t}
complex α±iω\alpha \pm i\omega (Δ<0\Delta < 0) eαt(c1cos⁡ωt+c2sin⁡ωt)e^{\alpha t}\left(c_1\cos\omega t + c_2\sin\omega t\right)

Common mistakes

  • In the case Δ=0\Delta = 0 writing c1eλt+c2eλtc_1 e^{\lambda t} + c_2 e^{\lambda t}: it is a single exponential, with a single constant; t eλtt\,e^{\lambda t} is needed.
  • In the case Δ<0\Delta < 0 taking ω\omega with a sign or forgetting α\alpha: with λ=−12±i72\lambda = -\frac12 \pm i\frac{\sqrt7}{2} one has α=−12\alpha = -\frac12 and ω=72\omega = \frac{\sqrt7}{2}.
  • A root λ=0\lambda = 0: it gives e0t=1e^{0t} = 1, a constant (for instance y′′−3y′=0y'' - 3y' = 0 has general integral c1+c2e3tc_1 + c_2 e^{3t}).

Versione ripasso

Prerequisite: Second-Order Linear Differential Equations - General StructureFor y'' + a1(t)y' + a0(t)y = b(t) with continuous coefficients on an interval, solutions are defined on the whole interval and the Cauchy problem with y(t0), y'(t0) has a unique solution. The general integral of the homogeneous equation is c1 y1 + c2 y2 with y1, y2 linearly independent solutions (checked with the Wronskian); that of the complete equation is yp + c1 y1 + c2 y2, with yp a particular solution. The same structure holds for every order n.Second-Order Linear Differential Equations - General Structure →. Consider y′′+a1 y′+a0 y=0y'' + a_1\,y' + a_0\,y = 0 with a0,a1∈Ra_0, a_1 \in \mathbb{R} (solutions defined on R\mathbb{R}). The characteristic polynomial is p(λ)=λ2+a1 λ+a0p(\lambda) = \lambda^2 + a_1\,\lambda + a_0 (y′′→λ2y'' \to \lambda^2, y′→λy' \to \lambda, y→1y \to 1). Let Δ=a12−4a0\Delta = a_1^2 - 4a_0.

Theorem.

  1. Δ>0\Delta > 0: roots λ1≠λ2∈R\lambda_1 \neq \lambda_2 \in \mathbb{R}. General integral: y(t)=c1 eλ1t+c2 eλ2ty(t) = c_1\,e^{\lambda_1 t} + c_2\,e^{\lambda_2 t}.
  2. Δ=0\Delta = 0: root λ1=λ2∈R\lambda_1 = \lambda_2 \in \mathbb{R}. General integral: y(t)=(c1+c2 t) eλ1ty(t) = (c_1 + c_2\,t)\,e^{\lambda_1 t}.
  3. Δ<0\Delta < 0: roots α±iω\alpha \pm i\omega (ω>0\omega > 0). General integral: y(t)=eαt(c1cos⁡(ωt)+c2sin⁡(ωt))y(t) = e^{\alpha t}(c_1\cos(\omega t) + c_2\sin(\omega t)).

Examples: y′′−3y′+2y=0y'' - 3y' + 2y = 0 gives c1et+c2e2tc_1 e^t + c_2 e^{2t}; y′′+2y′+y=0y'' + 2y' + y = 0 gives (c1+c2t)e−t(c_1 + c_2 t)e^{-t}; y′′+2y′+5y=0y'' + 2y' + 5y = 0 gives e−t(c1cos⁡2t+c2sin⁡2t)e^{-t}(c_1\cos 2t + c_2\sin 2t).

Proof and notes

  • Case 1: with y=eλty = e^{\lambda t}: y′′+a1y′+a0y=eλt p(λ)y'' + a_1 y' + a_0 y = e^{\lambda t}\,p(\lambda), zero iff p(λ)=0p(\lambda) = 0. The Wronskian W(0)=λ2−λ1≠0W(0) = \lambda_2 - \lambda_1 \neq 0 guarantees linear independence.
  • Case 2: λ1=−a12\lambda_1 = -\frac{a_1}{2}; for y=teλ1ty = t e^{\lambda_1 t} one finds y′′+a1y′+a0y=eλ1t[t p(λ1)+2λ1+a1]=0y'' + a_1 y' + a_0 y = e^{\lambda_1 t}\left[t\,p(\lambda_1) + 2\lambda_1 + a_1\right] = 0, and W(0)=1≠0W(0) = 1 \ne 0.
  • Case 3: using Euler's formulascos(wt) = (e^(iwt) + e^(-iwt))/2 and sin(wt) = (e^(iwt) - e^(-iwt))/(2i) one passes from the complex solutions e(α±iω)te^{(\alpha \pm i\omega)t} to a real basis given by eαtcos⁡(ωt)e^{\alpha t}\cos(\omega t) and eαtsin⁡(ωt)e^{\alpha t}\sin(\omega t).
  • Physics: in the damped oscillator α=−k2m<0\alpha = -\frac{k}{2m} < 0: the factor eαte^{\alpha t} damps the oscillation, ∣y(t)∣≤C eαt→0|y(t)| \le C\,e^{\alpha t} \to 0.

Order nn

For an equation of order nn, p(λ)p(\lambda) has degree nn.

  • Real root λ\lambda (multiplicity mm): eλt,teλt,…,tm−1eλte^{\lambda t}, t e^{\lambda t}, \dots, t^{m-1}e^{\lambda t}.
  • Complex roots α±iω\alpha \pm i\omega (multiplicity mm): tkeαtcos⁡(ωt)t^k e^{\alpha t}\cos(\omega t) and tkeαtsin⁡(ωt)t^k e^{\alpha t}\sin(\omega t) for k=0,…,m−1k = 0, \dots, m-1.

In all nn l.i. solutions.

Common mistakes:

  • Δ=0\Delta=0: forgetting the factor tt in the second term.
  • Δ<0\Delta<0: confusing α\alpha (real part) with ω\omega (imaginary part) or omitting α\alpha in the exponential: with λ=−12±i72\lambda = -\frac12 \pm i\frac{\sqrt7}{2} one has α=−12\alpha = -\frac12, ω=72\omega = \frac{\sqrt7}{2}.
  • Zero root λ=0\lambda=0: e0t=1e^{0t} = 1 is a solution (y′′−3y′=0y'' - 3y' = 0 has general integral c1+c2e3tc_1 + c_2 e^{3t}).

Teoria collegata