For , write the linear ordinary differential equation asAn integrating factor on each interval avoiding is ; multiplication by a nonzero constant, including a sign, is immaterial. ThereforeThe partial fraction decomposition isIntegrating gives the general solutionThe constant is independent on each connected interval of definition. At the singular points the undivided differential equation forces and . The displayed family tends to these values, but its derivative has a logarithmic divergence there, so no member extends as a differentiable function through either singular point.
For the spatial mode with eigenvalue , the temporal ordinary differential equation isIts general solution isThe printed reference to “each solution ... in part (b)” refers to (b)(i). The zero spatial mode gives irrespective of and contributes no additional nonzero solution.[ref]
Discrete mathematics, continuous mathematics, and probability examination (2015) by University of Oxford. Printed page 7, Question 6(b)(ii), internal part reference
The characteristic equation of a constant-coefficient differential equation here is . Its homogeneous solution is . Because the forcing is already a homogeneous mode, the method of undetermined coefficients requires rather than .
Variation of parameters Created 2026-09-24 Updated 2026-10-18
Variation of parameters replaces the constants in a complementary solution by functions to construct a particular solution.
For the inhomogeneous linear differential equation , assume are continuous functions on an interval , and are linearly independent homogeneous solutions there. With and , variation of parameters constructs the particular solutionThe Wronskian has no zeros on , so these quotients are defined. For , normalize first: , not .[ref]
To derive the formula, write and impose . This auxiliary choice removes extra terms from the first derivative. Substitution into the inhomogeneous linear differential equation leaves . The two linear equations for have determinant , and Cramer's rule givesIntegrating from makes . Arbitrary integration constants contribute only homogeneous solutions; adding supplies the general solution.
For a worked example, use the same homogeneous solutions and the forcing term in . With and ,Consequently the particular solution selected by zero initial conditions isIts value and first derivative vanish at zero. Direct substitution confirms the forcing term: the differential operator annihilates the last two terms and maps to . The two integrals therefore build a response from known homogeneous solutions, even when the forcing term has no convenient elementary guess.