Tutorials › AP Calculus › Verifying Solutions to Differential Equations
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

Verifying Solutions to Differential Equations

Learn how to determine whether a given function actually satisfies a differential equation by differentiating it, substituting it into the equation, and checking the result.

What It Means to Be a Solution

A differential equation is an equation involving an unknown function and one or more of its derivatives. For example, is a differential equation because it relates the function to its derivative.

When a problem gives you a function and asks whether it is a solution to a differential equation, you are not being asked to solve the differential equation from scratch. You are being asked to test the proposed function.

A function is a solution if, after finding the necessary derivatives and substituting them into the differential equation, the equation is true over the relevant interval.

The key idea is simple: differentiate, substitute, simplify, and check.

The Verification Process

There is a reliable four-step method you can use on almost every AP Calculus verification problem.

  1. Write the proposed solution clearly. Identify the function you are being asked to test.
  2. Find the derivative or derivatives required by the differential equation. If the equation contains , you need the first derivative. If it contains , you need the second derivative.
  3. Substitute the function and its derivatives into the differential equation. Replace every occurrence of , , and so on with the appropriate expressions.
  4. Simplify both sides and determine whether the equation is true. If the two sides are equal, the function is a solution. If they are not equal, it is not a solution.

Worked Examples

Example 1: First-Order Differential Equation

Determine whether is a solution to .

Step 1: The proposed function is .
Step 2: Find the derivative:
Step 3: Substitute and into the differential equation:
Step 4: Simplify:
Conclusion: The equation is satisfied, so the proposed function is a solution.
Example 2: A Function That Is Not a Solution

Determine whether is a solution to .

Step 1: The proposed function is .
Step 2: Find the derivative:
Step 3: Substitute into the differential equation:
Step 4: Compare the two sides:
Conclusion: The two sides are not equal, so the proposed function is not a solution.
Example 3: Second-Order Differential Equation

Determine whether is a solution to .

Step 1: Start with .
Step 2: Find the first derivative:
Step 3: Find the second derivative:
Step 4: Substitute into the differential equation:
Step 5: Simplify:
Conclusion: The differential equation is satisfied, so the function is a solution.
Example 4: Verification With an Initial Condition

Consider . Determine whether is a solution to the differential equation and initial condition .

Step 1: Verify the differential equation. Differentiate:
Step 2: Substitute:
Step 3: Check the initial condition:
Conclusion: The proposed function satisfies both the differential equation and the initial condition, so it is a solution to the initial value problem.

Checking an Initial Condition

Sometimes the problem gives more than just a differential equation. It may also specify an initial condition, such as .

In that situation, you must perform two separate checks:

  1. Verify that the function satisfies the differential equation.
  2. Verify that the function satisfies the initial condition.

A function can satisfy the differential equation but fail the initial condition. If that happens, it is a solution to the differential equation, but not a solution to the particular initial value problem.

This distinction is important because a differential equation can have many solutions, while an initial condition can select one particular member of that family.

Verification Is Not the Same as Solving

There is an important distinction between solving a differential equation and verifying a solution.

When solving, you start with the differential equation and work toward finding an unknown function. When verifying, the function is already given to you. Your job is simply to determine whether it works.

On an AP Calculus problem, this means you usually do not need separation of variables, integration, or any other differential-equation solving technique unless the question specifically asks you to solve the equation.

Using a Given Differential Equation Efficiently

Suppose you are given a function involving a complicated expression and the differential equation only requires its first derivative. Do not calculate derivatives you do not need.

For example, if the equation is , you only need . There is no reason to calculate .

Likewise, if the differential equation contains , you must calculate both the first and second derivatives before substituting.

Common Mistakes

Checking only the initial condition

A function satisfying does not automatically satisfy the differential equation. The initial condition is only one part of the verification. You must also substitute the function and its derivatives into the differential equation.

Forgetting to differentiate the proposed function

If the differential equation contains , you need the derivative of the proposed function. Do not substitute the original function into every part of the equation.

Stopping before simplifying

The two sides may look different before simplification but become identical after algebraic manipulation. Always simplify far enough to make a definite comparison.

Showing that the equation works at only one point

A solution must satisfy the differential equation throughout the relevant interval, not merely at one convenient value of . Checking one point is generally not enough to prove that a function is a solution.

Practice Problems

Question 1

Determine whether is a solution to .

Show answer
Question 2

Determine whether is a solution to .

Show answer
Question 3

Determine whether is a solution to .

Show answer
Question 4 (Second Derivative)

Determine whether is a solution to .

Show answer
Question 5 (Initial Value Problem)

Determine whether satisfies both the differential equation and the initial condition .

Show answer

The AP Calculus Checklist

When you see “verify that the function is a solution”, use this checklist:

  1. Write the proposed function.
  2. Calculate every derivative that appears in the differential equation.
  3. Substitute the function and derivatives into the equation.
  4. Simplify both sides.
  5. State explicitly whether the equation is satisfied.
  6. If an initial condition is given, check it separately.

The final written conclusion matters. Instead of simply ending after an algebraic calculation, write something like “Therefore, the function satisfies the differential equation and is a solution.”

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon