Standard form linear ODEs
The second order, linear differential equation is given in standard form as,
where and denote the first and second derivatives of wrt , respectively.
Just like first order LODEs, we note that the LODE given by (13.1), has the following properties:
- the function and its derivatives, are not present at any power higher than 1 ;
- there are no products of the function and its derivatives, .
The -dependent functions and are required to be continuous but they can take any form: they can be constants, linear, or nonlinear functions.
Terminology
If in Eq. (13.1), the ODE reduces to,
Equation (13.2) is known as the homogeneous equation. If , the ODE is known as the nonhomogeneous equation.
In Subsecs. 13.1.1 and 13.1.2 of this chapter, we will be concerned with the homogeneous equation given by (13.2) where we will identify some important ideas on the structure of the general solutions to such ODEs. In Subsec. 13.1.3, we briefly talk about existence & uniqueness of solutions to the IVP given by ODE (13.1) and a pair of initial conditons.
Homogeneous equations: general solution
We start this section with an example. Consider the following ODE
which is equivalent to (13.2) with . The differential equation (13.3) gives which tells us that we are looking for a solution which, when differentiated twice (to obtain ), should be equal to 4 times the original function. An obvious solution is and so is any constant multiple of it, i.e. . Perhaps another obvious solution is and, again, so is any constant multiple of it, i.e. . We can check that and are in fact solutions to (13.3) by differentiating twice and plugging back into the ODE. Take which, upon differentiating twice wrt , yields . Substituting in Eq. (13.3), we have:
thus, is a solution. Similarly, we can show that is also a solution.
In fact, any linear combination of and , i.e.,
can also be shown to satisfy the ODE. This leads us to state the following definition about the structure of the general solution to homogeneous, second order linear differential equations.
Definition 13.1 If and are two linearly independent solutions to a linear, homogeneous ODE then
is also a solution for any pair of constants and .
The pair of solutions and are known to be a fundamental set of solutions.
A few things to note about the statement in the box:
- It is not true for nonhomogeneous ODEs;
- It is true for a linear homogeneous ODE of any order, say of order , but note that we should have a set of fundamental solutions appearing in Eq. (13.5), i.e.
So, for an ODE of order 2, we expect to have two linearly independent solutions, for an ODE of order 3 , we expect three and so on.
Initial conditions
We notice that the general solution contains two arbitrary constants and . Therefore, a particular solution to a second order differential equation requires two initial conditions (to solve for the 2 constants). These are given by the value of the function and its first order derivative at a particular point in , say
where and are constants. Note that both conditions in Eq. (13.6) are specified at the same point . If they are different, then the problem (consisting of the ODE and the initial conditions), is known as a boundary value problem. The mathematical theory for boundary value problems is more complicated than initial value problems and generally less well-known. Boundary value problems are not discussed in this course; these are encountered in the Mathematics course in Year II with applications in fluid flow (flow through pipes, laminar flow in a channel) as well as heat and mass transfer.
Wronskian determinant
Linear independent functions
For the pair of solutions and to constitute a fundamental set of solutions we require that the two solutions are linearly independent. When referring to two functions being linearly independent, roughly speaking, it means that the two functions cannot be a constant multiple of each other. Note that we discussed linear independence of vectors in Subsec. 9.6 in Chapter 9.
To check if two functions, and are linearly independent/dependent, we use the Wronskian determinant. This is defined as follows:
where, if at any point in on , the functions are said to be linearly independent (note it does not need to be nonzero everywhere on the domain). This result is true for any arbitrary pair of (differentiable) functions; i.e. for any two functions, not necessarily solutions to a second order LODE.
For an arbitrary pair of functions, the Wronskian does not provide a test for dependence, i.e. if at all points in , the two functions are not necessarily dependent . However, for two arbitrary functions that are dependent, their Wronskian is zero at all points in the domain. An example using two arbitrary functions is shown below.
Try the functions and . Their Wronskian is always zero but the two functions are independent. Example 13.1 Determine whether the functions are linearly independent on the domain .
Solution The Wronskian of the set is given by Eq. (13.8) as
Since the Wronskian is nonzero for at least one point in the interval of interest, it follows that the set is linearly independent.
If the functions and are also solutions to the homogeneous, linear second order ODE [i.e. Eq. (13.2)], then we claim the following result with respect to the Wronskian.
If and are a linearly independent pair of fundamental solutions to Eq. (13.2), then their Wronskian is never zero on some interval . Then (and only then) their linear combination i.e. form a general solution of the ODE (13.2). If the two solutions are linearly dependent then their Wronskian is always zero for all on .
The proof for the statement in the box, i.e. that the Wronskian of two solutions to ODE (13.2) is either never zero or always zero is given by Abel's theorem and is discussed below.
Abel's theorem
Here we show why the Wronskian determinant of two solutions to a linear ODE is either always zero (if they are linearly dependent) or never zero if they are linearly independent. Let us begin by assuming that and are two solutions to the homogeneous ODE (13.2). Their Wronskian is given by Eq. (13.7), i.e.
Now, differentiating wrt gives,
Next, since and are solutions to (13.2), we have,
for and
for . Now, multiplying Eq. (13.10) by gives
and Eq. (13.11) by gives
Subtracting Eq. (13.12) from Eq. (13.13), we obtain:
Note that the terms in blue are equivalent to given by (13.9) and the terms in red are equivalent to given by (13.7). So, Eq. (13.14) may be rewritten as,
Equation (13.15) is a first order ODE for which may be integrated (by separating variables) to give the following general solution,
Since the exponential function is never zero, we see from Eq. (13.16), that is either identically zero when and never zero if .
Existence & uniqueness of solutions
Here, we simply state the conditions for existence and uniqueness of solutions to second order LODEs. Consider the IVP,
If and are continuous on the interval , containing the point then, there exists a unique solution and this solution exists throughout the entire interval. This result applies to second order LODEs of the form given by (13.1) and guarantees that the given IVP always has a twice-differentiable solution (existence) and this solution is unique (uniqueness) on any interval containing as long as , and are continuous on the same interval.
Note that neither existence nor uniqueness of a solution is guaranteed at a discontinuity of , or .