Thursday, May 5, 2016

calculus - To Find intpi0fracsin(x)1+sin(x) why the substitution of sin(x)=t Gives wrong answer?



To find out this basic integral
π0sin(x)1+sin(x)dx
I though of two methods :



Method 1:




I started by multiplying and dividing by 1sin(x) and then manipulating it one easily gets -
π0(sec(x)tan(x)(tan(x))2)dx
Which is quite easy to calculate and gives value of π2
I do not have any problem with this method , even though it took me some time to solve it.



Method 2 :
This was first thing I had thought of :



To let sin(x)=t and then when I tried to change the limits of integral I found that this substitution makes both upper and lower limits as t=0 which would give The value of above integral = 0 , according to the property
aaf(x)dx=0.




But the previous method gives answer of π2 then what is wrong with the method 2 . Is that substitution incorrect ? But how and why ?


Answer



The sine function is not an injective function over the interval (0,π). If you want to apply the substitution sin(x)z, you have to break the integration range in halves: this because a valid substitution is given by a diffeomorphism, not just a differentiable map.



In simple words, you are allowed to state that
baf(x)dx=g1(b)g1(a)f(g(s))g(s)ds
only if g is an injective function over the involved integration range, and sin(x) is not injective over (0,π). Otherwise you would get π0sin(x)dx=0 and that is clearly wrong.



A possible way to go is: since the sin(x) function is symmetric with respect to the point x=π/2,

π0sin(x)dx1+sin(x)=2π/20sin(x)dx1+sin(x)=210tdt(1+t)1t2.



That is correct, even if not the most efficient way for computing such integral.
A more efficient way is to set x=2arctant2 (aka Weierstrass substitution) to get
16+0tdt(4+t2)(2+t)2
that can be tackled through partial fraction decomposition.


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...