Optimal. Leaf size=26 \[ \log \left (-2+x \left ((7+x) \left (e^6+x\right )+\frac {x}{-1+x-\log (3)}\right )\right ) \]
________________________________________________________________________________________
Rubi [B] time = 0.45, antiderivative size = 68, normalized size of antiderivative = 2.62, number of steps used = 3, number of rules used = 2, integrand size = 206, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.010, Rules used = {2074, 1587} \begin {gather*} \log \left (x^4+x^3 \left (6+e^6-\log (3)\right )-x^2 \left (6-e^6 (6-\log (3))+7 \log (3)\right )-x \left (2+7 e^6 (1+\log (3))\right )+2+\log (9)\right )-\log (-x+1+\log (3)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1}{1-x+\log (3)}+\frac {-2+4 x^3+3 x^2 \left (6+e^6-\log (3)\right )-7 e^6 (1+\log (3))-2 x \left (6-e^6 (6-\log (3))+7 \log (3)\right )}{2+x^4+x^3 \left (6+e^6-\log (3)\right )-x^2 \left (6-e^6 (6-\log (3))+7 \log (3)\right )-x \left (2+7 e^6 (1+\log (3))\right )+\log (9)}\right ) \, dx\\ &=-\log (1-x+\log (3))+\int \frac {-2+4 x^3+3 x^2 \left (6+e^6-\log (3)\right )-7 e^6 (1+\log (3))-2 x \left (6-e^6 (6-\log (3))+7 \log (3)\right )}{2+x^4+x^3 \left (6+e^6-\log (3)\right )-x^2 \left (6-e^6 (6-\log (3))+7 \log (3)\right )-x \left (2+7 e^6 (1+\log (3))\right )+\log (9)} \, dx\\ &=-\log (1-x+\log (3))+\log \left (2+x^4+x^3 \left (6+e^6-\log (3)\right )-x^2 \left (6-e^6 (6-\log (3))+7 \log (3)\right )-x \left (2+7 e^6 (1+\log (3))\right )+\log (9)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [C] time = 42.80, size = 588, normalized size = 22.62 \begin {gather*} \text {RootSum}\left [-2-4 \log (3)-2 \log ^2(3)+4 \text {$\#$1}+7 e^6 \text {$\#$1}+14 e^6 \log (3) \text {$\#$1}+7 e^6 \log ^2(3) \text {$\#$1}+\log (81) \text {$\#$1}+4 \text {$\#$1}^2-13 e^6 \text {$\#$1}^2+13 \log (3) \text {$\#$1}^2-12 e^6 \log (3) \text {$\#$1}^2+7 \log ^2(3) \text {$\#$1}^2+e^6 \log ^2(3) \text {$\#$1}^2-12 \text {$\#$1}^3+5 e^6 \text {$\#$1}^3-12 \log (3) \text {$\#$1}^3+\log ^2(3) \text {$\#$1}^3-e^6 \log (9) \text {$\#$1}^3+5 \text {$\#$1}^4+e^6 \text {$\#$1}^4-\log (9) \text {$\#$1}^4+\text {$\#$1}^5\&,\frac {7 e^6 \log (x-\text {$\#$1})+14 e^6 \log (3) \log (x-\text {$\#$1})+7 e^6 \log ^2(3) \log (x-\text {$\#$1})+12 \log (x-\text {$\#$1}) \text {$\#$1}-12 e^6 \log (x-\text {$\#$1}) \text {$\#$1}+26 \log (3) \log (x-\text {$\#$1}) \text {$\#$1}-10 e^6 \log (3) \log (x-\text {$\#$1}) \text {$\#$1}+14 \log ^2(3) \log (x-\text {$\#$1}) \text {$\#$1}+2 e^6 \log ^2(3) \log (x-\text {$\#$1}) \text {$\#$1}-24 \log (x-\text {$\#$1}) \text {$\#$1}^2+3 e^6 \log (x-\text {$\#$1}) \text {$\#$1}^2-22 \log (3) \log (x-\text {$\#$1}) \text {$\#$1}^2-4 e^6 \log (3) \log (x-\text {$\#$1}) \text {$\#$1}^2+3 \log ^2(3) \log (x-\text {$\#$1}) \text {$\#$1}^2+8 \log (x-\text {$\#$1}) \text {$\#$1}^3+2 e^6 \log (x-\text {$\#$1}) \text {$\#$1}^3-6 \log (3) \log (x-\text {$\#$1}) \text {$\#$1}^3+3 \log (x-\text {$\#$1}) \text {$\#$1}^4}{4+7 e^6+14 e^6 \log (3)+7 e^6 \log ^2(3)+\log (81)+8 \text {$\#$1}-26 e^6 \text {$\#$1}+26 \log (3) \text {$\#$1}-24 e^6 \log (3) \text {$\#$1}+14 \log ^2(3) \text {$\#$1}+2 e^6 \log ^2(3) \text {$\#$1}-36 \text {$\#$1}^2+15 e^6 \text {$\#$1}^2-36 \log (3) \text {$\#$1}^2+3 \log ^2(3) \text {$\#$1}^2-3 e^6 \log (9) \text {$\#$1}^2+20 \text {$\#$1}^3+4 e^6 \text {$\#$1}^3-4 \log (9) \text {$\#$1}^3+5 \text {$\#$1}^4}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.63, size = 69, normalized size = 2.65 \begin {gather*} \log \left (x^{4} + 6 \, x^{3} - 6 \, x^{2} + {\left (x^{3} + 6 \, x^{2} - 7 \, x\right )} e^{6} - {\left (x^{3} + 7 \, x^{2} + {\left (x^{2} + 7 \, x\right )} e^{6} - 2\right )} \log \relax (3) - 2 \, x + 2\right ) - \log \left (x - \log \relax (3) - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.31, size = 68, normalized size = 2.62
method | result | size |
risch | \(-\ln \left (1+\ln \relax (3)-x \right )+\ln \left (x^{4}+\left (-\ln \relax (3)+{\mathrm e}^{6}+6\right ) x^{3}+\left (-{\mathrm e}^{6} \ln \relax (3)-7 \ln \relax (3)+6 \,{\mathrm e}^{6}-6\right ) x^{2}+\left (-7 \,{\mathrm e}^{6} \ln \relax (3)-7 \,{\mathrm e}^{6}-2\right ) x +2 \ln \relax (3)+2\right )\) | \(68\) |
default | \(\ln \left (-\ln \relax (3) {\mathrm e}^{6} x^{2}+x^{3} {\mathrm e}^{6}-x^{3} \ln \relax (3)+x^{4}-7 x \,{\mathrm e}^{6} \ln \relax (3)+6 x^{2} {\mathrm e}^{6}-7 x^{2} \ln \relax (3)+6 x^{3}-7 x \,{\mathrm e}^{6}-6 x^{2}+2 \ln \relax (3)-2 x +2\right )-\ln \left (x -\ln \relax (3)-1\right )\) | \(83\) |
norman | \(-\ln \left (1+\ln \relax (3)-x \right )+\ln \left (\ln \relax (3) {\mathrm e}^{6} x^{2}-x^{3} {\mathrm e}^{6}+x^{3} \ln \relax (3)-x^{4}+7 x \,{\mathrm e}^{6} \ln \relax (3)-6 x^{2} {\mathrm e}^{6}+7 x^{2} \ln \relax (3)-6 x^{3}+7 x \,{\mathrm e}^{6}+6 x^{2}-2 \ln \relax (3)+2 x -2\right )\) | \(94\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 66, normalized size = 2.54 \begin {gather*} \log \left (x^{4} + x^{3} {\left (e^{6} - \log \relax (3) + 6\right )} - {\left ({\left (e^{6} + 7\right )} \log \relax (3) - 6 \, e^{6} + 6\right )} x^{2} - {\left (7 \, e^{6} \log \relax (3) + 7 \, e^{6} + 2\right )} x + 2 \, \log \relax (3) + 2\right ) - \log \left (x - \log \relax (3) - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F(-1)] time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \text {Hanged} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________