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 with an interval. Dividing by one gets the equivalent form
Example. is second-order linear with constant coefficients, with , and .
It is a special case of with : linear both in and in (they appear to the first power, multiplied by functions of ).
- is called the homogeneous equation;
- is called the complete (nonhomogeneous) equation.
Example: the damped harmonic oscillator is linear homogeneous, with constant coefficients.
Existence and uniqueness
Theorem 1 (global existence and uniqueness, without proof). Let .
- The general integral of consists of functions , defined on the same interval .
- For every choice of initial conditions at an instant , the Cauchy problem has one and only one solution .
Example. , , has a single solution, , defined on all of .
Linearly independent functions
Definition (linearly independent functions). Two functions (at least continuous on an interval ) are linearly dependent if there exist , not both zero, such that Otherwise they are linearly independent (l.i.).
The meaning. If for instance , one can divide: , that is is a constant multiple of . Two functions are linearly independent when neither is a constant multiple of the other.
Examples. and are dependent: with and one has for every . On the other hand and are independent: their ratio is not constant.
Structure of the general integral of the homogeneous equation
Theorem 2. Let .
- If are solutions of the homogeneous equation then is also a solution of , for every .
- If for every and are linearly independent solutions of (two such solutions always exist), the general integral of the homogeneous equation is
Example. has the independent solutions and , so its general integral is .
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 , and are a basis.
Proof (only point 1). Substitute in the left-hand side of , using that the derivative of a combination is the combination of the derivatives: Collecting and :
Why two constants, and why independence. The Cauchy problem asks for two conditions, and , and two free constants are needed to satisfy all of them. If were a multiple of , the combination would be a multiple of : 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 be solutions of the homogeneous equation , with on . Then is called the Wronskian determinant. In fact, for solutions of the homogeneous equation, at one point if and only if at all points of .
In practice is computed at the most convenient point, usually .
Example. , (solutions of ): , so they are independent.
Structure of the general integral of the complete equation
Theorem 3. Let .
- If is one solution of the complete equation (a particular solution), then all the solutions of the complete equation are the sum of and a solution of the homogeneous equation:
- Hence, if on and are l.i. solutions of the homogeneous equation, the general integral of the complete equation is
Example. has the particular solution and the homogeneous equation has the solutions and : the general integral is .
Proof of point 1. Write for brevity; as in Theorem 2, .
- Every , with a solution of the homogeneous equation, solves the complete one: .
- Every solution of the complete equation has this form. It is enough to show that solves the homogeneous equation: . Then .
Point 2 follows from point 1 and Theorem 2 ∎.
It holds for every order
All linear differential equations have this structure.
- Order 1: for the solution formula splits exactly this way:
- Order : for , the general integral of the homogeneous equation is with l.i. solutions of the homogeneous equation, and that of the complete equation is .
Summing up: what is needed
To solve a second-order linear equation one needs
- two l.i. solutions of the homogeneous equation, and ;
- one particular solution of the complete equation, .
Unfortunately there is no general method to find them. One can find 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 when moreover 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 forgetting , or as forgetting the solutions of the homogeneous equation.
- Using two dependent solutions (for instance and ): their combinations do not give all solutions.
- Imposing the initial conditions only on the homogeneous part: they must be imposed on the complete solution .
Versione ripasso
The form
A linear equation is Dividing by one gets the normal form .
- Homogeneous: .
- Complete: .
- E.g. the damped harmonic oscillator .
Existence and uniqueness
For every initial condition with , the Cauchy problem has one and only one solution, defined on all of .
Linearly independent functions (l.i.)
are linearly dependent if on with not both zero, i.e. if one is a constant multiple of the other; otherwise they are l.i. E.g. , dependent; , independent.
Wronskian method (for solutions of the homogeneous equation): are l.i. .
E.g. , (solutions of ): .
Structure of the general integral
- Homogeneous: the general integral is , with l.i. solutions. Proof: substitute in the equation; by linearity of the operator, the sum is zero if each component is a solution.
- Complete: the general integral is , with a particular solutionAny one solution of the complete equation.. Proof: every solution of the complete equation is , where solves the homogeneous equation.
Generalization
For order : , the general integral of the homogeneous equation is ( l.i. solutions), that of the complete equation . Also at first order: is the homogeneous part, is .
There is no general method to find : 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 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 or only on the homogeneous part instead of on the total sum.