5m left·0%
Reading Time: 5 min
Last Updated: March 19, 2026
Main Ideas: 6
Reading Time: 5 min
Last Updated: March 19, 2026
Main Ideas: 6

Topic 7.2 Notes – Verifying Solutions for Differential Equations

Verified for 2027 AP® Calculus AB Exam
Read aloud
Instead of solving the equation yourself, you test a proposed function by differentiating and substituting. You’ll also see that most differential equations have infinitely many solutions, often written as a family with a constant CC.

What It Means to Be a Solution to a Differential Equation

A differential equation is an equation that involves a function and its derivative. In AP Calculus AB, it’s usually first order, like

dydx=f(x,y) \frac{dy}{dx} = f(x, y)

A function y=g(x)y = g(x) is a solution if:

  • You compute its derivative g′(x)g'(x),
  • Plug both yy and dydx\frac{dy}{dx} into the equation,
  • And the equation is true for all x in its domain.

That last part matters. It’s not enough for it to work at one value of xx. It has to work everywhere it’s defined.

So mentally, think:

A solution is just a function that makes the differential equation true.

Verification is a derivative-and-substitute check. Nothing mysterious.

General Solutions and Families of Curves

Most differential equations don’t have just one solution. They have infinitely many.

These are called general solutions, and they usually look like:

y=F(x)+C y = F(x) + C

That CC represents a whole family of curves.

Here’s a concrete example. Suppose the solutions look like y=x2+Cy = x^2 + C.

Each curve on the graph has a different value of CC. They’re all vertical shifts of the same basic parabola, and they all satisfy the same differential equation.

  • Different value of CC,
  • Slightly different graph,
  • Same differential equation.

If no initial condition is given, you’re dealing with the entire family.

If something like y(1)=4y(1) = 4 is given, that picks one specific value of CC, which gives a particular solution.

On quizzes and FRQs, you’re often asked to verify a solution that includes CC. Your job is to show it works for any constant.

How to Verify a Solution

When you’re given a differential equation and a proposed function, the process is always the same.

1. Differentiate the Function

Use the correct rules:

  • Power rule
  • Product rule
  • Chain rule
  • Exponential/trig derivatives

Most errors happen here. Especially with:

  • ekxe^{kx} (don’t forget the kk)
  • Products like x2cos⁡xx^2 \cos x
  • Composite trig functions

2. Substitute Into the Equation

Plug in:

  • Your derivative for dydx\frac{dy}{dx}
  • The original function for yy, if it appears

Do not skip substituting yy if the equation includes it.

3. Simplify Completely

Expressions don’t have to look identical at first glance. They must be algebraically equivalent.

For example, rearranged terms are fine:

  • 4x+x24x + x^2
  • x2+4xx^2 + 4x

If both sides match after simplification, it’s verified.

Example Walkthrough

Suppose:

dydx=4x−3 \frac{dy}{dx} = 4x - 3

Proposed solution:

y=2x2−3x+5 y = 2x^2 - 3x + 5

Step 1: Differentiate

dydx=4x−3 \frac{dy}{dx} = 4x - 3

Step 2: Compare

The derivative matches the right-hand side exactly.

So the function satisfies the differential equation.

Notice something important. The constant 5 disappeared when we differentiated. That’s why constants show up in general solutions. They don’t affect the derivative.

Verifying a General Solution with CC

Suppose:

dydx=6x \frac{dy}{dx} = 6x

Proposed solution:

y=3x2+C y = 3x^2 + C

Differentiate:

dydx=6x \frac{dy}{dx} = 6x

The CC disappears. The derivative matches the equation for any value of CC.

That means every curve in the family is a solution.

If an initial condition were added, you would solve for CC. But verification alone does not require finding CC.

Common Mistakes That Cost Points

  • Forgetting the chain rule on e5xe^{5x} or sin⁡(3x)\sin(3x)
  • Dropping a term in the product rule
  • Only plugging in dydx\frac{dy}{dx} but forgetting to plug in yy
  • Checking equality at one x-value instead of algebraically
  • Not simplifying fully before comparing

On FRQs, if you don’t show the derivative step clearly, you can lose credit even if your conclusion is correct.

Key Takeaways

A function is a solution if substituting yy and dydx\frac{dy}{dx} makes the equation true for all xx.
Most differential equations have infinitely many solutions written with a constant CC.
When verifying, always differentiate first, then substitute both yy and dydx\frac{dy}{dx}.
Constants disappear when you differentiate, which is why general solutions include CC.
Expressions only need to be algebraically equivalent, not identical in appearance.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining