Optimal. Leaf size=53 \[ -\log \left (-x^4-3 x^3-5 x^2+\left (x^2+2 x+2\right ) \sqrt {x^4+2 x^3+3 x^2-2 x+1}-2 x\right ) \]
________________________________________________________________________________________
Rubi [F] time = 0.14, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {1+4 x}{\sqrt {1-2 x+3 x^2+2 x^3+x^4}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {1+4 x}{\sqrt {1-2 x+3 x^2+2 x^3+x^4}} \, dx &=\int \left (\frac {1}{\sqrt {1-2 x+3 x^2+2 x^3+x^4}}+\frac {4 x}{\sqrt {1-2 x+3 x^2+2 x^3+x^4}}\right ) \, dx\\ &=4 \int \frac {x}{\sqrt {1-2 x+3 x^2+2 x^3+x^4}} \, dx+\int \frac {1}{\sqrt {1-2 x+3 x^2+2 x^3+x^4}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 1.39, size = 484, normalized size = 9.13 \begin {gather*} \frac {2 \left (-4 i-\sqrt {1-4 i}-\sqrt {1+4 i}\right ) \left (x+\frac {1}{2} \left ((1-2 i)+\sqrt {1-4 i}\right )\right )^2 \sqrt {\frac {\left (-4 i+\sqrt {1-4 i}-\sqrt {1+4 i}\right ) \left (-2 x+\sqrt {1+4 i}-(1+2 i)\right )}{\sqrt {1+4 i} \left (2 x+\sqrt {1-4 i}+(1-2 i)\right )}} \sqrt {\frac {\sqrt {1-4 i} \left (-4 i+\sqrt {1-4 i}-\sqrt {1+4 i}\right ) \left (-2 x+\sqrt {1-4 i}-(1-2 i)\right ) \left (2 x+\sqrt {1+4 i}+(1+2 i)\right )}{\left (4 i+\sqrt {1-4 i}+\sqrt {1+4 i}\right )^2 \left (2 x+\sqrt {1-4 i}+(1-2 i)\right )^2}} \left (\left ((1-4 i)+2 \sqrt {1-4 i}\right ) F\left (\sin ^{-1}\left (\sqrt {2} \sqrt {\frac {\sqrt {1-4 i} \left (2 x+\sqrt {1+4 i}+(1+2 i)\right )}{\left (4 i+\sqrt {1-4 i}+\sqrt {1+4 i}\right ) \left (2 x+\sqrt {1-4 i}+(1-2 i)\right )}}\right )|\frac {1}{2}+\frac {9}{2 \sqrt {17}}\right )+2 \left (4 i-\sqrt {1-4 i}+\sqrt {1+4 i}\right ) \Pi \left (\frac {4 i+\sqrt {1-4 i}+\sqrt {1+4 i}}{2 \sqrt {1-4 i}};\sin ^{-1}\left (\sqrt {2} \sqrt {\frac {\sqrt {1-4 i} \left (2 x+\sqrt {1+4 i}+(1+2 i)\right )}{\left (4 i+\sqrt {1-4 i}+\sqrt {1+4 i}\right ) \left (2 x+\sqrt {1-4 i}+(1-2 i)\right )}}\right )|\frac {1}{2}+\frac {9}{2 \sqrt {17}}\right )\right )}{\sqrt {1-4 i} \left (-4 i+\sqrt {1-4 i}-\sqrt {1+4 i}\right ) \sqrt {x^4+2 x^3+3 x^2-2 x+1}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 4.82, size = 53, normalized size = 1.00 \begin {gather*} -\log \left (-2 x-5 x^2-3 x^3-x^4+\left (2+2 x+x^2\right ) \sqrt {1-2 x+3 x^2+2 x^3+x^4}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.51, size = 47, normalized size = 0.89 \begin {gather*} \log \left (x^{4} + 3 \, x^{3} + 5 \, x^{2} + \sqrt {x^{4} + 2 \, x^{3} + 3 \, x^{2} - 2 \, x + 1} {\left (x^{2} + 2 \, x + 2\right )} + 2 \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {4 \, x + 1}{\sqrt {x^{4} + 2 \, x^{3} + 3 \, x^{2} - 2 \, x + 1}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.29, size = 92, normalized size = 1.74
method | result | size |
trager | \(-\ln \left (-x^{4}+\sqrt {x^{4}+2 x^{3}+3 x^{2}-2 x +1}\, x^{2}-3 x^{3}+2 \sqrt {x^{4}+2 x^{3}+3 x^{2}-2 x +1}\, x -5 x^{2}+2 \sqrt {x^{4}+2 x^{3}+3 x^{2}-2 x +1}-2 x \right )\) | \(92\) |
default | \(\text {Expression too large to display}\) | \(2700\) |
elliptic | \(\text {Expression too large to display}\) | \(2700\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {4 \, x + 1}{\sqrt {x^{4} + 2 \, x^{3} + 3 \, x^{2} - 2 \, x + 1}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {4\,x+1}{\sqrt {x^4+2\,x^3+3\,x^2-2\,x+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {4 x + 1}{\sqrt {x^{4} + 2 x^{3} + 3 x^{2} - 2 x + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________