Differential Equations
Lesson 2 of 2 9 min +50 XP

Growth, Decay & Oscillation

Separation of variables and springs.

What you'll learn

  • Use separation of variables
  • Model decay
  • Recognize oscillation
Populations, decay, and the bouncing spring

The same kind of equation describes a rabbit population exploding, a radioactive sample fading, and a spring bouncing back and forth. Solving them by separating variables reveals the shared math behind growth, decay, and oscillation.

Solving the simple ones

For y' = ky, separate the variables — put all the y's on one side and x's on the other — then integrate to get y = Ce^{kx}. Positive k gives growth (populations, compound interest); negative k gives decay (cooling coffee, radioactive atoms). Second-order equations like y'' = −y produce oscillation: springs and waves.

Simulation · Parabola & tangent slope

y = 1x² · slope at x=1 (the derivative 2a) = 2

Watch how a curve's slope (its derivative) changes point to point — the raw material every differential equation works with.

Lab · Model a cooling cup
  1. Write Newton's cooling law as y' = −k(y − room), where y is the coffee's temperature.
  2. Explain why the coffee cools fast at first, then slower.
  3. Predict the temperature the coffee approaches after a long time.
  4. Say whether k is positive or negative here, and why.

What you should see: You connected a first-order ODE to a real cooling curve and read its long-term behavior.

Knowledge Check

+15 XP / correct

1. Separation of variables works by…

2. A second-order equation like y'' = −y typically produces…