3.6 Variation of Parameters
In this section,we will intoduce the gerneral method in principle at least, it can be applied
to any equation, and it requires no detailed assumptions about the form of the solution.
Method of Variation of Parameters
In gerneral, we consider
y′′+p(t)y′+q(t)y=g(t)
where p , q and g are continuous functions. We assume that we know
yh=c1y1(t)+c2y2(t)
In this idea, we replace the constant c1,c2 by u1(t),u2(t) resp.
y=u1(t)y1(t)+u2(t)y2(t)−−(a)
y′=u1′(t)y1(t)+u1(t)y1′(t)+u2′(t)y2(t)+u2(t)y2′(t)
Assume that u1′(t)y1(t)+u2′(t)y2(t)=0, we have
y′=u1(t)y1′(t)+u2(t)y2′(t)
y′′=u1′(t)y1′(t)+u1(t)y1′′(t)+u2′(t)y2′(t)+u2(t)y2′′(t)
Now, we substitutey,y′and y′′to the orginal equation. We find that
u1(t(y1′′(t)+p(t)y1′(t)+q(t)y1(t))+u2(t(y2′′(t)+p(t)y2′(t)+q(t)y2(t))+u1′(t)y1′(t)+u2′(t)y2′(t)=g(t)
where y1and y2are the homogeneous solutions ,hence the equation above can be reduced to
u1′(t)y1′(t)+u2′(t)y2′(t)=g(t)−−(b)
Since (a) and (b) forms a system of two linear algebraic equations for derivatives u1′(t) and u2′(t)of the unknown function. By Carmer's rule, we have:
u1′(t)=−W[y1,y2](t)y2(t)g(t),u2′(t)=−W[y1,y2](t)y1(t)g(t)
Integrate both of them, and substitude into (a) ,you can get the answer.