Ordinary Differential Equations/Homogeneous second order equations


Introduction edit

The general form of   order equation is

 
We call them linear non-homogeneous if the equation can be written in the form
 
and linear homogeneous if, in addition to being linear non-homogeneous,  
 
The method of characteristic equations is for homogeneous equations and the methods of undetermined coefficients and of variation of parameters for homogeneous equations.

Method 1: Characteristic equation edit

If the equation is linear homogeneous and further   are constant, then the equation is referred to as a constant-coefficients equation:

 
and we can apply the method of characteristic equations to solve such an equation. Note that   is assumed to be non-zero since we are working with a second order equation.

Method formal steps edit

  1. We assume that the solution is of the form   (this is called making an ansatz). This gives
     
    which equation is called the characteristic equation.
  2. So to solve the above ODE, it suffices to find the two roots  .
  3. Then the general solution is of the form:
     


Example-presenting the method edit

Consider a mass   hanging at rest on the end of a vertical spring of length  , spring constant   and damping constant  . Let   denote the displacement, in units of feet, from the equilibrium position. Note that since   represents the amount of displacement from the spring's equilibrium position (the position obtained when the downward force of gravity is matched by the will of the spring to not allow the mass to stretch the spring further) then   should increase downward. Then by Newton's Third Law one can obtain the equation

 

where   is any external force, which for simplicity we will assume to be zero.

  1. First we obtain the characteristic equation:
     
  2. Suppose that   and   then we obtain the roots  ,  .
  3. Therefore, the general solution will be
     
  4. Further if   we obtain  :
     


Examples edit

  • Consider the IVP

 
  1. We obtain the characteristic equation   and so the general solution will be
     
  2. Using the initial conditions we obtain:
     
  3. Solving these two equations gives:   and so the solution for our IVP is:
     
  4. Therefore, as   we obtain  .


  • Consider the IVP

 
  1. The characteristic equation is   and so the general solution will be:
     
  2. Using the initial conditions we obtain:
     
  3. Solving these two equations gives:   and so the solution for our IVP is:
     
  4. Therefore, as   we obtain  .