Integrand size = 13, antiderivative size = 35 \[ \int \frac {1+x^4}{1+x^6} \, dx=-\frac {1}{3} \arctan \left (\sqrt {3}-2 x\right )+\frac {2 \arctan (x)}{3}+\frac {1}{3} \arctan \left (\sqrt {3}+2 x\right ) \]
[Out]
Time = 0.37 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 22, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.615, Rules used = {1890, 215, 648, 632, 210, 642, 209, 301} \[ \int \frac {1+x^4}{1+x^6} \, dx=-\frac {1}{3} \arctan \left (\sqrt {3}-2 x\right )+\frac {2 \arctan (x)}{3}+\frac {1}{3} \arctan \left (2 x+\sqrt {3}\right ) \]
[In]
[Out]
Rule 209
Rule 210
Rule 215
Rule 301
Rule 632
Rule 642
Rule 648
Rule 1890
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {1}{1+x^6}+\frac {x^4}{1+x^6}\right ) \, dx \\ & = \int \frac {1}{1+x^6} \, dx+\int \frac {x^4}{1+x^6} \, dx \\ & = \frac {1}{3} \int \frac {1-\frac {\sqrt {3} x}{2}}{1-\sqrt {3} x+x^2} \, dx+\frac {1}{3} \int \frac {-\frac {1}{2}+\frac {\sqrt {3} x}{2}}{1-\sqrt {3} x+x^2} \, dx+\frac {1}{3} \int \frac {-\frac {1}{2}-\frac {\sqrt {3} x}{2}}{1+\sqrt {3} x+x^2} \, dx+\frac {1}{3} \int \frac {1+\frac {\sqrt {3} x}{2}}{1+\sqrt {3} x+x^2} \, dx+\frac {2}{3} \int \frac {1}{1+x^2} \, dx \\ & = \frac {2 \arctan (x)}{3}+2 \left (\frac {1}{12} \int \frac {1}{1-\sqrt {3} x+x^2} \, dx\right )+2 \left (\frac {1}{12} \int \frac {1}{1+\sqrt {3} x+x^2} \, dx\right ) \\ & = \frac {2 \arctan (x)}{3}-2 \left (\frac {1}{6} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,-\sqrt {3}+2 x\right )\right )-2 \left (\frac {1}{6} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,\sqrt {3}+2 x\right )\right ) \\ & = -\frac {1}{3} \arctan \left (\sqrt {3}-2 x\right )+\frac {2 \arctan (x)}{3}+\frac {1}{3} \arctan \left (\sqrt {3}+2 x\right ) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.60 \[ \int \frac {1+x^4}{1+x^6} \, dx=\frac {2 \arctan (x)}{3}-\frac {1}{3} \arctan \left (\frac {x}{-1+x^2}\right ) \]
[In]
[Out]
Time = 0.24 (sec) , antiderivative size = 10, normalized size of antiderivative = 0.29
method | result | size |
risch | \(\arctan \left (x \right )+\frac {\arctan \left (x^{3}\right )}{3}\) | \(10\) |
default | \(\frac {2 \arctan \left (x \right )}{3}+\frac {\arctan \left (2 x -\sqrt {3}\right )}{3}+\frac {\arctan \left (2 x +\sqrt {3}\right )}{3}\) | \(28\) |
parallelrisch | \(\frac {i \ln \left (x +i\right )}{3}-\frac {i \ln \left (x -i\right )}{3}+\frac {i \ln \left (x^{2}+i x -1\right )}{6}-\frac {i \ln \left (x^{2}-i x -1\right )}{6}\) | \(44\) |
meijerg | \(\frac {x^{5} \sqrt {3}\, \ln \left (1-\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}+\left (x^{6}\right )^{\frac {1}{3}}\right )}{12 \left (x^{6}\right )^{\frac {5}{6}}}+\frac {x^{5} \arctan \left (\frac {\left (x^{6}\right )^{\frac {1}{6}}}{2-\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}\right )}{6 \left (x^{6}\right )^{\frac {5}{6}}}+\frac {x^{5} \arctan \left (\left (x^{6}\right )^{\frac {1}{6}}\right )}{3 \left (x^{6}\right )^{\frac {5}{6}}}-\frac {x^{5} \sqrt {3}\, \ln \left (1+\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}+\left (x^{6}\right )^{\frac {1}{3}}\right )}{12 \left (x^{6}\right )^{\frac {5}{6}}}+\frac {x^{5} \arctan \left (\frac {\left (x^{6}\right )^{\frac {1}{6}}}{2+\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}\right )}{6 \left (x^{6}\right )^{\frac {5}{6}}}-\frac {x \sqrt {3}\, \ln \left (1-\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}+\left (x^{6}\right )^{\frac {1}{3}}\right )}{12 \left (x^{6}\right )^{\frac {1}{6}}}+\frac {x \arctan \left (\frac {\left (x^{6}\right )^{\frac {1}{6}}}{2-\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}\right )}{6 \left (x^{6}\right )^{\frac {1}{6}}}+\frac {x \arctan \left (\left (x^{6}\right )^{\frac {1}{6}}\right )}{3 \left (x^{6}\right )^{\frac {1}{6}}}+\frac {x \sqrt {3}\, \ln \left (1+\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}+\left (x^{6}\right )^{\frac {1}{3}}\right )}{12 \left (x^{6}\right )^{\frac {1}{6}}}+\frac {x \arctan \left (\frac {\left (x^{6}\right )^{\frac {1}{6}}}{2+\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}\right )}{6 \left (x^{6}\right )^{\frac {1}{6}}}\) | \(274\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 9, normalized size of antiderivative = 0.26 \[ \int \frac {1+x^4}{1+x^6} \, dx=\frac {1}{3} \, \arctan \left (x^{3}\right ) + \arctan \left (x\right ) \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 8, normalized size of antiderivative = 0.23 \[ \int \frac {1+x^4}{1+x^6} \, dx=\operatorname {atan}{\left (x \right )} + \frac {\operatorname {atan}{\left (x^{3} \right )}}{3} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.77 \[ \int \frac {1+x^4}{1+x^6} \, dx=\frac {1}{3} \, \arctan \left (2 \, x + \sqrt {3}\right ) + \frac {1}{3} \, \arctan \left (2 \, x - \sqrt {3}\right ) + \frac {2}{3} \, \arctan \left (x\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.77 \[ \int \frac {1+x^4}{1+x^6} \, dx=\frac {1}{3} \, \arctan \left (2 \, x + \sqrt {3}\right ) + \frac {1}{3} \, \arctan \left (2 \, x - \sqrt {3}\right ) + \frac {2}{3} \, \arctan \left (x\right ) \]
[In]
[Out]
Time = 0.03 (sec) , antiderivative size = 9, normalized size of antiderivative = 0.26 \[ \int \frac {1+x^4}{1+x^6} \, dx=\frac {\mathrm {atan}\left (x^3\right )}{3}+\mathrm {atan}\left (x\right ) \]
[In]
[Out]