Optimal. Leaf size=19 \[ \left (-4-x+\log \left (\frac {4}{x^2}\right )\right ) \log (5-\log (4)) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.16, number of steps used = 3, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {12, 43} \begin {gather*} x (-\log (5-\log (4)))-2 \log (5-\log (4)) \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 43
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\log (5-\log (4)) \int \frac {-2-x}{x} \, dx\\ &=\log (5-\log (4)) \int \left (-1-\frac {2}{x}\right ) \, dx\\ &=-x \log (5-\log (4))-2 \log (x) \log (5-\log (4))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 15, normalized size = 0.79 \begin {gather*} -((x+2 \log (x)) \log (5-\log (4))) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 22, normalized size = 1.16 \begin {gather*} -x \log \left (-2 \, \log \relax (2) + 5\right ) - 2 \, \log \relax (x) \log \left (-2 \, \log \relax (2) + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 16, normalized size = 0.84 \begin {gather*} -{\left (x + 2 \, \log \left ({\left | x \right |}\right )\right )} \log \left (-2 \, \log \relax (2) + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 17, normalized size = 0.89
method | result | size |
default | \(\ln \left (-2 \ln \relax (2)+5\right ) \left (-x -2 \ln \relax (x )\right )\) | \(17\) |
norman | \(-\ln \left (-2 \ln \relax (2)+5\right ) x -2 \ln \left (-2 \ln \relax (2)+5\right ) \ln \relax (x )\) | \(23\) |
risch | \(-\ln \left (-2 \ln \relax (2)+5\right ) x -2 \ln \left (-2 \ln \relax (2)+5\right ) \ln \relax (x )\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 15, normalized size = 0.79 \begin {gather*} -{\left (x + 2 \, \log \relax (x)\right )} \log \left (-2 \, \log \relax (2) + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 15, normalized size = 0.79 \begin {gather*} -\ln \left (5-\ln \relax (4)\right )\,\left (x+2\,\ln \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 24, normalized size = 1.26 \begin {gather*} - x \log {\left (5 - 2 \log {\relax (2 )} \right )} - 2 \log {\relax (x )} \log {\left (5 - 2 \log {\relax (2 )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________