Optimal. Leaf size=26 \[ 9-e^3-x+3 (5+x)-\frac {e}{-x+\log (3)} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 14, normalized size of antiderivative = 0.54, number of steps used = 3, number of rules used = 2, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {27, 683} \begin {gather*} 2 x+\frac {e}{x-\log (3)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 683
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-e+2 x^2-4 x \log (3)+2 \log ^2(3)}{(x-\log (3))^2} \, dx\\ &=\int \left (2-\frac {e}{(x-\log (3))^2}\right ) \, dx\\ &=2 x+\frac {e}{x-\log (3)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 19, normalized size = 0.73 \begin {gather*} \frac {e}{x-\log (3)}+2 (x-\log (3)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 22, normalized size = 0.85 \begin {gather*} \frac {2 \, x^{2} - 2 \, x \log \relax (3) + e}{x - \log \relax (3)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 15, normalized size = 0.58 \begin {gather*} 2 \, x + \frac {e}{x - \log \relax (3)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.45, size = 16, normalized size = 0.62
method | result | size |
default | \(2 x +\frac {{\mathrm e}}{-\ln \relax (3)+x}\) | \(16\) |
risch | \(2 x -\frac {{\mathrm e}}{\ln \relax (3)-x}\) | \(17\) |
gosper | \(-\frac {2 x^{2}-2 \ln \relax (3)^{2}+{\mathrm e}}{\ln \relax (3)-x}\) | \(25\) |
norman | \(\frac {-2 x^{2}+2 \ln \relax (3)^{2}-{\mathrm e}}{\ln \relax (3)-x}\) | \(26\) |
meijerg | \(\frac {2 x}{1-\frac {x}{\ln \relax (3)}}-4 \ln \relax (3) \left (\frac {x}{\ln \relax (3) \left (1-\frac {x}{\ln \relax (3)}\right )}+\ln \left (1-\frac {x}{\ln \relax (3)}\right )\right )-\frac {{\mathrm e} x}{\ln \relax (3)^{2} \left (1-\frac {x}{\ln \relax (3)}\right )}-2 \ln \relax (3) \left (-\frac {x \left (-\frac {3 x}{\ln \relax (3)}+6\right )}{3 \ln \relax (3) \left (1-\frac {x}{\ln \relax (3)}\right )}-2 \ln \left (1-\frac {x}{\ln \relax (3)}\right )\right )\) | \(112\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 15, normalized size = 0.58 \begin {gather*} 2 \, x + \frac {e}{x - \log \relax (3)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 15, normalized size = 0.58 \begin {gather*} 2\,x+\frac {\mathrm {e}}{x-\ln \relax (3)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 10, normalized size = 0.38 \begin {gather*} 2 x + \frac {e}{x - \log {\relax (3 )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________