Salta al contenuto
Note per Studenti Second-Order Linear Differential Equations - General Structure Report

Second-Order Linear Differential Equations - General Structure

In questa pagina 9
In questa pagina 6

Prerequisites: Introduction to Ordinary Differential EquationsAn ordinary differential equation of order n has an unknown function y(t) and links the n-th derivative to t, y, y', ..., y^(n-1). The general integral is the set of solutions, defined on an interval; there are usually infinitely many, depending on n constants. The Cauchy problem adds n initial conditions at a time t0 and under suitable hypotheses has a single solution. The equation y^(n) = f(t) is solved by integrating n times.Introduction to Ordinary Differential Equations →, First-Order Linear Differential EquationsFor y' + a(t)y = b(t) with a, b continuous on an interval I, solutions are defined on all of I and the Cauchy problem has a unique solution. General integral: y = e^(-A(t))[c + integral of e^(A(t)) b(t)], with A a primitive of a; for the homogeneous equation (b = 0) y = c e^(-A(t)). The proof multiplies by the integrating factor e^(A(t)).First-Order Linear Differential Equations →. Next: Second-Order Linear Equations with Constant Coefficients - Homogeneous CaseFor y'' + a1 y' + a0 y = 0 with constant a0, a1 one looks for solutions e^(lambda t): they work if lambda is a root of the characteristic polynomial p(lambda) = lambda^2 + a1 lambda + a0. Delta > 0 (roots lambda1 and lambda2 distinct): y = c1 e^(lambda1 t) + c2 e^(lambda2 t). Delta = 0 (double root lambda): y = (c1 + c2 t) e^(lambda t). Delta < 0 (roots alpha plus or minus i omega): y = e^(alpha t)(c1 cos omega t + c2 sin omega t). The same method holds for every order.Second-Order Linear Equations with Constant Coefficients - Homogeneous Case →.

The form

Definition (second-order linear equation). A second-order linear differential equation is aˉ2(t) y′′+aˉ1(t) y′+aˉ0(t) y=bˉ(t),aˉ2,aˉ1,aˉ0,bˉ∈C(I), aˉ2(t)≠0  ∀t∈I\bar a_2(t)\,y'' + \bar a_1(t)\,y' + \bar a_0(t)\,y = \bar b(t), \qquad \bar a_2, \bar a_1, \bar a_0, \bar b \in C(I),\ \bar a_2(t) \ne 0\ \ \forall t \in I with II an interval. Dividing by aˉ2(t)≠0\bar a_2(t) \ne 0 one gets the equivalent form y′′+a1(t) y′+a0(t) y=b(t),a1=aˉ1aˉ2, a0=aˉ0aˉ2, b=bˉaˉ2∈C(I)y'' + a_1(t)\,y' + a_0(t)\,y = b(t), \qquad a_1 = \frac{\bar a_1}{\bar a_2},\ a_0 = \frac{\bar a_0}{\bar a_2},\ b = \frac{\bar b}{\bar a_2} \in C(I)

Example. y′′−3y′+2y=ty'' - 3y' + 2y = t is second-order linear with constant coefficients, with a1=−3a_1 = -3, a0=2a_0 = 2 and b(t)=tb(t) = t.

It is a special case of y′′=f(t,y,y′)y'' = f(t, y, y') with f=−a1(t) y′−a0(t) y+b(t)f = -a_1(t)\,y' - a_0(t)\,y + b(t): linear both in yy and in y′y' (they appear to the first power, multiplied by functions of tt).

  • y′′+a1(t) y′+a0(t) y=0y'' + a_1(t)\,y' + a_0(t)\,y = 0 is called the homogeneous equation;
  • y′′+a1(t) y′+a0(t) y=b(t)y'' + a_1(t)\,y' + a_0(t)\,y = b(t) is called the complete (nonhomogeneous) equation.

Example: the damped harmonic oscillator y′′+kmy′+hmy=0y'' + \frac km y' + \frac hm y = 0 is linear homogeneous, with constant coefficients.

Existence and uniqueness

Theorem 1 (global existence and uniqueness, without proof). Let a0,a1,b∈C(I)a_0, a_1, b \in C(I).

  1. The general integral of y′′+a1(t) y′+a0(t) y=b(t)y'' + a_1(t)\,y' + a_0(t)\,y = b(t) consists of functions y∈C2(I)y \in C^2(I), defined on the same interval II.
  2. For every choice of initial conditions x0,x1∈Rx_0, x_1 \in \mathbb{R} at an instant t0∈It_0 \in I, the Cauchy problem {y′′+a1(t) y′+a0(t) y=b(t)y(t0)=x0,y′(t0)=x1\begin{cases} y'' + a_1(t)\,y' + a_0(t)\,y = b(t) \\ y(t_0) = x_0, \quad y'(t_0) = x_1 \end{cases} has one and only one solution y∈C2(I)y \in C^2(I).

Example. y′′+y=0y'' + y = 0, y(0)=0y(0) = 0, y′(0)=1y'(0) = 1 has a single solution, y(t)=sin⁡ty(t) = \sin t, defined on all of R\mathbb{R}.

Linearly independent functions

Definition (linearly independent functions). Two functions y1,y2y_1, y_2 (at least continuous on an interval II) are linearly dependent if there exist c1,c2∈Rc_1, c_2 \in \mathbb{R}, not both zero, such that c1 y1(t)+c2 y2(t)=0∀t∈Ic_1\,y_1(t) + c_2\,y_2(t) = 0 \qquad \forall t \in I Otherwise they are linearly independent (l.i.).

The meaning. If for instance c1≠0c_1 \ne 0, one can divide: y1(t)=−c2c1 y2(t)y_1(t) = -\frac{c_2}{c_1}\,y_2(t), that is y1y_1 is a constant multiple of y2y_2. Two functions are linearly independent when neither is a constant multiple of the other.

Examples. y1=ety_1 = e^t and y2=3ety_2 = 3e^t are dependent: with c1=3c_1 = 3 and c2=−1c_2 = -1 one has 3y1−y2=3et−3et=03y_1 - y_2 = 3e^t - 3e^t = 0 for every tt. On the other hand ete^t and e2te^{2t} are independent: their ratio e2tet=et\frac{e^{2t}}{e^t} = e^t is not constant.

Structure of the general integral of the homogeneous equation

Theorem 2. Let aˉ0,aˉ1,aˉ2∈C(I)\bar a_0, \bar a_1, \bar a_2 \in C(I).

  1. If y1,y2∈C2(I)y_1, y_2 \in C^2(I) are solutions of the homogeneous equation aˉ2(t) y′′+aˉ1(t) y′+aˉ0(t) y=0(E0)\bar a_2(t)\,y'' + \bar a_1(t)\,y' + \bar a_0(t)\,y = 0 \tag{$E_0$} then y=c1y1+c2y2y = c_1 y_1 + c_2 y_2 is also a solution of (E0)(E_0), for every c1,c2∈Rc_1, c_2 \in \mathbb{R}.
  2. If aˉ2(t)≠0\bar a_2(t) \ne 0 for every t∈It \in I and y1,y2y_1, y_2 are linearly independent solutions of (E0)(E_0) (two such solutions always exist), the general integral of the homogeneous equation is y(t)=c1 y1(t)+c2 y2(t)∀t∈I, ∀c1,c2∈Ry(t) = c_1\,y_1(t) + c_2\,y_2(t) \qquad \forall t \in I,\ \forall c_1, c_2 \in \mathbb{R}

Example. y′′−3y′+2y=0y'' - 3y' + 2y = 0 has the independent solutions ete^t and e2te^{2t}, so its general integral is c1et+c2e2tc_1 e^t + c_2 e^{2t}.

In words: combining two solutions gives another solution, and if the two are "really different" (independent) their combinations are all the solutions. The solutions of the homogeneous equation form a vector space of dimension 22, and y1,y2y_1, y_2 are a basis.

Proof (only point 1). Substitute y=c1y1+c2y2y = c_1 y_1 + c_2 y_2 in the left-hand side of (E0)(E_0), using that the derivative of a combination is the combination of the derivatives: aˉ2 (c1y1′′+c2y2′′)+aˉ1 (c1y1′+c2y2′)+aˉ0 (c1y1+c2y2)\bar a_2\,(c_1 y_1'' + c_2 y_2'') + \bar a_1\,(c_1 y_1' + c_2 y_2') + \bar a_0\,(c_1 y_1 + c_2 y_2) Collecting c1c_1 and c2c_2: =c1[aˉ2 y1′′+aˉ1 y1′+aˉ0 y1]⏟=0 since y1 is a solution+c2[aˉ2 y2′′+aˉ1 y2′+aˉ0 y2]⏟=0 since y2 is a solution=0■= c_1\underbrace{\left[\bar a_2\,y_1'' + \bar a_1\,y_1' + \bar a_0\,y_1\right]}_{= 0 \text{ since } y_1 \text{ is a solution}} + c_2\underbrace{\left[\bar a_2\,y_2'' + \bar a_1\,y_2' + \bar a_0\,y_2\right]}_{= 0 \text{ since } y_2 \text{ is a solution}} = 0 \qquad \blacksquare

Why two constants, and why independence. The Cauchy problem asks for two conditions, y(t0)=x0y(t_0) = x_0 and y′(t0)=x1y'(t_0) = x_1, and two free constants are needed to satisfy all of them. If y2y_2 were a multiple of y1y_1, the combination c1y1+c2y2c_1 y_1 + c_2 y_2 would be a multiple of y1y_1: really a single constant, not enough.

The Wronskian determinant

A simple way to check the independence of two solutions.

Criterion (Wronskian). Wronskian method (without proof). Let y1,y2∈C2(I)y_1, y_2 \in C^2(I) be solutions of the homogeneous equation (E0)(E_0), with aˉ2(t)≠0\bar a_2(t) \ne 0 on II. Then y1,y2 are l.i.  ⟺  ∃ t0∈I: W(t0)=det⁡(y1(t0)y2(t0)y1′(t0)y2′(t0))=y1(t0) y2′(t0)−y2(t0) y1′(t0)≠0y_1, y_2 \text{ are l.i.} \iff \exists\, t_0 \in I: \ W(t_0) = \det\begin{pmatrix} y_1(t_0) & y_2(t_0) \\ y_1'(t_0) & y_2'(t_0) \end{pmatrix} = y_1(t_0)\,y_2'(t_0) - y_2(t_0)\,y_1'(t_0) \ne 0 WW is called the Wronskian determinant. In fact, for solutions of the homogeneous equation, W(t0)≠0W(t_0) \ne 0 at one point if and only if W(t)≠0W(t) \ne 0 at all points of II.

In practice WW is computed at the most convenient point, usually t0=0t_0 = 0.

Example. y1=ety_1 = e^t, y2=e2ty_2 = e^{2t} (solutions of y′′−3y′+2y=0y'' - 3y' + 2y = 0): W(0)=det⁡(1112)=2−1=1≠0W(0) = \det\begin{pmatrix} 1 & 1 \\ 1 & 2\end{pmatrix} = 2 - 1 = 1 \ne 0, so they are independent.

Structure of the general integral of the complete equation

Theorem 3. Let aˉ0,aˉ1,aˉ2,bˉ∈C(I)\bar a_0, \bar a_1, \bar a_2, \bar b \in C(I).

  1. If ypy_p is one solution of the complete equation aˉ2y′′+aˉ1y′+aˉ0y=bˉ\bar a_2 y'' + \bar a_1 y' + \bar a_0 y = \bar b (a particular solution), then all the solutions of the complete equation are the sum of ypy_p and a solution of the homogeneous equation: general integral of the complete equation=yp+general integral of the homogeneous equation\text{general integral of the complete equation} = y_p + \text{general integral of the homogeneous equation}
  2. Hence, if aˉ2≠0\bar a_2 \ne 0 on II and y1,y2y_1, y_2 are l.i. solutions of the homogeneous equation, the general integral of the complete equation is y(t)=yp(t)+c1 y1(t)+c2 y2(t)∀t∈I, ∀c1,c2∈Ry(t) = y_p(t) + c_1\,y_1(t) + c_2\,y_2(t) \qquad \forall t \in I,\ \forall c_1, c_2 \in \mathbb{R}

Example. y′′−y=2y'' - y = 2 has the particular solution yp=−2y_p = -2 and the homogeneous equation has the solutions ete^t and e−te^{-t}: the general integral is −2+c1et+c2e−t-2 + c_1 e^t + c_2 e^{-t}.

Proof of point 1. Write L[y]=aˉ2 y′′+aˉ1 y′+aˉ0 yL[y] = \bar a_2\,y'' + \bar a_1\,y' + \bar a_0\,y for brevity; as in Theorem 2, L[u+v]=L[u]+L[v]L[u + v] = L[u] + L[v].

  • Every yp+y0y_p + y_0, with y0y_0 a solution of the homogeneous equation, solves the complete one: L[yp+y0]=L[yp]+L[y0]=bˉ+0=bˉL[y_p + y_0] = L[y_p] + L[y_0] = \bar b + 0 = \bar b.
  • Every solution yy of the complete equation has this form. It is enough to show that y0=y−ypy_0 = y - y_p solves the homogeneous equation: L[y−yp]=L[y]−L[yp]=bˉ−bˉ=0L[y - y_p] = L[y] - L[y_p] = \bar b - \bar b = 0. Then y=yp+y0y = y_p + y_0.

Point 2 follows from point 1 and Theorem 2 ∎.

It holds for every order

All linear differential equations have this structure.

  • Order 1: for y′+a(t)y=b(t)y' + a(t)y = b(t) the solution formula splits exactly this way: y(t)=c e−A(t)⏟solutions of the homogeneous equation y′+a(t)y=0+e−A(t)∫eA(t)b(t) dt⏟yp, a particular solutiony(t) = \underbrace{c\,e^{-A(t)}}_{\text{solutions of the homogeneous equation } y' + a(t)y = 0} + \underbrace{e^{-A(t)}\int e^{A(t)}b(t)\,dt}_{y_p, \text{ a particular solution}}
  • Order nn: for y(n)+an−1(t) y(n−1)+⋯+a1(t) y′+a0(t) y=b(t)y^{(n)} + a_{n-1}(t)\,y^{(n-1)} + \dots + a_1(t)\,y' + a_0(t)\,y = b(t), the general integral of the homogeneous equation is c1y1+⋯+cnync_1 y_1 + \dots + c_n y_n with y1,…,yny_1, \dots, y_n l.i. solutions of the homogeneous equation, and that of the complete equation is yp+c1y1+⋯+cnyny_p + c_1 y_1 + \dots + c_n y_n.

Summing up: what is needed

To solve a second-order linear equation one needs

  1. two l.i. solutions of the homogeneous equation, y1y_1 and y2y_2;
  2. one particular solution of the complete equation, ypy_p.

Unfortunately there is no general method to find them. One can find y1,y2y_1, y_2 when the coefficients are constant (Second-Order Linear Equations with Constant Coefficients - Homogeneous CaseFor y'' + a1 y' + a0 y = 0 with constant a0, a1 one looks for solutions e^(lambda t): they work if lambda is a root of the characteristic polynomial p(lambda) = lambda^2 + a1 lambda + a0. Delta > 0 (roots lambda1 and lambda2 distinct): y = c1 e^(lambda1 t) + c2 e^(lambda2 t). Delta = 0 (double root lambda): y = (c1 + c2 t) e^(lambda t). Delta < 0 (roots alpha plus or minus i omega): y = e^(alpha t)(c1 cos omega t + c2 sin omega t). The same method holds for every order.Second-Order Linear Equations with Constant Coefficients - Homogeneous Case →), and ypy_p when moreover b(t)b(t) has a special form (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 →).

Common mistakes

  • Writing the general integral of the complete equation as c1y1+c2y2c_1 y_1 + c_2 y_2 forgetting ypy_p, or as ypy_p forgetting the solutions of the homogeneous equation.
  • Using two dependent solutions (for instance ete^{t} and 2et2e^t): their combinations do not give all solutions.
  • Imposing the initial conditions only on the homogeneous part: they must be imposed on the complete solution yp+c1y1+c2y2y_p + c_1 y_1 + c_2 y_2.

Versione ripasso

The form

A linear equation is aˉ2(t) y′′+aˉ1(t) y′+aˉ0(t) y=bˉ(t),aˉ2,aˉ1,aˉ0,bˉ∈C(I), aˉ2(t)≠0\bar a_2(t)\,y'' + \bar a_1(t)\,y' + \bar a_0(t)\,y = \bar b(t), \qquad \bar a_2, \bar a_1, \bar a_0, \bar b \in C(I),\ \bar a_2(t) \ne 0 Dividing by aˉ2(t)\bar a_2(t) one gets the normal form y′′+a1(t) y′+a0(t) y=b(t)y'' + a_1(t)\,y' + a_0(t)\,y = b(t).

  • Homogeneous: y′′+a1(t) y′+a0(t) y=0y'' + a_1(t)\,y' + a_0(t)\,y = 0.
  • Complete: y′′+a1(t) y′+a0(t) y=b(t)y'' + a_1(t)\,y' + a_0(t)\,y = b(t).
  • E.g. the damped harmonic oscillator y′′+kmy′+hmy=0y'' + \frac km y' + \frac hm y = 0.

Existence and uniqueness

For every initial condition y(t0)=x0,y′(t0)=x1y(t_0) = x_0, y'(t_0) = x_1 with t0∈It_0 \in I, the Cauchy problem has one and only one solution, defined on all of II.

Linearly independent functions (l.i.)

y1,y2y_1, y_2 are linearly dependent if c1y1+c2y2=0c_1 y_1 + c_2 y_2 = 0 on II with c1,c2c_1, c_2 not both zero, i.e. if one is a constant multiple of the other; otherwise they are l.i. E.g. ete^t, 3et3e^t dependent; ete^t, e2te^{2t} independent.

Wronskian method (for y1,y2y_1, y_2 solutions of the homogeneous equation): y1,y2y_1, y_2 are l.i.   ⟺  ∃ t0∈I:W(t0)=y1(t0)y2′(t0)−y2(t0)y1′(t0)≠0\iff \exists\, t_0 \in I: W(t_0) = y_1(t_0)y_2'(t_0) - y_2(t_0)y_1'(t_0) \neq 0.

E.g. ete^t, e2te^{2t} (solutions of y′′−3y′+2y=0y'' - 3y' + 2y = 0): W(0)=2−1=1≠0W(0) = 2 - 1 = 1 \ne 0.

Structure of the general integral

  1. Homogeneous: the general integral is y(t)=c1 y1(t)+c2 y2(t)y(t) = c_1\,y_1(t) + c_2\,y_2(t), with y1,y2y_1, y_2 l.i. solutions. Proof: substitute y=c1y1+c2y2y = c_1 y_1 + c_2 y_2 in the equation; by linearity of the operator, the sum is zero if each component is a solution.
  2. Complete: the general integral is y(t)=yp(t)+c1 y1(t)+c2 y2(t)y(t) = y_p(t) + c_1\,y_1(t) + c_2\,y_2(t), with ypy_p a particular solutionAny one solution of the complete equation.. Proof: every solution yy of the complete equation is yp+(y−yp)y_p + (y - y_p), where (y−yp)(y - y_p) solves the homogeneous equation.

Generalization

For order nn: y(n)+⋯+a0y=b(t)y^{(n)} + \dots + a_0 y = b(t), the general integral of the homogeneous equation is c1y1+⋯+cnync_1 y_1 + \dots + c_n y_n (nn l.i. solutions), that of the complete equation yp+c1y1+⋯+cnyny_p + c_1 y_1 + \dots + c_n y_n. Also at first order: c e−A(t)c\,e^{-A(t)} is the homogeneous part, e−A(t)∫eA(t)b(t) dte^{-A(t)}\int e^{A(t)}b(t)\,dt is ypy_p.

There is no general method to find y1,y2,ypy_1, y_2, y_p: it can be done with constant coefficients (Second-Order Linear Equations with Constant Coefficients - Homogeneous CaseFor y'' + a1 y' + a0 y = 0 with constant a0, a1 one looks for solutions e^(lambda t): they work if lambda is a root of the characteristic polynomial p(lambda) = lambda^2 + a1 lambda + a0. Delta > 0 (roots lambda1 and lambda2 distinct): y = c1 e^(lambda1 t) + c2 e^(lambda2 t). Delta = 0 (double root lambda): y = (c1 + c2 t) e^(lambda t). Delta < 0 (roots alpha plus or minus i omega): y = e^(alpha t)(c1 cos omega t + c2 sin omega t). The same method holds for every order.Second-Order Linear Equations with Constant Coefficients - Homogeneous Case →).

Common mistakes

  • Forgetting ypy_p in the solution of the complete equation, or forgetting the homogeneous part.
  • Using linearly dependent solutions of the homogeneous equation.
  • Imposing the initial conditions only on ypy_p or only on the homogeneous part instead of on the total sum.

Teoria collegata