Example: we want to solve y‴+2y″−y′−2y=0. We will show, that it leads to solution of polynom m3+2m2−m−2=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)+an−1yn−1+⋯+a1y′+a0y=0is
y=emx.For what value of m will (2) be a solution of (1)?
andndxnemx+an−1dn−1dxn−1emx+…a1ddxemx+a0emx=0.Since k-th derivative of emx=mkemx, we may rewrite (3) to
anmnemx+an−1mn−1emx+⋯+a1memx+a0emx=0
Let us divide (4) by emx to obtain auxiliary (characteristic) equation:
anmn+an−1mn−1+⋯+a1m+a0=0.The task diminished to an algebra task of finding roots m. We have to deal with the facts that
The solution consists of functions y1=em1x, y2=em2x, …, yn=emnx or
Because the roots do not repeat, is is given that above terms are linearly independent.
Find the general solution of y‴+2y″−y′−2y=0.
We construct the auxiliary equation:
m3+2m2−m−2=0⟹m={−2,1,−1}.The solution is
yc=c1e−2x+c2ex+c3e−x__.Find particular solution y(x) of y″−3y′+2y=0 for which yc(0)=1 and y′c(0)=0.
Auxiliary form is
m2−3m+2=0⟹m={1,2}.yc(x)=c1ex+c2e2xy′c(x)=c1ex+2c2e2xSubstitute initial values:
1=c1e0+c2e00=c1e0+2c2e0}c1=2c2=−1Substituting constants into complementaty function yc we have particular solution for given initial values:
yc=2ex−e2x__.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.Find the general solution of y(x) of y(4)−3y″+2y′=0.
m4−3m2+2m=0⟹m={0,1,1,−2}yc=c1e0x+c2ex+c3xex+c4e−2xyc=c1+c2ex+c3xex+c4e−2x__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).Find the general solution of y(4)+2y″+y=0.
m4+2m2+1=0or(m2+1)2=0⟹m={i,i,−i,−i}Since complex number has a form α±iβ, we have β=1 and the number repeats.
yc=c1eix+c−ix2+c3eixx+c4e−ixxyc=(c1+c3)xeix+(c2+c4)xe−ix__oryc=e0(c1cosx+c2sinx)+e0x(c3cosx+c4sinx)yc=(c1+c3x)cosx+(c2+c4x)sinx__Solve y″+4y′+4y=0.
m2+4m+4=0⟹m={−2,−2}y=c1e−2x+c2xe−2x__Solve y(4)−2y″=0.
m4−2m2=0(m−√2)2m2=0⟹m={−√2,√2,0,0}yc=c1e−√2x+c2e√2x+c3e0+c4xe0yc=c1e−√2x+c2e√2x+c3+c4x__Solve y″−2y′+5y=0.
m2−2m+5=0⟹m={1+2i,1−2i}(α=1,β=2)yc=c1e(1+2i)x+c2e(1−2i)xyc=ex(c1cos2x+c2sin2x)__