7. Differential Equations

Verifying Solutions For Differential Equations

Verifying Solutions for Differential Equations

students, imagine you are checking whether a math rule is really true, the way you would test whether a text claim matches the evidence πŸ“˜. In differential equations, a solution is a function that makes the equation true when you substitute it in. Today’s lesson is about how to verify that a proposed function is actually a solution.

Lesson objectives:

  • Explain what it means for a function to solve a differential equation.
  • Verify solutions by differentiation and substitution.
  • Distinguish between a general solution and a particular solution.
  • Connect solution checking to slope fields and modeling.
  • Use AP Calculus AB reasoning to justify why a function works.

This skill is important because AP Calculus AB often asks you to confirm whether a function satisfies a differential equation, especially in topics like separable differential equations, exponential growth and decay, and initial value problems. πŸ”

What It Means to Be a Solution

A differential equation is an equation that includes a derivative, such as $\frac{dy}{dx}=3x^2$ or $\frac{dy}{dx}=ky$. The unknown is usually a function, not just a number. A solution is a function $y=f(x)$ that makes the equation true after you compute its derivative and substitute both $y$ and $\frac{dy}{dx}$.

For example, suppose the differential equation is

$$\frac{dy}{dx}=2x$$

A candidate solution might be $y=x^2+C$, where $C$ is a constant. To verify it, differentiate the function:

$$\frac{dy}{dx}=2x$$

That matches the right-hand side exactly, so $y=x^2+C$ is a solution for any constant $C$. This is called a general solution because it contains a family of functions.

If a value is given, such as $y(1)=5$, then you can find a specific constant. Using $y=x^2+C$:

$$5=1^2+C$$

$$C=4$$

So the particular solution is

$$y=x^2+4$$

That one function fits the differential equation and the initial condition. βœ…

How to Verify a Proposed Solution

The main process is simple:

  1. Start with the proposed function $y=f(x)$.
  2. Differentiate to find $\frac{dy}{dx}$.
  3. Substitute $y$ and $\frac{dy}{dx}$ into the differential equation.
  4. Check whether both sides are equal for all values in the domain.

Let’s look at a clear example.

Suppose the differential equation is

$$\frac{dy}{dx}=4y$$

and the proposed function is

$$y=e^{4x}$$

First, differentiate:

$$\frac{dy}{dx}=4e^{4x}$$

Now substitute into the differential equation. The right-hand side becomes

$$4y=4e^{4x}$$

Since both sides match, $y=e^{4x}$ is a solution.

Now try a different proposed function:

$$y=3e^{4x}$$

Differentiate:

$$\frac{dy}{dx}=12e^{4x}$$

Substitute into the differential equation:

$$4y=4(3e^{4x})=12e^{4x}$$

This also works. That shows the family of solutions can include a constant multiple, which is common in exponential models. 🌱

A key idea: when verifying a solution, you are not solving the differential equation from scratch. You are checking whether the function fits the rule.

General Solutions, Particular Solutions, and Initial Conditions

In AP Calculus AB, you often see differential equations together with an initial value. A general solution contains a constant, usually written as $C$. A particular solution is found when you use extra information to determine $C$.

Example:

$$\frac{dy}{dx}=6x^2$$

Integrating gives a general solution:

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

To verify this, differentiate:

$$\frac{dy}{dx}=6x^2$$

Now suppose the initial condition is

$$y(0)=7$$

Substitute into the general solution:

$$7=2(0)^3+C$$

$$C=7$$

So the particular solution is

$$y=2x^3+7$$

You can verify it the same way:

$$\frac{dy}{dx}=6x^2$$

This matches the differential equation, and the point $(0,7)$ also lies on the curve.

This matters because the differential equation tells you the shape of the family of solutions, while the initial condition picks out one curve from that family.

Verifying Separable Differential Equations

A separable differential equation is one where variables can be separated so one side has only $y$ and the other side has only $x$. For example,

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

can be rewritten as

$$\frac{1}{y}\,dy=x\,dx$$

After integrating, you may get a solution such as

$$\ln|y|=\frac{x^2}{2}+C$$

which leads to

$$y=Ce^{x^2/2}$$

To verify this, differentiate using the chain rule:

$$\frac{dy}{dx}=Ce^{x^2/2}\cdot x$$

Since $y=Ce^{x^2/2}$, the right-hand side of the differential equation is

$$xy=x\left(Ce^{x^2/2}\right)=Ce^{x^2/2}x$$

Both sides match, so the solution is verified.

Notice how the verification process depends on careful differentiation. Even a small mistake, like forgetting the chain rule, can make a correct-looking answer appear wrong. This is why AP questions often reward showing your work clearly.

Connection to Slope Fields and Solution Curves

A slope field shows short line segments whose slopes match the value of the derivative $\frac{dy}{dx}$ at many points. If a proposed function is a solution, then its graph should follow those slopes everywhere.

For the differential equation

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

the slope at each point depends on the $y$-value. If $y$ is positive, slopes are positive; if $y$ is negative, slopes are negative. An exponential function like

$$y=Ce^x$$

fits this pattern because

$$\frac{dy}{dx}=Ce^x=y$$

So verification is not just symbolic. It also matches the visual meaning of a slope field. If a curve crosses the field in a way that stays tangent to the line segments, that gives strong evidence the curve is a solution. πŸ“ˆ

Think of a slope field like a road map. Each tiny segment tells you the direction the solution curve should move at that point. A verified solution is a curve that follows the map exactly.

Common Mistakes and How to Avoid Them

When verifying solutions, students, here are some errors students often make:

  • Forgetting the derivative: You must compute $\frac{dy}{dx}$ before substituting.
  • Mixing up $y$ and $\frac{dy}{dx}$: The function and its derivative are not the same.
  • Ignoring the chain rule: For functions like $e^{x^2}$ or $(3x+1)^5$, the derivative needs an extra factor.
  • Checking only one point: A solution must satisfy the differential equation for all values in its domain, not just one point.
  • Confusing general and particular solutions: A general solution has $C$; a particular solution uses an initial condition.

Example of a chain rule check:

$$y=e^{x^2}$$

Then

$$\frac{dy}{dx}=2xe^{x^2}$$

If the differential equation is

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

then substitute $y=e^{x^2}$:

$$2xy=2x\left(e^{x^2}\right)=2xe^{x^2}$$

So the function is verified. If you forgot the factor $2x$, you would get the wrong result.

Conclusion

Verifying solutions for differential equations means checking whether a function satisfies the derivative rule after differentiation and substitution. This is a core AP Calculus AB skill because it connects algebra, derivatives, and modeling. You should be able to tell whether a function is a solution, identify a general solution versus a particular solution, and explain why an initial condition determines one exact curve. The big idea is simple but powerful: a solution is not just any function; it is a function whose derivative matches the equation everywhere it is supposed to. βœ…

Study Notes

  • A differential equation includes a derivative such as $\frac{dy}{dx}$.
  • A solution is a function that makes the equation true when substituted in.
  • To verify a solution: differentiate, substitute, and compare both sides.
  • A general solution usually includes a constant $C$.
  • A particular solution is found by using an initial condition like $y(0)=7$.
  • Separable equations can often be rewritten so $x$-terms and $y$-terms are on opposite sides.
  • Exponential models often verify because derivatives of exponential functions are proportional to the original function.
  • Slope fields provide a visual way to check whether a curve matches the differential equation.
  • Always use the chain rule when differentiating composite functions.
  • A verified solution must satisfy the differential equation on its domain, not just at one point.

Practice Quiz

5 questions to test your understanding