AP® Calculus AB Differential Equations Practice Questions
Work through AP Calculus AB practice questions on Differential Equations, then check each answer against a worked solution.
Free · no sign-up Open questions need no account. Sign up or log in to open the rest.
Subtopic: 7.06-Finding General Solutions Using Separation of Variables Clear filter
Question 2
Question 3
🟥 Solve the differential equation \(\dfrac{dy}{dx}=y^{4}\).
Which of the following is the general solution?
Main Solution
Strategy
Separate the variables, integrate both sides, put the constant of integration in immediately, and only then solve for \(y\).
Key Insight
\(\int y^{-4}\,dy=-\dfrac{1}{3y^{3}}\). The constant must be added when you integrate, before solving for \(y\); adding \(C\) at the very end gives a family that does not satisfy the equation.
Choice Analysis
Choice A - Incorrect - Power rule applied in the wrong direction: Here \(y^{\prime}=-3(3x+C)^{-2/3}\), which is negative, while \(y^{4}=81(3x+C)^{4/3}\ge 0\). It is not a solution.
Choice B - Correct ✓ - Correct separation and algebra: \(y^{-4}\,dy=dx\Rightarrow -\dfrac{1}{3y^{3}}=x+C_{1}\Rightarrow y^{3}=\dfrac{-1}{3x+3C_{1}}\). Writing \(C=3C_{1}\): \(y=\sqrt[3]{\dfrac{-1}{3x+C}}\). Check: \(y=-(3x+C)^{-1/3}\), so \(y^{\prime}=(3x+C)^{-4/3}=y^{4}\).
Choice C - Incorrect - Constant added at the end: Only the member with \(C=0\) solves the equation. For \(C\ne 0\), \(y^{\prime}\) is unchanged but \(y^{4}\) changes, so \(y^{\prime}\ne y^{4}\).
Choice D - Incorrect - Reciprocal dropped: \(y=(3x+C)^{1/3}\) gives \(y^{\prime}=(3x+C)^{-2/3}\), but \(y^{4}=(3x+C)^{4/3}\). The reciprocal from \(\int y^{-4}dy\) was lost.
A
B
C
D
Teacher Explanation
A strong student should first separate the variables as y to the power −4 dy = dx. The key task is to integrate correctly, −1/(3y³) = x + C, and keep the constant inside when solving for y. The correct answer is B because y³ = −1/(3x + C), and differentiating y = −(3x + C) to the power −1/3 gives back y⁴. The most common error is adding the constant after solving for y, which leads to choice C.
Education Coach Advice
First, identify what this question is really testing: separation of variables and placing the constant of integration correctly.
Second, eliminate choices that fail a quick check: y must be increasing, since y′ = y⁴ ≥ 0, so A is out.
Watch for this trap: a constant added after solving for y does not give a solution family.
Review tip: always verify a general solution by differentiating it and substituting back into the equation.
Traps
Trap — choice C: the cube root of −1/(3x), plus C. Why it tempts: it has the correct shape, and students often add the constant only after solving for y. How to avoid it: write + C as soon as you integrate, −1/(3y³) = x + C, then solve; the constant ends up inside the cube root.
Answer images
Question 4
Main Solution
Strategy
To find the equation for \(y\) with respect to \(x\) from a given differential equation, we use the method of separation of variables, followed by integration of both sides.
Key Insight
The key insight involves correctly separating the variables and recognizing the need for a u-substitution to integrate the right-hand side, as well as correctly handling the constant of integration when solving for \(y\).
Choice Analysis
Choice C - Correct ✓ - Correct Solution: The given differential equation is a separable equation: \[ \frac{dy}{dx} = \frac{xy}{\sqrt{x^{2}+5}} \] First, separate the variables \(y\) and \(x\): \[ \frac{1}{y} dy = \frac{x}{\sqrt{x^{2}+5}} dx \] Next, integrate both sides: \[ \int \frac{1}{y} dy = \int \frac{x}{\sqrt{x^{2}+5}} dx \] The left side integrates to: \[ \ln|y| + C_1 \] For the right side, use u-substitution. Let \(u = x^2+5\). Then \(du = 2x \, dx\), which means \(x \, dx = \frac{1}{2} du\). Substitute these into the integral: \[ \int \frac{x}{\sqrt{x^{2}+5}} dx = \int \frac{1}{\sqrt{u}} \cdot \frac{1}{2} du = \frac{1}{2} \int u^{-1/2} du \] Now, integrate \(u^{-1/2}\) with respect to \(u\): \[ \frac{1}{2} \left( \frac{u^{1/2}}{1/2} \right) + C_2 = \frac{1}{2} (2u^{1/2}) + C_2 = u^{1/2} + C_2 \] Substitute back \(u = x^2+5\): \[ u^{1/2} + C_2 = \sqrt{x^2+5} + C_2 \] Now, combine the results from both sides of the original integration: \[ \ln|y| = \sqrt{x^2+5} + C_3 \] (where \(C_3 = C_2 - C_1\)). To solve for \(y\), exponentiate both sides: \[ |y| = e^{\sqrt{x^2+5} + C_3} \] Using exponent properties, we get: \[ |y| = e^{\sqrt{x^2+5}} \cdot e^{C_3} \] Let \(C = \pm e^{C_3}\). Since \(e^{C_3}\) is always positive, \(C\) can be any non-zero real number. If we also consider the trivial solution \(y=0\), then \(C\) can be any real number. So, the general solution is: \[ y = C e^{\sqrt{x^2+5}} \] This matches option C.
Choice A - Incorrect - Incorrect Integration of RHS: This option results from incorrectly integrating the right-hand side. If one incorrectly assumes \(\int \frac{x}{\sqrt{x^2+5}} dx = C\sqrt{x^2+5}\) and then exponentiates, or makes an error in the exponential step, this form might arise. The integral \(\int \frac{x}{\sqrt{x^{2}+5}} dx\) correctly evaluates to \(\sqrt{x^{2}+5}\), not \(\ln|y| = C\sqrt{x^{2}+5}\).
Choice B - Incorrect - Incorrect Integration and Constant Application: This option suggests that \(\ln|y|\) was integrated incorrectly or that the constant of integration was added to \(\sqrt{x^2+5}\) after exponentiating \(y\) but not properly for the \(C\). The integral of \(\frac{1}{y}\) yields a logarithm, which requires exponentiation, and the constant of integration from \(\ln|y| = \sqrt{x^2+5} + C_3\) becomes a multiplicative factor when solving for \(y\), not an additive one outside the exponential.
Choice D - Incorrect - Incorrect Handling of Constant C: This option is very close to the correct answer but places the constant of integration \(C\) additively outside the exponential, instead of multiplicatively. When solving \(\ln|y| = \sqrt{x^2+5} + C_3\), exponentiating both sides leads to \(y = e^{\sqrt{x^2+5} + C_3} = e^{\sqrt{x^2+5}} e^{C_3}\). The constant \(e^{C_3}\) (or \(\pm e^{C_3}\)) becomes a multiplicative constant, not an additive one.
Teacher Explanation
A strong AP Calculus student should first recognize that this is a separable differential equation. The key task is to correctly separate the variables, perform the integration on both sides (using u-substitution for the right-hand side integral), and accurately solve for \(y\), paying close attention to the constant of integration. The most common error is misplacing the constant of integration, often adding it rather than multiplying it after exponentiating to isolate \(y\). The correct answer is C, as the constant becomes a multiplicative factor.
Education Coach Advice
Always start by identifying the type of differential equation. For separable equations, ensure all \(y\) terms (and \(dy\)) are on one side and all \(x\) terms (and \(dx\)) are on the other.
Be meticulous with integration. For integrals involving a composite function like \(\frac{x}{\sqrt{x^2+5}}\), consider u-substitution. Let \(u\) be the inner function and find \(du\).
Pay close attention to the constant of integration. When you integrate \(\frac{1}{y}\) to get \(\ln|y|\) and then exponentiate to solve for \(y\), the constant of integration appears as a multiplicative factor (e.g., \(e^{\text{constant}}\) becomes \(C\)), not an additive one.
Practice solving various types of separable differential equations to become proficient with variable separation, integration techniques, and proper handling of integration constants.
Traps
The most common trap is incorrectly handling the constant of integration when exponentiating after solving for \(\ln|y|\). Many students might write \(y = e^{\sqrt{x^2+5}} + C\) instead of \(y = C e^{\sqrt{x^2+5}}\), or make an error in the u-substitution for the right-hand side integral.
Question 5
Main Solution
Strategy
The problem asks for the general solution to a given differential equation. The most appropriate strategy for this form is to use the method of separation of variables.
Key Insight
The key insight is recognizing that the given differential equation is separable, allowing for the terms involving \(y\) and \(dy\) to be moved to one side and terms involving \(x\) and \(dx\) to the other, followed by direct integration of both sides.
Choice Analysis
Choice D - Correct ✓ - Correctly separates variables and integrates both sides.: The given differential equation is \(\frac{dy}{dx} = \frac{2x}{1+y}\).Step 1: Separate the variables by multiplying both sides by \((1+y)\) and by \(dx\):
\((1+y) dy = 2x dx\)
Step 2: Integrate both sides of the equation:
\[\int (1+y) dy = \int 2x dx\]
Step 3: Perform the integration:
The integral of \((1+y)\) with respect to \(y\) is \(\frac{y^2}{2} + y\) or, using a common simplification, \(\frac{1}{2}(1+y)^2\). Let's verify: \(\frac{d}{dy} \left[ \frac{1}{2}(1+y)^2 \right] = \frac{1}{2} \cdot 2(1+y) \cdot 1 = 1+y\). So, this is correct.
The integral of \(2x\) with respect to \(x\) is \(x^2\).
Therefore, after integration and adding the constant of integration, \(C\), to one side (conventionally the side with \(x\)):
\[\frac{1}{2}(1+y)^2 = x^2 + C\]
This matches option D, which is a correct general solution.
Choice A - Incorrect - Incorrect integration for the \(y\) term.: This option would be obtained if the left side of the separated equation was \(\frac{1}{1+y} dy\). However, the equation requires integration of \((1+y) dy\), not its reciprocal. The integral of \((1+y)\) is not \(\ln|1+y|\).
Choice B - Incorrect - Incorrect integration for both terms.: This option suggests that \((1+y)\) integrated to \((1+y)\) and \(2x\) integrated to \(x^2\), which is incorrect for the \(y\)-term. The integral of \((1+y) dy\) should involve a quadratic term in \(y\), such as \(\frac{1}{2}(1+y)^2\) or \(\frac{y^2}{2} + y\).
Choice C - Incorrect - Significantly incorrect integration and variable separation.: This option implies that the entire left side simplified to just \(y\) or that the original differential equation was simply \(\frac{dy}{dx} = 2x\). This ignores the \((1+y)\) factor in the denominator on the right side of the original equation, indicating a fundamental error in separating variables or integration.
Teacher Explanation
A strong AP Calculus student should first identify that this is a separable differential equation. The key task is to correctly separate the variables and then integrate both sides. The integral of \((1+y)\) with respect to \(y\) is \(\frac{1}{2}(1+y)^2\) (or equivalently \(\frac{y^2}{2} + y\)), and the integral of \(2x\) with respect to \(x\) is \(x^2\). The correct answer is D because it shows the result of these correct integrations plus the constant of integration. Common errors include incorrect integration rules for the \(y\)-term or forgetting the constant of integration.
Education Coach Advice
Always start by checking if a differential equation is separable. If it is, rearrange terms so all \(y\) terms are with \(dy\) and all \(x\) terms are with \(dx\).
Be meticulous with integration rules. Remember that \(\int (u) du = \frac{u^2}{2} + C\) and \(\int (a) du = au + C\). Don't confuse \(\int (1+y) dy\) with \(\int \frac{1}{1+y} dy\).
After integrating both sides, always remember to add a single constant of integration, typically to the side with the independent variable (\(x\)). This constant represents the combined constants from both integrations.
Once you have an implicit or explicit solution, you can always differentiate it to see if you get back the original differential equation. This is a great way to check your work, especially for multiple-choice questions.
Traps
The most common trap is misintegrating the \((1+y)\) term. Students might incorrectly integrate \((1+y)\) as \(\ln|1+y|\) if they confuse it with \(\frac{1}{1+y}\), or they might forget the power rule entirely and simplify it incorrectly.
Answer images
Question 6
Question 7
🟥 Which of the following is the general solution to the separable differential equation \(\dfrac{dy}{dx}=\dfrac{4x}{y^{2}}\)?
Main Solution
Answer
Correct: B. Separating gives \(y^{2}\,dy=4x\,dx\), so \(\dfrac{y^{3}}{3}=2x^{2}+C_{1}\), i.e. \(y^{3}=6x^{2}+C\) and \(y=\sqrt[3]{6x^{2}+C}\).
Strategy. Move all \(y\)-factors to the \(dy\) side, integrate both sides, then solve for \(y\) keeping the constant inside the cube root.
Calculation.
\[y^{2}\,dy=4x\,dx \;\Rightarrow\; \int y^{2}\,dy=\int 4x\,dx\]
\[\frac{y^{3}}{3}=2x^{2}+C_{1} \;\Rightarrow\; y^{3}=6x^{2}+C\quad(C=3C_{1})\]
\[y=\sqrt[3]{6x^{2}+C}\qquad\text{Check: }y'=\frac{12x}{3\left(6x^{2}+C\right)^{2/3}}=\frac{4x}{y^{2}}\ \checkmark\]
Options.
- A — Adds \(C\) after taking the cube root; the constant must be added before solving for \(y\).
- B — CORRECT. The constant lives under the radical.
- C — Integrates \(\dfrac{1}{y^{2}}\) instead of \(y^{2}\) (does not move \(y^{2}\) to the left correctly) and then misplaces \(C\).
- D — Same wrong separation as C but with \(C\) placed inside; not a solution of the given equation.
Common trap. Tacking "\(+C\)" on at the very end instead of at the moment of integration.
Teacher comment. The \(C\)-placement pair (A vs B) is the classic AP separable-equation discriminator; verifying by differentiation settles it immediately.
Coach advice.
- Add \(+C\) on the line where you integrate, not later.
- When you solve for \(y\), the constant stays wherever the algebra carries it.
- Differentiate your answer to confirm it satisfies the equation.
Answer: Correct: B
A
\(y=\sqrt[3]{6x^{2}}+C\)
B
\(y=\sqrt[3]{6x^{2}+C}\)
C
\(y=-\dfrac{1}{2x^{2}}+C\)
D
\(y=-\dfrac{1}{2x^{2}+C}\)
Answer images
Question 8
🟥 Let \(y=f(x)\) be the particular solution to the differential equation \(\dfrac{dy}{dx}=3x^2y\) with initial condition \(f(0)=6\). Which of the following is an expression for \(f(x)\)?
Main Solution
Strategy
Separate: \(\frac{dy}{y}=3x^2\,dx\Rightarrow\ln|y|=x^3+C\Rightarrow y=Ae^{x^3}\). \(f(0)=A=6\), so \(f(x)=6e^{x^3}\).
Key Insight
Separate: \(\frac{dy}{y}=3x^2\,dx\Rightarrow\ln|y|=x^3+C\Rightarrow y=Ae^{x^3}\). \(f(0)=A=6\), so \(f(x)=6e^{x^3}\).
A
B
C
D
Education Coach Advice
After exponentiating, \(e^{x^3+C}=e^C\cdot e^{x^3}\): the constant becomes a multiplier.
Check both the differential equation and the initial condition.
Pattern: \(\frac{dy}{dx}=k(x)\,y\Rightarrow y=y_0\,e^{\int k}\).
Answer images
Question 9
🟥 What is the general solution to the differential equation \(\dfrac{dy}{dx}=\dfrac{8e^{4x}}{2\cos(2y)}\)?
Main Solution
Strategy
Separate: \(2\cos(2y)\,dy=8e^{4x}\,dx\). Integrate: \(\sin(2y)=2e^{4x}+C\), i.e. \(\sin(2y)-2e^{4x}=C\).
Key Insight
Separate: \(2\cos(2y)\,dy=8e^{4x}\,dx\). Integrate: \(\sin(2y)=2e^{4x}+C\), i.e. \(\sin(2y)-2e^{4x}=C\).
A
B
C
D
Education Coach Advice
Separate first: \(2\cos(2y)\,dy=8e^{4x}\,dx\).
\(\int\cos(ky)\,dy=\frac1k\sin(ky)\); \(\int e^{kx}dx=\frac1ke^{kx}\).
Differentiate implicitly to check.
Answer images
Question 10
🟥 Which solves \(\frac{dy}{dx}=\frac{2y}{2x+1}\) with y(0)=e, for \(x\gt -\frac12\)?
Main Solution
Strategy
Separate: dy/y=2 dx/(2x+1). Integration gives ln|y|=ln(2x+1)+C on x>−1/2. Thus y=K(2x+1), and y(0)=e gives K=e. Therefore y=2ex+e. Its derivative is 2e, equal to 2y/(2x+1).
Key Insight
Separate: dy/y=2 dx/(2x+1). Integration gives ln|y|=ln(2x+1)+C on x>−1/2. Thus y=K(2x+1), and y(0)=e gives K=e. Therefore y=2ex+e. Its derivative is 2e, equal to 2y/(2x+1).
A
B
C
D
Education Coach Advice
Use the differential equation to evaluate slopes at the relevant points.
Check both the initial condition and the behavior required by the equation or slope field.
Answer images
AP® and Advanced Placement® are registered trademarks of the College Board, which is not affiliated with, and does not endorse, Verityprep. Names are used for identification purposes only.

