Given a 2nd order linear homogeneous differential equation ay′′+by′+cy=0, the characteristic equation ar2+br+c=0 may have two complex roots r1,r2=λ±iμ. In this case, we would still like to write the solution as y=c1er1x+c2er1x. But what does it mean to raise e to a complex number?
Taylor expansion of
et=∑n=0∞n!tn
gives the clue:
eit=∑n=0∞n!(it)n=∑n=0∞(2n)!(−1)nt2n+i∑n=0∞(2n+1)!(−1)nt2n+1=cost+isint.
Using Euler’s formulaeit=cost+isint, we can rewrite y=c1er1x+c2er1x, where r1,r2=λ±iμ, as a real-valued solution y=eλx(C1cosμx+C2sinμx).
Example 1 Solve the IVP 16y′′−8y′+145y=0,y(0)=−2,y′(0)=1.
Solution The characteristic equation 16r2−8r+145 has complex roots r=1/4±3i. The general solution of the DE is
y=ex/4(c1cos3x+c2sin3x)
. Thus
y′=41ex/4(c1cos3x+c2sin3x)+ex/4(−3c1sin3x+3c2cos3x).
The initial conditions imply c1=−2,c1/4+3c2=1 and so c1=−2,c2=1/2.
Example 2 Solve the IVP 3y′′−y′+2y=0,y(0)=2,y′(0)=0.
Solution The characteristic equation 3r2−r+2=0 has complex roots r=61±623i. The general solution is
y=ex/6(c1cos623x+c2sin623x).
The initial conditions imply c1=2,61c1+623c2=0, and so c1=2,c2=23−2.
Example 3 Solve the IVP 5y′′+2y′+7y=0,y(0)=2,y′(0)=1.
Solution The characteristic equation 5r2+2r+7=0 has complex roots r=−51±i345. The general solution is
y=e−x/5(c1cos534x+c2sin534x).
The initial conditions give c1=2,c2=347.