Integrand size = 28, antiderivative size = 29 \[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=\log \left (-2+x+x^2+\sqrt {-4-4 x-3 x^2+2 x^3+x^4}\right ) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.34, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {1694, 12, 1121, 635, 212} \[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=-\text {arctanh}\left (\frac {9-4 \left (x+\frac {1}{2}\right )^2}{\sqrt {16 \left (x+\frac {1}{2}\right )^4-72 \left (x+\frac {1}{2}\right )^2-47}}\right ) \]
[In]
[Out]
Rule 12
Rule 212
Rule 635
Rule 1121
Rule 1694
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {8 x}{\sqrt {-47-72 x^2+16 x^4}} \, dx,x,\frac {1}{2}+x\right ) \\ & = 8 \text {Subst}\left (\int \frac {x}{\sqrt {-47-72 x^2+16 x^4}} \, dx,x,\frac {1}{2}+x\right ) \\ & = 4 \text {Subst}\left (\int \frac {1}{\sqrt {-47-72 x+16 x^2}} \, dx,x,\left (\frac {1}{2}+x\right )^2\right ) \\ & = 8 \text {Subst}\left (\int \frac {1}{64-x^2} \, dx,x,\frac {32 \left (-2+x+x^2\right )}{\sqrt {-47-72 \left (\frac {1}{2}+x\right )^2+(1+2 x)^4}}\right ) \\ & = -\text {arctanh}\left (\frac {4 \left (2-x-x^2\right )}{\sqrt {-47-18 (1+2 x)^2+(1+2 x)^4}}\right ) \\ \end{align*}
Time = 0.07 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.21 \[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=-\log \left (2-x-x^2+\sqrt {-4-4 x-3 x^2+2 x^3+x^4}\right ) \]
[In]
[Out]
Time = 3.58 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.97
method | result | size |
default | \(\ln \left (-2+x +x^{2}+\sqrt {x^{4}+2 x^{3}-3 x^{2}-4 x -4}\right )\) | \(28\) |
pseudoelliptic | \(\ln \left (-2+x +x^{2}+\sqrt {x^{4}+2 x^{3}-3 x^{2}-4 x -4}\right )\) | \(28\) |
trager | \(-\ln \left (-x^{2}+\sqrt {x^{4}+2 x^{3}-3 x^{2}-4 x -4}-x +2\right )\) | \(34\) |
elliptic | \(\text {Expression too large to display}\) | \(1382\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.93 \[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=\log \left (x^{2} + x + \sqrt {x^{4} + 2 \, x^{3} - 3 \, x^{2} - 4 \, x - 4} - 2\right ) \]
[In]
[Out]
\[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=\int \frac {2 x + 1}{\sqrt {x^{4} + 2 x^{3} - 3 x^{2} - 4 x - 4}}\, dx \]
[In]
[Out]
\[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=\int { \frac {2 \, x + 1}{\sqrt {x^{4} + 2 \, x^{3} - 3 \, x^{2} - 4 \, x - 4}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 61 vs. \(2 (27) = 54\).
Time = 0.29 (sec) , antiderivative size = 61, normalized size of antiderivative = 2.10 \[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=\frac {1}{2} \, \sqrt {{\left (x^{2} + x\right )}^{2} - 4 \, x^{2} - 4 \, x - 4} {\left (x^{2} + x - 2\right )} + 4 \, \log \left ({\left | -x^{2} - x + \sqrt {{\left (x^{2} + x\right )}^{2} - 4 \, x^{2} - 4 \, x - 4} + 2 \right |}\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {1+2 x}{\sqrt {-4-4 x-3 x^2+2 x^3+x^4}} \, dx=\int \frac {2\,x+1}{\sqrt {x^4+2\,x^3-3\,x^2-4\,x-4}} \,d x \]
[In]
[Out]