Variation of parameters
For the equation $$y'' + p(x)y' + q(x) y = f(x),$$ given its two linearly independent complimentary functions $y_1(x), y_2(x)$, a particular integral is given by $$ y_p(x) = y_2(x) \int^x \frac{y_1(\xi) f(\xi)}{W(\xi)}d\xi - y_1(x) \int^x \frac{y_2(\xi) f(\xi)}{W(\xi)} d\xi. $$