Second order linear ODE

From Rice Wiki

Second order linear ODEs are in the following form:

Important types of second order linear ODEs include

  • Homogeneous
  • Constant coefficients (where p and q are constants)

Initial value problem

There are two arbitrary constants in the solution of a second order linear ODE, so we need two initial conditions.

Solutions

Constant coefficient, homogeneous

These are the simplest kind. They have the general form

Particular solution

An exponential function has the property of being the same after many differentiation. We take advantage of this property and guess the solution to be the form of

We substitute in the guess and obtain the characteristic equation

Depending on the constants, it will give us anywhere from zero to two solutions: and

General solution