7. Differential Equations

Verifying Solutions For Differential Equations

Verifying Solutions for Differential Equations

students, one big goal in differential equations is to check whether a proposed function really works as a solution. That may sound simple, but it is a major skill in AP Calculus BC 📘. If a function is claimed to solve a differential equation, you must be able to test that claim using calculus, not just guess by looking at it.

In this lesson, you will learn how to verify solutions for differential equations, why this matters, and how it connects to the bigger picture of slope fields, separable differential equations, and models such as exponential growth and logistic growth. By the end, you should be able to explain what it means for a function to be a solution, check a proposed solution step by step, and recognize whether a solution is general or particular.

What It Means to Solve a Differential Equation

A differential equation is an equation that involves an unknown function and one or more of its derivatives. For example, a first-order differential equation might look like $\frac{dy}{dx}=3x^2$ or $\frac{dy}{dx}=ky$.

A solution is a function $y=f(x)$ that makes the equation true when you substitute $f(x)$ for $y$ and $f'(x)$ for $\frac{dy}{dx}$. In other words, the function must satisfy the relationship everywhere in the interval being considered.

Here is the basic idea:

  • Start with a proposed function.
  • Find its derivative.
  • Substitute both the function and its derivative into the differential equation.
  • Simplify.
  • If the equation becomes true, the function is a solution ✅

For example, suppose the differential equation is $\frac{dy}{dx}=2x$ and the proposed function is $y=x^2+C$. Then $\frac{dy}{dx}=2x$, so substitution gives $2x=2x$. This works for any constant $C$, so $y=x^2+C$ is a family of solutions.

This is a key idea in AP Calculus BC: a solution can be a whole family of functions, not just one specific curve.

How to Verify a Proposed Solution

To verify a solution, students, you are basically doing a checkup on the function 🔍. The exact steps depend on the differential equation, but the logic is always the same.

Step 1: Differentiate the proposed function

If the proposed solution is $y=f(x)$, compute $f'(x)$. If the function is given implicitly or in terms of another variable, use the correct differentiation rule.

Step 2: Substitute into the differential equation

Replace $y$ with $f(x)$ and $\frac{dy}{dx}$ with $f'(x)$. If the equation involves $x$, $y$, or both, use the original variables carefully.

Step 3: Simplify and compare

After substitution, simplify both sides. If the two sides match identically, the function satisfies the differential equation.

For example, verify that $y=Ce^{2x}$ solves $\frac{dy}{dx}=2y$.

Differentiate: $\frac{dy}{dx}=2Ce^{2x}$.

Substitute into the equation:

$$2Ce^{2x}=2\bigl(Ce^{2x}\bigr)$$

This is true, so $y=Ce^{2x}$ is a general solution.

Notice that the constant $C$ stays in the solution. That is common when verifying families of solutions.

General Solutions and Particular Solutions

When studying differential equations, it is important to know whether a solution is general or particular.

A general solution includes an arbitrary constant, like $y=Ce^x$ or $y=x^2+C$.

A particular solution is one specific member of that family, often found by using an initial condition such as $y(0)=5$.

For example, the differential equation $\frac{dy}{dx}=y$ has general solution $y=Ce^x$.

If the initial condition is $y(0)=3$, then substitute $x=0$ and $y=3$:

$$3=Ce^0$$

$$3=C$$

So the particular solution is $y=3e^x$.

When verifying a particular solution, you must check both parts:

  • Does the function satisfy the differential equation?
  • Does it satisfy the initial condition?

This is especially useful on AP free-response questions, where you may be asked to show that a curve is a solution and then determine the constant using a starting point.

Verifying Separable Differential Equation Solutions

A separable differential equation can be written so that all $y$ terms are on one side and all $x$ terms are on the other. A common form is $\frac{dy}{dx}=g(x)h(y)$.

For example, consider

$$\frac{dy}{dx}=xy$$

A proposed solution might be $y=Ce^{x^2/2}$.

To verify:

  • Differentiate $y=Ce^{x^2/2}$ using the chain rule.
  • You get $\frac{dy}{dx}=Ce^{x^2/2}\cdot x$.
  • Since $y=Ce^{x^2/2}$, this becomes $\frac{dy}{dx}=xy$.

So the solution works.

This type of checking matters because many differential equations in AP Calculus BC are solved by integration after separation. Verifying the result helps you confirm the algebra and calculus were done correctly.

A helpful real-world picture: if $y$ represents the amount of medicine in the body and the rate of change depends on both time and current amount, a proposed formula must be checked against the rate equation before it can be trusted 💊.

Using Initial Conditions to Verify a Specific Curve

Sometimes you are given a differential equation and a starting value, such as $y(1)=4$. This is called an initial condition. It helps pick one exact solution from a whole family.

Suppose a differential equation has general solution $y=Ce^{3x}$, and you are told $y(0)=2$.

First, verify that the family solves the differential equation. Then use the initial condition:

$$2=Ce^{0}$$

$$C=2$$

So the particular solution is $y=2e^{3x}$.

If you are asked to verify the particular solution, do both checks:

  1. Differentiate the function.
  2. Substitute into the differential equation.
  3. Check the initial condition.

This process is common in modeling population growth, cooling, and motion. A formula is useful only if it matches the starting information and the rate rule.

Common Mistakes to Avoid

students, students often make a few predictable errors when verifying solutions ⚠️.

Mistake 1: Forgetting to differentiate correctly

For $y=e^{x^2}$, the derivative is not $e^{x^2}$; it is $2xe^{x^2}$ because of the chain rule.

Mistake 2: Substituting only the function but not its derivative

A differential equation always compares a function to its rate of change. You need both $y$ and $\frac{dy}{dx}$.

Mistake 3: Ignoring constants

If a solution includes $C$, it may still be valid. The constant can remain in the verification unless an initial condition gives its value.

Mistake 4: Not checking the domain

Some solutions are only valid where the function is defined. For example, if a solution includes $\ln x$, then it only works for $x>0$.

Mistake 5: Mixing up “satisfies the differential equation” with “satisfies the initial condition”

A function may solve the equation but fail the starting value. Both checks matter when the problem asks for a particular solution.

Why Verifying Solutions Matters in AP Calculus BC

Verifying solutions is not just a homework skill. It connects several major ideas in differential equations.

  • In slope fields, the derivative gives direction information. Verifying a solution confirms that the curve follows those directions.
  • In separable differential equations, solving often leads to an implicit or explicit formula that should be checked.
  • In Euler’s method, approximate values can be compared with exact solutions when they exist.
  • In exponential and logistic models, verifying ensures the formula matches the rate of change described by the model.

For example, the logistic differential equation

$$\frac{dP}{dt}=kP\left(1-\frac{P}{L}\right)$$

models population growth with a limiting value $L$. If someone claims $P(t)$ is a solution, you verify it by differentiating $P(t)$ and checking that the expression matches the right-hand side.

This is important because real-world models are only useful if they satisfy the equations that describe the situation. A formula that looks reasonable but fails the differential equation is not a solution.

Conclusion

Verifying solutions for differential equations is a core AP Calculus BC skill because it turns solving into a testable process. You differentiate the proposed function, substitute it into the equation, and simplify to see whether the relationship holds. You also check initial conditions when a particular solution is required.

This topic ties together the whole unit on differential equations: slope fields show the direction of solutions, separable equations produce families of solutions, and verification confirms whether a formula truly fits the differential equation. students, once you can verify solutions confidently, you are better prepared to solve problems, interpret models, and justify your work on the AP exam 🎯.

Study Notes

  • A differential equation contains an unknown function and at least one derivative such as $\frac{dy}{dx}$.
  • A solution is a function whose derivative makes the differential equation true after substitution.
  • To verify a solution: differentiate, substitute, simplify, and compare.
  • A general solution includes an arbitrary constant such as $C$.
  • A particular solution is found by using an initial condition like $y(0)=3$.
  • Verifying a particular solution means checking both the differential equation and the initial condition.
  • Chain rule mistakes are common when differentiating proposed solutions like $e^{x^2}$.
  • Separable differential equations often lead to solution families that should be checked carefully.
  • Verifying solutions connects to slope fields, Euler’s method, exponential growth, and logistic models.
  • A formula is only a valid solution if it satisfies the differential equation on the relevant domain.

Practice Quiz

5 questions to test your understanding