Question 2981
⚠️ 🔺 Consider the differential equation \(\dfrac{dy}{dx}=x(y-2)\). A slope field for this differential equation at the twenty points with integer coordinates \(-2\le x\le 2\), \(1\le y\le 4\) is shown.

Let \(y=f(x)\) be the particular solution to the differential equation with the initial condition \(f(1)=4\).
Which of the following is \(f(x)\)?
Main Solution
Strategy
Separate the variables, integrate both sides, use \(f(1)=4\) to find the constant before solving for \(y\), and check the result in the differential equation.
Key Insight
The horizontal segments along \(y=2\) show the equilibrium solution \(y=2\); every other solution has the form \(y=2+Ce^{x^2/2}\), so the answer must be "2 plus an exponential".
Choice Analysis
Choice A - Incorrect - Ignores the shift by 2: \(4e^{(x^2-1)/2}\) satisfies \(f(1)=4\), but its derivative is \(x\cdot 4e^{(x^2-1)/2}=xy\), which solves \(\frac{dy}{dx}=xy\), not \(x(y-2)\).
Choice B - Correct ✓ - Correct: \(\displaystyle\int\frac{dy}{y-2}=\int x\,dx\Rightarrow \ln|y-2|=\frac{x^2}{2}+C\). With \(f(1)=4\): \(\ln 2=\tfrac12+C\), so \(C=\ln 2-\tfrac12\). Since \(y-2\) is positive at the initial point, \(y-2=2e^{(x^2-1)/2}\), so \(f(x)=2+2e^{(x^2-1)/2}\). Check: \(f(1)=4\) and \(f^{\prime}(x)=2xe^{(x^2-1)/2}=x(f(x)-2)\).
Choice C - Incorrect - Wrong constant: Using the initial value 4 as the coefficient gives \(f(1)=2+4=6\ne 4\), so the initial condition fails.
Choice D - Incorrect - Constant added after exponentiating: Writing \(y-2=e^{x^2/2}+C\) and then using \(f(1)=4\) gives this function. It satisfies \(f(1)=4\), but \(f^{\prime}(x)=xe^{x^2/2}\ne x(f(x)-2)\), so it does not solve the differential equation.
Teacher Explanation
A strong student should first separate the variables as dy/(y − 2) = x dx. The key task is to integrate, apply f(1) = 4 to find C = ln 2 − 1/2, and solve y − 2 = 2e^((x² − 1)/2). The correct answer is B because it meets the initial condition and satisfies the differential equation. The most common error is adding the constant after exponentiating, which leads to choice D.
Education Coach Advice
First, identify what this question is really testing: separation of variables with an initial condition.
Second, eliminate choices that fail f(1) = 4 (C) or fail the differential equation when you differentiate them (A, D).
Watch for this trap: the constant of integration must be added before you exponentiate.
Review tip: the slope field shows horizontal segments on y = 2, the equilibrium, so solutions have the form 2 plus C times an exponential.
Traps
Trap — choice D: it passes through (1, 4), so it seems to satisfy the problem. Why it tempts: students exponentiate first and then add the constant. How to avoid it: add C right after integrating, ln|y − 2| = x²/2 + C, and find C before solving for y; the constant then becomes a multiplier.
Answer images



