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:
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 , the unknown function is , the independent variable is , and the equation ties the slope 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. is first order, and an equation with 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 is directly proportional to variable :
where is the constant of proportionality. The word “proportional” with no qualifier always means directly proportional.
Inverse Proportionality
When variable is inversely proportional to variable :
You’ll also see this stated as “proportional to the reciprocal of .”
Example 1: Direct Proportionality with Multiple Variables
Problem: The rate of change of with respect to is proportional to the product of and the rate of change of with respect to .
Setting up the differential equation:
Since this is direct proportionality, with no modifier given:
The constant is the proportionality constant, and the whole right side is the product of and .
Example 2: Inverse Proportionality with a Physical Application
Problem: The force of a spring on a diving board is related to the distance it is stretched. The rate of change of force with respect to distance is inversely proportional to the natural logarithm of the distance .
Step 1: Write the general differential equation
Step 2: Use the given information to find
We’re told:
- The rate of change of is units per centimeter
- The distance stretched is centimeters
Substitute:
Solve for :
Step 3: Write the specific differential equation
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 , where 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:
Important distinctions:
- “Square root of ” means , or
- “Square of ” means
- “Cube root of ” means , or
Critical notation point: when you’re dealing with velocity or acceleration in differential equations, it’s clearest to use Leibniz notation (), not function notation like , though the exam accepts both.
For second derivatives:
- Position:
- Velocity:
- Acceleration:
Example 4: Proportional to a Difference
Problem: A cup of hot chocolate cools in a room that stays at degrees Fahrenheit. Its temperature changes at a rate (in degrees per minute) that is proportional to the difference between and the room temperature.
Setting up the differential equation:
“The difference between and the room temperature” is , and the whole difference gets multiplied by :
The hot chocolate is warmer than the room, so , and it’s cooling, so . That means has to be negative. The word “difference” is your signal to put a subtraction inside parentheses.
Working with Differential Equations: General Strategy
- Identify the rate of change being described
- Determine the type of proportionality, direct or inverse
- Set up the equation structure:
- Direct:
- Inverse: , or
- If specific values are given, substitute them to solve for
- Write the complete differential equation
Key Takeaways
- Differential equation: an equation containing a derivative, written as
- 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 and ” means
- Direct proportionality: , and the word “proportional” alone means direct
- Inverse proportionality: , also called “proportional to the reciprocal”
- Use Leibniz notation for differential equations. The exam accepts prime notation too, but it’s clearer to write , not
- Second derivatives in Leibniz notation: for acceleration problems
- Finding : when you’re given specific values, substitute them into the equation to solve for the constant of proportionality