Linear equations in higher order

The simplest second-order equations can be solved by directed integration performed twice, as we saw in Packet 02. To solve the IVP:

we can integrate twice:

where and . At each stage in the integration, a new constant is produced, and the new constant covers all possibilities. (All possibilities because: any two antiderivatives differ by a constant. This fact comes from the Mean Value Theorem.)

From this we learn to expect that any second-order differential equation will determine a family of solution curves involving two parameters. Later we will consider a good argument for this expectation in the case of linear equations. For right now, an intuitive argument in the general case is that a second-order equation involves 3 functions: , and the ODE determines any one of them in terms of the other two. Initial conditions are therefore fully specified by giving starting values of two of the functions, e.g. and , since the equation can be used to solve for the third. These two components of the initial condition correspond to the two free parameters in the complete family of solutions.

Second order equations are called linear when the items appear only in first-degree powers. A more precise and complete definition would require the definition of a second-order linear differential operator , and we avoid the details for that right now. The ODE is determined from such an operator by setting (homogeneous case) or (inhomogeneous case) for some forcing function .

Second-order, constant coefficients

Second-order linear equation with constant coefficients:

  • Homogeneous:
  • Inhomogeneous:

In this usage, the word ‘homogeneous’ means “no constant term”. This is a different meaning from ‘homogeneous’ as we have seen previously, although the two meanings are connected.

Homogeneous case It is easy to guess a system of solutions for the homogeneous case, inspired by the use of for first-order linear equations. Suppose is a solution. Then:

  • We conclude: any solution of the form must have a solution to .

  • In reverse: if satisfies , then is a solution to the differential equation.

  • The polynomial equation is sometimes called the characteristic equation of the linear ODE.

  • Notice also: if and are solutions, then are also solutions, for any constants . This is the practical meaning of linearity. It is sometimes also called the superposition principle.

  • More abstractly: the homogeneous linear ODE has a vector space of solutions. Concretely: solutions can be added and scaled to form new solutions.

Normally, the quadratic equation has two distinct solutions, namely and . These two numbers provide a D vector space of solutions spanned by and . Namely:

is a solution for any choice of combo. This gives a two-parameter family of solutions.

There are two potential complications for this method:

  • What happens if ?
  • What happens if and are complex numbers?

Repeated roots What happens if ?

This means and . Now watch this: plug in to the equation:

When , certainly we have . But moreover, we also have .

The extra terms coming out of the product rule applied to exactly cancel from the condition of repeated roots. So is a new solution if-and-only-if is a repeated root.

Example

Repeated roots

Problem: Solve the ODE: .

Solution: We first solve . So we have . Then is one solution, and is another solution. The complete family of solutions:

Check this complete family by plugging it into the ODE!

Exercise 07B-01 [During class.]

Second-order linear: distinct roots, repeated roots

Find the 2-parameter family of solution curves for the ODEs:

  • (a)
  • (b)

(It is a fact, a magical fact from this point of view, that in higher order, for an ODE like , the same phenomenon generalizes: we will have spanning the solutions precisely when is a -times repeated root of .)

Imaginary roots What happens if and have imaginary components?

In this case, we are naturally led to consider complex-valued solutions. It turns out, however, that by doing so, we will discover a family of pure real solutions. The pure real family is produced by applying a complex change of basis to the complex solution space.

Let us write and . (Since solve a quadratic, we know they must come in a conjugate pair like this with .) We can write two complex solutions:

In light of the Euler formula , we make a judicious choice of linear combination of these solutions. It is designed to cancel away the imaginary parts:

(These solution are given by applying the matrix to the original set. Notice that the columns are perpendicular, so the matrix is a ‘complex rotation’ plus overall scaling.)

Exercise 07B-02 [During class.]

Cancelling imaginary parts

By substituting the formulas for and , verify that and .

Exercise 07B-03 [During class.]

Verifying trigonometric solutions

Verify that and solve the original ODE.

To do this, first find the correct ODE: expand in order to find the appropriate for the general case of complex roots.

Then check that and are solutions to the ODE .

Summary: because the repeated roots solutions have the form , we can always use the above method, namely judicious linear combinations, to reveal a pair of solutions and that do not involve imaginary numbers.

Real vs. complex solutions

Even first-order linear ODEs have complex solutions. For example, has real solution but it also has the imaginary solution , and every combination of them. In the second-order case, we could have simply guessed the real solutions and . But the natural procedure using leads us first to the complex solutions, and from these we can extract purely real solutions using a complex combination.

Example

Second-order linear, complex roots, pure real solutions

Problem: Solve the ODE: .

Solution: We first solve and find and . We therefore have complex solutions

and real solutions

The complete family of solutions is therefore:

Problems due Tuesday 12 Mar 2024 by 11:59pm

Problem 07-01

Solving second-order linear ODEs

Find the complete family of solutions to the following ODEs:

  • (a)
  • (b)
  • (c)
  • (d)
Problem 07-02

Solving second-order linear IVPs

Solve the IVP:

  • , ,
  • , ,
Problem 07-03

Asymptotic behavior

Consider the ODE: . Let be a solution.

Show that the following statements are equivalent:

  • and
  • as
Problem 07-04

Extending methods to a third-order ODE

Find a complete family of solutions to the third-order ODE using the methods discussed in this Packet.

Problem 07-05

Backwards reasoning: find the ODE

Find the ODE that has the following family of solutions: .