Verifying a Solution of a Differential Equation
A function y=ϕ(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 x 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 … is a solution of …."
The steps
- From the given y=ϕ(x), compute exactly the derivatives that appear in the equation.
- Substitute y and those derivatives into the left-hand side.
- Simplify and check that it equals the right-hand side for all x (an identity, not just at one point).
Example 1
Verify that y=e−3x is a solution of dx2d2y+dxdy−6y=0.
Here y′=−3e−3x and y′′=9e−3x. Substituting:
9e−3x+(−3e−3x)−6e−3x=(9−3−6)e−3x=0.
The left side is 0 for every x, so y=e−3x is a solution.
Example 2 (a solution with constants)
Verify that y=acosx+bsinx satisfies dx2d2y+y=0 for any constants a,b.
Since y′′=−acosx−bsinx=−y, we get y′′+y=0. It holds for all a,b, so this two-constant family is a solution.
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.