This section treats constant coefficient linear differential equations. It serves as a clarification of the previous section in case of constant coefficients differential operators.
Return to computing page for the first course APMA0330
Return to computing page for the second course APMA0340
Return to Mathematica tutorial for the first course APMA0330
Return to Mathematica tutorial for the second course APMA0340
Return to the main page for the course APMA0330
Return to the main page for the course APMA0340
Return to Part IV of the course APMA0330
Linear constant coefficient differential equations form an important class of differential equations that appear both in physical models and as approximations for more complicated equations. For example, the second part of this tutorial uses the solving methods of constant coefficient equations to extend them to systems of differential equations. We start with second order equations because all steps become transparent and can be performed by utilizing solution solvers.
Second order equations with constant coefficients
We consider the second order homogeneous constant coefficient differential equation
where the coefficients 𝑎 ≠ 0, b, and c are real constants and prime indicates the derivative with respect to independent variable
\( y' = \texttt{D} \,y = {\text d}y/{\text d}x \) and \( y'' = \texttt{D}^2 y = {\text d}^2 y/{\text d}x^2 . \) From the section on linear Ordinary Differential Equations we know that the general solution of Eq.\eqref{EqConstant.1} will be of the form
where { y1, y2 } is a fundamental set of solutions for the given differential equation \eqref{EqConstant.1}. It is not hard to verify that the second order linear constant coefficient differential equation \eqref{EqConstant.1} has at least one solution of the form \( y = e^{\lambda x} . \) Substituting the exponential function into the differential equation gives
This polynomial is called the characteristic polynomial of the differential equation \( a\,y'' + b\,y' + c\,y = 0 . \) It is easy to identify the characteristic equation when the corresponding differential equation is written in operator form:
\[
L \left[ \texttt{D} \right] y = \left( a\,\texttt{D}^2 + b\,\texttt{D} + c\,\texttt{I} \right) y = 0 ,
\]
where \( \texttt{D} = {\text d}/{\text d}x \) is the derivative operator (in Euler's notation) and D0 = I is the identity operator. Then just substituting λ instead of D leads to the characteristic polynomial. We summarize the construction of the fundamental set of solution to constant coefficient homogeneous differential equations of the second order in the following statement.
Procedure for solution of second order differential equation with constant coefficients:
To solve the second order constant coefficient differential equation
\( a\,y'' + b\,y' + c\,y = 0 \) follow the following steps.
Form the characteristic equation \( a\,\lambda^2 + b\,\lambda + c = 0 \)
and determine its roots and their multiplicities.
The corresponding a fundamental set of solutions is determined as follows.
If λ1 and λ2 are two unequal real roots of the characteristic equation (when b² > 4𝑎c), the general solution is
If λ is a real root of multiplicity 2 (when b² = 4𝑎c), then \( y_1 = e^{\lambda x} , \ y_2 = x\, e^{\lambda x} \) form a fundamental set of solutions, so the general solution becomes \( y = c_1 \, e^{\lambda x} + c_2 x\, e^{\lambda x} . \)
If λ1, λ2 are complex roots (when b² < 4𝑎c), then they are a complex conjugate pair \( \lambda_1 = \alpha + {\bf j} \beta , \quad \lambda_2 = \alpha - {\bf j} \beta , \) where j is the unit vector in positive vertical direction on the complex plane ℂ so j² = -1. The general solution is
where all coefficients \( a_0, a_1 , \ldots , a_n \ne 0 \) are constants. It is convenient to associate with the left-hand side a linear differential operator
where \( \texttt{D} = {\text d} / {\text d}x \) is the derivative operator (with respect to independent variable x), and D0 = I is the identical operator. Following L. Euler, we substitute into the homogeneous linear differential equation L[D] y = 0 the exponential function \( y(x) = e^{\lambda x} , \) to obtain
because of the well-known derivative rule: \( \texttt{D} \,e^{\lambda x} = \lambda \,e^{\lambda x} . \) Factoring the exponential term out because \(e^{\lambda x} \ne 0 , \) we get the polynomial equation
which
is called the characteristic polynomial for the linear operator L[D] or differential equation \( L\left[ \texttt{D} \right] y = 0 . \) Equating the characteristic polynomial to zero, we obtain the characteristic equation: L(λ) = 0.
If we factor the characteristic polynomial into a product of simple terms (according to the fundamental theorem of algebra) , we obtain
Here k1, k2, … , kr are distinct roots (or nulls) of the polynomial equation L(λ) = 0, and m1, m2, … ,mr are multiplicities of the roots. If m = 1, the corresponding root is called simple. To each root k of multiplicity m corresponds a set of m linearly independent functions
of total m1 + m2 + ··· + mr = n, the order of the characteristic polynomial, which is the same as the order of the differential operator L[D].
Therefore, if all roots of the characteristic equation L(λ) = 0 are distinct and real, then the general solution of linear constant coefficient differential equation L[D] y = 0 is
where c1, c2, … ,cn are arbitrary constants. Hence, the problem of solving constant coefficient linear differential equation is reduced to an algebra problem for finding roots of characteristic equation and determination of their multiplicities. We consider in next two sections the cases when roots are complex numbers or are of multiplicity greater than 1.
Procedure for solution of arbitrary order differential equation with constant coefficients:
To solve the n-th order constant coefficient differential equation
\( a_n \, y^{(n)} + a_{n-1} \, y^{(n-1)} + \cdots + a_1 \, y' + a_0 \, y = 0 , \) follow the following steps.
Form the characteristic equation \( a_n \, \lambda^n + a_{n-1} \, \lambda^{n-1} + \cdots + a_1 \, \lambda + a_0 = 0 , \)
and determine its roots and their multiplicities.
The corresponding a fundamental set of solutions is determined as follows.
If λ is a real root of multiplicity m, then include the m functions
If α ±jβ is a pair of complex conjugate roots and they each have multiplicity m, then include the 2m functions
\[
\left\{ e^{\alpha x} \cos \beta x , \ x\, e^{\alpha x} \cos \beta x , \ldots , \ x^{m-1} e^{\lambda x} \cos \beta x , \ , e^{\alpha x} \sin \beta x , \ x\, e^{\alpha x} \sin \beta x , \ldots , \ x^{m-1} e^{\lambda x} \sin \beta x \right\}
\]
in the fundamental set of solutions.
Recall that a polynomial L(λ) has a root (or null) of multiplicity m if it can be factored as
L(λ) = (λ - r)^mp(λ), where
the polynomial p(λ) is not zero at λ = r:
p(r) ≠ 0.
Example:
Consider the linear differential equation
\[
y''' - y'' -8\,y' +12\,y = 0 ,
\]
to which corresponds the linear differential operator
L[D] = (D - 2)²(D + 3). The characteristic polynomial has two distinct real roots
Suppose that we want to construct four linearly independent solutions to the given fourth order linear differential equation L[D] y = (D - 2)(D + 3) (D - 1)(D + 4) y = 0 by solving the corresponding initial value problems:
to which corresponds the linear differential operator
L[D] = D5 + 5 D4 + 18 D³ + 34 D² + 45 D + 25. The characteristic polynomial has two complex conjugate roots of multiplicity 2 and one simple root:
Return to Mathematica page
Return to the main page (APMA0330)
Return to the Part 1 (Plotting)
Return to the Part 2 (First Order ODEs)
Return to the Part 3 (Numerical Methods)
Return to the Part 4 (Second and Higher Order ODEs)
Return to the Part 5 (Series and Recurrences)
Return to the Part 6 (Laplace Transform)
Return to the Part 7 (Boundary Value Problems)