1. ## integral of \sqrt(\tan(x))dx

this one has a long answer:
$\int\sqrt{\tan{x}}dx$

this one has a long answer:
$\int\sqrt{\tan{x}}dx$

You may try this substitution:u=sqrt(tanx).

3. Look at here.

In the third one, I applied partial fractions.

I hope it helps.

4. thanks krizalid,
question:
how is $\int \frac{2u^2}{u^4+1}du$ being factored? coz i used quickmath and gave no results in partial fractions.
once again thanks so much for all the help

5. $u^4+1=\left(u^2+\sqrt2u+1\right)\left(u^2-\sqrt2u+1\right)$

Then set $\frac{2u^2}{u^4+1}=\frac{ax+b}{u^2+\sqrt2u+1}+\fra c{cx+d}{u^2-\sqrt2u+1}$

This is a little hard.

how is $\int \frac{2u^2}{u^4+1}du$ being factored?
At this step you may use the reciprocal subsititution:u=1/t. This may make the integral easier.

thanks krizalid,
question:
$\int \frac{2u^2}{u^4+1}du$
Maple gives the following result:

8. That's the same result as mine

9. After the brute force applied on the problem, there's another way to solve this (elegant by the way).

Suppose it remains to compute

$\int\frac{x^2}{x^4+1}\,dx$

Let's use $(x^2+1)+(x^2-1)=2x^2$

Next, we split the integral in two pieces and in each one of them we divide by $x^2$

After some simple calculations we happily get that

$\int\frac{x^2}{x^4+1}\,dx=\frac12\left(\frac1{\sqr t2}\arctan\frac{x-x^{-1}}{\sqrt2}+\frac1{2\sqrt2}\ln\left|\frac{x+x^{-1}-\sqrt2}{x+x^{-1}+\sqrt2}\right|\right)+k$