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

Finding Particular Solutions with Variation of Parameters

Applying the formula to find particular solutions for equations with non-standard forcing functions.

Finding Particular Solutions with Variation of Parameters

You'll learn how to apply the variation of parameters formula to find particular solutions for second-order linear ODEs with unusual or complicated forcing functions.

The Core Idea

When solving non-homogeneous ODEs like y'' + p(x)y' + q(x)y = g(x), the method of undetermined coefficients only works when g(x) has a nice form (polynomials, exponentials, sines/cosines). But what if g(x) = tan(x), ln(x), or x⁻¹? That's where variation of parameters shines.

The formula gives you the particular solution directly:

y_p(x) = -y₁(x)∫[y₂(x)g(x)/W(x)]dx + y₂(x)∫[y₁(x)g(x)/W(x)]dx

where:

  • y₁ and y₂ are the two linearly independent solutions to the homogeneous equation
  • W(x) is their Wronskian (computed in the previous lesson)
  • g(x) is your forcing function

How to Apply It

Step 1: Solve the homogeneous equation to find y₁ and y₂

Step 2: Compute the Wronskian W(x)

Step 3: Form the two integrals: ∫[y₂g/W]dx and ∫[y₁g/W]dx

Step 4: Substitute into the formula

Step 5: Combine with the homogeneous solution: y = y_h + y_p

Think of it like this: you're "varying" the constants in the homogeneous solution from fixed values into functions that absorb the non-homogeneous part. The formula tells you exactly which functions to use.

Key Takeaway: The variation of parameters formula works for any continuous forcing function g(x), making it more powerful than undetermined coefficients—though the integrals may be challenging to evaluate.