Variation of parameters is a method for finding particular solutions to nonhomogeneous linear differential equations. It is especially useful when undetermined coefficients does not apply, such as equations with , , or variable coefficients. This cheat sheet helps students organize the setup, formulas, and solution steps for second-order and higher-order ODEs.
It is designed as a quick reference for homework, exams, and review.
Key Facts
- For a second-order equation , first solve the homogeneous equation .
- If and are linearly independent homogeneous solutions, then .
- The Wronskian for two solutions is , and variation of parameters requires on the interval.
- A particular solution has the form , where and are functions to be found.
- For , the derivative formulas are and .
- After finding and , integrate to get and .
- The general solution of a nonhomogeneous linear ODE is .
- If the equation is not in standard form, divide by the leading coefficient so that the coefficient of is before applying the formulas.
Vocabulary
- Nonhomogeneous ODE
- A differential equation with a nonzero forcing term, such as where .
- Homogeneous equation
- The related equation formed by setting the forcing term equal to zero, such as .
- Fundamental solutions
- A set of linearly independent solutions to the homogeneous equation that can be combined to form .
- Wronskian
- A determinant used to test linear independence, given by for two functions.
- Particular solution
- One solution that satisfies the full nonhomogeneous differential equation.
- General solution
- The complete solution that combines the homogeneous solution with a particular solution.
Common Mistakes to Avoid
- Forgetting to put the ODE in standard form is wrong because the formulas and assume the coefficient of is .
- Using dependent homogeneous solutions is wrong because makes the variation of parameters formulas invalid.
- Dropping the negative sign in is wrong because it changes the particular solution and usually fails when substituted back into the ODE.
- Adding arbitrary constants to and is unnecessary because those constants only reproduce terms already included in .
- Stopping after finding and is wrong because the functions and must be obtained by integration before building .
Practice Questions
- 1 Use variation of parameters to solve on an interval where .
- 2 For , use and to compute , then set up and .
- 3 Find a particular solution for using and .
- 4 Explain why variation of parameters can work for forcing terms where undetermined coefficients does not apply.
Understanding Variation of Parameters for Nonhomogeneous ODEs
The main idea is to loosen the constants in a homogeneous solution. A homogeneous solution uses fixed numbers multiplying the basic solution shapes. For a forced equation, fixed numbers are too limited because the input can keep changing with x.
Variation of parameters allows those multipliers to change with x. This creates enough flexibility for the solution to respond to the forcing term. The method introduces two unknown functions, but it adds a useful simplifying condition.
The condition says that the first changing multiplier times the first basic solution, plus the second changing multiplier times the second basic solution, has derivative zero. This removes unwanted second derivatives of the new functions and turns the work into a manageable two equation system.
The Wronskian measures whether the two homogeneous solutions truly provide different directions for building solutions. If it is zero, the two solution shapes are dependent at that point or throughout the interval. Then the system used to find the changing multipliers cannot be solved uniquely.
This is similar to trying to locate a point on a map using two identical directions. Independent directions are needed. Students should pay close attention to the interval being used.
Coefficients such as one over x or tangent x can be undefined at certain points. A valid pair of fundamental solutions on one interval may not work across a point where the equation itself is undefined.
The integrals in this method often look harder than the differential equation. That is normal. The method is valuable because it reduces the differential equation problem to integration problems.
Sometimes those integrals have elementary answers. Sometimes they involve special functions or must be left as integrals. Leaving a particular solution in integral form can still be correct when the integrals cannot be simplified with methods from a standard calculus course.
Any constants produced during these integrations do not need to be kept in the particular solution. They only recreate terms already included in the homogeneous part. Choosing convenient lower limits for definite integrals is one clean way to avoid carrying extra constants.
This method appears whenever a system has its own natural behavior but is acted on by an external input. A spring can vibrate naturally, then respond to a changing applied force. An electrical circuit can have its own voltage patterns, then be driven by a source signal.
Population or chemical models can receive a time dependent input. In each case, the homogeneous solutions describe the system's built in response, while the parameter functions track how the input adds to it over time.
After completing the calculation, check the answer by differentiating the particular solution and substituting it into the original equation. Common errors include forgetting to first make the leading coefficient equal to one, using the Wronskian with reversed signs, and mixing up the order of the two fundamental solutions.