A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Variation of Parameters Method

College Depth 96 in the knowledge graph ☐ I know this ☆ Set as goal
4,348topics build on this
438prerequisites beneath it
See this on the map →
Integration by PartsWronskian and Linear Independence→→Higher-Order Linear Differential Equations
particular-solution variation-of-parameters general-method

Core Idea

Variation of parameters is a universal method for finding a particular solution to y'' + p(x)y' + q(x)y = f(x). Assume y_p = u₁(x)y₁ + u₂(x)y₂ where y₁, y₂ solve the homogeneous equation, and solve for u₁, u₂ using the Wronskian. Though more computational than undetermined coefficients, this method works for any continuous f(x), making it the universal tool when other methods fail.

Explainer

To find the general solution of the nonhomogeneous ODE y'' + p(x)y' + q(x)y = f(x), you need a particular solution y_p to add to the general homogeneous solution y_h = c₁y₁ + c₂y₂. The method of undetermined coefficients finds y_p by guessing its form — it works beautifully when f(x) is a polynomial, exponential, sine, or cosine, but fails for f(x) = sec(x), f(x) = ln(x), or any other function that doesn't generate a finite family of derivatives. Variation of parameters solves this by making no assumptions about f(x) at all.

The idea is to promote the constants c₁ and c₂ in the homogeneous solution to functions u₁(x) and u₂(x). You guess y_p = u₁(x)y₁(x) + u₂(x)y₂(x) — the same linear combination that solved the homogeneous equation, but with variable coefficients instead of constants. Substituting into the ODE and imposing a natural simplifying constraint (u₁'y₁ + u₂'y₂ = 0, which eliminates the y'' cross-terms and simplifies the algebra) reduces the problem to a linear system: u₁'y₁ + u₂'y₂ = 0 and u₁'y₁' + u₂'y₂' = f(x). This is a 2×2 system in u₁' and u₂', and your prerequisite Wronskian W = y₁y₂' − y₂y₁' appears directly in the denominator of the solution by Cramer's rule: u₁' = −y₂f/W and u₂' = y₁f/W.

The Wronskian plays a decisive role here. From your prerequisite, you know that W ≠ 0 precisely when y₁ and y₂ are linearly independent — and that is exactly when the 2×2 system has a unique solution. This is why you need a fundamental solution set (two independent solutions) before beginning: without them, the Wronskian would vanish and the method would break down. Once you have u₁' and u₂', you integrate each: u₁(x) = ∫ −y₂f/W dx and u₂(x) = ∫ y₁f/W dx. The integration step is where the actual work lies, and it requires integration by parts when f(x) is complicated.

The method has no restrictions on f(x) beyond continuity on the interval of interest. This is its great advantage over undetermined coefficients, and also explains why it's more computational: undetermined coefficients exploits special structure in f(x) to shortcut the integration; variation of parameters makes no such use of structure and integrates directly. In practice, try undetermined coefficients first when f(x) allows it, and reach for variation of parameters when it does not. The two methods are complementary, not competing.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Fundamental Theorem of Calculus Part 1 → Fundamental Theorem of Calculus Part 2 → U-Substitution → Separable Equations (Intro) → Separable Differential Equations → Integrating Factor Method for First-Order Linear ODEs → First-Order Linear Ordinary Differential Equations → Second-Order Linear Homogeneous Differential Equations → Characteristic Equation Method for Linear ODEs → Repeated Roots and Reduction of Order → Wronskian and Linear Independence → Variation of Parameters Method

Longest path: 97 steps · 438 total prerequisite topics

Prerequisites (2)

Leads To (1)