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 IndependenceHigher-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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionFundamental Theorem of Calculus Part 1Fundamental Theorem of Calculus Part 2U-SubstitutionSeparable Equations (Intro)Separable Differential EquationsIntegrating Factor Method for First-Order Linear ODEsFirst-Order Linear Ordinary Differential EquationsSecond-Order Linear Homogeneous Differential EquationsCharacteristic Equation Method for Linear ODEsRepeated Roots and Reduction of OrderWronskian and Linear IndependenceVariation of Parameters Method

Longest path: 97 steps · 438 total prerequisite topics

Prerequisites (2)

Leads To (1)