Class 12 Maths, Worked in Full Past papersGet updates
Chapter 9 · Differential Equations

Example 2: y=e−3xy = e^{-3x} solves y′′+y′−6y=0y'' + y' - 6y = 0

ExamplesVerifying a solution · Section 9.3
The question

Verify that the function y=e−3xy = e^{-3x} is a solution of the differential equation

d2ydx2+dydx−6y=0\frac{d^2y}{dx^2} + \frac{dy}{dx} - 6y = 0
Exam answer

Given y=e−3xy = e^{-3x}⁠. Differentiating with respect to xx⁠,

dydx=−3e−3x…(i)\frac{dy}{dx} = -3e^{-3x}\quad\ldots(\text{i})

Differentiating (i) with respect to xx⁠,

d2ydx2=9e−3x\frac{d^2y}{dx^2} = 9e^{-3x}

Substituting d2ydx2\frac{d^2y}{dx^2}⁠, dydx\frac{dy}{dx} and yy in the given equation,

L.H.S.=9e−3x+(−3e−3x)−6e−3x=9e−3x−9e−3x=0=R.H.S.\begin{aligned} \text{L.H.S.} &= 9e^{-3x} + (-3e^{-3x}) \\ &\quad - 6e^{-3x} \\ &= 9e^{-3x} - 9e^{-3x} \\ &= 0 = \text{R.H.S.} \end{aligned}

∴\therefore y=e−3xy = e^{-3x} is a solution of the given differential equation.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A function is a solution of a differential equation when, after you put it and its derivatives into the equation, the left side equals the right side for every xx⁠. So "verify" means: differentiate as often as the equation needs, substitute, simplify, and see that L.H.S. = R.H.S. Here every derivative of e−3xe^{-3x} is a number times e−3xe^{-3x}⁠, so everything collapses to (9−3−6)e−3x=0(9 - 3 - 6)e^{-3x} = 0⁠.

Given, to find, and the plan
Given
The function y=e−3xy = e^{-3x}⁠, defined for every real xx⁠, and the equation y′′+y′−6y=0y'' + y' - 6y = 0⁠.
To show
That y=e−3xy = e^{-3x} satisfies the equation for every real xx⁠.
Plan
(1) Find dydx\frac{dy}{dx}⁠. (2) Find d2ydx2\frac{d^2y}{dx^2}⁠. (3) Substitute both, and yy⁠, into the left side and simplify to 0. (4) Conclude. (5) See where the number −3-3 comes from.

Basics you need

1What a solution is

A function y=φ(x)y = \varphi(x) is a solution when substituting it for yy makes L.H.S. = R.H.S. (Section 9.3). Lesson: general and particular solutions

2Derivative of ekxe^{kx}

By the chain rule, ddxekx=kekx\frac{d}{dx}e^{kx} = ke^{kx} for any constant kk (Sections 5.3.1 and 5.4). Here k=−3k = -3⁠. Basics: e^{kt} is k times itself

3Second derivative

d2ydx2\frac{d^2y}{dx^2} is the derivative of dydx\frac{dy}{dx} (Section 5.7). Basics: y′ and y″

Solution

  1. First derivative, by the chain rule

    dydx=e−3x⋅ddx(−3x)=−3e−3x.\begin{aligned} \frac{dy}{dx} &= e^{-3x}\cdot\frac{d}{dx}(-3x) \\ &= -3e^{-3x}. \end{aligned}
    The outer function is eue^u⁠, whose derivative is eue^u⁠; the inner function is u=−3xu = -3x⁠, whose derivative is −3-3⁠. The chain rule multiplies the two.
    ddxekx=kekx\frac{d}{dx}e^{kx} = ke^{kx}⁠, here with k=−3k = -3⁠. Basics: e^{kt} is k times itself
  2. Second derivative

    d2ydx2=ddx(−3e−3x)=−3⋅(−3e−3x)=9e−3x.\begin{aligned} \frac{d^2y}{dx^2} &= \frac{d}{dx}\left(-3e^{-3x}\right) \\ &= -3\cdot(-3e^{-3x}) = 9e^{-3x}. \end{aligned}
    Differentiate the result of Step 1 once more: the constant −3-3 stays in front, and e−3xe^{-3x} again gives −3e−3x-3e^{-3x}⁠. Two minus signs make a plus.
    The second derivative is the derivative of the first (Section 5.7). Basics: y′ and y″
  3. Substitute into the left side and simplify

    L.H.S.=d2ydx2+dydx−6y=9e−3x+(−3e−3x)−6e−3x=(9−3−6) e−3x=0=R.H.S.\begin{aligned} \text{L.H.S.} &= \frac{d^2y}{dx^2} + \frac{dy}{dx} - 6y \\ &= 9e^{-3x} + (-3e^{-3x}) - 6e^{-3x} \\ &= (9 - 3 - 6)\,e^{-3x} \\ &= 0 = \text{R.H.S.} \end{aligned}
    Every term is a number times the same factor e−3xe^{-3x}⁠, so the numbers can be collected: 9−3−6=09 - 3 - 6 = 0⁠. The right side of the equation is 0, so the two sides agree.
    Substituting the function and its derivatives is the test of Section 9.3. Lesson: is it a solution?
  4. Conclude, for every real xx

    The calculation of Step 3 used no special value of xx⁠; it holds for every real xx⁠, where e−3xe^{-3x} is defined and differentiable. So y=e−3xy = e^{-3x} is a solution of the given differential equation.

    It contains no arbitrary constant, so it is a particular solution. The equation has order 2, so a general solution would carry two arbitrary constants.

    A "verify" question is answered only by L.H.S. = R.H.S. holding identically, not at one point. Noting the absence of constants connects the answer to the definitions of general and particular solutions.
    Section 9.3: a solution free from arbitrary constants is a particular solution. Basics: order n gives n constants
  5. Where the −3-3 comes from

    Try y=emxy = e^{mx} for a constant mm⁠. Then y′=memxy' = me^{mx} and y′′=m2emxy'' = m^2e^{mx}⁠, and

    y′′+y′−6y=(m2+m−6) emx=(m+3)(m−2) emx.\begin{aligned} y'' + y' - 6y &= (m^2 + m - 6)\,e^{mx} \\ &= (m + 3)(m - 2)\,e^{mx}. \end{aligned}

    Since emx≠0e^{mx} \ne 0⁠, this is 0 for every xx exactly when m=−3m = -3 or m=2m = 2⁠. So e−3xe^{-3x} works, and so does e2xe^{2x}⁠.

    This explains why the check in Step 3 came out to exactly 0: −3-3 is a root of m2+m−6=0m^2 + m - 6 = 0⁠. It also shows that the equation has other solutions, so verifying one function says nothing about it being the only one.
    Derivative of emxe^{mx} by the chain rule. Basics: e^{kt} is k times itself
Result

Substituting y=e−3xy = e^{-3x}⁠, y′=−3e−3xy' = -3e^{-3x} and y′′=9e−3xy'' = 9e^{-3x} gives L.H.S. =9e−3x−3e−3x−6e−3x=0== 9e^{-3x} - 3e^{-3x} - 6e^{-3x} = 0 = R.H.S. for every real xx⁠, so y=e−3xy = e^{-3x} is a solution of d2ydx2+dydx−6y=0\frac{d^2y}{dx^2} + \frac{dy}{dx} - 6y = 0⁠. (Textbook answer: the same, L.H.S. = 0 = R.H.S.)

Check it with numbers

At x=0.5x = 0.5⁠: y=e−1.5≈0.22313016y = e^{-1.5} \approx 0.22313016⁠, y′=−3y≈−0.66939048y' = -3y \approx -0.66939048⁠, y′′=9y≈2.00817144y'' = 9y \approx 2.00817144 and 6y≈1.338780966y \approx 1.33878096⁠. Then

2.00817144−0.66939048−1.33878096=0.00000000.\begin{aligned} &2.00817144 - 0.66939048 \\ &\quad - 1.33878096 = 0.00000000. \end{aligned}

The slope y′y' also agrees with the curve itself: with e−1.5003≈0.2230632311e^{-1.5003} \approx 0.2230632311 and e−1.4997≈0.2231971092e^{-1.4997} \approx 0.2231971092⁠,

0.2230632311−0.22319710920.0002≈−0.66939,\begin{aligned} &\frac{0.2230632311 - 0.2231971092}{0.0002} \\ &\approx -0.66939, \end{aligned}

the value of y′y' found above.

Common mistakes
  1. Forgetting the chain rule: writing ddxe−3x=e−3x\frac{d}{dx}e^{-3x} = e^{-3x}⁠. The factor −3-3 is essential.
  2. Sign slip in y′′y''⁠: −3×−3=+9-3 \times -3 = +9⁠, not −9-9⁠.
  3. Checking at one point only. A single value of xx cannot prove a solution; the simplification must give 0 for every xx⁠.
  4. Stopping at "= 0" without the sentence "L.H.S. = R.H.S., so it is a solution". The conclusion carries a mark.
What to take away
  1. To verify a solution: differentiate as many times as the order, substitute, simplify to L.H.S. = R.H.S., and say so.
  2. For y=emxy = e^{mx}⁠, each derivative just multiplies by mm⁠, so the check becomes a quadratic in mm⁠.
  3. A function with no arbitrary constant is a particular solution.

Every fact used, and where it comes from

FactUsed inSource
ddxekx=kekx\frac{d}{dx}e^{kx} = ke^{kx} (chain rule)Steps 1, 2, 5Chapter 5, Sections 5.3.1 and 5.4 (Basics)
Second order derivativeStep 2Chapter 5, Section 5.7 (Basics)
A solution makes L.H.S. = R.H.S. when substitutedSteps 3, 4Section 9.3 (Lesson)
General solution (arbitrary constants) and particular solution (none)Step 4Section 9.3 (Basics)
emx≠0e^{mx} \ne 0 for every real xxStep 5Chapter 5, Section 5.4
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →