∫sinθ+cosθ√sin2θdθ
After simplifying I get,
1√2∫tanθ+1√tanθdθ
Substituting u=tanθ
1√2∫u+1√u(1+u2)du
Substituting t2=u
√2∫t2+1(1+t4)dt=√2∫1+1/t2(t−1/t)2+2dt
Substituting z=t−1/t
√2∫1z2+2dz=arctan(tanθ−1√2tanθ)+C=arcsin(2√sin2θ(sinθ−cosθ))2+C
Which is far from the right answer of arcsin(sinθ−cosθ)+C.
Where did I go wrong ?
Edit :
I would like to know where I am wrong rather than knowing how to solve the problem.
Answer
Your factor before arctan should be 1 rather than 1/2; except for that, your antiderivative is correct. The error is in the conversion to arcsin. If you use arctanα=arcsin(α/√α2+1), you will get the right answer.
Update: Now that the factor 1/2 has been edited away, things are fine up to that point. And actually the last step is almost OK too! (I dismissed it a bit too quickly before.)
The question is only meaningful on an interval where sin2θ≥0, say 0≤θ≤π/2, and the answer A=arcsin(sinθ−cosθ) is correct on that whole interval, as is easily verified by differentiation (and note also that |sinθ−cosθ|≤1 on that interval).
Now it seems that your expression B actually agrees with the expression A on the subinterval π/12≤θ≤5π/12, whereas B=const.−A on the intervals 0≤θ≤π/12 and ≤5π/12≤θ≤π/2. I haven't really bothered to analyze why this happens, I was just lazy and looked at plots of A±B. But surely (as Barry Cipra pointed out) it has something to do with the properties of the inverse trig functions; for example arcsin(sinx)=π−x if π/2≤x≤π.
No comments:
Post a Comment