Skip to content
Miscellaneous Examples · Example 19

Q.Verify that the function y=c1eaxcos⁡bx+c2eaxsin⁡bxy = c_1 e^{ax}\cos bx + c_2 e^{ax}\sin bx, where c1,c2c_1, c_2 are arbitrary constants is a solution of the differential equation d2ydx2−2adydx+(a2+b2)y=0\frac{d^2y}{dx^2} - 2a\frac{dy}{dx} + (a^2 + b^2)y = 0.

CBSENCERTSubjective· 3mImportance★★★★★est
46% · 102/222 Questions
✓ Free question

Concept understanding — Verification of Solution

Verifying a Solution of a Differential Equation

A function y=ϕ(x)y = \phi(x) is called a solution of a differential equation if, when you substitute it and its derivatives into the equation, the two sides become equal for every xx in the domain. Verification is the act of carrying out that substitution and checking that it holds as an identity.

The useful point: you do not have to solve the equation to verify a candidate. You are only checking a function that is already handed to you — which is exactly how many exam questions are phrased: "Show that …\dots is a solution of …\dots."

The steps

  1. From the given y=ϕ(x)y = \phi(x), compute exactly the derivatives that appear in the equation.
  2. Substitute yy and those derivatives into the left-hand side.
  3. Simplify and check that it equals the right-hand side for all xx (an identity, not just at one point).

Example 1

Verify that y=e−3xy = e^{-3x} is a solution of d2ydx2+dydx−6y=0\dfrac{d^2y}{dx^2} + \dfrac{dy}{dx} - 6y = 0.

Here y′=−3e−3xy' = -3e^{-3x} and y′′=9e−3xy'' = 9e^{-3x}. Substituting:

9e−3x+(−3e−3x)−6e−3x=(9−3−6)e−3x=0.9e^{-3x} + (-3e^{-3x}) - 6e^{-3x} = (9 - 3 - 6)e^{-3x} = 0.

The left side is 00 for every xx, so y=e−3xy = e^{-3x} is a solution.

Example 2 (a solution with constants)

Verify that y=acos⁡x+bsin⁡xy = a\cos x + b\sin x satisfies d2ydx2+y=0\dfrac{d^2y}{dx^2} + y = 0 for any constants a,ba, b.

Since y′′=−acos⁡x−bsin⁡x=−yy'' = -a\cos x - b\sin x = -y, we get y′′+y=0y'' + y = 0. It holds for all a,ba, b, so this two-constant family is a solution.

Note

Verification links your answer back to the definition of a solution: a function is a solution not because of how you found it, but because it makes the differential equation true. If the substitution does not reduce to an identity, the function is simply not a solution.

Verifying that a given function solves a differential equation is explicitly listed as an exercise type in the NCERT Class 12 Mathematics textbook's Differential Equations chapter, and "verify the solution of differential equation examples" is a common CBSE and JEE Main search. This is often the easiest full-mark question in the chapter once the substitution steps are practiced a few times.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.