White H House of Math logo on multicolored square

Learning Tools

Curriculum

Curriculum

Curriculum

Log in

How to Verify Solutions to Second Order Differential Equations

If you have a function and want to show that it is a solution to a differential equation, you must insert it into the equation and check if the left and the right-hand side are equal. This involves finding both the first and the second derivatives of the given function, so that you can insert them into the equation.

Example 1

Check if y0 = x ⋅ ex is a solution to the differential equation

y″ ⁡ − 2y′ + y = 0

Find the derivative of y0:

y0′ = ex + x ⋅ ex

Find the second derivative of y0:

y0″ ⁡ = 2ex + xex

Enter the values for y0, y0′ and y0″ ⁡ into the differential equation:

L. H. S = y″ ⁡ − 2y′ + y = 2ex + xex = − 2 (ex + x ⋅ ex) + x ⋅ ex = 0 = R.H.S

L. H. S = y″ ⁡ − 2y′ + y = 2ex + xex − 2 (ex + x ⋅ ex) + x ⋅ ex = 0 = R.H.S

As the left and the right-hand side are equal, you have shown that the function is a solution to the differential equation.