Why the solution splits — CF + PI
The general solution of a linear ODE is one particular solution plus the full solution of the homogeneous equation.
The structure. A second-order linear ODE with constant coefficients has the form Its general solution always splits into two pieces:
What each piece does.
- The complementary function (CF) is the general solution of the homogeneous equation . It carries the two arbitrary constants and . (Solving the auxiliary equation for — real, repeated or complex roots — is covered in the sibling subtopic; here we simply quote it.)
- The particular integral (PI) is any single function that satisfies the full equation with on the right. It has no arbitrary constants.
Why adding them works. Substitute into the left-hand side. Because the operator is linear, it distributes: So satisfies the full equation, and because holds two free constants, this captures every solution.
Cambridge tip. A PI is any solution that works — you do not need the "simplest" one, but the standard trial forms give you the simplest automatically, so use them.
- General solution (CF carries ; PI carries none).
- CF solves ; PI solves the full equation with .
- Linearity is why adding the two pieces reproduces the right-hand side.