Course contentsShow
← Mathematics
Lesson 2364 of 3,12148. Ordinary Differential EquationsFree lesson

Variation of Parameters with Trigonometric Forcing

Solving equations with sine and cosine forcing functions using the variation of parameters method.

Variation of Parameters with Trigonometric Forcing

What You'll Learn

You'll learn how to apply the variation of parameters method specifically to solve second-order linear ODEs where the forcing function is sine or cosine.

The Core Idea

When you have an equation like y'' + p(t)y' + q(t)y = sin(ωt) or cos(ωt), variation of parameters gives you a systematic way to find a particular solution even when undetermined coefficients might be tricky (especially with resonance cases).

The general formula for the particular solution is:

y_p = -y₁∫(y₂ · g(t))/W dt + y₂∫(y₁ · g(t))/W dt

where y₁ and y₂ are your homogeneous solutions, W is the Wronskian, and g(t) is your trigonometric forcing function.

Why Trigonometric Functions Matter

Trigonometric forcing functions appear constantly in physics and engineering—think oscillating forces, AC circuits, or vibrating systems. The integrals ∫sin(ωt) dt and ∫cos(ωt) dt are straightforward (giving -cos(ωt)/ω and sin(ωt)/ω respectively), which makes the method particularly clean for these cases.

The Process

  1. Solve the homogeneous equation to find y₁ and y₂
  2. Compute the Wronskian W = y₁y₂' - y₁'y₂
  3. Set up the two integrals using your sine or cosine forcing function
  4. Evaluate the integrals (often using trig identities for products)
  5. Combine to get your particular solution

Analogy: Think of it like finding a dance partner (particular solution) that perfectly matches the rhythm (forcing function) of the music, using the moves you already know (homogeneous solutions) as your vocabulary.

Key Takeaway: Variation of parameters handles trigonometric forcing functions systematically through integration, especially useful when resonance makes undetermined coefficients fail or when coefficients aren't constant.