AP Calculus AB

Unit 7

Differential Equations

7 topics · 29 practice questions · Free response

Notes

What a differential equation is

A differential equation relates a function to its derivatives, like $\displaystyle \frac{dy}{dx} = 2xy$. A solution is a function that makes it true. A particular solution also meets an initial condition like $y(0) = 3$.

  • To verify a solution, plug it and its derivative into the equation.

Slope fields

A slope field draws a short segment with slope $\displaystyle \frac{dy}{dx}$ at many points. Solution curves follow the segments.

  • If $\displaystyle \frac{dy}{dx}$ depends only on $x$, segments in each column are parallel. If it depends only on $y$, segments in each row are parallel.
  • Where $\displaystyle \frac{dy}{dx} = 0$, the segments are horizontal.

Separation of variables

1. Move all $y$ terms to one side with $dy$ and all $x$ terms to the other with $dx$. 2. Integrate both sides. Add $+ C$ (one constant is enough). 3. Use the initial condition to find $C$. 4. Solve for $y$. Example: $\displaystyle \frac{dy}{dx} = \frac{x}{y}$, $y(0) = 2$. $\displaystyle y\,dy = x\,dx \Rightarrow \frac{y^2}{2} = \frac{x^2}{2} + C$. $C = 2$, so $\displaystyle y = \sqrt{x^2 + 4}$ (positive root, since $y(0) > 0$).

Exponential models

$\displaystyle \frac{dy}{dt} = ky$ has solution $y = y_0e^{kt}$. The rate of change is proportional to the amount present: growth if $k > 0$, decay if $k < 0$.

Topics in this unit

Each topic has its own short notes and practice.

Practice

Which function is a solution of $\displaystyle \frac{dy}{dx} = 3y$?
In a slope field for $\displaystyle \frac{dy}{dx} = x - 2$, where are the segments horizontal?
A slope field has parallel segments along each horizontal row. Which could be the differential equation?
Find the general solution of $\displaystyle \frac{dy}{dx} = 2xy$.
A population grows at a rate proportional to its size and doubles every 5 years. What is $k$ in $P = P_0e^{kt}$?
For $\displaystyle \frac{dy}{dx} = \frac{y}{x}$ with $y(1) = 4$, what is $y(3)$?
For $\displaystyle \frac{dy}{dx} = x^2 - y$, the solution through $(1, 3)$ is at that point:
Which equation can be solved by separating variables?

Free response

Write your answer first, then open the scoring guide.

Free-response question

Consider $\frac{dy}{dx} = \frac{y^2}{x}$ with $y(1) = 1$, for $x > 0$.

(a) Write an equation of the tangent line at $x = 1$ and use it to approximate $y(1.2)$.

Show the answer and scoring guide

Slope $\displaystyle = \frac{1^2}{1} = 1$. Tangent: $y = 1 + (x - 1)$, so $y(1.2) \approx 1.2$.

Check off the points you earned:

(b) Find the particular solution $y = f(x)$.

Show the answer and scoring guide

$\displaystyle \frac{dy}{y^2} = \frac{dx}{x} \Rightarrow -\frac{1}{y} = \ln x + C$. At $(1, 1)$: $-1 = 0 + C$, so $C = -1$. Then $\displaystyle \frac{1}{y} = 1 - \ln x$, giving $\displaystyle y = \frac{1}{1 - \ln x}$ for $0 < x < e$.

Check off the points you earned: