Verifying Solutions
to Differential Equations
Learn to confirm whether a function satisfies a differential equation by differentiation and substitution: the essential first skill in differential equations.
What Is a Differential Equation?
A differential equation (DE) is an equation that relates a function to one or more of its derivatives. For example:
A solution to a DE is any function \( y = f(x) \) that, when substituted in, makes the equation true for all \( x \) in its domain.
Why Verify Solutions?
The Verification Process
The Verification Principle
Solutions vs Non-Solutions
Consider the DE: \( \dfrac{dy}{dx} = 2x \). Which functions are solutions?
General vs Particular Solutions
| General Solution | Particular Solution | |
|---|---|---|
| Definition | Contains arbitrary constant(s) | Specific value of constant(s) |
| Example for \( y' = 2x \) | \( y = x^2 + C \) | \( y = x^2 + 5 \) |
| Obtained by | Solving the DE | Applying initial condition |
| Verification | Works for all \( C \) | Works for one specific \( C \) |
How to Apply Verification
Example 1: First-Order DE
Verify that \( y = e^{3x} \) is a solution of \( \dfrac{dy}{dx} - 3y = 0 \).
Example 2: Second-Order DE
Verify that \( y = \sin(x) \) is a solution of \( y'' + y = 0 \).
Example 3: Product Rule Needed
Verify that \( y = xe^{x} \) satisfies \( y'' - 2y' + y = 0 \).
Graphical Interpretation
For \( y' = 2x \), the DE says the slope at every point equals \( 2x \). Let's see \( y = x^2 + 1 \) and its slope field:
Verifying with Initial Conditions
Sometimes you must verify both the DE and an initial condition (IVP). Verify that \( y = e^{-2x} \) solves:
When Verification Fails
Show that \( y = e^{2x} \) is not a solution of \( y' + 2y = 0 \).
Common Mistakes
Verification Summary
| Step | Action | Result |
|---|---|---|
| 1. Identify | Read DE for \( y', y'', \ldots \) | Know what to compute |
| 2. Differentiate | Compute needed derivatives | Expressions for \( y', y'' \) |
| 3. Substitute | Replace \( y, y', y'' \) in DE | Algebraic expression |
| 4. Simplify | Combine and reduce | LHS and RHS |
| 5. Compare | Check \( \text{LHS} = \text{RHS} \) identically | ✓ Solution or ✕ Not |
Question 1 of 5
Is \( y = e^{5x} \) a solution of \( y' - 5y = 0 \)?
Question 2 of 5
Which is the first step in verifying that a function solves a differential equation?
Question 3 of 5
For the DE \( y'' + 4y = 0 \), verify: does \( y = \cos(2x) \) satisfy it?
Question 4 of 5
A student verifies \( y = x^3 \) for the DE \( xy' - 3y = 0 \) and gets LHS \( = 0 \). Is this correct?
Question 5 of 5
For the IVP \( y' = y,\; y(0) = 3 \), which function is the solution?