Optimal. Leaf size=16 \[ \log (4)-\frac {x^3}{-5+\log (84+x)} \]
[Out]
________________________________________________________________________________________
Rubi [B] Leaf count is larger than twice the leaf count of optimal. \(61\) vs. \(2(16)=32\).
time = 0.48, antiderivative size = 61, normalized size of antiderivative = 3.81, number of steps
used = 28, number of rules used = 14, integrand size = 55, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.254, Rules used =
{6820, 6874, 2458, 2395, 2334, 2336, 2209, 2339, 30, 2343, 2346, 2446, 2436, 2437}
\begin {gather*} \frac {(x+84)^3}{5-\log (x+84)}-\frac {252 (x+84)^2}{5-\log (x+84)}+\frac {21168 (x+84)}{5-\log (x+84)}-\frac {592704}{5-\log (x+84)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2209
Rule 2334
Rule 2336
Rule 2339
Rule 2343
Rule 2346
Rule 2395
Rule 2436
Rule 2437
Rule 2446
Rule 2458
Rule 6820
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {x^2 (4 (315+4 x)-3 (84+x) \log (84+x))}{(84+x) (5-\log (84+x))^2} \, dx\\ &=\int \left (\frac {x^3}{(84+x) (-5+\log (84+x))^2}-\frac {3 x^2}{-5+\log (84+x)}\right ) \, dx\\ &=-\left (3 \int \frac {x^2}{-5+\log (84+x)} \, dx\right )+\int \frac {x^3}{(84+x) (-5+\log (84+x))^2} \, dx\\ &=-\left (3 \int \left (\frac {7056}{-5+\log (84+x)}-\frac {168 (84+x)}{-5+\log (84+x)}+\frac {(84+x)^2}{-5+\log (84+x)}\right ) \, dx\right )+\text {Subst}\left (\int \frac {(-84+x)^3}{x (-5+\log (x))^2} \, dx,x,84+x\right )\\ &=-\left (3 \int \frac {(84+x)^2}{-5+\log (84+x)} \, dx\right )+504 \int \frac {84+x}{-5+\log (84+x)} \, dx-21168 \int \frac {1}{-5+\log (84+x)} \, dx+\text {Subst}\left (\int \left (\frac {21168}{(-5+\log (x))^2}-\frac {592704}{x (-5+\log (x))^2}-\frac {252 x}{(-5+\log (x))^2}+\frac {x^2}{(-5+\log (x))^2}\right ) \, dx,x,84+x\right )\\ &=-\left (3 \text {Subst}\left (\int \frac {x^2}{-5+\log (x)} \, dx,x,84+x\right )\right )-252 \text {Subst}\left (\int \frac {x}{(-5+\log (x))^2} \, dx,x,84+x\right )+504 \text {Subst}\left (\int \frac {x}{-5+\log (x)} \, dx,x,84+x\right )+21168 \text {Subst}\left (\int \frac {1}{(-5+\log (x))^2} \, dx,x,84+x\right )-21168 \text {Subst}\left (\int \frac {1}{-5+\log (x)} \, dx,x,84+x\right )-592704 \text {Subst}\left (\int \frac {1}{x (-5+\log (x))^2} \, dx,x,84+x\right )+\text {Subst}\left (\int \frac {x^2}{(-5+\log (x))^2} \, dx,x,84+x\right )\\ &=\frac {21168 (84+x)}{5-\log (84+x)}-\frac {252 (84+x)^2}{5-\log (84+x)}+\frac {(84+x)^3}{5-\log (84+x)}-3 \text {Subst}\left (\int \frac {e^{3 x}}{-5+x} \, dx,x,\log (84+x)\right )+3 \text {Subst}\left (\int \frac {x^2}{-5+\log (x)} \, dx,x,84+x\right )+504 \text {Subst}\left (\int \frac {e^{2 x}}{-5+x} \, dx,x,\log (84+x)\right )-504 \text {Subst}\left (\int \frac {x}{-5+\log (x)} \, dx,x,84+x\right )-21168 \text {Subst}\left (\int \frac {e^x}{-5+x} \, dx,x,\log (84+x)\right )+21168 \text {Subst}\left (\int \frac {1}{-5+\log (x)} \, dx,x,84+x\right )-592704 \text {Subst}\left (\int \frac {1}{x^2} \, dx,x,-5+\log (84+x)\right )\\ &=-3 e^{15} \text {Ei}(-3 (5-\log (84+x)))+504 e^{10} \text {Ei}(-2 (5-\log (84+x)))-21168 e^5 \text {Ei}(-5+\log (84+x))-\frac {592704}{5-\log (84+x)}+\frac {21168 (84+x)}{5-\log (84+x)}-\frac {252 (84+x)^2}{5-\log (84+x)}+\frac {(84+x)^3}{5-\log (84+x)}+3 \text {Subst}\left (\int \frac {e^{3 x}}{-5+x} \, dx,x,\log (84+x)\right )-504 \text {Subst}\left (\int \frac {e^{2 x}}{-5+x} \, dx,x,\log (84+x)\right )+21168 \text {Subst}\left (\int \frac {e^x}{-5+x} \, dx,x,\log (84+x)\right )\\ &=-\frac {592704}{5-\log (84+x)}+\frac {21168 (84+x)}{5-\log (84+x)}-\frac {252 (84+x)^2}{5-\log (84+x)}+\frac {(84+x)^3}{5-\log (84+x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 13, normalized size = 0.81 \begin {gather*} -\frac {x^3}{-5+\log (84+x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(54\) vs.
\(2(18)=36\).
time = 2.81, size = 55, normalized size = 3.44
method | result | size |
norman | \(-\frac {x^{3}}{\ln \left (x +84\right )-5}\) | \(14\) |
risch | \(-\frac {x^{3}}{\ln \left (x +84\right )-5}\) | \(14\) |
derivativedivides | \(\frac {592704}{\ln \left (x +84\right )-5}-\frac {21168 \left (x +84\right )}{\ln \left (x +84\right )-5}+\frac {252 \left (x +84\right )^{2}}{\ln \left (x +84\right )-5}-\frac {\left (x +84\right )^{3}}{\ln \left (x +84\right )-5}\) | \(55\) |
default | \(\frac {592704}{\ln \left (x +84\right )-5}-\frac {21168 \left (x +84\right )}{\ln \left (x +84\right )-5}+\frac {252 \left (x +84\right )^{2}}{\ln \left (x +84\right )-5}-\frac {\left (x +84\right )^{3}}{\ln \left (x +84\right )-5}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 13, normalized size = 0.81 \begin {gather*} -\frac {x^{3}}{\log \left (x + 84\right ) - 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 13, normalized size = 0.81 \begin {gather*} -\frac {x^{3}}{\log \left (x + 84\right ) - 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 10, normalized size = 0.62 \begin {gather*} - \frac {x^{3}}{\log {\left (x + 84 \right )} - 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 13, normalized size = 0.81 \begin {gather*} -\frac {x^{3}}{\log \left (x + 84\right ) - 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.20, size = 13, normalized size = 0.81 \begin {gather*} -\frac {x^3}{\ln \left (x+84\right )-5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________