Integrating $\int \frac{dx}{\sqrt{x} (1 + x^2)}$ I'm trying to find the antiderivative of
$$ I = \int \frac{dx}{\sqrt{x} (1 + x^2)}$$
but I've been stuck on it for a while. (I came across it in this Youtube video).
I know the antiderivative of $\frac{1}{1 + x^2}$ is $\arctan x$, but I'm not sure that's relevant due to the extra factor. I also know that the antiderivative of $\frac{1}{\sqrt{x}}$ is $2x^{1/2}$, but again, I'm not sure that's relevant.
I can re-write the expression in a few alternate forms, but I don't know how to proceed from these alternate forms either.
$$\begin{aligned} 
I &= \int \frac{dx}{\sqrt{x} + x^2 \sqrt{x}} \\
I &= \int \left[\frac{1}{\sqrt{x}} \cdot \frac{1}{1 + x^2} \right] dx
\end{aligned}$$
I learned how to integrate rational functions, but only when the numerator could be re-stated as different linear terms, and it doesn't seem to be possible here.
I also tried integrating by substitution and that didn't seem to be going anywhere either.
I think I must be missing something. Can anyone help?

Update 1: Multiple answers and comments below suggested using substitution, which I had actually done in my notes. I managed to obtain:
$$ 2 \int \frac{du}{(1 + t^4)}$$
But it appears my problem was the partial fraction decomposition step. Maybe I'm not applying it correctly.
Someone suggested using the fact that $1 + t^4 = (t^2 - \sqrt{2}t + 1)(t^2 + \sqrt{2}t + 1)$.
In that case, if I'm not mistaken, I must find values $A$ and $B$ such that
$$ \frac{2}{(t^2 - \sqrt{2}t + 1)(t^2 + \sqrt{2}t + 1)} = \frac{A}{(t^2 - \sqrt{2}t + 1)} + \frac{B}{(t^2 + \sqrt{2}t + 1)}$$
and it must be the case that
$$ 2 = t^2(A+B) + \sqrt{2} t (A-B) + (A+B) $$
But when I've done partial fraction decomposition in the past, the left-hand-side in the last line would have had three terms of matching degrees, which is not the case this time.
Am I doing something wrong?
I've also studied the more detailed answer provided below, but wasn't able to follow it all the way. It might be using techniques I'm not familiar with yet.

 A: Let $x=t^2$ and write $$I=2 \int \frac{dt}{1+t^4}=\int \frac{(1+t^2)+(1-t^2)}{1+t^4}dt =\int \frac{(1+1/t^2)dt}{t^2+1/t^2}+ \int  \frac{(1-1/t^2)dt}{t^2+1/t^2}~~~~(1)$$
$$\Rightarrow I= \int \frac{(1+1/t^2)dt}{(t-1/t)^2+2} + \frac{(1-1/t^2)dt}{(t+1/t)^2-2} ~~~(2)$$
Use $u=t-1/t$ and $v=t+1/t$ in the first and second integrals, respectively. Then 
$(1-1/t^2)dt=du$, $(1+1/t^2)dt=dv$   and 
$$I=\int \frac{du}{u^2+2} +\int \frac{dv}{v^2-2}=
  \frac{1}{\sqrt{2}} \tan^{-1} \frac{u}{\sqrt{2}} + \frac{1}{2\sqrt{2}} \ln \frac{v-\sqrt{2}}{v+\sqrt{2}}=$$ $$ \frac{1}{\sqrt{2}} \tan^{-1}\frac{(t-1/t)}{\sqrt{2}}+\frac{1}{2 \sqrt{2}} \ln \frac{t+1/t-\sqrt{2}}{t+1/t+\sqrt{2}}, t=\sqrt{x}.$$
A: If, as suggested in comments, to use $$t=\sqrt x \implies x=t^2 \implies dx=2t\,dt$$ you should end with 
$$I = \int \frac{dx}{\sqrt{x} (1 + x^2)}=2\int\frac{dt}{1+t^4}$$ and use the fact that
$$t^4+1=\left(t^2-\sqrt{2} t+1\right) \left(t^2+\sqrt{2} t+1\right)$$ Now, partial fraction decomposition as Parcly Taxel wrote while I was typing.
A: Under $x=t^2$, one has
\begin{eqnarray}
I &=& \int \frac{dx}{\sqrt{x} (1 + x^2)}=2\int\frac{dt}{1+t^4}\\
&=&2\int\frac{1}{t^2+\frac{1}{t^2}}\frac{dt}{t^2}=\int\frac{1+\frac{1}{t^2}}{t^2+\frac{1}{t^2}}dt+\int\frac{1-\frac{1}{t^2}}{t^2+\frac{1}{t^2}}dt\\
&=&\int\frac{1}{(t-\frac{1}{t})^2+2}d(t-\frac1t)+\int\frac{1}{(t+\frac{1}{t})^2-2}d(t+\frac1t)\\
&=&\frac1{\sqrt2}\arctan(\frac{t-\frac1t}{\sqrt2})+\frac1{\sqrt2}\text{arctanh}(\frac{t+\frac1t}{\sqrt2})\\
&=&\frac1{\sqrt2}\arctan(\frac{\sqrt x-\frac1{\sqrt x}}{\sqrt2})-\frac1{\sqrt2}\text{arctanh}(\frac{\sqrt x+\frac1{\sqrt x}}{\sqrt2}).
\end{eqnarray}
A: Let's try the substitution in comments:
$$\int\frac1{\sqrt x(1+x^2)}\,dx=2\int\frac1{1+u^4}\,du$$
The $2$ appears because $\frac{du}{dx}=\frac1{2\sqrt x}$. Now a rational function is left, which can be integrated via partial fraction decomposition.
