Variation of parameters
Variation of parameters handles ANY continuous forcing term, including those undetermined coefficients cannot touch. Given homogeneous solutions y₁ and y₂, the particular solution is y_p = −y₁∫(y₂g/W)dx + y₂∫(y₁g/W)dx, where W is the Wronskian y₁y₂′ − y₂y₁′ and g is the forcing in standard form.
✓ Unlimited questions · marked criterion by criterion · no card needed
Method: how to approach it
The order below is what examiners expect to see, and each step carries its own marks.
- Get the homogeneous solutions y₁ and y₂Usually via the characteristic equation.
- Put the equation in standard formCoefficient 1 on y″. The forcing g(x) is what remains on the right — a step that is easy to skip and fatal to omit.
- Compute the WronskianW = y₁y₂′ − y₂y₁′. It is never zero for independent solutions.
- Apply the formula and integratey_p = −y₁∫(y₂g/W)dx + y₂∫(y₁g/W)dx, dropping the constants (they belong to the complementary function).
Worked example
Find a particular solution of y″ + y = sec x.
- Homogeneous solutions: y₁ = cos x, y₂ = sin x. Wronskian W = cos²x + sin²x = 1.
- g = sec x, already in standard form.
- First integral: ∫(y₂g/W)dx = ∫sin x sec x dx = ∫tan x dx = −ln|cos x|.
- Second: ∫(y₁g/W)dx = ∫cos x sec x dx = ∫1 dx = x.
Answer. y_p = cos x·ln|cos x| + x sin x — a case undetermined coefficients cannot handle at all.
Where marks get dropped
These are the specific errors that cost credit on variation of parameters questions — QED's rubric penalises each of them separately.
- Forgetting to normalise so y″ has coefficient 1. Using the raw right side as g gives an answer wrong by that factor.
- Dropping the minus sign on the first term of the formula.
- Including constants of integration in the two integrals, which just re-adds the complementary function.
Practise this until it is automatic
Unlimited fresh questions
QED generates new variation of parameters problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.
Marked like an examiner
Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.
Answer in real notation
A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.
Saved to your library
Every question you generate is kept and re-takeable as a timed exam, and your Differential Equations mastery is tracked so you know when this is exam-ready.
Variation of parameters — frequently asked questions
When should I use this over undetermined coefficients?
Whenever the forcing is not a polynomial, exponential or sinusoid — sec x, tan x, ln x, 1/x. For the nice cases undetermined coefficients is faster.
What does the Wronskian tell me?
Whether the two solutions are independent: W ≠ 0 confirms it. It also appears in the denominator of the formula, which is why independence is required.
Does it extend to higher order?
Yes, with a determinant formulation using n homogeneous solutions. The algebra grows quickly but the structure is identical.
The rest of Differential Equations
Solving and modelling with ODEs, from separable to systems. Each subtopic below has its own method, worked example and mark-losing traps.
- 1Classifying ODEs: order, linearity & solution type
- 2Separable equations
- 3First-order linear equations & the integrating factor
- 4Initial value problems & particular solutions
- 5Substitutions: homogeneous & Bernoulli
- 6Exact equations & integrating factors
- 7Second-order linear homogeneous equations
- 8Undetermined coefficients
- 9Variation of parameters
- 10Modelling: growth, decay, cooling & mixing
- 11Oscillations, damping & resonance
- 12Slope fields, equilibria & qualitative behaviour
- 13Systems of linear ODEs via eigenvalues
- 14Laplace transforms for initial value problems
Ready to make variation of parameters exam-proof?
Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.
Start practising free →