Mathematical Methods (10/24.539)
II. Linear Differential Equations
General Characteristics
In general, a linear nth order differential equation can be written as
![]()
where the pi(x) coefficients and right hand side forcing function, r(x), are continuous functions. For example, the standard form for a second order system is
![]()
The
General Solution to a problem of this type (i.e. linear ODE) can be written as the sum of a homogeneous solution and a particular solution,![]()
where y(x) is the general solution, yh(x) is the homogeneous solution containing n arbitrary constants, and yp(x) is the particular solution containing no arbitrary constants.
The
Unique Solution is generated by specifying n unique conditions that must be satisfied, thereby identifying the arbitrary constants within the homogeneous solution. The manner in which the conditions are specified puts the linear ODE within one of two categories:Initial Value Problems (IVPs):
For this class of problems, there is only one boundary point location, which is typically referred to as the initial point. With n initial conditions specified at this single point, one can uniquely define n constants.Boundary Value Problems (BVPs):
For this category, two or more boundary points are specified. With a total of n boundary conditions at these two or more boundary locations, one can at least define n-1 constants, with the final constant sometimes representing an arbitrary normalization (the difference here is specific to eigenvalue versus fixed-source problems -- to be discussed later).We will discuss various analytical solution methods for linear ODEs and other related topics in this section of notes. Some of the topics highlighted, and their inter-relationships, are as follows:
Homogeneous Equations:
Constant coefficient equations -- assume solutions of the form ![]()
Euler-Cauchy equations -- assume solutions of the form ![]()
Variable coefficient case - use power series solution (done later)
Particular Solutions:
Undetermined Coefficients -- useful for simple r(x) and constant coefficient equations
Variation of Parameter -- a more general method (also more difficult to use)
Reduction of Order:
A technique for obtaining a second solution given one known solution.Linear Independence:
A method for addressing whether n solutions are linearly independent and form a basis.Differential Operators:
This section develops a new notation, which is often convenient and, sometimes, it can lead to important simplifications in special situations.Homogeneous Equations with Constant Coefficients
A general constant coefficient homogeneous linear ODE can be written as
![]()
One usually assumes a solution of the form
(for constant
). Substitution of this expression into the original equation gives
![]()
Dividing by
gives the characteristic equation
![]()
and the roots of the characteristic polynomial represent values of
that satisfy the assumed form for z(x). For an nth order system, there will be n roots (not necessarily distinct) to the nth order characteristic equation.
The general solution becomes a linear combination of the individual solutions to the homogeneous equation with the restriction that the n solutions must be linearly independent. For n distinct roots, the homogeneous solution can be written as
![]()
The n
linearly independent solutions form the basis of solutions on the interval of interest.General Discussion
The subject of linear independence is very important since n linearly independent solutions are needed to form the homogeneous solution to an nth order linear ODE. Here we will restrict our arguments to a second order system and then generalize for the nth order case.
Let’s define y1(x) and y2(x) as two solutions to a 2nd order linear ODE. Simply stated, if
, then these two functions are linearly dependent. However, if
, then y1(x) and y2(x) are linearly independent, since their ratio varies with x.
This check on linear independence is often quite straightforward for 2nd order systems, but for the general case, simply looking at ratios of functions is usually not sufficient. However, this check can be generalized as shown below.
General Check for Linear Independence
Second Order Systems:
The homogeneous solution is a linear combination of the two linearly independent individual solutions, y1(x) and y2(x), or
![]()
Now, if y1(x) and y2(x) are really linearly independent, then this is a valid homogeneous solution. As such, we can take the derivative of this expression, giving
![]()
Writing these two equations, evaluated at any value
on the interval of interest, as a matrix equation gives

For this (assumed to be valid) system to have a non-trivial solution, the coefficient matrix must not be singular (i.e. its determinant must be non-zero). Thus we have the condition that

implies linear independence.
This particular determinant appears frequently and is called the Wronskian of y1 and y2 and is denoted as W(y1, y2). Therefore,
![]()
implies that y1 and y2 are linearly independent.
Higher Order Systems:
The above result extends nicely to nth order systems. In particular,

implies that
are all linearly independent.
General Discussion
One often needs to obtain a second solution when one solution is already known. This occurs, for example, if the two individual solutions to a 2nd order system are linearly dependent, or if one solution is known by inspection of the equations (or by some other means). In these cases, the Reduction of Order Method can be used to final a second linearly independent solution.
Development of the Method
Given a valid solution to a homogeneous linear 2nd order differential equation, one can obtain a second linearly independent solution by letting
![]()
where y1(x) is known and u(x) is to be determined. This technique applied to a 2nd order system is as follows:
Given the original differential equation
![]()
with known solution y1(x), we let
![]()
![]()
![]()
or
![]()
Now, substitution into the original equation gives
![]()
or
![]()
Letting z = u’ and noting that the third term vanishes from definition of the original ODE, we have
![]()
Now, separating variables and integrating gives

![]()
![]()
or

Finally, since du/dx = z, we have
![]()
General Note
If, in a 2nd order equation, the dependent variable y does not appear explicitly, one has
. In this case, one can let z = y’ and obtain a 1st order equation for z and then find y(x) by integration. This technique was used in the above development, and it is quite useful in many situations.
|
|
|
|
|
10/24.539 Lecture Notes by Dr. J. R. White, UMass-Lowell (updated August 1998).
Return to Online Courses