Welcome to the World of Solving Differential Equations!
So far in Unit 7, you have learned how to model situations with differential equations and how to "see" their solutions using slope fields. Now, we are getting to the most important procedural part of the unit: Separation of Variables. This is the primary method you will use to find the actual equations (functions) that satisfy a differential equation. On the AP Exam, this is a "heavy hitter"—mastering this process is often the key to earning a large chunk of points on the Free-Response section!
What is Separation of Variables?
Think of Separation of Variables like sorting laundry. You have a "basket" (an equation) mixed with \(x\)'s and \(y\)'s. To solve the equation, you need to put all the \(y\)'s on one side with the \(dy\) and all the \(x\)'s on the other side with the \(dx\).
The Goal: Transform a differential equation like \(\frac{dy}{dx} = f(x)g(y)\) into the form: \( \frac{1}{g(y)} dy = f(x) dx \)
Note: This method only works when the derivative is a product or quotient of \(x\) and \(y\). If you see addition or subtraction like \(\frac{dy}{dx} = x + y\), separation of variables won't work!
The Step-by-Step Process
Don't worry if this seems like a lot of algebra at first. If you follow these four steps in order, you will stay on track:
- Separate: Move all terms with \(y\) to the side with \(dy\) and all terms with \(x\) to the side with \(dx\). This usually involves multiplying or dividing.
- Integrate: Take the integral (antiderivative) of both sides.
- Add the Constant (\(+C\)): Crucial Step! Add \(+C\) as soon as you integrate the \(x\) side.
- Solve for \(y\): Use algebra to isolate \(y\) and get your final function.
Quick Tip: On the AP Exam, if you forget to separate the variables, you will usually earn 0 points for the entire problem. Always separate first!
General vs. Particular Solutions
In this chapter, you will encounter two types of answers:
1. The General Solution (Topic 7.6)
A general solution is a family of functions that satisfies the differential equation. It will always include the constant \(C\). It represents every possible curve that follows the "directions" of the differential equation.
Example: \(y = x^2 + C\)
2. The Particular Solution (Topic 7.7)
A particular solution is one specific function from that family. To find it, the problem must give you an initial condition (a specific point the graph passes through, like \(y(0) = 5\)). You use this point to "solve for \(C\)."
Did you know? In a real-world context, the initial condition is like knowing the starting position of a car or the starting population of a colony of bacteria.
Finding a Particular Solution: A Guided Example
Let's solve the differential equation \(\frac{dy}{dx} = 2xy\) with the initial condition \(y(0) = 3\).
Step 1: Separate the variables
Divide both sides by \(y\) and multiply both sides by \(dx\): \( \frac{1}{y} dy = 2x dx \)
Step 2: Integrate both sides
\( \int \frac{1}{y} dy = \int 2x dx \)
\( \ln|y| = x^2 + C \)
Step 3: Use the initial condition to find \(C\)
Plug in \(x = 0\) and \(y = 3\): \( \ln|3| = (0)^2 + C \implies C = \ln(3) \)
Step 4: Solve for \(y\)
Go back to your equation: \(\ln|y| = x^2 + \ln(3)\) To get rid of the \(\ln\), make both sides exponents of \(e\): \( e^{\ln|y|} = e^{x^2 + \ln(3)} \) \( |y| = e^{x^2} \cdot e^{\ln(3)} \) \( |y| = 3e^{x^2} \)
Since our initial \(y\) value (3) is positive, we can drop the absolute value: Particular Solution: \( y = 3e^{x^2} \)
Key Takeaway: Finding \(C\) as early as possible (right after integrating) is usually the easiest way to avoid algebra mistakes!
Common Pitfalls to Avoid
- The "Magic" \(+C\): Never wait until the very end to add \(+C\). If you add it after you have already isolated \(y\), your answer will likely be wrong. It must be added during the integration step.
- Exponential Algebra: Remember that \(e^{A+B} = e^A \cdot e^B\). This is a very common step when solving differential equations involving \(\ln|y|\).
- Missing Absolute Value: When integrating \(\frac{1}{y} dy\), the result is \(\ln|y|\). Don't forget those absolute value bars! They help you determine the domain of your particular solution.
Summary Table for Quick Review
| Concept | What to Remember |
|---|---|
| Separation | Multiply/Divide to get \(y\) with \(dy\) and \(x\) with \(dx\). |
| General Solution | The final equation with the \(+C\). |
| Particular Solution | The final equation without \(C\) (replace \(C\) with a number). |
| Initial Condition | The point \((x, y)\) used to calculate the value of \(C\). |
Final Encouragement: Separation of variables is a puzzle. Once you get the pieces (\(x\) and \(y\)) on the right sides, the rest is just using the integration skills you already learned in Unit 6. Keep practicing, and you'll find these among the most rewarding problems to solve!