← Differential equations

Initial value problems, second order

Use y(0) and y′(0) to find the constants.

Start this lesson

A second-order equation needs two initial conditions, usually y(0) and y′(0). Write the general solution, then substitute t = 0 into y and into y′ to get two equations for C₁ and C₂.

Example: y″ − 3y′ + 2y = 0, y(0) = 3, y′(0) = 4

  1. y = C₁eᵗ + C₂e^(2t) — Roots 1 and 2
  2. C₁ + C₂ = 3, C₁ + 2C₂ = 4 — Initial conditions
  3. C₁ = 2, C₂ = 1

Why it works: The general solution has two unknown constants, and the two starting conditions give two equations to find them.

Tip: Differentiate the general solution before plugging in t = 0 for y′(0).