🎯⭐ INTERACTIVE LESSON

Differential Equations

Learn step-by-step with interactive practice!

Loading lesson...

Differential Equations - Complete Interactive Lesson

Part 1: Intro to Differential Equations

Differential Equations

Part 1 of 7 — Introduction to Differential Equations

What is a Differential Equation?

A differential equation (DE) is an equation involving a function and its derivative(s).

Examples:

  • dydx=3x2\frac{dy}{dx} = 3x^2 — directly integrable
  • dydx=2y\frac{dy}{dx} = 2y — the rate depends on the current value
  • dydx=x+y\frac{dy}{dx} = x + y — non-separable (not on AP AB)

Solving by Direct Integration

dydx=f(x)    y=f(x)dx\frac{dy}{dx} = f(x) \implies y = \int f(x)\,dx

Worked Example

dydx=6x24x+1\frac{dy}{dx} = 6x^2 - 4x + 1, y(0)=3y(0) = 3.

y=2x32x2+x+Cy = 2x^3 - 2x^2 + x + C

y(0)=C=3y(0) = C = 3. So y=2x32x2+x+3y = 2x^3 - 2x^2 + x + 3.

Direct Integration 🎯

Key Takeaways — Part 1

  1. A DE relates a function to its derivatives
  2. Direct integration works when dydx=f(x)\frac{dy}{dx} = f(x)
  3. Use initial conditions to find CC

Part 2: Slope Fields

Differential Equations

Part 2 of 7 — Separation of Variables

The Method

For DEs of the form dydx=f(x)g(y)\frac{dy}{dx} = f(x) \cdot g(y):

  1. Separate: dyg(y)=f(x)dx\frac{dy}{g(y)} = f(x)\,dx
  2. Integrate both sides
  3. Solve for yy (if possible)

Worked Example

dydx=xy\frac{dy}{dx} = xy, y(0)=2y(0) = 2.

dyy=xdx\frac{dy}{y} = x\,dx

lny=x22+C\ln|y| = \frac{x^2}{2} + C

y=Aex2/2y = Ae^{x^2/2} where A=eCA = e^C

y(0)=A=2y(0) = A = 2. So y=2ex2/2y = 2e^{x^2/2}.

Separation of Variables 🎯

Key Takeaways — Part 2

  1. Separate variables: get all yy on one side, all xx on the other
  2. Integrate both sides
  3. Don't forget the constant +C+C (or A=eCA = e^C for exponentials)

Part 3: Separation of Variables

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 (x,y)(x, y), a small line segment shows the slope dydx\frac{dy}{dx}.

Reading Slope Fields

ObservationMeaning
All slopes horizontal where y=2y = 2dydx=0\frac{dy}{dx} = 0 when y=2y = 2
Slopes steeper as xx increasesDE depends on xx
Slopes same along horizontal linesDE depends only on yy
Slopes same along vertical linesDE depends only on xx

Matching Slope Fields to DEs

To match a slope field to a DE:

  1. Check specific points: what's the slope at (0,0)(0,0), (1,1)(1,1), etc.?
  2. Look for where slopes are zero (horizontal segments)
  3. Look for patterns (same slopes on lines, etc.)

Slope Field Analysis 🎯

Key Takeaways — Part 3

  1. Slope fields visualize the behavior of solutions
  2. Solutions follow the slope field like flowing water
  3. Check where slopes are 0, positive, or negative to match DEs

Part 4: General vs Particular Solutions

Differential Equations

Part 4 of 7 — Exponential Growth and Decay

The Model

dydt=ky\frac{dy}{dt} = ky

Solution: y=y0ekty = y_0 e^{kt}

  • k>0k > 0: exponential growth
  • k<0k < 0: exponential decay
  • y0y_0: initial value

Half-Life and Doubling Time

Doubling time (k>0k > 0): T=ln2kT = \frac{\ln 2}{k}

Half-life (k<0k < 0): T=ln2kT = \frac{\ln 2}{|k|}

Exponential Models 🎯

Key Takeaways — Part 4

  1. dydt=ky\frac{dy}{dt} = ky has solution y=y0ekty = y_0 e^{kt}
  2. Growth (k>0k>0): doubling time =ln2/k= \ln 2/k
  3. Decay (k<0k<0): half-life =ln2/k= \ln 2/|k|

Part 5: Exponential Growth & Decay

Differential Equations

Part 5 of 7 — More Separation of Variables Practice

Harder Examples

dydx=y2x,y(1)=2\frac{dy}{dx} = \frac{y^2}{x}, \quad y(1) = 2

dyy2=dxx\frac{dy}{y^2} = \frac{dx}{x}

1y=lnx+C-\frac{1}{y} = \ln|x| + C

y(1)=2y(1) = 2: 12=0+C-\frac{1}{2} = 0 + C, so C=12C = -\frac{1}{2}

1y=lnx12-\frac{1}{y} = \ln x - \frac{1}{2}

y=112lnx=212lnxy = \frac{1}{\frac{1}{2} - \ln x} = \frac{2}{1 - 2\ln x}

Separation of Variables Practice 🎯

Key Takeaways — Part 5

Practice various types of separable DEs to build fluency.

Part 6: Problem-Solving Workshop

Differential Equations

Part 6 of 7 — AP-Style Workshop

AP-Style DE Problems 🎯

Workshop Complete!

Part 7: Review & Applications

Differential Equations — Review

Part 7 of 7 — Comprehensive Assessment

Final Assessment 🎯

Differential Equations — Complete! ✅