Optimal. Leaf size=78 \[ 2 \sqrt {11} \tan ^{-1}\left (\frac {7-40 x}{5 \sqrt {11}}\right )-2 \sqrt {11} \tan ^{-1}\left (\frac {57+30 x-40 x^2+800 x^3}{6 \sqrt {11}}\right )+2 \log \left (9+24 x-12 x^2+80 x^3+320 x^4\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2125, 2115}
\begin {gather*} -2 \sqrt {11} \text {ArcTan}\left (\frac {800 x^3-40 x^2+30 x+57}{6 \sqrt {11}}\right )+2 \sqrt {11} \text {ArcTan}\left (\frac {7-40 x}{5 \sqrt {11}}\right )+2 \log \left (320 x^4+80 x^3-12 x^2+24 x+9\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2115
Rule 2125
Rubi steps
\begin {align*} \int -\frac {84+576 x+400 x^2-2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx &=2 \log \left (9+24 x-12 x^2+80 x^3+320 x^4\right )-\frac {\int \frac {168960+675840 x+1126400 x^2}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx}{1280}\\ &=2 \sqrt {11} \tan ^{-1}\left (\frac {7-40 x}{5 \sqrt {11}}\right )-2 \sqrt {11} \tan ^{-1}\left (\frac {57+30 x-40 x^2+800 x^3}{6 \sqrt {11}}\right )+2 \log \left (9+24 x-12 x^2+80 x^3+320 x^4\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 0.01, size = 99, normalized size = 1.27 \begin {gather*} \frac {1}{2} \text {RootSum}\left [9+24 \text {$\#$1}-12 \text {$\#$1}^2+80 \text {$\#$1}^3+320 \text {$\#$1}^4\&,\frac {-21 \log (x-\text {$\#$1})-144 \log (x-\text {$\#$1}) \text {$\#$1}-100 \log (x-\text {$\#$1}) \text {$\#$1}^2+640 \log (x-\text {$\#$1}) \text {$\#$1}^3}{3-3 \text {$\#$1}+30 \text {$\#$1}^2+160 \text {$\#$1}^3}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.03, size = 70, normalized size = 0.90
method | result | size |
default | \(4 \left (\frac {i \sqrt {11}}{4}+\frac {1}{2}\right ) \ln \left (80 x^{2}+\left (-10 i \sqrt {11}+10\right ) x -3 i \sqrt {11}-9\right )+4 \left (\frac {1}{2}-\frac {i \sqrt {11}}{4}\right ) \ln \left (80 x^{2}+\left (10 i \sqrt {11}+10\right ) x +3 i \sqrt {11}-9\right )\) | \(70\) |
risch | \(2 \ln \left (6400 x^{4}+1600 x^{3}-240 x^{2}+480 x +180\right )-2 \sqrt {11}\, \arctan \left (-\frac {20 \sqrt {11}\, x^{2}}{33}+\frac {5 \sqrt {11}\, x}{11}+\frac {19 \sqrt {11}}{22}+\frac {400 \sqrt {11}\, x^{3}}{33}\right )-2 \sqrt {11}\, \arctan \left (\frac {\left (40 x -7\right ) \sqrt {11}}{55}\right )\) | \(75\) |
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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.76, size = 66, normalized size = 0.85 \begin {gather*} -2 \, \sqrt {11} \arctan \left (\frac {1}{66} \, \sqrt {11} {\left (800 \, x^{3} - 40 \, x^{2} + 30 \, x + 57\right )}\right ) - 2 \, \sqrt {11} \arctan \left (\frac {1}{55} \, \sqrt {11} {\left (40 \, x - 7\right )}\right ) + 2 \, \log \left (320 \, x^{4} + 80 \, x^{3} - 12 \, x^{2} + 24 \, x + 9\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.07, size = 100, normalized size = 1.28 \begin {gather*} \sqrt {11} \left (- 2 \operatorname {atan}{\left (\frac {8 \sqrt {11} x}{11} - \frac {7 \sqrt {11}}{55} \right )} - 2 \operatorname {atan}{\left (\frac {400 \sqrt {11} x^{3}}{33} - \frac {20 \sqrt {11} x^{2}}{33} + \frac {5 \sqrt {11} x}{11} + \frac {19 \sqrt {11}}{22} \right )}\right ) + 2 \log {\left (x^{4} + \frac {x^{3}}{4} - \frac {3 x^{2}}{80} + \frac {3 x}{40} + \frac {9}{320} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.66, size = 64, normalized size = 0.82 \begin {gather*} -2 \, \sqrt {11} {\left (\arctan \left (\frac {1}{66} \, \sqrt {11} {\left (800 \, x^{3} - 40 \, x^{2} + 30 \, x + 57\right )}\right ) - \arctan \left (-\frac {1}{55} \, \sqrt {11} {\left (40 \, x - 7\right )}\right )\right )} + 2 \, \log \left (320 \, x^{4} + 80 \, x^{3} - 12 \, x^{2} + 24 \, x + 9\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 76, normalized size = 0.97 \begin {gather*} 2\,\ln \left (320\,x^4+80\,x^3-12\,x^2+24\,x+9\right )-2\,\sqrt {11}\,\mathrm {atan}\left (\frac {8\,\sqrt {11}\,x}{11}-\frac {7\,\sqrt {11}}{55}\right )-2\,\sqrt {11}\,\mathrm {atan}\left (\frac {400\,\sqrt {11}\,x^3}{33}-\frac {20\,\sqrt {11}\,x^2}{33}+\frac {5\,\sqrt {11}\,x}{11}+\frac {19\,\sqrt {11}}{22}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________