Dove's LibraryDove's Library

7.1 - Modeling Situations with Differential Equations

Introduction to Differential Equations

A differential equation is an equation involving a rate of change. The general form looks like:
dydx=(some expression)\frac{dy}{dx} = \text{(some expression)}
These equations are essential for modeling real-world situations where we know how quantities change rather than knowing the quantities themselves.
More precisely, a differential equation relates a function to its own derivatives, and often to the independent variable too. In dydx=x2y\frac{dy}{dx} = x^2y, the unknown function is yy, the independent variable is xx, and the equation ties the slope dydx\frac{dy}{dx} to both of them. So the answer to a differential equation is a function, not a number.
The order of a differential equation is its highest derivative. dydx=x2y\frac{dy}{dx} = x^2y is first order, and an equation with d2ydx2\frac{d^2y}{dx^2} in it, like the acceleration in Example 3 below, is second order. Slope fields, separation of variables, and Euler’s method (BC) all work with first-order equations.

Proportionality Relationships

Before working with differential equations, you need to understand two types of proportional relationships.

Direct Proportionality

When variable aa is directly proportional to variable bb:
a=k⋅ba = k \cdot b
where kk is the constant of proportionality. The word “proportional” with no qualifier always means directly proportional.

Inverse Proportionality

When variable aa is inversely proportional to variable bb:
a=kbora=k⋅1ba = \frac{k}{b} \quad \text{or} \quad a = k \cdot \frac{1}{b}
You’ll also see this stated as “proportional to the reciprocal of bb.”

Example 1: Direct Proportionality with Multiple Variables

Problem: The rate of change of yy with respect to xx is proportional to the product of ss and the rate of change of vv with respect to xx.
Setting up the differential equation:
Since this is direct proportionality, with no modifier given:
dydx=k⋅s⋅dvdx\frac{dy}{dx} = k \cdot s \cdot \frac{dv}{dx}
The constant kk is the proportionality constant, and the whole right side is the product of ss and dvdx\frac{dv}{dx}.

Example 2: Inverse Proportionality with a Physical Application

Problem: The force FF of a spring on a diving board is related to the distance dd it is stretched. The rate of change of force with respect to distance is inversely proportional to the natural logarithm of the distance dd.
Step 1: Write the general differential equation
dFdd=kln⁡(d)\frac{dF}{dd} = \frac{k}{\ln(d)}
Step 2: Use the given information to find kk
We’re told: - The rate of change of FF is 55 units per centimeter - The distance stretched is 0.30.3 centimeters
Substitute:
5=kln⁡(0.3)5 = \frac{k}{\ln(0.3)}
Solve for kk:
k=5⋅ln⁡(0.3)=5⋅(−1.204)≈−6.020k = 5 \cdot \ln(0.3) = 5 \cdot (-1.204) \approx -6.020
Step 3: Write the specific differential equation
dFdd=−6.020ln⁡(d)\frac{dF}{dd} = \frac{-6.020}{\ln(d)}

Example 3: Second Derivatives and Acceleration

Problem: A runner moves in a straight line along a track. Her position from the starting point is given by p(t)p(t), where tt is in minutes. During the first minute, her acceleration is proportional to the square root of time.
Analysis:
Acceleration is the second derivative of position, so using Leibniz notation:
d2pdt2=kt\frac{d^2p}{dt^2} = k\sqrt{t}
Important distinctions: - “Square root of tt” means t\sqrt{t}, or t1/2t^{1/2} - “Square of tt” means t2t^2 - “Cube root of tt” means t3\sqrt[3]{t}, or t1/3t^{1/3}
Critical notation point: when you’re dealing with velocity or acceleration in differential equations, it’s clearest to use Leibniz notation (ddx\frac{d}{dx}), not function notation like p′′(t)p''(t), though the exam accepts both.
For second derivatives: - Position: p(t)p(t) - Velocity: dpdt\frac{dp}{dt} - Acceleration: d2pdt2\frac{d^2p}{dt^2}

Example 4: Proportional to a Difference

Problem: A cup of hot chocolate cools in a room that stays at 6868 degrees Fahrenheit. Its temperature TT changes at a rate (in degrees per minute) that is proportional to the difference between TT and the room temperature.
Setting up the differential equation:
“The difference between TT and the room temperature” is T−68T - 68, and the whole difference gets multiplied by kk:
dTdt=k(T−68)\frac{dT}{dt} = k(T - 68)
The hot chocolate is warmer than the room, so T−68>0T - 68 > 0, and it’s cooling, so dTdt<0\frac{dT}{dt} < 0. That means kk has to be negative. The word “difference” is your signal to put a subtraction inside parentheses.

Working with Differential Equations: General Strategy

  1. Identify the rate of change being described
  1. Determine the type of proportionality, direct or inverse
  1. Set up the equation structure:
      • Direct: k⋅(expression)k \cdot (\text{expression})
      • Inverse: kexpression\frac{k}{\text{expression}}, or k⋅1expressionk \cdot \frac{1}{\text{expression}}
  1. If specific values are given, substitute them to solve for kk
  1. Write the complete differential equation

Key Takeaways

  • Differential equation: an equation containing a derivative, written as dydx=(expression)\frac{dy}{dx} = \text{(expression)}
  • Solutions are functions: a differential equation relates a function to its derivatives, so solving one means finding a function
  • Proportional to a difference: “proportional to the difference between TT and 6868” means dTdt=k(T−68)\frac{dT}{dt} = k(T - 68)
  • Direct proportionality: a=k⋅ba = k \cdot b, and the word “proportional” alone means direct
  • Inverse proportionality: a=kba = \frac{k}{b}, also called “proportional to the reciprocal”
  • Use Leibniz notation for differential equations. The exam accepts prime notation too, but it’s clearer to write dydx\frac{dy}{dx}, not y′y'
  • Second derivatives in Leibniz notation: d2ydx2\frac{d^2y}{dx^2} for acceleration problems
  • Finding kk: when you’re given specific values, substitute them into the equation to solve for the constant of proportionality

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.