Lesson 9 - Homogeneous Second Order Linear Equations

The standard form for a second order linear differential equation: ay+by+cy=f(t). Note that this is different from the homogeneous method of substitution from Lesson 8.

The DE is homogeneous if f(t)=0, and ay+by+cy=0.

We can solve this equation by using what is called a characteristic equation. The characteristic equation resembles simple algebra factoring. We start by replacing our functions y(x) with m. Each derivative becomes raised to the power of that level derivative.

ay+by+cy=0am2+bm+c=0

Since y is not a derivative, this is replaced with m0, which is why we are left with only a constant c.

Once we have our characteristic equation set up, we can solve for m, either by factoring or by using the quadratic formula.

Recall the quadratic formula:

m=b±b24ac2a

Once we solved for m, the general equation of a homogeneous equation is:

y(x)=Cemt

The superposition principle states that if y1(x) and yy(x) are solutions to a homogeneous equation, then C1y1(x)+C2y2(x) is also a solution.

This is important to note. Due to the nature of solving for the roots of an equation, we oftentimes have more than one root. These can show in the form of real and distinct roots, repeated roots, or complex solutions. We will go over each of these scenarios next.

Consider the equation from before:

ay+by+cy=0

y(x)=emt is a solution that leads us to the characteristic equation: am2+bm+c=0.

For real and distinct roots m1,m2, the general solution is:

y(x)=C1em1x+C2em2x

For repeated roots, we must have solutions that are linearly independent, so we increase solutions by factors of the dependent variable.

Consider the roots m,m. The dependent variable in y(x) is x, so the general solution becomes:

y(x)=C1em1x+C2xem2x

Multiplying one of our solutions guarantees that our solutions remain linearly independent of one another.

Occasionally, we end up with a complex root situation of the form α±iβ. In this scenario, we utilize Euler's Formula for iθ.

eiθ=cosθ+sinθ

We can derive a general formula from this using our knowledge of trig identities.

y1(x)=eα+iβx=eα×eiβx=eαx(cosβx+sinβx)y2(x)=eαiβx=eα×eiβx=eαx(cosβxsinβx)

Thus, our general solution becomes:

y(x)=eαx(C1cosβx+C2sinβx)

For context, this equation often represents simple harmonic motion.

Examples

  1. Find the general solution of: 2y5y+3y=0

We first convert to characteristic equation:

2y5y+3y=02m25m+3=0

Now we can either use the quadratic formula or factor the equation. I will factor:

2m25m+3=0(2m3)(m1)=0

The roots for this equation can be solved by setting each binomial equal to 0. We end up with m=32,1. Thus, our general solution is as follows:

y(x)=C1e3/2x+C2et
  1. Find the general solution of: y+4y+4y=0.

Convert to characteristic equation and factor:

m2+4m+4=0(m+2)(m+2)=0

Our roots are m=2,2. The general solution is:

y(x)=C1e2x+C2xe2x
  1. Find the general solution of: y''+y'+y=0
m2+m+1=0m=1±(1)24(1)(1)2(1)m=1±3i2

Using the general solution derived from Euler's formula, we get:

y(x)=e1/2x(C1cos(32x)+C2sin(32x))

Let's talk more about linear independence, since we must have linearly independence for repeated root solutions.

Two functions y1 and y2 are said to be linearly dependent on an interval if and only if neither is a constant multiple of the other. If one can be expressed as a multiple of the other then the two functions are said to be linearly dependent on that interval.

If y1(x) and y2(x) are two linearly independent solutions of the homogeneous differential equation: ay+by+cy=0, then every solution of the differential equation can be written as a linear combination C1y(x)+C2(x).

We can check linear independence of solutions using the Wronskian. The Wronskian is the determinant of the two linearly independent solutions.

W(x)=|y1(x)y2(x)y1(x)y2(x)|W(x)=y1y2y2y1

If W(x)0, then the solutions are linearly independent.

Try for yourself:

  1. 4w+20w+25w0
  2. y+5y+6y=0, y(0)=1, y(0)=2
  3. 3y+11y7y=0

Next Lesson: Lesson 10 - Method of Undetermined Coefficients

Table of Contents: Table of Contents