Variation of Parameters

Consider the equation, where P,QP,Q are functions of xx alone, and which has 2 fundamental solutions y1,y2y_1,y_2:

y′′+Py′+Qy=f(x)y''+Py'+Qy=f(x)

The general solution of the equation is:

yg=c1y1+c2y2y_g=c_1y_1 + c_2y_2

Theorem

Now replacing c1,c2c_1,c_2 with u(x),v(x)u(x),v(x) will give yp=uy1+vy2y_p=uy_1 + vy_2, which can be found using the method of variation of parameters.

u=−∫y2fW(x) dx  ∧  v=∫y1fW(x) dxu=-\int{\frac{y_2f}{W(x)}\,\text{d}x} \;\land\; v=\int{\frac{y_1f}{W(x)}\,\text{d}x}
Written by November 2, 2026 1 min read
Was this helpful?