SECTION 1
Historical Context & Motivation
Differential equations arose from the very inception of calculus itself. When Newton and Leibniz independently developed the calculus in the late seventeenth century, they were immediately confronted with equations relating a function to its own derivatives—equations that modeled physical phenomena such as planetary motion, the shape of hanging chains, and the cooling of heated objects. Solving these equations was only half the battle; mathematicians quickly realized that a proposed solution must be verified by substituting it back into the original equation to confirm that the relationship holds identically. This practice of verification became a cornerstone of mathematical rigor, ensuring that algebraic manipulations or inspired guesses had not introduced extraneous or incorrect results.
1687 • Newton's Principia
1736 • Euler's Mechanica
1830s • Existence and Uniqueness Theorems
20th Century • Computational Verification
The central question this lesson addresses is deceptively simple: Given a differential equation and a candidate function, how do we confirm that the function is indeed a solution? Mastering this skill is essential on the AP Calculus BC exam, where you may be asked not only to solve differential equations but also to verify that a given expression satisfies one. More fundamentally, verification builds your fluency with differentiation rules and algebraic substitution—skills that reinforce every other topic in calculus.
SECTION 2
Core Principles & Definitions
Before diving into verification procedures, it is important to establish the foundational vocabulary. A differential equation is any equation that involves an unknown function and one or more of its derivatives. A solution to such an equation is a function that, when substituted into the equation along with its derivatives, reduces the equation to an identity (i.e., a statement that is true for every value of the independent variable in the domain of interest). Verification is the process of carrying out that substitution and simplification to confirm the identity holds.
Ordinary Differential Equation (ODE)
General vs. Particular Solution
Verification by Substitution
Initial Condition Check
KEY TAKEAWAY
SECTION 3
Visual Explanation
The Verification Process at a Glance
The diagram above encapsulates the entire verification workflow. Notice that verification is fundamentally a backward-looking process: rather than finding a solution, you are confirming one. This distinction matters because verification requires only differentiation and algebra—skills you already possess—whereas solving a differential equation may demand specialized techniques such as separation of variables, integrating factors, or power series. On the AP exam, verification problems are therefore an excellent opportunity to earn full credit with careful, systematic work.
SECTION 4
Mathematical Framework
Let us formalize the verification procedure. Suppose you are given a first-order ODE and a candidate solution. The mathematical goal is to show that substituting the candidate into the ODE yields a true statement for all values of the independent variable in the relevant domain.
FIRST-ORDER ODE
Here f(x, y) is a given expression involving x and y. A candidate y = g(x) is a solution if g′(x) = f(x, g(x)) for all x in the domain.
SECOND-ORDER ODE
For a second-order equation, you must compute both y′ = g′(x) and y″ = g″(x) before substituting. The equation is verified when the left side simplifies to r(x) identically.
INITIAL VALUE PROBLEM (IVP)
For an IVP, verification has two parts: (1) confirm that dy/dx = f(x, y) holds identically, and (2) confirm that g(x₀) = y₀. Both must be satisfied for the candidate to be the particular solution.
A common source of error is forgetting to apply the chain rule or product rule when differentiating the candidate function. For instance, if y = e3xsin(x), computing y′ requires the product rule combined with the chain rule. Another pitfall arises when the candidate contains an arbitrary constant C; during verification of a general solution, the constant C should appear in intermediate steps and must cancel or remain consistent throughout the simplification. If it does not, the proposed general solution is incorrect.
AP Exam Tip
SECTION 5
Types of Verification Problems
Verification problems on the AP Calculus BC exam (and in a first course on differential equations) tend to fall into several categories. Understanding these categories will help you anticipate the level of algebraic complexity required and organize your work accordingly.
On the AP Calculus BC exam, Type 1 and Type 2 problems appear most frequently, often embedded within a larger free-response question that also asks you to solve the equation or sketch a slope field. Type 3 problems occasionally appear in the multiple-choice section, testing whether you can differentiate trigonometric or exponential functions twice and track signs correctly. Type 4 problems, while less common, are excellent for deepening your understanding of the role of parameters and arbitrary constants in general solutions.
SECTION 6
Worked Example
Let us work through a complete verification problem, showing every step with full detail. This mirrors the level of work expected on an AP Calculus BC free-response question.
Verify that y = 3e²ˣ + xe²ˣ is a solution to y″ − 4y′ + 4y = 0
- 1
Step 1 — Identify the ODE and the candidate
The ODE is y″ − 4y′ + 4y = 0, a second-order linear homogeneous equation with constant coefficients. The candidate solution is y = 3e2x + xe2x. We need to compute y′ and y″. - 2
Step 2 — Compute the first derivative y′
Differentiate term by term. For 3e²ˣ, the derivative is 6e²ˣ. For xe²ˣ, apply the product rule: d/dx(xe²ˣ) = (1)e²ˣ + x(2e²ˣ) = e²ˣ + 2xe²ˣ. Combining: y′ = 6e²ˣ + e²ˣ + 2xe²ˣ = 7e²ˣ + 2xe²ˣ.y′ = 7e²ˣ + 2xe²ˣ - 3
Step 3 — Compute the second derivative y″
Differentiate y′ = 7e²ˣ + 2xe²ˣ. For 7e²ˣ, the derivative is 14e²ˣ. For 2xe²ˣ, apply the product rule: d/dx(2xe²ˣ) = 2e²ˣ + 2x(2e²ˣ) = 2e²ˣ + 4xe²ˣ. Combining: y″ = 14e²ˣ + 2e²ˣ + 4xe²ˣ = 16e²ˣ + 4xe²ˣ.y″ = 16e²ˣ + 4xe²ˣ - 4
Step 4 — Substitute into the ODE
Compute y″ − 4y′ + 4y: = (16e²ˣ + 4xe²ˣ) − 4(7e²ˣ + 2xe²ˣ) + 4(3e²ˣ + xe²ˣ). Expand: = 16e²ˣ + 4xe²ˣ − 28e²ˣ − 8xe²ˣ + 12e²ˣ + 4xe²ˣ. - 5
Step 5 — Simplify and confirm the identity
Group the e²ˣ terms: (16 − 28 + 12)e²ˣ = 0 · e²ˣ = 0. Group the xe²ˣ terms: (4 − 8 + 4)xe²ˣ = 0 · xe²ˣ = 0. Therefore y″ − 4y′ + 4y = 0 + 0 = 0, which matches the right-hand side of the ODE.✓ Verified: y = 3e²ˣ + xe²ˣ is a solution to y″ − 4y′ + 4y = 0
Why This Example Matters
SECTION 7
Common Pitfalls & Exam Tips
While verification is conceptually straightforward, there are several pitfalls that routinely cost students points on the AP exam. The table below contrasts common mistakes with best practices, giving you a diagnostic tool for checking your own work.
| Common Pitfall | Why It's Wrong | Best Practice |
|---|---|---|
| Forgetting the chain rule when differentiating ekx | Writing d/dx(e³ˣ) = e³ˣ instead of 3e³ˣ causes a factor-of-k error that propagates through every subsequent step. | Always write the inner derivative explicitly: d/dx(ekx) = k · ekx. Circle the chain rule factor. |
| Dropping the product rule for terms like xe2x | Treating xe²ˣ as a simple exponential rather than a product of x and e²ˣ yields an incorrect derivative and a failed verification. | Identify products before differentiating. Write u = x, v = e²ˣ, then apply (uv)′ = u′v + uv′ explicitly. |
| Sign errors in trigonometric derivatives | d/dx(sin x) = cos x, but d/dx(cos x) = −sin x. Dropping the negative sign is the most common trig error. | Write out the derivative rules for sin and cos before you begin. Double-check every sign at the end. |
| Skipping the initial condition check | Showing that y satisfies the ODE is necessary but not sufficient for an IVP. Without confirming y(x₀) = y₀, you have not verified the particular solution. | After verifying the ODE, add a separate line: "Check IC: y(x₀) = … = y₀ ✓." This is worth a dedicated rubric point on the FRQ. |
| Substituting into only one side | Some students compute the LHS but forget to simplify or compare it to the RHS, leaving the verification incomplete. | Explicitly label LHS = … and RHS = … on separate lines, then state "LHS = RHS" as the concluding sentence. |
Common verification pitfalls and strategies for avoiding them
KEY TAKEAWAY
SECTION 8
Connection to Advanced Theory
Verification is the gateway skill that connects several advanced topics in the AP Calculus BC curriculum and beyond. Understanding how verification fits into the larger framework of differential equations will deepen your appreciation for why this seemingly simple procedure matters so much.
| Verification Skill | Advanced Extension |
|---|---|
| Substituting y and y′ into a first-order ODE | Solving separable and linear first-order ODEs (separation of variables, integrating factors). Verification confirms your solution after integration. |
| Checking that a general solution contains an arbitrary constant C | Existence and uniqueness theorems guarantee that the general solution of a first-order ODE has exactly one arbitrary constant. Verification confirms the structure. |
| Verifying initial conditions | Boundary value problems in physics and engineering, where conditions are imposed at two different points rather than one. Verification at multiple points extends the IVP check. |
| Substituting power series into an ODE | Power series solutions and Taylor/Maclaurin series for DEs (Topic 10.16 in AP BC). You verify term-by-term that the series satisfies the ODE by equating coefficients. |
| Verifying solutions to second-order ODEs | Linear algebra and systems of ODEs in multivariable calculus. The concept of linear independence of solutions (the Wronskian) extends verification to vector-valued settings. |
How verification connects to advanced differential equations topics
Looking ahead, the verification paradigm—propose a candidate, test it against constraints—extends far beyond differential equations. In linear algebra, you verify eigenvectors by checking Av = λv. In real analysis, you verify that a sequence converges by showing it satisfies the ε-definition. In all these cases, the philosophical structure is the same: a solution is only a solution if it satisfies the defining equation. Mastering verification in the ODE context builds the intellectual habit of rigorously checking answers that will serve you throughout higher mathematics.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
- A. Solve the differential equation from scratch and show that the answer matches g(x).
- B. Substitute g(x) and its necessary derivatives into the equation and show the equation reduces to an identity.
- C. Graph y = g(x) and visually confirm that it passes through the expected region of the slope field.
- D. Evaluate g(x) at several specific x-values and confirm that each satisfies the differential equation.
- E. Integrate both sides of the differential equation and compare with g(x).
Show answer (B)
Question 2: BASIC CALCULATION
- A. y = e⁴ˣ
- B. y = 3eˣ
- C. y = 5e³ˣ
- D. y = 3x · eˣ
- E. y = e³ˣ + 1
Show answer (C)
Question 3: INTERMEDIATE
- A. Yes, because y″ = −4cos(2x) − 12sin(2x) and y″ + 4y simplifies to 0.
- B. Yes, because y″ = −cos(2x) − 3sin(2x) and y″ + 4y simplifies to 3y.
- C. No, because the chain rule produces a factor of 2 that prevents cancellation.
- D. No, because y″ = 4cos(2x) + 12sin(2x), so y″ + 4y = 8cos(2x) + 24sin(2x) ≠ 0.
- E. Yes, but only if the initial condition y(0) = 1 is also satisfied.
Show answer (A)
Question 4: APPLIED
5 ptsShow answer
Question 5: CRITICAL THINKING
3 ptsShow answer
SUMMARY
Lesson Summary
Summary
Verifying a solution to a differential equation means substituting the candidate function and its required derivatives into the equation and simplifying to show that both sides are identically equal. This process relies on differentiation rules (chain rule, product rule, quotient rule) and algebraic simplification. For an initial value problem, a second check confirms that the candidate satisfies the initial condition y(x₀) = y₀.
The key steps are: (1) identify the ODE and candidate, (2) compute all necessary derivatives, (3) substitute into the ODE, (4) simplify and confirm the identity, and (5) check any initial conditions. Common pitfalls include chain rule omissions, sign errors in trigonometric derivatives, and neglecting the initial condition check. This foundational skill connects directly to solving differential equations, power series solutions, and the broader mathematical habit of rigorously confirming results.