Optimal. Leaf size=17 \[ \log \left (50 x^2 (-3-x+\log (5-x))\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.44, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 53, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {6741, 6742, 6684} \begin {gather*} 2 \log (x)+\log (x-\log (5-x)+3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6684
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {30+10 x-3 x^2+(-10+2 x) \log (5-x)}{(5-x) x (3+x-\log (5-x))} \, dx\\ &=\int \left (\frac {2}{x}+\frac {-6+x}{(-5+x) (3+x-\log (5-x))}\right ) \, dx\\ &=2 \log (x)+\int \frac {-6+x}{(-5+x) (3+x-\log (5-x))} \, dx\\ &=2 \log (x)+\log (3+x-\log (5-x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 17, normalized size = 1.00 \begin {gather*} 2 \log (x)+\log (3+x-\log (5-x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 17, normalized size = 1.00 \begin {gather*} 2 \, \log \relax (x) + \log \left (-x + \log \left (-x + 5\right ) - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 17, normalized size = 1.00 \begin {gather*} 2 \, \log \relax (x) + \log \left (-x + \log \left (-x + 5\right ) - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 18, normalized size = 1.06
method | result | size |
norman | \(2 \ln \relax (x )+\ln \left (x -\ln \left (5-x \right )+3\right )\) | \(18\) |
risch | \(2 \ln \relax (x )+\ln \left (\ln \left (5-x \right )-x -3\right )\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.50, size = 17, normalized size = 1.00 \begin {gather*} 2 \, \log \relax (x) + \log \left (-x + \log \left (-x + 5\right ) - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.96, size = 17, normalized size = 1.00 \begin {gather*} \ln \left (x-\ln \left (5-x\right )+3\right )+2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 14, normalized size = 0.82 \begin {gather*} 2 \log {\relax (x )} + \log {\left (- x + \log {\left (5 - x \right )} - 3 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________