Processing math: 100%

Higher order linear differential equations

Homogeneous DE with constant coefficients

Example: we want to solve y+2yy2y=0. We will show, that it leads to solution of polynom m3+2m2m2=0 and the solution involves members y=emx.

We have learnt from linear DE of first order that the solution contains member emx. Without going into details, let us say that the possible solution of differential equation

any(n)+an1yn1++a1y+a0y=0

is

y=emx.

For what value of m will (2) be a solution of (1)?

andndxnemx+an1dn1dxn1emx+a1ddxemx+a0emx=0.

Since k-th derivative of emx=mkemx, we may rewrite (3) to

anmnemx+an1mn1emx++a1memx+a0emx=0

Let us divide (4) by emx to obtain auxiliary (characteristic) equation:

anmn+an1mn1++a1m+a0=0.

The task diminished to an algebra task of finding roots m. We have to deal with the facts that

  1. We can find roots of quadratic equation ax2+bx+c=0, but it is not a simple task to find roots of higher order polynomial equations.
  2. There are 3 possibilities what kind of roots might occur:
    1. Roots are distinct and real (e.g. m1=1, m2=3)
    2. Some of the roots repeat (e.g. m1=2 and m2=2)
    3. Roots are imaginary (e.g. m1=11+2i, m2=112i)
      The imaginary roots must occur in conjugate pairs α±iβ

A. Roots of auxiliary equation are real and distinct

The solution consists of functions y1=em1x, y2=em2x, , yn=emnx or

yc=c1em1x+c2em2x++cnemnx.

Because the roots do not repeat, is is given that above terms are linearly independent.

Example

Find the general solution of y+2yy2y=0.

We construct the auxiliary equation:

m3+2m2m2=0m={2,1,1}.

The solution is

yc=c1e2x+c2ex+c3ex__.

Example

Find particular solution y(x) of y3y+2y=0 for which yc(0)=1 and yc(0)=0.

Auxiliary form is

m23m+2=0m={1,2}.yc(x)=c1ex+c2e2xyc(x)=c1ex+2c2e2x

Substitute initial values:

1=c1e0+c2e00=c1e0+2c2e0}c1=2c2=1

Substituting constants into complementaty function yc we have particular solution for given initial values:

yc=2exe2x__.

B. Some roots are multiple

Even if the roots repeat, the members of solution can not repeat. Because we expect only functions, which are linearly independent. It can be shown (reduction of order method), that if roots are m1=m2, the solution is em1x+xem2x.

In general it can be shown that if auxiliary equation has a root m=a which repeats n times, then the general solution is

yc=(c1+c2x+c3x2+cnxn)eax.

Example

Find the general solution of y(x) of y(4)3y+2y=0.

m43m2+2m=0m={0,1,1,2}yc=c1e0x+c2ex+c3xex+c4e2xyc=c1+c2ex+c3xex+c4e2x__

C. Roots are imaginary

The imaginary root must occur in conjugate pairs: if α+β is one root, another root must be αiβ.

If roots are complex α±iβ then the solution is

yc=c1e(αiβ)x+c2e(α+iβ)x.

We usually do not want to work with complex numbers. The solution above can be written also as

yc=eαx(c1cosβx+c2sinβx).

Example

Find the general solution of y(4)+2y+y=0.

m4+2m2+1=0or(m2+1)2=0m={i,i,i,i}

Since complex number has a form α±iβ, we have β=1 and the number repeats.

yc=c1eix+cix2+c3eixx+c4eixxyc=(c1+c3)xeix+(c2+c4)xeix__oryc=e0(c1cosx+c2sinx)+e0x(c3cosx+c4sinx)yc=(c1+c3x)cosx+(c2+c4x)sinx__

Problem solving

Example

Solve y+4y+4y=0.

m2+4m+4=0m={2,2}y=c1e2x+c2xe2x__

Example

Solve y(4)2y=0.

m42m2=0(m2)2m2=0m={2,2,0,0}yc=c1e2x+c2e2x+c3e0+c4xe0yc=c1e2x+c2e2x+c3+c4x__

Example

Solve y2y+5y=0.

m22m+5=0m={1+2i,12i}(α=1,β=2)yc=c1e(1+2i)x+c2e(12i)xyc=ex(c1cos2x+c2sin2x)__

List of chapters