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

Exercise 9.2 · Q1: y=ex+1y = e^x + 1 solves y′′−y′=0y'' - y' = 0

Exercise 9.2Verifying a solution · Section 9.3
The question

In each of the Exercises 1 to 10 verify that the given functions (explicit or implicit) is a solution of the corresponding differential equation:

1. y=ex+1y = e^x + 1  :  y′′−y′=0y'' - y' = 0

Exam answer

Given y=ex+1y = e^x + 1⁠. Differentiating with respect to xx⁠,

y′=ex…(i)y' = e^x\quad\ldots(\text{i})

Differentiating (i) with respect to xx⁠,

y′′=exy'' = e^x

Substituting y′′y'' and y′y' in the given equation,

L.H.S.=ex−ex=0=R.H.S.\begin{aligned} \text{L.H.S.} &= e^x - e^x \\ &= 0 = \text{R.H.S.} \end{aligned}

∴\therefore y=ex+1y = e^x + 1 is a solution of the given differential equation. Hence verified.

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

The one idea this problem is built on

To verify a solution, differentiate as often as the equation needs, substitute, and show L.H.S. = R.H.S. for every xx⁠. Here exe^x is its own derivative and the constant 11 disappears on the first differentiation, so y′y' and y′′y'' are both exe^x⁠, and their difference is 0.

Given, to find, and the plan
Given
The function y=ex+1y = e^x + 1⁠, defined and differentiable for every real xx⁠, and the equation y′′−y′=0y'' - y' = 0⁠.
To show
That y=ex+1y = e^x + 1 satisfies the equation for every real xx⁠.
Plan
(1) Find y′y'⁠. (2) Find y′′y''⁠. (3) Substitute into the left side and simplify to 0. (4) State where this holds, and what kind of solution it is.

Basics you need

1What a solution is

A function is a solution of a differential equation when substituting it (and its derivatives) for yy makes L.H.S. = R.H.S. (Section 9.3). Lesson: general and particular solutions

2The exponential is its own derivative

ddxex=ex\frac{d}{dx}e^x = e^x (Section 5.4), and the derivative of a constant is 0. Basics: e^{kt} is k times itself

3y′y' and y′′y''

y′y' is the first derivative of yy⁠; y′′y'' is the derivative of y′y' (Section 5.7). Basics: y′ and y″

Solution

  1. First derivative

    y=ex+1  ⇒  y′=ex+0=ex.y = e^x + 1 \;\Rightarrow\; y' = e^x + 0 = e^x.
    Differentiate term by term. The term exe^x gives exe^x⁠, and the constant 11 gives 00 because a constant does not change.
    ddxex=ex\frac{d}{dx}e^x = e^x and ddx(constant)=0\frac{d}{dx}(\text{constant}) = 0⁠. Basics: e^{kt} is k times itself
  2. Second derivative

    y′′=ddx(ex)=ex.y'' = \frac{d}{dx}\left(e^x\right) = e^x.
    The equation contains y′′y''⁠, so we differentiate the result of Step 1 once more. Again exe^x gives exe^x⁠.
    The second derivative is the derivative of the first (Section 5.7). Basics: y′ and y″
  3. Substitute into the left side

    L.H.S.=y′′−y′=ex−ex=0=R.H.S.\begin{aligned} \text{L.H.S.} &= y'' - y' \\ &= e^x - e^x \\ &= 0 = \text{R.H.S.} \end{aligned}
    Put the expressions from Steps 2 and 1 in place of y′′y'' and y′y'⁠. They are equal, so their difference is 0, which is the right side of the equation. The function yy itself does not appear in the equation, so it is not substituted.
    Section 9.3: substitute and compare the two sides. Lesson: is it a solution? Examples 2 and 3
  4. Where it holds, and what kind of solution it is

    The working used no special value of xx and no division or root, and ex+1e^x + 1 is differentiable for every real xx⁠. So L.H.S. = R.H.S. for every real xx⁠: hence verified, y=ex+1y = e^x + 1 is a solution of y′′−y′=0y'' - y' = 0⁠.

    The equation has order 2 (highest derivative y′′y''⁠) and degree 1 (it is a polynomial equation in y′′y'' and y′y'⁠, with y′′y'' to the power 1). The function has no arbitrary constant, so it is a particular solution. A general solution of this order 2 equation carries two constants, for example y=Aex+By = Ae^x + B⁠: then y′=y′′=Aexy' = y'' = Ae^x and y′′−y′=0y'' - y' = 0 again. Our function is the case A=1A = 1⁠, B=1B = 1⁠.

    A verification must hold identically, not at one point; checking the steps for divisions, roots or logs is how we know the domain. Counting constants against the order connects the answer to the definitions in Section 9.3.
    General solution: as many arbitrary constants as the order; particular: none (Summary, Chapter 9). Basics: order n gives n constants
Result

With y′=exy' = e^x and y′′=exy'' = e^x⁠, L.H.S. =y′′−y′=ex−ex=0== y'' - y' = e^x - e^x = 0 = R.H.S. for every real xx⁠. Hence y=ex+1y = e^x + 1 is a solution of y′′−y′=0y'' - y' = 0 (a particular solution). (The answer key gives no answer for this question, since it is a verification.)

Check it with numbers

At x=0.5x = 0.5⁠: e0.5≈1.648721e^{0.5} \approx 1.648721⁠, so y≈2.648721y \approx 2.648721⁠, and y′=y′′=e0.5≈1.648721y' = y'' = e^{0.5} \approx 1.648721⁠. Then y′′−y′=1.648721−1.648721=0y'' - y' = 1.648721 - 1.648721 = 0⁠.

The slope also agrees with the curve itself. With y(0.501)≈2.650371y(0.501) \approx 2.650371 and y(0.499)≈2.647073y(0.499) \approx 2.647073⁠,

2.650371−2.6470730.002≈1.649,\frac{2.650371 - 2.647073}{0.002} \approx 1.649,

which is y′=e0.5≈1.649y' = e^{0.5} \approx 1.649 to three decimals.

Common mistakes
  1. Keeping the constant: writing y′=ex+1y' = e^x + 1⁠. The derivative of the constant 1 is 0.
  2. Treating exe^x like a power: ddxex\frac{d}{dx}e^x is exe^x⁠, not xex−1xe^{x-1}⁠.
  3. Checking at one value of xx only. The simplification must give 0 for every xx⁠.
  4. Stopping at "= 0" without the sentence that L.H.S. = R.H.S., so the function is a solution.
What to take away
  1. Verify = differentiate, substitute, simplify to L.H.S. = R.H.S., and say so.
  2. An added constant vanishes on differentiation, so y=ex+By = e^x + B passes this test for every BB⁠.
  3. Same method as Example 2, where y=e−3xy = e^{-3x} is checked in a second order equation.

Every fact used, and where it comes from

FactUsed inSource
ddxex=ex\frac{d}{dx}e^x = e^x⁠; derivative of a constant is 0Steps 1, 2Chapter 5, Section 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)
Order and degree (polynomial condition)Step 4Sections 9.2.1 and 9.2.2 (Lesson)
General solution has as many constants as the order; particular has noneStep 4Section 9.3 and the Summary of Chapter 9 (Basics)
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 →