I was working on my practice final and came up with a solution to one of the problems. My math teacher just released the answers yesterday and he used a different method than I did and got a different answer. I have been unable to reach him and my final is tomorrow morning. Could someone please check my answer for the question below.
\[\int\limits_{}^{}\frac{ cosx +1}{ sinx +2}\]
just integrate?
I forgot the dx piece but that is the question I'm typing my solution now. Yes just integrate.
use u-substitution: u=sin(x)+2 where du=cos(x)dx We can then separate the numerator with the same denominator
I started by separating the integral in two like so \[\int\limits_{}^{}\frac{ cosx }{ sinx+2 }dx + \int\limits_{}^{}\frac{ 1 }{ sinx+2 }\]
yep that's right. then use u-substitution from what i mentioned
yes and then I used the trig substitution on the RHS integral of tan(x/2)=t
Which means \[sinx=\frac{ 2t }{ t^2 +1 }\] and \[dt=\frac{ 2 }{ t^2+1 }\]
ok, then what did you get?
so we have \[\int\limits_{}^{} \frac{1}{ \frac{ 2t }{ t^2+1 }+2 }\times \frac{ 2 }{ t^2+1}dx\]
it's getting messier, but go on :)
Compared to his method . . . This is quite clean. Mine takes a quarter of a page his takes close to two
wanna know how i'll do this?
I simplified bring the denominator of the LHS fraction to a common denominator and bringing up that common denominator to get \[\int\limits_{}^{}\frac{ t^2+1 }{ 2(t^2+t+1) }\times \frac{ 2 }{ t^2+1 }\]
sure if its easier then my method . . . just remember that the +1 in the numerator of the original question makes it very difficult to do a different trig substitution in my opinion
but but it is about to get a whole lot nicer as I am sure you can see now.
It comes down to this because the other integral was trivial.\[ \int\limits_{}^{}\frac{ 1 }{ \sin (x)+2 }dx \]
yes my teacher did the trig substitution before separating the integral and it made for a very long final answer.
I can post his final answer if you like.
Well, \[ \int\limits_{}^{}\frac{ 1 }{ \sin (x)+2 }dx = \int\limits_{}^{}\frac{ \sin^2(x)+\cos^2(x) }{ \sin (x)+2 }dx \]Then doing \(u=\sin(x)+2\)...
hmmm it might help a bit.
I think I may have tried this method and got back to the integral I was about to get when I finished cancelling above along with another another integral. I could be wrong though I probably used close to dozen sheets of paper and did not save all of them.
I am wondering now if separating them was a good idea...
wait no I did try this method but ran into the problem of pulling out a du. If you have an easier/faster solution without separating them I'm all for it. I only have 2 hours to write the test so the quicker I can get a difficult problem the better.
I started off by seperating them just to isolate the part that was giving me trouble with computing the integral (the +1 in the numerator).
oops sorry * separating
\[\int\limits_{}^{}\frac{ \cos(x)+1 }{ \sin(x)+2 }dx\]u=sin(x)+2 ---> du=cos(x)dx \[\int\limits_{}^{}\frac{ \cos(x)+1 }{ u }\frac{ du }{ \cos(x) }\]\[\int\limits_{}^{}\frac{ \cos(x) }{ u }\frac{ du }{ \cos(x) }+\int\limits_{}^{}\frac{ 1 }{ u }\frac{ du }{ \cos(x) }\]\[\int\limits\limits_{}^{}\frac{ \cos(x) }{ ucos(x) }du \rightarrow \int\limits\limits_{}^{}\frac{ 1 }{ u }du \rightarrow \ln(u)+(someconstant)\] lol, now i'm confused
Actually my math 115 teacher just sent me and email about five minutes ago saying my method was correct and I did not have an error. So I guess this is now a find the fastest way to do the question now but I should be fine.
@Lynncake My math teacher always tells us to get rid of every one of the old variable if we are substituting I think his reason for telling us this is the confusion you are feeling now.
yeah -_- that's why i hate integrating with trig identities in it O_O @whatisthequestion
Join our real-time social learning platform and learn together with your friends!