Differential Equations · Undergraduate

Reduction of Order: Finding a Second Solution

Quick answer

If y₁ solves y″ + p(x)y′ + q(x)y = 0, a second, independent solution has the form y₂ = v(x)y₁. Substituting turns the equation into a first-order equation for v′, whose solution is v′ = e^(−∫p dx)/y₁². Integrate once more to get v. This is where the x in xe^(rx) comes from for repeated roots, and the ln x in x^r ln x for Cauchy–Euler equations. The equation must first be divided so that y″ has coefficient 1.

What you'll learn

  • Put a second-order equation in standard form
  • Find a second solution with y₂ = v·y₁
  • Use the formula v′ = e^(−∫p dx)/y₁²
  • Check independence with the Wronskian

One solution gives another

Write the equation in standard form, with 11 in front of y′′y'':

y′′+p(x)y′+q(x)y=0y'' + p(x)y' + q(x)y = 0

If y1y_1 is a known solution, look for a second one as y2=v y1y_2 = v\,y_1. The function vv satisfies

v′=e−∫p dxy12v' = \frac{e^{-\int p\,dx}}{y_1^2}

Integrate to get vv, and multiply by y1y_1. Since vv is not constant, y2y_2 is not a multiple of y1y_1, so the two are independent and the general solution is c1y1+c2y2c_1y_1 + c_2y_2.

Why the equation drops to first order

Put y=vy1y = vy_1 into the equation: y′=v′y1+vy1′y' = v'y_1 + vy_1' and y′′=v′′y1+2v′y1′+vy1′′y'' = v''y_1 + 2v'y_1' + vy_1''. Collect the terms with vv itself: v(y1′′+py1′+qy1)v(y_1'' + py_1' + qy_1), which is 00 since y1y_1 is a solution. What is left, y1v′′+(2y1′+py1)v′=0y_1v'' + (2y_1' + py_1)v' = 0, has no vv in it, only v′v' and v′′v'', so it is a first-order equation for w=v′w = v'. It is separable, and solving it gives the formula above.

Worked examples

Common mistakes

Practice problems

  1. y′′−6y′+9y=0y'' - 6y' + 9y = 0 has y1=e3xy_1 = e^{3x}. Find y2y_2.

    Answer

    xe3xxe^{3x}

    Full solution

    v′=e6xe6x=1v' = \tfrac{e^{6x}}{e^{6x}} = 1, so v=xv = x.

  2. x2y′′−5xy′+9y=0x^2y'' - 5xy' + 9y = 0, x>0x > 0, has y1=x3y_1 = x^3. Find y2y_2.

    Answer

    x3ln⁡xx^3\ln x

    Full solution

    p=−5xp = -\tfrac{5}{x}, so v′=x5x6=1xv' = \tfrac{x^5}{x^6} = \tfrac{1}{x} and v=ln⁡xv = \ln x.

  3. x2y′′+2xy′−2y=0x^2y'' + 2xy' - 2y = 0, x>0x > 0, has y1=xy_1 = x. Find y2y_2, without its constant factor.

    Answer

    x−2x^{-2}

    Full solution

    p=2xp = \tfrac{2}{x}, so v′=x−2x2=x−4v' = \tfrac{x^{-2}}{x^2} = x^{-4} and v=−13x−3v = -\tfrac{1}{3}x^{-3}. Then y2=−13x−2y_2 = -\tfrac{1}{3}x^{-2}.

  4. y′′+y=0y'' + y = 0 has y1=cos⁡xy_1 = \cos x. Find y2y_2.

    Answer

    sin⁡x\sin x

    Full solution

    p=0p = 0, so v′=sec⁡2xv' = \sec^2 x and v=tan⁡xv = \tan x. Then y2=tan⁡xcos⁡xy_2 = \tan x\cos x.

  5. Find the Wronskian of e2xe^{2x} and xe2xxe^{2x} at x=0x = 0.

    Answer

    11

    Full solution

    W=e2x(e2x+2xe2x)−2e2x⋅xe2x=e4xW = e^{2x}(e^{2x} + 2xe^{2x}) - 2e^{2x} \cdot xe^{2x} = e^{4x}.

  6. The general solution of x2y′′+2xy′−2y=0x^2y'' + 2xy' - 2y = 0 is y=c1x+c2x−2y = c_1x + c_2x^{-2}. With y(1)=3y(1) = 3 and y′(1)=0y'(1) = 0, find c1c_1.

    Answer

    22

    Full solution

    c1+c2=3c_1 + c_2 = 3 and c1−2c2=0c_1 - 2c_2 = 0, so c2=1c_2 = 1 and c1=2c_1 = 2.

  7. y′′−2y′+y=0y'' - 2y' + y = 0 has y1=exy_1 = e^x. Find y2(1)y_2(1) for the second solution y2=xexy_2 = xe^x.

    Answer

    ee

    Full solution

    Reduction of order gives v′=1v' = 1, so y2=xexy_2 = xe^x, and y2(1)=ey_2(1) = e.

  8. Is 2e2x2e^{2x} a second independent solution of y′′−4y′+4y=0y'' - 4y' + 4y = 0, alongside e2xe^{2x}?

    Answer

    No

    Full solution

    It is a constant multiple of e2xe^{2x}, so the two are dependent. The second solution is xe2xxe^{2x}.

Frequently asked questions

What is reduction of order?

A method that uses one known solution y₁ to find a second one, y₂ = v·y₁, by solving a first-order equation for v′.

What is the formula for v′?

v′ = e^(−∫p dx)/y₁², where the equation is written y″ + p(x)y′ + q(x)y = 0.

Why does a repeated root give xe^(rx)?

For y″ − 2ry′ + r²y = 0 with y₁ = e^(rx), the formula gives v′ = 1, so v = x and y₂ = xe^(rx).

Do I need the constants of integration?

No. Any one nonconstant v works; the constants only add multiples of y₁ or rescale y₂.

What to learn next