Ordinary Differential Equations/Homogenous 1

Homogeneous Equations of Constant Coefficients edit

Consider a DE of the form

 

Constant coefficients refers to the left hand side of a differential equation - the coefficients of all terms of y,(i.e. p1(x), etc) are constants. While this may seem unrealistic, this actually happens frequently in electric circuits and harmonic motion.

"Homogeneous" refers to the right hand side of the equation. If f(x)=0, the equation is homogeneous, if it isn't, it is nonhomogenous. Again, it seems useless but it isn't. And it makes for a much easier to solve problem. We'll deal with nonhomogenous equations later.

So a homogenous equation of constant coefficients is an equation of the form

 

where c1, c2, etc are all constants.

Second order equations edit

In order to show how these equations are solved, lets start with the most basic case - a second order equation

 

where A, B, and C are constants.

The Auxiliary Quadratic edit

For a DE

 

Make the following substitution:

 

This gives also

 
 

The DE is now

 

Dividing by   gives (note:  can never equal zero)

 

This is the auxiliary quadratic (AQ) of the DE. There are four classes of outcomes to the auxiliary quadratic:

  1.  , giving two distinct, real, roots.
  2.  , giving two coincident real, roots.
  3.  , giving complex roots.
a: Purely imaginary roots.
b: Complex-conjugate pair.

The method of solution of the DE depends on the class of AQ.

Class 1: Distinct, Real Roots edit

Consider the DE

 

The AQ is

 
 

This gives us the following roots:

 

Going back to the substitution we made to obtain the AQ, we have

 

as two distinct solutions to the DE. According to the superposition principle, the general solution is therefore

 

General Solution to Class 1 DEs edit

Generalizing, for the Second Order DE
 
with the auxiliary quadratic given by
 
with roots α and β, the general solution is
 

Class 2: Coincident, Real Roots edit

Consider the DE

 

The AQ is

 
 

so,   is a solution. However, we cannot have it as both solutions as the factor of two produced will be absorbed into the constant, leaving us with only one constant, and therefore a DE without a full solution.

For the other solution we will use the Method of Reduction of Order. To do so we assume that it is in the form of:

 

At the end we will check if our assumption is correct. We will now substitute this equation and solve for u(x)

 
 
 
  is always non-zero so the only way the product can equal zero is if:
 

Integrating twice offers

 

Therefore

 
 

Our general solution is:

 
 
 

Because each constant is arbitrary we can simply write

 

The Method of Reduction of Order can be used on different equations and u(x) does not always equal x. You can see below that   is a valid solution.

 
 
 

To check substitute these into the original DE:

 
 
 

Therefore,   is a solution as well.

General Solution to Class 2 DEs edit

Generalizing, for the Second Order DE
 
with the coincident root α of the AQ, the general solution is
 

Class 3a: Purely Imaginary Roots edit

To have complex roots, the AQ must have a discriminant less than zero, so

 

Also, for the solution to be purely imaginary, the value of b must be exactly zero.

Therefore,

 

This means that a and c have to have the same signs: either a and c are both positive or they are both negative. If we consider our general second-order DE:

 

Setting b to zero gives

 

Dividing through by a gives

 .

Therefore, the y term is always positive, and this can be represented by

 .

(I'm using ω here as it is used for simple harmonic motion, which is the primary use of this DE). There are now two paths to the solution of the DE. The first relies on us spotting that we can use the cyclical nature of trig. functions when derived. Substitute the following

 
 
 

And check in our DE:

 

This checks out, so   is a solution. A similar result holds true for the substitution using  .

Our solutions are therefore

 
 

So the general solution is

 


The other method of solving this equation is to use Euler's Formula:

 
and
 

From our original DE, we have an AQ of

 

giving us roots of

 

so the general solution, similar to the Class 1 DEs, is

 
 
 

Since A and B are arbitrary, we can set new constants for convenience, letting our new A equal A+B and our new B equal i(A-B).

Thus we have as our general solution

 

General Solution to Class 3a DEs edit

Generalizing, for the Second Order DE
 
the general solution is
 

Class 3b: Complex Conjugate Roots edit

Since it is a proven theorem that complex roots of polynomials always occur in conjugate pairs, the only remaining class of AQ is the one with complex conjugates for solutions.

Given that the solutions are complex, we know that in the AQ

 
  (see Class 3a).

The roots of this are in the form

 

The general solution is then

 
 

From Euler's Formulas, we can now get

 
 

As A and B are arbitrary, we can collapse them as in Class 3a, so that we have the general solution

 

General Solution to Class 3b DEs edit

Generalizing, for the Second Order DE
 
with an AQ with roots
 
The general solution is
 


We have now covered all possible types of homogeneous second-order differential equation, and we didn't even have to integrate anything! We will now have a look at higher order equivalents.

nth-Order Equations edit

How do we expand the above to the nth order? Well, the nth order has the same requirements of orders of x as second order equations do. So we still need functions involving  . There's just 2 major differences. Firstly, we'll have more terms - we won't just be able to plug into the auxiliary quadratic equation to get the roots. Secondly, there are more roots. We'll end up with n roots, so y will be the sum of n equations.

An Example of a Third-Order Equation edit

Consider the third-order DE

 .

Find the roots of the auxiliary cubic equation of the form

 
 

Our distinct solutions are therefore

 

This gives us a general solution