PDA

View Full Version : PLease help me in this integration problem


shaiqbashir
May31-05, 12:04 AM
PLease help me in solving the following integral!!


[tex]\int{\sqrt{\tanx}dx}[\tex]


please help me as soon as possible because i want to submit my assignment tomorrow

whozum
May31-05, 12:10 AM
\int{\sqrt{\tan x}dx}

I would imagine if you played around with it enough you could get it by parts. I cant see anything obvious though.

Oggy
May31-05, 01:05 AM
Or

\tan{x}=t \Rightarrow \frac{dx}{(\cos{x})^{2}}=dt, and remember \frac{1}{(\cos{x})^{2}}=1+(\tan{x})^{2}.

whozum
May31-05, 02:00 AM
x = arctan(u)

dx = \frac{du}{1+u^2}

\int \sqrt{ \tan x} \ dx \Rightarrow \int \frac{\sqrt{ u }}{1+u^2} \ du

Can you explain the discrepancy? I cant.

http://www.public.asu.edu/~hyousif/ma.JPG

dextercioby
May31-05, 02:30 AM
There's no discrepancy whasoever.The 2 integrals are different.If you were to invert the sub.which you started with,the 2 results would coincide.

Daniel.

whozum
May31-05, 03:01 AM
Oh, ofcourse. How could I forget that.

PhysicsinCalifornia
May31-05, 04:13 AM
PLease help me in solving the following integral!!


\int{\sqrt{\tanx}dx}


please help me as soon as possible because i want to submit my assignment tomorrow

Since this is an indeterminate integral, you have to find the anti derivative of the function f(x) = \sqrt{\tanx}

I would do what whozum did, which I like to call "u-substitution"

u = \tanx, so du = sec^2x dx and dx = \frac{du}{sec^2x}

Is this right Whozum?

Using what I got, dx = \cos^2x du
Can u work from here ?

whozum
May31-05, 04:26 AM
Yeah, you've derived the same result as I have, from there I think parts is the way to go.

shaiqbashir
May31-05, 12:32 PM
Thanks a lot for ur precious help!

friends! im still having a little problem in solving it. please can u people help me a little further to solve this integral.


thanks in advance!

Jameson
May31-05, 01:33 PM
I can't provide any real help to the answer of this integral, but I did do it online and I've attached the answer. It's long, but maybe it will provide some insight.

Jameson

Oggy
May31-05, 02:40 PM
Well it's not that difficult or ugly... After the substitution i pointed out it is simply:
\int{\sqrt{t}(t^{2}+1)dt}=...=\frac{2}{7}(\tan{x}) ^{\frac{7}{2}}+\frac{2}{3}(\tan{x})^{\frac{3}{2}}+ C

whozum
May31-05, 05:05 PM
Oggy the final integral is

\int \frac{\sqrt{ u }}{1+u^2} \ du

whozum
May31-05, 05:25 PM
\int \frac{\sqrt{ u }}{1+u^2} \ du

g = \sqrt{u} \ \ \ h = arctan(u)

dg = \frac{1}{2\sqrt{u}}\ du \ \ \ dh = \frac{1}{1+u^2} du

\int g dh = gh - \int h dg

\int \frac{\sqrt u}{1+u^2} du = \sqrt{u}\ arctan u - \int \frac{arctan(u)}{2\sqrt{u}} du

Oggy
Jun1-05, 01:42 AM
Yep u^2+1 should be in the denominator. Sorry

shaiqbashir
Jun1-05, 09:13 AM
Hi Guys

thank you very much for ur tremendous help. You people are really very helpful.

Now whozum!

i have tried to solve this integral, from the point where u have left it. but im getting a zero answer.

why is its so.

should i try to solve it further from the point where u have left it or should i stop it there. if further solution is required then what will be the right answer so that i should get it.

Please PLease help me! this question has now become a challenge for me.

Thanks in advance!

dextercioby
Jun1-05, 11:33 AM
Here's how it's done.

I=\int\sqrt{\tan x} \ dx (1)

Assuming the tangent is defined on an interval on which is positive,so we don't run into complex valued functions,one makes fisrt sub

\tan x=t^{2} (2)


dx=\frac{2t}{1+t^{4}} dt (3)

Then

I=2\int \frac{t^{2}}{1+t^{4}} \ dt (4)

Use the trick

1+t^{4}=\left(1+t^{2}\right)^{2}-\left(\sqrt{2}t\right)^{2} (5)

,so that (4) becomes

I=2\int \frac{t^{2}}{\left(1+\sqrt{2}t+t^{2}\right)\left(1-\sqrt{2}t+t^{2}\right)} \ dx (6)

Use partial fractions and maybe partial integrations...

Daniel.

GCT
Jun1-05, 04:30 PM
I=2\int \frac{t^{2}}{\left(1+\sqrt{2}t+t^{2}\right)\left(1 -\sqrt{2}t+t^{2}\right)} \ dx

Can someone check through Maple whether the answer to this is consistent with the original integral?

dextercioby
Jun1-05, 05:43 PM
If you're doubting the calculations exposed above and,incidentally,not shortcut,why won't you put a pencil in your precious hand and grab a piece of paper and do it...?

Sides,Maple is a known f***-up.:tongue2:

Daniel.

calculus1967
Jun1-05, 06:25 PM
I can't provide any real help to the answer of this integral, but I did do it online and I've attached the answer. It's long, but maybe it will provide some insight.Jameson
I don't think that's right; I think it should be:
\frac{-\sqrt{2}(\ln(\vert(\sqrt{2\tan (x)}+1)\cos (x) + \sin (x)\vert)-\ln(\vert(\sqrt{2\tan (x)}-1)\cos (x) - \sin(x)\vert)-2(\tan^{-1}(\sqrt{2\tan (x)}+1)+\tan^{-1}(\sqrt{2\tan(x)}-1)))}{4}

calculus1967
Jun1-05, 06:54 PM
I don't think
I=2\int \frac{t^{2}}{\left(1+\sqrt{2}t+t^{2}\right)\left(1 -\sqrt{2}t+t^{2}\right)} \ dx
is consistent with the original integral, because that would be -\cos^2 x

Jameson
Jun1-05, 07:03 PM
Well, that's what Wolfram's online integrator spat out. I couldn't defend it or not. It looks to be close to where this thread is leading with the partial fractions. Can you show the steps you used to arrive at your answer?

dextercioby
Jun1-05, 07:06 PM
What "-cos^2 x"...?

Daniel.

Jameson
Jun1-05, 07:09 PM
Actually now I'm fairly sure my answer is correct. Using Daniel's substitution and arriving at this...

2\int \frac{t^{2}}{1+t^{4}}\dt

I've attached the answer to this integral, and when you substitute

t = \sqrt{\tan x}}

back into this integral, you yield my original answer.

calculus1967
Jun1-05, 07:11 PM
"-cos^2 x" is -((\cos (x))^2)

Jameson
Jun1-05, 07:16 PM
I think Daniel was asking where did that come from?

calculus1967
Jun1-05, 07:17 PM
Hmmmm... your probably right.

Jameson
Jun1-05, 07:18 PM
So where did it come from? How did you arrive at your answer?

calculus1967
Jun1-05, 07:21 PM
Which answer?

calculus1967
Jun1-05, 07:25 PM
I am quite sure that
I=2\int \frac{t^{2}}{\left(1+\sqrt{2}t+t^{2}\right)\left(1 -\sqrt{2}t+t^{2}\right)} \ dx
is -\cos^2 x

I am much less positive about the other answer.

calculus1967
Jun1-05, 07:29 PM
It's posible that
\frac{-\sqrt{2}(\ln(\vert(\sqrt{2\tan (x)}+1)\cos (x) + \sin (x)\vert)-\ln(\vert(\sqrt{2\tan (x)}-1)\cos (x) - \sin(x)\vert)-2(\tan^{-1}(\sqrt{2\tan (x)}+1)+\tan^{-1}(\sqrt{2\tan(x)}-1)))}{4}
is equivelent to your answer.

Jameson
Jun1-05, 07:37 PM
Yes, it looks like it could be equilvalent.

GCT
Jun2-05, 10:51 AM
If you're doubting the calculations exposed above and,incidentally,not shortcut,why won't you put a pencil in your precious hand and grab a piece of paper and do it...?

Sides,Maple is a known f***-up.

Actually I was working on this problem myself and thought it could be done by partial fractions after arriving at

2\int \frac{t^{2}}{1+t^{4}}\dt , I wasn't aware of the trick to progress towards the next step though

Your final form seems fine, however, I'll need to do some research on what makes such a partial fraction capable of integration (just finished int. calc this spring). Perhaps when I find the time, I'll try solving it p&p, just thought it could be done through Maple or Matlab. Isn't this a table integral (the OP's integral)?

It would also be appropriate for the final answer to be posted conclusively, if your final form proves to be right, good for you...and all of us, if not (I would be surprised if it isn't), than let's move on to see exactly why.

dextercioby
Jun2-05, 11:10 AM
Yes.It's [1]:

\int \frac{x^{2}}{A+Bx^{4}} \ dx=\left\{\begin{array}{c} \frac{1}{4B\alpha\sqrt{2}}\left(\ln\frac{x^{2}-\alpha x\sqrt{2}+\alpha^{2}}{x^{2}+\alpha x\sqrt{2}+\alpha^{2}}+2\arctan\frac{\alpha x\sqrt{2}}{\alpha^{2}-x^{2}}\right) \ \mbox{if} \ AB>0\\ -\frac{1}{4B\alpha'}\left(\ln\frac{x+\alpha'}{x-\alpha'}-2\arctan\frac{x}{\alpha'}\right) \ \mbox{if} \ AB<0 \end{array}\right

,where

\alpha=\sqrt[4]{\frac{A}{B}}

\alpha'=\sqrt[4]{\frac{-A}{B}} .

Daniel.

-------------------------------------------------
[1]G & R,5-th edition,CD version,Academic Press,1996,formula 2.132,3)

GCT
Jun2-05, 11:47 AM
alright, I'll try the good o'l fashioned way. Somebody please check my work,

I=2 \int \frac{t^{2}~dt}{(1+ \sqrt{2}t+t^{2})(1- \sqrt{2}t +t^{2})}

Aside

\frac{t^{2}}{(1+ \sqrt{2}t+t^{2})(1- \sqrt{2}t +t^{2})} =

\frac{Ax+B}{1+ \sqrt{2}t +t^{2}}~+~ \frac{Cx+D}{1- \sqrt{2}t+t^{2}}

t^{2}=(Ax+B)(1- \sqrt{2}t +t^{2})+(Cx+D)(1+ \sqrt{2}t +t^{2})

Ax- \sqrt {2} Axt +Axt^{2} +B - \sqrt{2}Bt +Bt^{2} +Cx + \sqrt{2}Cxt +Cxt^{2} +D + \sqrt{2}Dt +Dt^{2}

=

(Ax+B+Cx+D)t^{2} + (- \sqrt{2} AX - sqrt{2}B + \sqrt{2} Cx + \sqrt{2} D)t +Ax+B+Cx+D



1)Ax+B+Cx+D=1
2)- \sqrt{2} Ax - \sqrt{2} B + \sqrt{2} Cx + \sqrt{2}D=0
3)Ax+B+Cx+D=0

It seems that we have a problem here between 1) and 3), it seems to be due to the similarities of the denominator in the original integral...I've never had to deal with a denominator with two different irreducible fractions.

If I did anything wrong, please point it out, or enlighten me toward the appropriate approach.

dextercioby
Jun2-05, 12:00 PM
Let's stick to the original "t",so the OP could make the connection with the integral which started the thread.

\frac{At+B}{1+t\sqrt{2}+t^2}+\frac{Ct+D}{1-t\sqrt{2}+t^2}\equiv \frac{t^{2}}{\mbox{product}}

Cross multiplying,one gets the system of equations

\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

which has the unique solution

\left\{\begin{array}{cccc} A=-\frac{\sqrt{2}}{4}, & B=0, & C=\frac{\sqrt{2}}{4}, & D=0 \end{array} \right\}

Can u carry on from here...?

Daniel.

whozum
Jun2-05, 12:02 PM
Can you show where GCT went wrong? I followed his procedure and can't spot an error.

dextercioby
Jun2-05, 12:05 PM
H mixed "t" and "x"...Not to mention that the system of equations should have been variable ('x' or 't' or whatever)-free.

Daniel.

whozum
Jun2-05, 12:07 PM
I spotted the x,t switch but I figured it was a notation issue. Thanks.

GCT
Jun2-05, 12:19 PM
Man...this is not my day

anyways

\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

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.

whozum
Jun2-05, 12:23 PM
B and D are zero as dex pointed out.

GCT
Jun2-05, 12:46 PM
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.

GCT
Jun2-05, 03:53 PM
here's my work

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

solving for the first component

\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


u=1+ \sqrt{2} t + t^{2},~du= \sqrt{2} + 2t~dt

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

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

adding them up, in nonsimplified form

(- \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

didn't know the absolute value latex, see any mistakes...let me know

whozum
Jun2-05, 04:17 PM
Can you elaborate on what you did in the first two latex expressions?

GCT
Jun2-05, 06:36 PM
well

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

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

Since

u=1+ \sqrt{2} t + t^{2},~du= \sqrt{2} + 2t~dt

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

- \sqrt{2} t/4~=~- \sqrt{2}/8)( \sqrt{2} +2t_) + (1/4)

whozum
Jun4-05, 07:24 PM
- \sqrt{2} t/4~=~- \sqrt{2}/8)( \sqrt{2} +2t_) + (1/4)

How did you find this expression? Is there a need to do so?

GCT
Jun5-05, 01:32 PM
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

1+ \sqrt{2}t +t^{2}

is \sqrt{2} + 2t

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

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

1) \frac{ \sqrt{2} + 2t}{1+ \sqrt{2}t +t^{2}}

we'll try resolving the numerator

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

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

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

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.