Unit 7 makes up 6-12% of the AP Calculus AB exam and 6-9% of the AP Calculus BC exam. Euler's method and logistic differential equations/logistic growth are BC-only topics.
Differential equations are at the heart of mathematical modeling for all the sciences: physical, social, financial, et cetera.
Mathematical modeling is the use of math to describe physical situations. Essentially, math functions as a language. While some sciences prefer to put emphasis on traditional language to describe phenomena (we use words to describe explain biological happenings, for example) other sciences, like physics, rely on mathematical modeling to express ideas and concepts.Β
Mathematical modeling is useful because it often yieldsΒ logical derivations that could not have been predicted in the first place. For example, the mathematical modeling of the behavior of particles directly led to the conclusion that subatomic particles can travel through a barrier of infinite energy, a deduction that would seem impossible through a different lens*.
Mathematical modeling also helps scientists confirm logical conclusions. Predictable actions like the behavior of a swinging pendulum with significant air friction** or the diffusion of diseases*** are supported and confirmed by mathematical modeling.Β
Differential equations serve as scaffolding for mathematical modeling because they relate somethingβs rate of change to itself. For example, the most popular model for long-term population-change is a logistic differential equation****:
In this case, P is the population (a function of time, t), L is the carrying capacity, and k is a constant.
Expressed literally, Eq. 1 says that this function is proportional to its first derivative and that (L-P) is proportional to its first derivative. This specific model will be discussed in more detail in section 7.6.
Differential equations are also very handy in finance. Specifically, differential equations are used for examining stock investments. The value of a stock will change over time relative to how many people are willing to invest in the stock, which is also a function of the price of the stock. The changing relationship of a stockβs rate of change to itself screams βdifferential equation,β as the stockβs value changes over time in relation to the original price of the stock.
A slope field, also known as a direction field, is a graphical representation of a differential equation in the form dy/dx = f(x,y). It is a visual tool that can help you understand the behavior of the solution to the differential equation.
To create a slope field, you start by drawing a grid of evenly spaced horizontal and vertical lines on a graph. Then, at each point on the grid, you draw a small line segment with a slope that is determined by the value of f(x,y) at that point. The slope of the line segment at each point indicates the direction in which the solution to the differential equation is heading at that point. If f(x,y) evaluated to -4, the slope of the line segment at (x,y) would be negative and fairly steep. You do not have to be exact with slope fields, but you should be relatively correct. That is, the line segment for -4 should be steeper than the line segment for -1.
For example, if the value of f(x,y) is positive at a point, the slope of the line segment at that point will be positive, indicating that the solution is increasing at that point. If the value of f(x,y) is negative at a point, the slope of the line segment at that point will be negative, indicating that the solution is decreasing at that point.
Image courtesy of GeoGebra.
This is an example of a slope field for the differential equation dy/dx = x + y. A slope field shows the different possible solutions for a general solution of a differential equation by translating the equation up and down the graph. At (0,1), dy/dx equals 1 because 0+1=1 when the x and y values are substituted into the right side of the differential equation. This means the slope of the line segment at (0,1) on the slope field is positive 1.
Euler's method is a formula for approximating the solution to a differential equation with a given initial value. It can be used to approximate the solution at discrete time intervals, starting from the initial value and working forward in time.
The basic idea behind Euler's method is to approximate the derivative dy/dx at a given point by using the slope of the tangent line to the solution curve at that point. The slope of the tangent line is given by the value of f(x,y), which is known.
To use Euler's method, you start by choosing a small step size h and a starting point (x0, y0). Then, you keep using the formula by substituting the values obtained in the previous iteration of the formula as your new x and y values to approximate the solution at each subsequent point using the formula:
B
A
D
D
B
C
A
C
A
A
A
C
B
B
C
*This is true because the differential equation that describes the probability density of a particleβs position under a delta function potential gives non-zero probability solutions for a particle tunneling through an infinite-potential barrier (if confined to a single axis):
**We logically expect the position of a swinging pendulum to look like a cosine graph that decreases in height with time. This matches the solution under a certain set of parameters:
***The diffusion of diseases in humans is complicated because medical research and other social factors are variables that are computationally difficult to account for. However, for more vulnerable species, such as bananas, one would expect the area of effect of the disease to exponentially increase with time, which approximately matches statistical data.
****This differential equation is often more useful than the exponential differential equation because it accounts for population capacity. Notice that for P << L, the differential equation has exponential solutions.