Section 3.9 Variation of Parameters
Consider the equationTheorem 3.9.1. Variation of Parameters.
If p,q, and g are continuous on an open interval I, and if the functions {y1,y2} form a fundamental set of solutions to the corresponding homogeneous equation
then a particular solution to
is given by
if the antiderivates exist, where t0 is any value in I. Then the general solution to the non-homogeneous solution is
Proof.
The proof can be found in any differential equations text, or online. The idea is this: Suppose
is the general solution to
Then the idea is to use the following guess:
for the non-homogeneous equation, and also make the extra assumption that
The validity of this assumption is difficult to justify without higher level mathematics, but one can at least take comfort in that we have an extra constraint to play with, so for computational convenience we select condition \((\star)\text{.}\)
Then take derivatives, simplify and put them back into the differential equation. This will always reduce to
and set LHS to RHS which is \(g(t)\) hence we get
Putting \((\star)\) and \((\star\star)\) together we have the two equations:
which boils to solving for \(u_{1}^{\prime}(t)\) and \(u_{2}^{\prime}(t)\) and getting
which by integrating we have
Example 3.9.2.
Find a particular solution to
Step1: First find \(y_{h}\) if possible. In this case \(y_{h}\)will be given by solving \(r^{2}+4=0\) so that \(r=\pm2i\) hence
Thus \(y_{1}(t)=\cos(2t)\) and \(y_{2}(t)=\sin\left(2t\right)\text{.}\)
Step2: Find the Wronskian:
Step3: Use our formula with \(g(t)=\frac{1}{\cos\left(2t\right)}\) and get
Now you can remember the antiderivative of \(\int\tan(2t)dt\) or use \(u\)-substitution with \(u=\cos(2t)\) and get \(du=-2\sin(2t)dt\) so that
hence
Example 3.9.3.
Find the general solution to
given that
forms a fundamental set of solution for the corresponding homogeneous differential equation.
Step 1: Since \(y_{1}(t)=t,\,\,\,y_{2}(t)=t^{-2}\) forms a fundamental set of solution, this means that the general solution for the homogeneous equation is
Step 2: Find the Wronskian:
Step 3: Rewrite the equation in the form \(y^{\prime\prime}+p(t)y^{\prime}+q(t)y=g(t)\) and hence
Use our formula with \(g(t)=\frac{6}{t}\) and get
Hence, the general solution is
Example 3.9.4.
Find the general solution to
given that
forms a fundamental set of solution for the corresponding homogeneous differential equation.
Step 1: Since \(y_{1}(t)=t,\,\,\,y_{2}(t)=t^{3}\) forms a fundamental set of solution, this means that the general solution for the homogeneous equation is
Step 2: Find the Wronskian:
Step 3: Rewrite the equation in the form \(y^{\prime\prime}+p(t)y^{\prime}+q(t)y=g(t)\) and hence
Use our formula with \(g(t)=8t\) and get
hence the general solution is