solve the equation dy/dy + (tan t ) y = cos t
\[\frac{ dy }{ dt } + (\tan t)y=\cos t\] I have calculated an integrating factor of cost
...and from multiplying the original equation by cost I got cost dy/dt + sin t y = cos^2 t
What did you get as your integrating factor?
cos(t)
\[\frac{ d }{ dt }(ycos(t))=\cos^2(t)\]
for the integrating factor... \[e ^{\int\limits_{}^{}\frac{ \sin(t) }{ \cos(t) }dx} = e ^{\ln \cos(t)} = \cos (t) ?\]
yeah I got the same as you
sin over cos is otherwise known as tan
Then integrate both sides
But as you can't integrate cos^2(t) you need to get it in terms of cos(2t)
Do you know the integral of tangent x dx
\[\cos^2(t)=\frac{ 1 }{ 2 }(\cos(2t) +1)\]
cos2t = 2 cos^2t +1 so cos ^2 t = 1/2 ( cos 2t - 1)
* plus 1 not minus
\[y \cos(t)=\frac{ 1 }{ 2 }\int\limits_{}^{}(\cos(2t)+1)dt\]
Or just acknowledge tangent, simple
\[ycos(t)=\frac{ -1 }{ 4 }\sin(2t) +\frac{ 1 }{ 2 }t +C\]
\[y=\frac{ -\sin(2t) }{ 4\cos(t) }+\frac{ t }{ 2\cos(t) }+\frac{ C }{ \cos(t) }\]
apparently this can be simplified to y=(t+C)cos(t) according to the answer in the book??
Yeah, secant is your integrating factor
I thought it was cos(t)?
Oh yeah! We took cos(t) to be the intergrating factor where actually it is 1/cos(t) sorry for leading you down a rabbit hole!
oh, how is it 1/cos(t) ?
because if you integrate sin(t)/cos(t) its 1/cos(t) think about f`(x)/f(x) when you integrate it it goes to ln(1/f(x))
if we change the IF to \[\frac{ 1 }{ \cos(t) }\] we get that \[\frac{ 1 }{ \cos(t) }\frac{ dy }{ dy }+\frac{ \sin(t)y }{ \cos^2(t) }=1\] \[\frac{ d }{ dt }(\frac{ y }{ \cos(t) })=1\] \[\frac{ y }{ \cos(t) }=t+C\]
Join our real-time social learning platform and learn together with your friends!