[SOLVED] variation of parameters
Could someone show me where I am going wrong? I need to solve this using varation of parameters.
)
First I found the solution to the homogeneous equation:


+c_{2}cos(x))
Next, (note that y' is hard to see in math form)**
+u_{2}sin(x))
-u_{1}sin(x)+u_{2}'sin(x)+u_{2}cos(x))
Next I set this to 0:
+u_{2}'sin(x)=0)
This changes
to:
+u_{2}cos(x))
-u_{1}cos(x)+u_{2}'cos(x)-u_{2}sin(x))
Next I plugged
into the Origioal DE for
respectively.
My result is:
+u'_{2}cos(x)=cos(x))
Second equation from before:
+u'_{2}sin(x)=0)
Solving these 2 equation for
and
I get:
cos(x))
)
Integrating:
}{2})
cos(x))
Using the formula:

+c_{2}cos(x)+\dfrac{cos^{2}(x)}{2}+\d frac{x}{2}+\dfrac{1}{2}sin(x)cos(x))
The solution should be: +c_{2}cos(x) +\dfrac{1}{2}x sin(x))
This is according to wolfram alpha:http://www.wolframalpha.com/input/?i...y%3Dcos%28x%29