Second-order linear ordinary differential equation
Second-order linear ordinary differential equation of the form a(x)y′′+b(x)y′+c(x)=g(x) is homogeneous if g(x)=0. We will focus on the homogeneous 2nd-order ODE where a,b,c are constants.
Problem 1 Find the general solution of y′′+2y′−3y=0.
Solution Let’s guess the solution is y=erx for some constant r. Then (r2+2r−3)erx=0 and so r2+2r−3=0 (the characteristic equation) gives r1=1,r2=−3. These two roots correspond to the solutions y1=ex,y2=e−3x. The general solution is thus y=c1ex+c2y−3x.
Problem 2 Find the homogeneous 2nd-order ODE whose general solution is y=c1e2x+c2e−3x.
Solution Since The roots of the characteristic equation are 2 and -3, the characteristic equation is (r−2)(r+3)=r2+r−6, and so the ODE is y′′+y′−6y=0.
Problem 3 Solve the IVP y′′+8y′−9y=0,y(1)=1,y′(1)=0.
Solution The roots of the characteristic equation is r2+8r−9 are r=1,−9. The general solution is y=c1ex+c2e−9x. We also get y′=c1ex−9c2e−9x. Using the initial conditions, we obtain c1e+c2e−9=1,c1e−9c2e−9=0. Solve the system of linear equations c1=10e9,c2=10e9. The solution of the IVP is y=10e9ex+10e9e−9x.
Problem 4 Solve the IVP y′′−y′−2y=0,y(0)=a,y′(0)=2 and find a so that the solution approaches 0 as x tends to infinity.
Solution The roots of the characteristic equation is r2−r−2 are r=−1,2. The general solution is y=c1e−x+c2e2x. We also get y′=−c1e−x+2c2e2x. Using the initial conditions, we obtain c1+c2=a,−c1+2c2=2. Solve the system of linear equations c1=32a−2,c2=3a+2. The solution approaches 0 as x tends to infinity only if c2=0. Therefore a=−2.
Problem 5 Solve the IVP y′′+5y′+6y=0,y(0)=2,y′(0)=b, where b>0 and determine the maximum point xm of the solution.
Solution The roots of the characteristic equation is r2+5r+6 are r=−2,−3. The general solution is y=c1e−2x+c2e−3x. We also get y′=−2c1e−2x−3c2e