Optimal. Leaf size=20 \[ \log \left (\frac {4 x (-3-x+\log (4-x))}{-25+x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.49, antiderivative size = 23, normalized size of antiderivative = 1.15, number of steps used = 7, number of rules used = 6, integrand size = 68, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.088, Rules used = {6741, 6728, 36, 31, 29, 6684} \begin {gather*} -\log (25-x)+\log (x)+\log (x-\log (4-x)+3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rule 6684
Rule 6728
Rule 6741
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {300+150 x-55 x^2+x^3-(100-25 x) \log (4-x)}{x \left (100-29 x+x^2\right ) (3+x-\log (4-x))} \, dx\\ &=\int \left (-\frac {25}{(-25+x) x}+\frac {-5+x}{(-4+x) (3+x-\log (4-x))}\right ) \, dx\\ &=-\left (25 \int \frac {1}{(-25+x) x} \, dx\right )+\int \frac {-5+x}{(-4+x) (3+x-\log (4-x))} \, dx\\ &=\log (3+x-\log (4-x))-\int \frac {1}{-25+x} \, dx+\int \frac {1}{x} \, dx\\ &=-\log (25-x)+\log (x)+\log (3+x-\log (4-x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 23, normalized size = 1.15 \begin {gather*} -\log (25-x)+\log (x)+\log (3+x-\log (4-x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.52, size = 21, normalized size = 1.05 \begin {gather*} -\log \left (x - 25\right ) + \log \relax (x) + \log \left (-x + \log \left (-x + 4\right ) - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 21, normalized size = 1.05 \begin {gather*} -\log \left (x - 25\right ) + \log \relax (x) + \log \left (-x + \log \left (-x + 4\right ) - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 22, normalized size = 1.10
method | result | size |
norman | \(-\ln \left (x -25\right )+\ln \relax (x )+\ln \left (x -\ln \left (-x +4\right )+3\right )\) | \(22\) |
risch | \(-\ln \left (x -25\right )+\ln \relax (x )+\ln \left (\ln \left (-x +4\right )-3-x \right )\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 21, normalized size = 1.05 \begin {gather*} -\log \left (x - 25\right ) + \log \relax (x) + \log \left (-x + \log \left (-x + 4\right ) - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.95, size = 21, normalized size = 1.05 \begin {gather*} \ln \left (x-\ln \left (4-x\right )+3\right )+2\,\mathrm {atanh}\left (\frac {2\,x}{25}-1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.22, size = 17, normalized size = 0.85 \begin {gather*} \log {\relax (x )} - \log {\left (x - 25 \right )} + \log {\left (- x + \log {\left (4 - x \right )} - 3 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________