Differential Equations - Complete Interactive Lesson
Part 1: Introduction to Differential Equations
Differential Equations
Part 1 of 7 — Introduction to Differential Equations
Table of Contents
- What is a Differential Equation?
- Separation of Variables
- Slope Fields
- Exponential Growth & Decay
- Particular Solutions & IVPs
- Problem-Solving Workshop
- Comprehensive Assessment
What is a Differential Equation?
A differential equation (DE) is an equation that relates a function to one or more of its derivatives.
| Type | Example | Method |
|---|---|---|
| Directly integrable | Integrate both sides | |
| Separable | Separate and integrate | |
| Non-separable | Not on AP AB |
Key Fact: On the AP Calculus AB exam, you only need to solve separable DEs and those solvable by direct integration.
Solving by Direct Integration
When (right side depends only on ):
Step-by-Step Process
| Step | Action | Example: , |
|---|---|---|
| 1 | Integrate both sides | |
| 2 | Find antiderivative | |
| 3 | Apply initial condition | |
| 4 | Write particular solution |
General vs. Particular Solutions
| Term | Meaning | Example |
|---|---|---|
| General solution | Family of curves (includes ) | |
| Particular solution | One specific curve ( determined) | |
| Initial condition | Point that determines |
AP Tip: ALWAYS write "" when finding a general solution. Forgetting is one of the most common point-losing mistakes on FRQs.
Direct Integration Practice 🎯
Double Integration (Second-Order Direct)
When given with two conditions:
Example: , , .
Step 1:
, so
Step 2:
, so
Key Fact: Each integration introduces one constant, each initial condition determines one constant.
Classify each DE. 🔍
Solve an IVP. ✍️
Key Takeaways — Part 1
| Concept | Key Point |
|---|---|
| Differential equation | Relates a function to its derivatives |
| Direct integration | When — integrate both sides |
| General solution | Includes (family of curves) |
| Particular solution | determined by initial condition |
| Double integration | Integrate twice for , two conditions needed |
Up Next: Part 2 — Separation of Variables.
Part 2: Separation of Variables
Differential Equations
Part 2 of 7 — Separation of Variables
The Most Important DE Technique on AP AB
A DE is separable if it can be written as:
The 5-Step Method
| Step | Action | Example: , |
|---|---|---|
| 1 | Separate variables | |
| 2 | Integrate both sides | |
| 3 | Add (one side only) | $\ln |
| 4 | Solve for | where |
| 5 | Apply initial condition | → |
Key Fact: You only need ONE constant (not and on each side). The constants combine.
Common Separable Patterns
| DE Form | Separation | General Solution |
|---|---|---|
| Logistic (partial fractions) |
Worked Example — Careful with Signs
,
, i.e.,
:
Separation of Variables 🎯
Common Mistakes in Separation
| Mistake | Problem | Correction |
|---|---|---|
| Forgetting to separate ALL 's | Leaving on the side | Move everything with to one side |
| Dividing by | Lose equilibrium solutions! | Check: does give solutions? |
| Wrong sign on $\ln | y | $ |
| Forgetting absolute value | vs $\ln | y |
| Two constants of integration | on left AND on right | Combine into single on one side |
Domain Restrictions
Example:
Dividing by loses and — these ARE constant solutions (equilibria).
Analyze each DE. 🔍
Solve a separable IVP. ✍️
Key Takeaways — Part 2
| Concept | Key Rule |
|---|---|
| Separable DE | |
| Method | Separate, integrate, solve, apply IC |
| Only one | Constants combine — use on one side only |
| Equilibrium solutions | Set — don't lose them! |
| $\int dy/y = \ln | y |
Up Next: Part 3 — Slope Fields.
Part 3: Slope Fields
Differential Equations
Part 3 of 7 — Slope Fields
What is a Slope Field?
A slope field (direction field) is a visual representation of a DE. At each point , draw a short line segment with slope .
Reading Slope Fields — Key Patterns
| Observation | What It Tells You |
|---|---|
| All slopes horizontal along | when (equilibrium) |
| Slopes same along horizontal lines | DE depends only on : |
| Slopes same along vertical lines | DE depends only on : |
| Slopes same along diagonal | DE depends on |
| Slopes get steeper as $ | y |
Key Fact: Solution curves follow the slope field like a river current. A solution through any point must be tangent to the slope segments.
Matching DEs to Slope Fields
Strategy: Check slopes at specific test points.
| Test Point | ||||
|---|---|---|---|---|
Isoclines
An isocline is a curve where all slopes are equal.
For , the isocline where slope is the line (or ).
AP Tip: On the AP exam, you might be asked to sketch a solution curve through a given point on a slope field. Follow the arrows smoothly — don't make sharp corners!
Slope Field Analysis 🎯
Sketching Solution Curves
Rules for sketching on a slope field:
| Rule | Why |
|---|---|
| Solution must be tangent to every segment it crosses | By definition of slope |
| Solutions cannot cross each other | Uniqueness theorem (unless DE is undefined) |
| Curve must be smooth (no corners) | Solutions to these DEs are differentiable |
| Follow the "flow" of the field | Solutions are carried along like water |
Stability of Equilibria
For an autonomous DE :
| Equilibrium Type | Slope Field Behavior | Stability |
|---|---|---|
| Stable | Arrows point TOWARD equilibrium | Solutions approach it |
| Unstable | Arrows point AWAY from equilibrium | Solutions diverge |
| Semi-stable | Arrows point toward on one side, away on other | Mixed behavior |
Example:
- : unstable (slopes point away for and toward for ... actually for , pushes more negative → unstable)
- : stable (solutions above and below approach )
Analyze slope fields. 🔍
Point analysis. ✍️
Key Takeaways — Part 3
| Concept | Key Point |
|---|---|
| Slope field | Visual: short segments showing at each point |
| Matching DEs | Evaluate at test points |
| Solution curves | Must be tangent to segments, smooth, non-crossing |
| Equilibrium | Where |
| Stable/Unstable | Do nearby solutions approach or diverge? |
Up Next: Part 4 — Exponential Growth & Decay.
Part 4: Exponential Growth and Decay
Differential Equations
Part 4 of 7 — Exponential Growth & Decay
The Fundamental Model
| Parameter | Meaning |
|---|---|
| Initial value: | |
| Exponential growth | |
| Exponential decay | |
| Time variable |
Deriving the Solution
→ →
At : . So .
Key Fact: " changes at a rate proportional to " is the verbal form of .
Doubling Time & Half-Life
| Concept | Formula | Derivation |
|---|---|---|
| Doubling time | , | |
| Half-life | $T_h = \frac{\ln 2}{ | k |
Quick Computation Tricks
| Number of half-lives | Fraction remaining |
|---|---|
Example: Substance has half-life 10 hours. Starting with 200 g:
- After 10 hrs: g
- After 20 hrs: g
- After 30 hrs: g
Finding : →
Exponential Models 🎯
Newton's Law of Cooling
| Variable | Meaning |
|---|---|
| Temperature of object | |
| Ambient (surrounding) temperature | |
| Cooling constant |
Solution: Let , then :
Example: Coffee at in a room, :
As : (room temperature).
AP Tip: Newton's Law of Cooling is a VERY common AP FRQ topic. The key insight: the rate of cooling is proportional to the temperature DIFFERENCE, not the temperature itself.
Classify exponential models. 🔍
Apply Newton's Law of Cooling. ✍️
Key Takeaways — Part 4
| Model | DE | Solution |
|---|---|---|
| Exponential growth | , | |
| Exponential decay | , | |
| Newton's cooling | ||
| Doubling time | — | |
| Half-life | — | $T_h = \ln 2/ |
Up Next: Part 5 — Particular Solutions & IVPs.
Part 5: More Separation of Variables Practice
Differential Equations
Part 5 of 7 — Particular Solutions & Advanced IVPs
Harder Separable DEs
Not all separable DEs give . Here are the main solution forms:
| DE Type | Separation | Solution Form |
|---|---|---|
| $\ln |
Worked Example 1: Type
→
: , so
Worked Example 2: Square Root Type
→
:
AP Tip: On AP FRQs, it's acceptable to leave the answer in implicit form (not solved for ) unless the problem specifically says "solve for ".
Advanced Separation 🎯
Domain of Solutions
When finding a particular solution, always check:
| Issue | Example | Domain Restriction |
|---|---|---|
| Division by zero | ||
| Square root of negative | ||
| Logarithm of non-positive | $\ln | y |
| Continuity through IC | Must connect to initial point | Choose interval containing IC |
Key Fact: A particular solution exists on the largest interval containing the initial point where the solution is continuous and the DE is defined.
Analyze solutions. 🔍
Find a particular solution value. ✍️
Key Takeaways — Part 5
| Concept | Key Point |
|---|---|
| DEs | Give solutions |
| DEs | Give solutions |
| Domain restrictions | Check for division by zero, square roots |
| IC determines branch | Positive IC → positive root |
| Implicit solutions OK | Don't need to solve for unless asked |
Up Next: Part 6 — Problem-Solving Workshop.
Part 6: AP-Style Workshop
Differential Equations
Part 6 of 7 — Problem-Solving Workshop
AP FRQ Strategy Guide
| Problem Type | What to Do |
|---|---|
| "Find the particular solution" | Separate, integrate, apply IC, solve for |
| "Sketch solution on slope field" | Follow slope segments smoothly from given point |
| "Find equilibrium solutions" | Set , solve for |
| "Determine stability" | Check sign of near equilibrium |
| "Rate proportional to..." | Set up or variant |
| "Use Euler's method" |
Euler's Method
Example: , , . Approximate .
| Step | ||||
|---|---|---|---|---|
| 0 | ||||
| 1 |
So .
Euler's Method Accuracy
| Condition | Euler's result is... |
|---|---|
| Solution is concave up | Underestimate (tangent line below curve) |
| Solution is concave down | Overestimate (tangent line above curve) |
| Smaller | More accurate |
AP Tip: Euler's method questions typically ask for 2-3 steps. Set up a TABLE — it's the clearest way to show work.
AP-Style Workshop 🎯
Common AP FRQ Patterns
Pattern 1: Rate In − Rate Out
A tank has water flowing in at rate and out at rate :
Pattern 2: Logistic Growth (BC topic, but concept appears in AB)
- : population grows
- : population decreases
- : equilibrium (carrying capacity)
- Fastest growth at
Pattern 3: Using from a Table
Given a table of values, use Euler's method or verify a proposed solution.
Classify and solve. 🔍
Euler's method computation. ✍️
Key Takeaways — Part 6
| Topic | Key Formula/Idea |
|---|---|
| Euler's method | |
| Concave up → Euler | Underestimate |
| Concave down → Euler | Overestimate |
| Equilibrium | : constant solutions |
| Newton's cooling |
Up Next: Part 7 — Comprehensive Assessment.
Part 7: Comprehensive Assessment
Differential Equations
Part 7 of 7 — Comprehensive Assessment
Complete Reference
| Topic | Key Formula |
|---|---|
| Direct integration | |
| Separation of variables | , integrate both sides |
| Exponential model | |
| Newton's cooling | |
| Euler's method | |
| Half-life | $T_h = \ln 2/ |
| Equilibrium | → constant solutions |
Top AP Mistakes
| Mistake | Fix |
|---|---|
| Forgetting | ALWAYS include until IC is applied |
| Not separating completely | ALL 's on one side, ALL 's on the other |
| Losing equilibrium solutions | Check before dividing |
| Wrong Euler direction | Concave up = underestimate |
| Forgetting domain | Check where solution is defined |
Final Assessment — Set 1 🎯
Final Assessment — Set 2 🎯
Final classification. 🔍
Final challenge. ✍️
Differential Equations — Complete! ✅
| Skill | Status |
|---|---|
| Direct integration | ✅ |
| Separation of variables | ✅ |
| Slope fields | ✅ |
| Exponential growth/decay | ✅ |
| Newton's cooling | ✅ |
| Euler's method | ✅ |
| Equilibrium & stability | ✅ |
| Particular solutions & domains | ✅ |
Congratulations! You've mastered differential equations for AP Calculus AB.