Welcome to Unit 7: Differential Equations!

In the previous units, we spent a lot of time finding the derivative of a function. Now, we are going to flip the script! In Unit 7, we start with an equation that contains a derivative and work our way back to the original function. Think of this like being a detective: you see how something is changing (the derivative), and your job is to figure out what the "crime scene" (the original function) looked like at the start. These equations help us model everything from how caffeine leaves your system to how populations grow.

7.1 & 7.2: Modeling and Verifying Solutions

A differential equation is simply an equation that involves one or more derivatives. For example, \( \frac{dy}{dx} = 2x \) is a differential equation because it tells us the rate of change of \( y \) with respect to \( x \).

What does it mean to "solve" a differential equation?

Solving a differential equation means finding a function \( y = f(x) \) that makes the equation true.
Example: If \( \frac{dy}{dx} = \cos(x) \), then a solution would be \( y = \sin(x) \). Why? Because the derivative of \( \sin(x) \) is \( \cos(x) \).

Verifying a Solution

Don't worry if an equation looks scary! You can check if a given function is a solution by following these steps: 1. Find the derivative(s) of the proposed solution. 2. Plug the solution and its derivative back into the original differential equation. 3. If both sides of the equation are equal, it's a valid solution!

Quick Review: A general solution usually includes a constant \( + C \) (because many functions can have the same derivative), while a particular solution is a specific function that passes through a given point.

7.3 & 7.4: Sketching and Reasoning with Slope Fields

Sometimes, we can't solve a differential equation easily by hand. That's where slope fields come in. A slope field is a visual map of all possible solutions.

How to Draw a Slope Field

Think of a slope field like a "wind map" for a function. At every point \( (x, y) \), we draw a tiny little line segment. The slope of that segment is determined by the value of \( \frac{dy}{dx} \) at that specific point.

Step-by-Step: 1. Look at your differential equation, e.g., \( \frac{dy}{dx} = x + y \). 2. Pick a point, like \( (1, 1) \). 3. Plug the coordinates into the equation: \( 1 + 1 = 2 \). 4. At the point \( (1, 1) \) on your graph, draw a tiny segment with a slope of 2. 5. Repeat for several points until a "flow" appears.

Reading the "Flow"

If you start at a specific point and follow the "wind" (the little slope segments), you are sketching a particular solution. - If the segments are horizontal, the derivative is zero. - If the segments are tilted up, the function is increasing. - If the segments are tilted down, the function is decreasing.

Common Mistake: Students often mix up \( x \) and \( y \). If your equation is \( \frac{dy}{dx} = y \), the slopes will be the same for every point in a horizontal row (because the \( y \)-value is the same). If \( \frac{dy}{dx} = x \), the slopes will be the same for every point in a vertical column.

7.6 & 7.7: Separation of Variables

This is the most important skill in this unit! Separation of variables is the primary method for solving differential equations in AP Calculus AB.

The "Divide and Conquer" Process

To solve \( \frac{dy}{dx} = g(x)h(y) \), follow these steps: 1. Separate: Move all the \( y \)'s to the side with \( dy \) and all the \( x \)'s to the side with \( dx \). You should have something like \( \frac{1}{h(y)} dy = g(x) dx \). 2. Integrate: Take the integral of both sides. \( \int \frac{1}{h(y)} dy = \int g(x) dx \). 3. Add +C: Crucial Step! Add the constant of integration immediately after integrating. Usually, we just put it on the \( x \) side. 4. Use Initial Conditions: If you are given a point \( (x_0, y_0) \), plug those numbers in now to find the specific value of \( C \). 5. Solve for y: Isolate \( y \) to get your final function.

Memory Aid: "Separate, Integrate, Plus C, Solve for y." Say it like a chant! If you don't separate the variables first, you cannot earn any points on this part of the AP Exam.

Key Takeaway:

Never forget the \( + C \)! On the AP Exam, forgetting the \( + C \) during separation of variables usually means you can only earn a maximum of 1 or 2 points out of 5 or 6 on that problem.

7.8: Exponential Models

There is one specific type of differential equation that shows up constantly: Exponential Growth and Decay.

Whenever you see a statement like "The rate of change of a quantity is proportional to the quantity itself," it can be written as: \( \frac{dy}{dt} = ky \)

When you solve this using separation of variables, you will always get the same general solution: \( y = Ce^{kt} \)

What do the letters mean? - \( y \): The amount at time \( t \). - \( C \): The initial amount (when \( t = 0 \)). - \( k \): The growth constant (positive if growing, negative if decaying). - \( t \): Time.

Example: If a population of bacteria grows at a rate proportional to its size, and you start with 100 bacteria, your equation is \( y = 100e^{kt} \). You can find \( k \) if you are given the population at another time.

Did you know? This same math is used by forensic scientists to determine "time of death" using Newton's Law of Cooling, which is just a slightly fancier version of this differential equation!

Summary Checklist for Unit 7

- Can I verify a solution? (Plug \( y \) and its derivative back into the equation).
- Can I sketch a slope field? (Calculate the slope at each point and draw tiny segments).
- Can I separate variables? (Get \( y \) with \( dy \) and \( x \) with \( dx \) before integrating).
- Did I remember \( + C \)? (Always add it right after you integrate).
- Do I know the exponential model? (\( \frac{dy}{dt} = ky \) leads to \( y = Ce^{kt} \)).

Don't worry if this seems tricky at first! Separation of variables takes practice, but once you master the algebraic steps, you'll find it follows the same pattern every time. You've got this!