Wednesday, 16 July 2014

integration - Integrating the following intsqrttanx+1,dx


Question: Integrate the following, tanx+1dx.





Wolfram Alpha returns a non-elementary answer. Can someone please spot the mistake I have made here:



First consider this integral:



1(x+1)x+3dx=2tanh1x+32+c



Wolfram Alpha confirms that result.




Then, we have



I=tanx+1dx,tanx=u+2,dx=dusec2x=du(u+2)21=dx(u+3)(u+1)



So this transforms the integral to the first integral on this post, which we can evaluate. Then after evaluation and resubstitution I get:



I=2tanh1tanx+12+c



However differentiating this with Wolfram Alpha gives me a messy trigonometric expression which doesn't seem to be equal (I tested some values in both expressions and get different answers). I also estimated the area under the integral between some values and also obtained different answers using the closed form. Any ideas why?




EDIT: I used the wrong identity. Nevertheless, we can still use this method to integrate sqrt(tanhx integrals). E.g:
I=tanhx+1dx,tanhx=u+2,dx=dusech2x=du(u+2)21=dx(u+3)(u+1)



To obtain:
tanhx+1dx=I=2tanh1tanhx+12+c

No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...