Skip to content

Differential Equations

AP Calculus AB · Topic 7

Train
7.1

Modeling Situations with Differential Equations

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-7
Solving differential equations allows us to determine functions and develop models.

FUN-7.A
Interpret verbal statements of problems as differential equations involving a derivative expression.

  • FUN-7.A.1 Differential equations relate a function of an independent variable and the function's derivatives.

Source: College Board AP Course and Exam Description

A differential equation 微分方程 is an equation that relates a function to its own derivatives. It describes a situation by its rate of change. For example, "the rate of change of a quantity is proportional to its size" becomes

$$\frac{dy}{dt} = ky.$$
Learning to translate a sentence about a rate into a differential equation is the first skill of this unit.

Vocabulary Train
English Chinese Pinyin
differential equation 微分方程 wēi fēn fāng chéng
7.2

Verifying Solutions for Differential Equations

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-7
Solving differential equations allows us to determine functions and develop models.

FUN-7.B
Verify solutions to differential equations.

  • FUN-7.B.1 Derivatives can be used to verify that a function is a solution to a given differential equation.
  • FUN-7.B.2 There may be infinitely many general solutions to a differential equation.

Source: College Board AP Course and Exam Description

A solution of a differential equation is a function that makes it true. You can verify a proposed solution by differentiating it and substituting into the equation: if both sides match, it is a solution. Note a differential equation usually has infinitely many solutions – a whole family – differing by a constant.

Vocabulary Train
English Chinese Pinyin
solution jiě
7.3

Sketching Slope Fields

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-7
Solving differential equations allows us to determine functions and develop models.

FUN-7.C
Estimate solutions to differential equations.

  • FUN-7.C.1 A slope field is a graphical representation of a differential equation on a finite set of points in the plane.
  • FUN-7.C.2 Slope fields provide information about the behavior of solutions to first-order differential equations.

Source: College Board AP Course and Exam Description

Slope fields & solution curves

A slope field 斜率场 draws the differential equation as a grid of short segments: at each point $(x,y)$ the segment has slope $\dfrac{dy}{dx}$ evaluated there. To sketch one, plug several points into the right-hand side and draw a small segment with that slope at each. The picture shows the shape of the solution curves without solving.

A slope field shows dy/dx at each point; a solution curve follows the segments Each short segment has the slope $\dfrac{dy}{dx}$ at that point; a solution curve threads through, staying tangent to the field.

Exam skill. A common part gives a portion of a slope field and asks you to sketch the particular solution through a given point – start at the point and follow the segments, staying tangent to them.

Explore

Read a differential equation as a slope field

A slope field draws the slope $dy/dx$ at each point. A solution curve threads through, always tangent to the little segments — you can sketch it by following the flow.

Vocabulary Train
English Chinese Pinyin
slope field 斜率场 xié lǜ chǎng
7.4

Reasoning Using Slope Fields

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-7
Solving differential equations allows us to determine functions and develop models.

FUN-7.C
Estimate solutions to differential equations.

  • FUN-7.C.3 Solutions to differential equations are functions or families of functions.

Source: College Board AP Course and Exam Description

Solutions to a differential equation are functions or families of functions. Read a slope field to reason about behavior: where the segments are flat ($\tfrac{dy}{dx}=0$) the solution is momentarily level; where they steepen the solution rises or falls faster; horizontal rows of equal slope suggest the rate depends only on $y$ (or only on $x$).

7.6

Finding General Solutions Using Separation of Variables

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-7
Solving differential equations allows us to determine functions and develop models.

FUN-7.D
Determine general solutions to differential equations.

  • FUN-7.D.1 Some differential equations can be solved by separation of variables.
  • FUN-7.D.2 Antidifferentiation can be used to find general solutions to differential equations.

Source: College Board AP Course and Exam Description

Many exam differential equations are solved by separation of variables 分离变量法. If $\dfrac{dy}{dx}$ factors into a function of $x$ times a function of $y$, move all $y$'s to one side and all $x$'s to the other, then integrate both sides:

$$\frac{dy}{dx}=g(x)h(y)\;\Longrightarrow\;\int \frac{dy}{h(y)} = \int g(x)\,dx.$$
Add the constant of integration once (on the $x$-side). This gives the general solution 通解.

Worked example. Solve $\dfrac{dy}{dx}=xy$ with the initial condition $y(0)=2$. Separate and integrate:

$$\int\frac{dy}{y}=\int x\,dx\;\Rightarrow\;\ln|y|=\frac{x^2}{2}+C\;\Rightarrow\;y=Ae^{x^2/2}.$$
Applying $y(0)=2$ gives $A=2$, so the particular solution is $y=2e^{x^2/2}$.

Vocabulary Train
English Chinese Pinyin
separation of variables 分离变量法 fēn lí biàn liàng fǎ
general solution 通解 tōng jiě
7.7

Finding Particular Solutions Using Initial Conditions and Separation of Variables

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-7
Solving differential equations allows us to determine functions and develop models.

FUN-7.E
Determine particular solutions to differential equations.

  • FUN-7.E.1 A general solution may describe infinitely many solutions to a differential equation. There is only one particular solution passing through a given point.
  • FUN-7.E.2 The function $F$ defined by $F(x) = y_0 + \int_a^x f(t)\,dt$ is a particular solution to the differential equation $\dfrac{dy}{dx} = f(x)$, satisfying $F(a) = y_0$.
  • FUN-7.E.3 Solutions to differential equations may be subject to domain restrictions.

Source: College Board AP Course and Exam Description

An initial condition 初始条件 – a known point $(x_0,y_0)$ – pins down one curve from the family. Substitute it to solve for the constant $C$; the result is the particular solution 特解. There is exactly one solution through a given point. Watch for domain restrictions 定义域限制: keep the branch that contains the initial point (for example, the correct sign of a square root).

The constant gives a family of curves; an initial condition picks out one The constant gives a family of curves; an initial condition picks out one

Vocabulary Train
English Chinese Pinyin
initial condition 初始条件 chū shǐ tiáo jiàn
particular solution 特解 tè jiě
domain restrictions 定义域限制 dìng yì yù xiàn zhì
7.8

Exponential Models with Differential Equations

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-7
Solving differential equations allows us to determine functions and develop models.

FUN-7.F
Interpret the meaning of a differential equation and its variables in context.

  • FUN-7.F.1 Specific applications of finding general and particular solutions to differential equations include motion along a line and exponential growth and decay.
  • FUN-7.F.2 The model for exponential growth and decay that arises from the statement "The rate of change of a quantity is proportional to the size of the quantity" is $\dfrac{dy}{dt} = ky$.

FUN-7.G
Determine general and particular solutions for problems involving differential equations in context.

  • FUN-7.G.1 The exponential growth and decay model, $\dfrac{dy}{dt} = ky$, with initial condition $y = y_0$ when $t = 0$, has solutions of the form $y = y_0 e^{kt}$.

Source: College Board AP Course and Exam Description

The most important model is exponential growth and decay 指数增长与衰减. The equation $\dfrac{dy}{dt}=ky$ (rate proportional to size) has the solution:

$$y = y_0\,e^{kt},$$
where $y_0$ is the value at $t=0$. Here $k>0$ gives growth and $k<0$ gives decay. You can derive this by separation of variables ($\int \tfrac{dy}{y} = \int k\,dt$), and it also models motion along a line. A follow-up part may ask for $\dfrac{d^2y}{dt^2}$: differentiate $\dfrac{dy}{dt}=ky$ again (using $\dfrac{dy}{dt}=ky$) to express it in terms of $y$.

Worked example. A sample decays by $\dfrac{dy}{dt}=-0.10\,y$ (in years) from $y_0=50\ \text{g}$. The solution is $y=50e^{-0.10t}$, so after $10$ years $y=50e^{-1}=18.4\ \text{g}$. Its half-life solves $25=50e^{-0.10t}$, i.e. $e^{-0.10t}=\tfrac12$, giving $t=\dfrac{\ln 2}{0.10}=6.9\ \text{years}$ – independent of the starting amount.

Explore

An exponential growth/decay model

y = a·e^(bx) + c

The equation $dy/dt=ky$ has exponential solutions: quantity changes at a rate proportional to itself, giving unbounded growth ($k>0$) or decay to zero ($k<0$).

Vocabulary Train
English Chinese Pinyin
exponential growth and decay 指数增长与衰减 zhǐ shù zēng zhǎng yǔ shuāi jiǎn
7.8

Exam tips

  • Solve a separable equation by getting all $y$ on one side and all $x$ on the other, then integrating both sides (add $+C$ once).
  • Use the initial condition to find $C$ (a particular solution).
  • Sketch or read a slope field: the little segments show $\tfrac{dy}{dx}$ at each point, and a solution curve follows them.
  • Recognise exponential models $\tfrac{dy}{dt}=ky\Rightarrow y=Ce^{kt}$ (growth/decay).
  • A differential equation gives the slope — you must integrate to recover the function.

Log in or create account

IGCSE & A-Level