The characteristic equation r2+4r+4=(r+2)2=0 has a repeated root r=−2, and so y1=e−2x is a solution. Assume the general solution is of the form y=v(x)e−2x. Then
y′y′′=v′(x)e−2x+v(x)(−2)e−2x=(v′−2v)e−2x,=v′′(x)e−2x+v′(x)(−2)e−2x⋅2+v(x)(−2)2e−2x=(v′′−4v+4v)e−2x.
Therefore v satisfies [(v′′−4v′+4v)+4(v′−2v)+4v]e−2x=0, and so v′′=0 implies v(x)=c1+c2x. Therefore y=(c1+c2x)e−2x is a solution. In other words, the linear combination of y1=e−2x,y2=xe−2x is a solution.
We use Wronskian to verify y1,y2 for a fundamental set of solutions, that is, y=c1y1+c2y2 generates all solutions:
W(y1,y2)=y1y1′y2y2′=e−2x−2e−2xxe−2x(1−2x)e−2x=e−4x=0.
In general, if the characteristic equation of ay′′+by′+cy=0 has a repeated root r, then y=(c1+c2x)erx is the general solution.
Existence and uniqueness theorem Given a linear DE with initial conditions
y(n)+p1(x)y(n−1)+p2(x)y(n−2)+⋯+pn(x)y=g(x),y(x0)=y0,y′(x0)=y1,…,y(n−1)(x0)=yn−1.
If p1,p2,…,pn,g are continuous on the open interval (x1,x2), then there exists exactly one solution to the IVP for x1<x<x2.
Example 2 Determine the interval in which solutions to (x−1)y(4)+(x+1)y′′+(tanx)y=0 with the initial conditions y(0)=y′(0)=y′′(0)=y(3)(0)=0 are sure to exist.
Solution This is a 4th order homogeneous linear differential equation. The DE is equivalent to
y(4)+x−1x+1y′′+x−1tanxy=0.
The coefficients x−1x+1 and x−1tanx are not continuous at 1,±π/2 respectively. By the E&U theorem, there exists a solution to the IVP for −π/2<x<1.
Example 3 Determine the Wronskian of x,x2,1/x and verify they form a fundamental set of solutions to x3y′′′+x2y′′−2xy′+2y=0.
Solution The Wronskian is
W(x,x2,1/x)=x10x22x21/x−1/x22/x3=6/x.
It is easy to check x,x2,1/x are three solutions of the DE. Since their Wronskian is nonzero, they form a fundamental set of solutions.