PrepGo

Verifying Solutions for Differential Equations - AP Calculus AB Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 12 minutes to read.

The Core Idea: Verifying Solutions for Differential Equations

A differential equation is an equation that relates a function to its derivatives. The core idea of this topic is not to find the solution to a differential equation, but rather to verify if a given function is indeed a solution. This process is a direct check to see if the function "satisfies" the equation.

To verify, we substitute the given function and its calculated derivatives into the differential equation. If this substitution results in a true mathematical statement (i.e., the left side of the equation equals the right side), then the function is a solution. Some differential equations have a single, unique solution, while others have an entire family of solutions, often represented by a general solution containing a constant.

Key Definitions

This topic is centered on a process rather than specific formulas. The key definitions are:

  • Differential Equation: An equation involving an unknown function and one or more of its derivatives. For example, or .

  • Solution to a Differential Equation: A function that, when substituted along with its derivatives into the differential equation, makes the equation a true statement.

  • General Solution: A family of functions that serves as a solution to a differential equation. A general solution typically includes one or more arbitrary constants (e.g., ). For example, is the general solution to .

  • Particular Solution: A single, unique function that is a solution to a differential equation. It is one specific case from the general solution, where the constant has been determined. For example, is a particular solution to .

Understanding the Verification Process

The central skill in this topic is the algebraic process of verification. It is fundamentally a substitution and simplification exercise. The goal is to prove that a given function works within the structure of a given differential equation.

The process is as follows:

  1. Identify the components: Look at the differential equation and identify which derivatives of are needed (e.g., , ).

  2. Differentiate: Take the necessary derivatives of the proposed solution function .

  3. Substitute: Replace and its derivatives in the differential equation with the function and its calculated derivatives.

  4. Simplify and Compare: Algebraically simplify both sides of the equation. If the left side is identical to the right side, the verification is complete, and the function is confirmed as a solution. If they are not identical, the function is not a solution.

This process is purely about checking, not solving. You are not expected to derive the solution from scratch, only to confirm that the one provided is correct.

Core Concepts & Rules

  • A function is a solution to a differential equation if it satisfies the equation when the function and its derivatives are substituted into it.

  • The verification process involves finding the necessary derivatives of the proposed solution and plugging them into the differential equation.

  • A differential equation may have a general solution, which represents an entire family of functions (e.g., ).

  • A differential equation may have a particular solution, which is a single, unique function that satisfies the equation (e.g., ).

Step-by-Step Example 1: Verifying a Particular Solution

Problem: Verify that is a solution to the differential equation .

Step 1: Find the necessary derivatives.

The differential equation involves and its second derivative, (or ).

  • Given function:

  • First derivative:

  • Second derivative:

Step 2: Substitute the function and its second derivative into the differential equation.

The differential equation is .

Substitute and :

Step 3: Simplify and verify.

Simplify the left side of the equation:

Since the left side equals the right side, the statement is true. Therefore, is a solution to the differential equation.

Step-by-Step Example 2: Verifying a General Solution

Problem: Show that any function of the form , where is a constant, is a solution to the differential equation .

Step 1: Find the necessary derivative.

The differential equation involves and its first derivative, .

  • Given function:

  • First derivative (using the Chain Rule):

Step 2: Substitute the function and its derivative into the differential equation.

The differential equation is .

  • The Left Side (LS) is , which we found to be .

  • The Right Side (RS) is . Substitute :

Step 3: Compare the left and right sides.

  • LS:

  • RS:

Since LS = RS, the equation holds true for any constant . Therefore, is a general solution to the differential equation.

Using Your Calculator

Verifying solutions to differential equations is an analytical skill that must be performed by hand. The process relies on symbolic differentiation and algebraic simplification, which a calculator cannot perform for you in the way required on the AP Exam.

However, a graphing calculator can be a powerful tool for checking your work, specifically your derivatives.

How to check a derivative:

Suppose in Example 1, you calculated that the derivative of is y' = 4\cos(x)`. To check this: 1. In your calculator's graphing menu (`Y=`), enter your calculated derivative into `Y1`: `Y1 = 4cos(X)` 2. In `Y2`, use the numerical derivative function (`nDeriv` or $d/dx) to graph the derivative of the original function:

`Y2 = nDeriv(4sin(X), X, X)`
  1. Graph both functions. If they produce the exact same graph (it will look like only one curve is drawn), your hand-calculated derivative is very likely correct. If you see two different graphs, you have made a differentiation error and should review your work before proceeding with the substitution step.

AP Exam Quick Hit

Common Question Types

  • Multiple Choice Verification: You will be given a differential equation and several functions as options. You must test each option to see which one is a solution.

    • Example: "Which of the following is a solution to the differential equation ?"

      • (A)

      • (B)

      • (C)

      • (D)

      (You would need to find for each option and substitute it and into the equation.)

  • Free Response Part (a): The first part of a larger free-response question about differential equations often asks you to verify a given solution. This sets the stage for later parts of the question.

    • Example: "Consider the differential equation . Show that is a solution to the differential equation."

Common Mistakes

  • Derivative Errors: The most frequent mistakes are simple errors made when calculating or . A mistake in applying the product, quotient, or chain rule will make it impossible to verify the solution correctly.

  • Substitution Errors: Carelessly substituting the expressions for and its derivatives into the wrong places in the differential equation, or making sign errors during the substitution. For example, substituting for .

  • Algebraic Simplification Errors: After substituting correctly, students often make errors when simplifying the resulting expression, such as incorrect distribution, errors with fractions, or incorrect combination of terms.

  • Confusing Verification with Solving: When asked to "verify" or "show that" a function is a solution, do not try to solve the differential equation from scratch. The task is only to plug in the provided function and prove that it works. Attempting to solve it wastes valuable time.