learn › Beyond College

Differential equations

lesson · about 3 minutes

Equations about rates, solved for the function itself.

Pen and paper is fine · no calculator needed why?

Opens at level 55. You're level 1. You can read and practice here now.

the idea

A differential equation gives a rule for a function’s rate of change and asks for the function. For a first-order equation, one known value, the initial value, fixes the free constant.

Growth in proportion to size, y′ = ky, has the solution y = y(0) × eᵏᵗ. At t = ln m, eᵏᵗ is mᵏ, since e and ln undo each other.

The Laplace transform turns a function of t into a function of s, read from a short table.

techniques

Integrate, then fix the constant

y′ is a formula in x, and you know y at one point.

  1. Integrate term by term: axⁿ becomes axⁿ⁺¹/(n + 1). Add a constant C.
  2. Put in the known point to find C.
  3. Evaluate y at the new x.
worked example

Example: y′ = 3x² + 4x and y(1) = 5. What is y(2)?

  1. Integrate: y = x³ + 2x² + C.
  2. At x = 1: 1 + 2 + C is 5, so C is 2.
  3. y(2) = 8 + 8 + 2 = 18.

Answer: 18

Try y = eʳᵗ

y″ + by′ + cy = 0, where b and c are plain numbers.

  1. Put in y = eʳᵗ. Each derivative brings down a factor r, so you get r² + br + c = 0.
  2. Factor it as (r − p)(r − q): p and q multiply to c and add up to −b.
  3. The roots are p and q.
worked example

Example: y″ − y′ − 6y = 0 has solutions of the form eʳᵗ. One value of r is negative. What is it?

  1. Putting in eʳᵗ gives r² − r − 6 = 0.
  2. Two numbers that multiply to −6 and add up to 1: 3 and −2.
  3. So (r − 3)(r + 2) = 0, and the negative root is −2.

Answer: −2

Read the Laplace table

F(s) for 1, tⁿ, eᵃᵗ or sin bt, at a given s.

  1. 1 becomes 1/s, and eᵃᵗ becomes 1/(s − a).
  2. tⁿ becomes (1 × 2 × … × n)/sⁿ⁺¹, so t² becomes 2/s³.
  3. sin bt becomes b/(s² + b²). Then put in s and reduce.
worked example

Example: The Laplace transform of f(t) = t² is F(s). What is F(2)? Give an exact number or fraction.

  1. t² transforms to 2/s³.
  2. F(2) = 2/2³ = 2/8 = 1/4.

Answer: 1/4

watch out for

practice

Sign in to try one

Initial value problem

worked example

y′ = −6x² + 4x − 4 and y(1) = 0. What is y(2)?

Answer: -12

  1. Integrate: y = −2x³ + 2x² − 4x + C.
  2. y(1) = −4 + C = 0, so C = 4.
  3. Then y(2) = −16 + 4 = −12.

y′ = ky

worked example

y′ = y and y(0) = 6. What is y(ln 3)?

Answer: 18

  1. The solution is y = 6eᵗ.
  2. At t = ln 3: e^(ln 3) = 3.
  3. So y(ln 3) = 6 × 3 = 18.

Characteristic roots

worked example

y″ − 9y = 0 has solutions of the form eʳᵗ. What are the two values of r? Enter both, smaller first.

Answer: (-3, 3)

  1. Substituting y = eʳᵗ gives r² − 9 = 0.
  2. This factors as (r + 3)(r − 3) = 0.
  3. So r = −3 or r = 3. Smaller first: −3, 3.

Laplace transforms

worked example

The Laplace transform of f(t) = e⁵ᵗ is F(s). What is F(6)? Give an exact number or fraction.

Answer: 1

  1. L{eᵃᵗ} = 1/(s − a) for s > a. Here a = 5, so F(s) = 1/(s − 5).
  2. F(6) = 1/(6 − 5) = 1.

Sign in to start