Skip to content

Differential Equations

AP Calculus BC · Topic 7

Train
Video lesson for this topic Open the video page
8:26

Modeling with Differential Equations

Normally you are handed a function and asked for its slope. A differential equation turns that around. You are handed a rule for the slope at every point, and…

English narration · English + 中文 subtitles burned in

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 微分方程 relates a function to its derivatives. Many real situations are described by a rate: "the population grows at a rate proportional to its size" becomes $\dfrac{dP}{dt}=kP$. Setting up the equation from a verbal description – identifying what changes and what it is proportional to – is the first skill.

Vocabulary Train
English Chinese Pinyin
differential equation 微分方程 wēi fēn fāng chéng
Exercise sheet
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 is a function that satisfies the equation. To verify a proposed solution, differentiate it and substitute into the equation, checking that both sides agree. A general solution contains a constant $C$; a particular solution fixes $C$ from a condition.

Exercise sheet
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 a short line segment at many points, each with the slope $\dfrac{dy}{dx}$ the equation gives there. It pictures the family of solution curves without solving. To sketch one, evaluate the right-hand side at each grid point and draw a segment of that slope.

A slope field shows the gradient everywhere; solution curves follow it
A slope field shows the gradient everywhere; solution curves follow it
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
Exercise sheet
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

A solution curve follows the segments like a boat following a current. From a slope field you can sketch the particular solution through a given point, describe long-run behavior, and locate where solutions level off (slopes near zero) – reasoning about solutions purely from the picture.

Exercise sheet
7.5

Approximating Solutions Using Euler's Method

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.4 Euler's method provides a procedure for approximating a solution to a differential equation or a point on a solution curve. BC ONLY

Source: College Board AP Course and Exam Description

Euler's method

Euler's method 欧拉方法 approximates a solution numerically by stepping along the slope field. Starting from a known point, take a small step $\Delta x$ and update:

$$y_{\text{new}}=y_{\text{old}}+\frac{dy}{dx}\cdot\Delta x.$$
Repeat for each step. Smaller steps give a better approximation. (This is a BC-only technique.)

Exam skill: be able to carry out two or three Euler steps by hand from a table, and know that Euler's method under- or over-estimates depending on the solution's concavity.

Worked example. Approximate $y(1)$ for $\dfrac{dy}{dx}=x+y$, $y(0)=1$, with step $\Delta x=0.5$. Step 1: slope at $(0,1)$ is $0+1=1$, so $y(0.5)\approx 1+1(0.5)=1.5$. Step 2: slope at $(0.5,1.5)$ is $0.5+1.5=2$, so $y(1)\approx 1.5+2(0.5)=2.5$.

Vocabulary Train
English Chinese Pinyin
Euler's method 欧拉方法 ōu lā fāng fǎ
Exercise sheet
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

E. coli under a microscope: differential equations model exponential growth
E. coli under a microscope: differential equations model exponential growth

A separable 可分离 differential equation can be written with all the $y$'s on one side and all the $x$'s on the other, then integrated:

$$\frac{dy}{dx}=g(x)h(y)\ \Rightarrow\ \int\frac{dy}{h(y)}=\int g(x)\,dx.$$
This produces the general solution (with a $+C$), the main analytic method for solving differential equations in this course.

Worked example. Solve $\dfrac{dy}{dx}=xy$ with $y(0)=2$. Separating, $\int\frac{dy}{y}=\int x\,dx$ gives $\ln|y|=\frac{x^2}{2}+C$, so $y=Ae^{x^2/2}$. The condition $y(0)=2$ gives $A=2$, so $y=2e^{x^2/2}$.

Vocabulary Train
English Chinese Pinyin
separable 可分离 kě fēn lí
Exercise sheet
7.7

Finding Particular Solutions Using Initial Conditions

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, e.g. $y(0)=5$) pins down the constant $C$. Solve for the general solution, substitute the condition to find $C$, then write the particular solution. Watch the domain – a particular solution is valid only on the interval containing the initial point.

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
Exercise sheet
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

Exponential vs logistic growth

The equation $\dfrac{dy}{dt}=ky$ says the rate of change is proportional to the amount – giving exponential growth or decay 指数增长. Separating variables yields

$$y=y_0 e^{kt},$$
with $k>0$ for growth and $k<0$ for decay. This models unrestricted population growth, radioactive decay, and continuously compounded interest.

A cooling cup of coffee: Newton's law of cooling is a classic differential equation model
A cooling cup of coffee: Newton's law of cooling is a classic differential equation model
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 or decay 指数增长 zhǐ shù zēng zhǎng
Exercise sheet
7.9

Logistic Models with Differential Equations

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

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

FUN-7.H
Interpret the meaning of the logistic growth model in context. BC ONLY

  • FUN-7.H.1 The model for logistic growth that arises from the statement "The rate of change of a quantity is jointly proportional to the size of the quantity and the difference between the quantity and the carrying capacity" is $\dfrac{dy}{dt} = ky(a - y)$. BC ONLY
  • FUN-7.H.2 The logistic differential equation and initial conditions can be interpreted without solving the differential equation. BC ONLY
  • FUN-7.H.3 The limiting value (carrying capacity) of a logistic differential equation as the independent variable approaches infinity can be determined using the logistic growth model and initial conditions. BC ONLY
  • FUN-7.H.4 The value of the dependent variable in a logistic differential equation at the point when it is changing fastest can be determined using the logistic growth model and initial conditions. BC ONLY

Source: College Board AP Course and Exam Description

Real growth is limited by resources, so the logistic model 逻辑斯蒂模型 adds a carrying capacity 环境容纳量 $L$:

$$\frac{dP}{dt}=kP\!\left(1-\frac{P}{L}\right).$$
Growth is nearly exponential when $P$ is small, slows as $P$ approaches $L$, and stops at $P=L$. Key BC facts: the population levels off at $L$ ($\lim_{t\to\infty}P=L$), and it grows fastest when $P=\tfrac{L}{2}$ (the inflection point of the S-shaped curve). You are expected to read $L$ and the fastest-growth value directly from the equation.

Worked example. For $\dfrac{dP}{dt}=0.05\,P\!\left(1-\dfrac{P}{2000}\right)$, the carrying capacity is $L=2000$ (the population levels off there), and growth is fastest when $P=\dfrac{L}{2}=1000$ – both read straight off the equation, no solving needed.

The logistic model grows fastest at P=L/2 and levels off at the carrying capacity L
The logistic model grows fastest at P=L/2 and levels off at the carrying capacity L
Vocabulary Train
English Chinese Pinyin
logistic model 逻辑斯蒂模型 luó jí sī dì mó xíng
carrying capacity 环境容纳量 huán jìng róng nà liàng
Exercise sheet
7.9

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.

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

AP Calculus BC Past Papers

More topics in AP Calculus BC

Log in or create account

IGCSE, A-Level & AP