Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Calculus BC
  3. ›7 Differential Equations
  4. ›7.2 Verifying solutions

AP Calculus BC · Unit 7 · Differential Equations

7.2 Verifying solutions

Verify whether a given function solves a differential equation by differentiating, substituting, and checking the stated domain.

  • 3 min read
  • 4 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/4A solution must make the differential equation true
  1. 1A solution must make the differential equation true
  2. 2Differentiate the proposed function before substituting it
  3. 3Compare both sides after completing the substitution
  4. 4A mismatch or domain restriction limits the conclusion
  5. Check your recall
  6. Practice: 10 questions
1

Part 1 of 4: A solution must make the differential equation true

A differential equation relates an unknown function to one or more of its derivatives. A solution is a differentiable function that makes the equation true throughout the interval being checked. For example, consider dydx=2x\frac{dy}{dx}=2xdxdy​=2x. The function y=x2+3y=x^2+3y=x2+3 is a solution because its derivative equals 2x2x2x for every real xxx. Its value also matters when the equation contains yyy. To verify a proposed function, treat its formula as a claim to test. Finding a match at one value of xxx is not enough.

Key terms · tap one for its definition

differential equation

An equation that relates an unknown function to one or more of its derivatives.

solution

A differentiable function that satisfies a differential equation at every point of a specified interval.

Part 1 done

2

Part 2 of 4: Differentiate the proposed function before substituting it

First find each derivative that appears in the equation. Then replace **yyy with the proposed function and replace dydx\frac{dy}{dx}dxdy​** with its derivative. Keep the derivative and the original function separate. For instance, if y=x2+3y=x^2+3y=x2+3, then dydx=2x\frac{dy}{dx}=2xdxdy​=2x; substituting x2+3x^2+3x2+3 for both expressions would be incorrect. A second-order derivative must also be calculated if the equation contains d2ydx2\frac{d^2y}{dx^2}dx2d2y​. Use ordinary differentiation rules, including the chain rule when needed.

Exam tip

Write the proposed function and each required derivative before replacing anything in the equation.

Key terms · tap one for its definition

yyy

The function whose derivative and values are related by the differential equation.

dydx\frac{dy}{dx}dxdy​

The derivative of yyy with respect to xxx.

second-order derivative

The derivative of the first derivative of a function.

Part 2 done

Quick check

One question on the part you just read

Easy

Determine whether y=5x−2y=5x-2y=5x−2 solves the differential equation dydx=5\frac{dy}{dx}=5dxdy​=5 on all real numbers.
Show answer and explanation

Answer: A · Worked explanation

Differentiating y=5x−2y=5x-2y=5x−2 gives dydx=5\frac{dy}{dx}=5dxdy​=5, so the differential equation holds for every real xxx. The tempting claim that the function's value is always 5 confuses yyy with its derivative; the value of yyy varies with xxx.
3

Part 3 of 4: Compare both sides after completing the substitution

Simplify each side independently. The resulting identity must hold for every xxx in the stated interval. If the expressions differ at even one allowed value, the function is not a solution on that interval. A constant can change whether a proposed function works when the equation contains yyy. In the example below, substitution shows exactly where that constant belongs. Do not stop after finding the derivative; the comparison completes the verification.

Worked example

Verify a proposed solution

Does y=2e3xy=2e^{3x}y=2e3x solve dydx=3y\frac{dy}{dx}=3ydxdy​=3y for all real xxx?
  1. 1
    Differentiate: dydx=2(3e3x)=6e3x\frac{dy}{dx}=2(3e^{3x})=6e^{3x}dxdy​=2(3e3x)=6e3x.
  2. 2
    Substitute the function into the right side: 3y=3(2e3x)=6e3x3y=3(2e^{3x})=6e^{3x}3y=3(2e3x)=6e3x.
  3. 3
    Compare: 6e3x=6e3x6e^{3x}=6e^{3x}6e3x=6e3x for every real xxx.

Answer: Yes. The function solves the equation for all real xxx; no units are specified.

Key term

identity

An equality that holds for every allowed value of its variable.

Part 3 done

4

Part 4 of 4: A mismatch or domain restriction limits the conclusion

A counterexample is one allowed input where the substituted sides differ. It proves that a proposed function does not solve the equation throughout the interval. For example, test y=x2+1y=x^2+1y=x2+1 in dydx=y\frac{dy}{dx}=ydxdy​=y. Its derivative is 2x2x2x, while the right side becomes x2+1x^2+1x2+1. At x=0x=0x=0, these values are 0 and 1, so the function fails. Also check the domain. The function and every expression in the equation must be defined on the claimed interval. An equality that works only at isolated inputs does not establish a solution on an interval.

Common mistake

Matching at one input does not verify a solution. Equality must hold throughout the interval.

Key terms · tap one for its definition

counterexample

An allowed input at which a claimed equality fails.

domain

The set of input values for which an expression is defined.

Note read

Check your recall[13 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[2 marks]

    State what must be true for a function to solve a differential equation on an interval.

    Show mark schemeHide mark scheme

    Model answer

    The function must have the required derivatives, and substitution must make the equation true at every point of the interval.

    • 1 mark for stating that the required derivatives must exist on the interval
    • 1 mark for stating that substitution must give equality throughout the interval
  2. 2.Verify[3 marks]

    Verify whether y=x3+2y=x^3+2y=x3+2 solves dydx=3x2\frac{dy}{dx}=3x^2dxdy​=3x2 for all real xxx.

    Show mark schemeHide mark scheme

    Model answer

    Differentiating gives dydx=3x2\frac{dy}{dx}=3x^2dxdy​=3x2. This matches the right side for every real xxx, so the function is a solution.

    • 1 mark for differentiating x3+2x^3+2x3+2 to obtain 3x23x^23x2
    • 1 mark for comparing the derivative with the right side of the equation
    • 1 mark for concluding that the function solves the equation for all real xxx
  3. 3.Explain[3 marks]

    Explain why y=x2+1y=x^2+1y=x2+1 does not solve dydx=y\frac{dy}{dx}=ydxdy​=y for all real xxx.

    Show mark schemeHide mark scheme

    Model answer

    The derivative is 2x2x2x, but substituting the function for yyy gives x2+1x^2+1x2+1. At x=0x=0x=0, the sides are 0 and 1, so the equation fails.

    • 1 mark for finding dydx=2x\frac{dy}{dx}=2xdxdy​=2x
    • 1 mark for substituting x2+1x^2+1x2+1 for yyy
    • 1 mark for giving an allowed input where the sides differ and concluding that the function fails
  4. 4.Verify[3 marks]

    Verify whether y=e2xy=e^{2x}y=e2x solves d2ydx2=4y\frac{d^2y}{dx^2}=4ydx2d2y​=4y for all real xxx.

    Show mark schemeHide mark scheme

    Model answer

    The first derivative is 2e2x2e^{2x}2e2x, and the second is 4e2x4e^{2x}4e2x. Since 4y=4e2x4y=4e^{2x}4y=4e2x, the equation holds for every real xxx.

    • 1 mark for finding the first derivative 2e2x2e^{2x}2e2x
    • 1 mark for finding the second derivative 4e2x4e^{2x}4e2x
    • 1 mark for substituting for yyy and concluding that both sides agree for all real xxx
  5. 5.Explain[2 marks]

    Explain why equality at a single input cannot establish a solution on an interval.

    Show mark schemeHide mark scheme

    Model answer

    A solution must satisfy the equation at every point of the interval. Equality at one input leaves the other inputs unchecked.

    • 1 mark for stating that the equation must hold throughout the interval
    • 1 mark for explaining that one matching input does not establish equality at other inputs

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the quick check in the note above.

2.

Easy·Identify[1 mark]

Identify the derivative and the value of yyy to substitute when testing y=exy=e^xy=ex in dydx=y\frac{dy}{dx}=ydxdy​=y.
Show answer and explanation

Answer: B · Worked explanation

The derivative of exe^xex is exe^xex, and the proposed function itself is also exe^xex. Thus both sides become exe^xex after substitution. The option using 1 for yyy confuses the derivative of exe^xex with the function's value.
3.

Easy·Determine[1 mark]

Determine whether y=cos⁡xy=\cos xy=cosx solves d2ydx2=−y\frac{d^2y}{dx^2}=-ydx2d2y​=−y for all real xxx.
Show answer and explanation

Answer: B · Worked explanation

The first derivative of cos⁡x\cos xcosx is −sin⁡x-\sin x−sinx, and the second derivative is −cos⁡x-\cos x−cosx. Since y=cos⁡xy=\cos xy=cosx, this gives d2ydx2=−y\frac{d^2y}{dx^2}=-ydx2d2y​=−y for every real xxx. The tempting expression sin⁡x\sin xsinx is not the second derivative; it is the negative of the first derivative.
4.

Easy·Explain[1 mark]

Explain why finding one value of xxx at which a proposed function satisfies a differential equation is not enough to verify it on an interval.
Show answer and explanation

Answer: D · Worked explanation

To be a solution on an interval, a differentiable function must make the differential equation true throughout that interval. Agreement at one input gives no information about whether the equality holds at other inputs. In particular, checking endpoints alone would not establish the required identity across the interval.
5.

Medium·Verify[2 marks]

Verify whether y=x2+4y=x^2+4y=x2+4 solves dydx=y−4\frac{dy}{dx}=y-4dxdy​=y−4 for all real xxx.
Show answer and explanation

Answer: A · Worked explanation

Differentiating gives dydx=2x\frac{dy}{dx}=2xdxdy​=2x. Substituting into the right side gives y−4=(x2+4)−4=x2y-4=(x^2+4)-4=x^2y−4=(x2+4)−4=x2. These are not equal for every real xxx, so the function is not a solution on all real numbers.
6.

Medium·Determine[1 mark]

Determine whether y=e3xy=e^{3x}y=e3x solves dydx=4y\frac{dy}{dx}=4ydxdy​=4y on all real numbers.
Show answer and explanation

Answer: C · Worked explanation

Differentiation gives dydx=3e3x\frac{dy}{dx}=3e^{3x}dxdy​=3e3x, while substituting into the right side gives 4y=4e3x4y=4e^{3x}4y=4e3x. These expressions differ for every real xxx, since e3xe^{3x}e3x is never zero. The option claiming the derivative is 4e3x4e^{3x}4e3x incorrectly applies the coefficient from the equation instead of differentiating the proposed function.
7.

Medium·Calculate[2 marks]

Calculate the second derivative of y=sin⁡(2x)y=\sin(2x)y=sin(2x) and use it to determine whether the function solves d2ydx2=−4y\frac{d^2y}{dx^2}=-4ydx2d2y​=−4y for all real xxx.
Show answer and explanation

Answer: A · Worked explanation

By the chain rule, y′=2cos⁡(2x)y'=2\cos(2x)y′=2cos(2x) and then y′′=−4sin⁡(2x)y''=-4\sin(2x)y′′=−4sin(2x). Since y=sin⁡(2x)y=\sin(2x)y=sin(2x), the right side −4y-4y−4y is also −4sin⁡(2x)-4\sin(2x)−4sin(2x), so the equation holds for all real xxx. The option with coefficient -2 omits a factor of 2 from differentiating the inner function a second time.
8.

Medium·Deduce[2 marks]

A student tests y=x+1y=x+1y=x+1 in xdydx=yx\frac{dy}{dx}=yxdxdy​=y. Deduce whether the function solves the equation on the interval [0,2][0,2][0,2].
Show answer and explanation

Answer: C · Worked explanation

The derivative is 1, so at x=0x=0x=0 the left side is 0⋅1=00\cdot1=00⋅1=0, while the right side is y=1y=1y=1. This allowed input is a counterexample, so the equation does not hold throughout [0,2][0,2][0,2].
9.

Medium·Verify[2 marks]

Verify whether y=1xy=\frac{1}{x}y=x1​ solves dydx=−y2\frac{dy}{dx}=-y^2dxdy​=−y2 on the interval (0,∞)(0,\infty)(0,∞).
Show answer and explanation

Answer: B · Worked explanation

For y=1xy=\frac{1}{x}y=x1​, differentiation gives y′=−1x2y'=-\frac{1}{x^2}y′=−x21​. Substitution gives −y2=−(1x)2=−1x2-y^2=-\left(\frac{1}{x}\right)^2=-\frac{1}{x^2}−y2=−(x1​)2=−x21​, so the equality holds throughout (0,∞)(0,\infty)(0,∞). The option with a positive derivative drops the negative sign produced by differentiating x−1x^{-1}x−1.
10.

Hard·Determine[2 marks]

For a constant AAA, determine which value makes y=2+Aexy=2+Ae^xy=2+Aex solve dydx=y−2\frac{dy}{dx}=y-2dxdy​=y−2 for all real xxx.
Show answer and explanation

Answer: A · Worked explanation

Differentiating gives y′=Aexy'=Ae^xy′=Aex. Substituting into the right side gives y−2=(2+Aex)−2=Aexy-2=(2+Ae^x)-2=Ae^xy−2=(2+Aex)−2=Aex, so the two sides agree for every real xxx and every constant AAA. The tempting choice A=0A=0A=0 is only one valid case; the verification imposes no restriction on the constant.

Keep going

Next topic7.3 Sketching slope fieldsPrevious topic7.1 Modelling with differential equations

More in Unit 7 · Differential Equations

  1. 7.1Modelling with differential equationsNotes · 10 questions
  2. 7.2Verifying solutionsNotes · 10 questions
  3. 7.3Sketching slope fieldsNotes · 10 questions
  4. 7.4Reasoning with slope fieldsNotes · 10 questions
  5. 7.5Euler's methodNotes · 10 questions· BC only
  6. 7.6General solutions by separation of variablesNotes · 10 questions
  7. 7.7Particular solutions with initial conditionsNotes · 10 questions
  8. 7.8Exponential modelsNotes · 10 questions
  9. 7.9Logistic modelsNotes · 10 questions· BC only

All AP Calculus BC topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/4 read

  1. 1A solution must make the differential equation true
  2. 2Differentiate the proposed function before substituting it
  3. 3Compare both sides after completing the substitution
  4. 4A mismatch or domain restriction limits the conclusion
  5. Check your recall
  6. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe