How Do You Integrate the Square Root of Tangent?

  • Thread starter shaiqbashir
  • Start date
  • Tags
    Integration
In summary, Daniel is trying to solve an indeterminate integral and is having trouble. He recommends u-substitution and then using Wolfram Alpha to check whether the answer is consistent with the original integral.
  • #36
Can you show where GCT went wrong? I followed his procedure and can't spot an error.
 
Physics news on Phys.org
  • #37
H mixed "t" and "x"...Not to mention that the system of equations should have been variable ('x' or 't' or whatever)-free.

Daniel.
 
  • #38
I spotted the x,t switch but I figured it was a notation issue. Thanks.
 
  • #39
Man...this is not my day

anyways

[tex] \left\{\begin{array}{c} A+C=0\\B+D+C\sqrt{2}-A\sqrt{2}=1\\ A+C+D\sqrt{2}-B\sqrt{2}=0\\B+D=0 \end{array}\right [/tex]

the third and last equation seems to contradict each other, substitute A+C=0 into the third, indicates B=D, the fourth equation indicates B=-D.
 
  • #40
B and D are zero as dex pointed out.
 
  • #41
okay, I worked it out and the solution seems to be similar to #33, an innocent looking integral...turned out to be very nasty in the end.
 
  • #42
here's my work

[tex]I=2 \int \frac{- \sqrt{2} t/4}{1+ \sqrt{2}t +t^{2}}~+~ \frac{ \sqrt{2} t/4}{1- \sqrt{2}t +t^{2}}~dt [/tex]

solving for the first component

[tex] \int \frac{(- \sqrt{2}/8)( \sqrt{2} +2t_)}{1+ \sqrt{2}t +t^{2}}~dt~+
(1/4) \int \frac{1}{1+ \sqrt{2} t +t^{2}}~dt [/tex]


[tex]u=1+ \sqrt{2} t + t^{2},~du= \sqrt{2} + 2t~dt [/tex]

[tex] (- \sqrt{2} / 8) ln(1+ \sqrt{2} t + t^{2}) + ( \sqrt{2} /4) arctan( \sqrt{2} + 1)) [/tex]

the second component turns out to be
[tex]( \sqrt{2} / 8) ln (1- \sqrt{2} t + t^{2}) + ( \sqrt{2} /4)
arctan( \sqrt{2} - 1) [/tex]

adding them up, in nonsimplified form

[tex] (- \sqrt{2} / 4) {ln ( \frac {1- \sqrt{2} \sqrt{tanx} + tanx}{1+ \sqrt{2} \sqrt {tanx} + tanx})} + ( \sqrt{2} /2) {(arctan( \sqrt{2} + 1) + arctan( \sqrt{2} - 1)} +C[/tex]

didn't know the absolute value latex, see any mistakes...let me know
 
  • #43
Can you elaborate on what you did in the first two latex expressions?
 
  • #44
well

[tex] \frac{- \sqrt{2} t/4}{1+ \sqrt{2}t +t^{2}} [/tex]=

[tex] \frac{(- \sqrt{2}/8)( \sqrt{2} +2t_) + (1/4)}{1+ \sqrt{2}t +t^{2}}~dt~ [/tex]

Since

[tex]u=1+ \sqrt{2} t + t^{2},~du= \sqrt{2} + 2t~dt [/tex]

you'll first need to find this derivative and sort of work backwards. note that

[tex]- \sqrt{2} t/4~=~- \sqrt{2}/8)( \sqrt{2} +2t_) + (1/4)[/tex]
 
  • #45
[tex]- \sqrt{2} t/4~=~- \sqrt{2}/8)( \sqrt{2} +2t_) + (1/4)[/tex]

How did you find this expression? Is there a need to do so?
 
  • #46
It somewhat of a trick I learned in integral calculus this past semester. You'll notice that one of the fractions contains a derivative of the denominator,

First we note that the derivative of

[tex]1+ \sqrt{2}t +t^{2}[/tex]

is [tex] \sqrt{2} + 2t [/tex]

We'll try to arrive at form where we can separate the fraction into two simpler fractions.

[tex] \frac{(- \sqrt{2} t/4)}{ 1+ \sqrt{2}t +t^{2}} [/tex]

1)[tex] \frac{ \sqrt{2} + 2t}{1+ \sqrt{2}t +t^{2}} [/tex]

we'll try resolving the numerator

2)[tex] \frac{( \sqrt{2}/8)( \sqrt{2} +2t)}{1+ \sqrt{2}t +t^{2}}[/tex]

we now have an equivalent "t" coefficient, we'll need to resolve the nonvariable component, first find the nonvariable component turns out to be [itex] (- \sqrt{2}/8)*( \sqrt{2})~=~-1/4 [/itex] thus we'll need to add [itex]1/4[/itex]

3)[tex] \frac{(- \sqrt{2}/8)( \sqrt{2} +2t_) + (1/4)}{1+ \sqrt{2}t +t^{2}}~dt~ [/tex]

which is equivalent to the original form...now you can separate it into two simpler components. Integrate the first using substitution and the second by converting the denominator into a actangent derivative.
 

Similar threads

Replies
1
Views
1K
Replies
6
Views
550
Replies
3
Views
2K
Replies
8
Views
2K
Replies
22
Views
2K
Replies
6
Views
2K
Back
Top