Optimal. Leaf size=23 \[ -3+x+\log \left (\frac {x}{-e^3+2 x+\frac {4}{\log (400)}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 21, normalized size of antiderivative = 0.91, number of steps used = 4, number of rules used = 3, integrand size = 42, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {1984, 1593, 893} \begin {gather*} x+\log (x)-\log \left (2 x \log (400)+4-e^3 \log (400)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 893
Rule 1593
Rule 1984
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-4+e^3 \log (400)-2 x^2 \log (400)-x \left (4-e^3 \log (400)\right )}{-2 x^2 \log (400)-x \left (4-e^3 \log (400)\right )} \, dx\\ &=\int \frac {-4+e^3 \log (400)-2 x^2 \log (400)-x \left (4-e^3 \log (400)\right )}{x \left (-4+e^3 \log (400)-2 x \log (400)\right )} \, dx\\ &=\int \left (1+\frac {1}{x}+\frac {2 \log (400)}{-4+e^3 \log (400)-2 x \log (400)}\right ) \, dx\\ &=x+\log (x)-\log \left (4-e^3 \log (400)+2 x \log (400)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 21, normalized size = 0.91 \begin {gather*} x+\log (x)-\log \left (4-e^3 \log (400)+2 x \log (400)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.68, size = 20, normalized size = 0.87 \begin {gather*} x - \log \left ({\left (2 \, x - e^{3}\right )} \log \left (20\right ) + 2\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.39, size = 22, normalized size = 0.96 \begin {gather*} x - \log \left ({\left | 2 \, x \log \left (20\right ) - e^{3} \log \left (20\right ) + 2 \right |}\right ) + \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.28, size = 20, normalized size = 0.87
method | result | size |
norman | \(x -\ln \left (\ln \left (20\right ) {\mathrm e}^{3}-2 x \ln \left (20\right )-2\right )+\ln \relax (x )\) | \(20\) |
default | \(x -\ln \left (-\ln \left (20\right ) {\mathrm e}^{3}+2 x \ln \left (20\right )+2\right )+\ln \relax (x )\) | \(21\) |
risch | \(x -\ln \left (\left (4 \ln \relax (2)+2 \ln \relax (5)\right ) x -{\mathrm e}^{3} \ln \relax (5)-2 \,{\mathrm e}^{3} \ln \relax (2)+2\right )+\ln \left (-x \right )\) | \(35\) |
meijerg | \(-\frac {\left (\ln \left (20\right ) {\mathrm e}^{3}-2\right ) \ln \left (1-\frac {2 x \ln \left (20\right )}{\ln \left (20\right ) {\mathrm e}^{3}-2}\right )}{2 \ln \left (20\right )}-\frac {\left (\ln \left (20\right ) {\mathrm e}^{3}-2\right )^{2} \left (-\frac {2 x \ln \left (20\right )}{\ln \left (20\right ) {\mathrm e}^{3}-2}-\ln \left (1-\frac {2 x \ln \left (20\right )}{\ln \left (20\right ) {\mathrm e}^{3}-2}\right )\right )}{\left (2 \ln \left (20\right ) {\mathrm e}^{3}-4\right ) \ln \left (20\right )}+\frac {2 \ln \left (20\right ) {\mathrm e}^{3} \left (-\ln \left (1-\frac {2 x \ln \left (20\right )}{\ln \left (20\right ) {\mathrm e}^{3}-2}\right )+\ln \relax (x )+\ln \relax (2)+\ln \left (\ln \left (20\right )\right )-\ln \left (\ln \left (20\right ) {\mathrm e}^{3}-2\right )+i \pi \right )}{2 \ln \left (20\right ) {\mathrm e}^{3}-4}-\frac {4 \left (-\ln \left (1-\frac {2 x \ln \left (20\right )}{\ln \left (20\right ) {\mathrm e}^{3}-2}\right )+\ln \relax (x )+\ln \relax (2)+\ln \left (\ln \left (20\right )\right )-\ln \left (\ln \left (20\right ) {\mathrm e}^{3}-2\right )+i \pi \right )}{2 \ln \left (20\right ) {\mathrm e}^{3}-4}\) | \(201\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.68, size = 20, normalized size = 0.87 \begin {gather*} x - \log \left (2 \, x \log \left (20\right ) - e^{3} \log \left (20\right ) + 2\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.18, size = 33, normalized size = 1.43 \begin {gather*} x-\mathrm {atan}\left (\frac {-{\mathrm {e}}^3\,\ln \left (20\right )\,2{}\mathrm {i}+x\,\ln \left (20\right )\,8{}\mathrm {i}+4{}\mathrm {i}}{2\,{\mathrm {e}}^3\,\ln \left (20\right )-4}\right )\,2{}\mathrm {i} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.47, size = 22, normalized size = 0.96 \begin {gather*} x + \log {\relax (x )} - \log {\left (x + \frac {- 2 e^{3} \log {\left (20 \right )} + 4}{4 \log {\left (20 \right )}} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________