Optimal. Leaf size=54 \[ \frac {4}{x+2}+\frac {6}{x+3}-\frac {1}{2 (x+2)^2}+\frac {3}{2 (x+3)^2}+\frac {1}{3 (x+3)^3}+10 \log (x+2)-10 \log (x+3) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {44} \[ \frac {4}{x+2}+\frac {6}{x+3}-\frac {1}{2 (x+2)^2}+\frac {3}{2 (x+3)^2}+\frac {1}{3 (x+3)^3}+10 \log (x+2)-10 \log (x+3) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rubi steps
\begin {align*} \int \frac {1}{(2+x)^3 (3+x)^4} \, dx &=\int \left (\frac {1}{(2+x)^3}-\frac {4}{(2+x)^2}+\frac {10}{2+x}-\frac {1}{(3+x)^4}-\frac {3}{(3+x)^3}-\frac {6}{(3+x)^2}-\frac {10}{3+x}\right ) \, dx\\ &=-\frac {1}{2 (2+x)^2}+\frac {4}{2+x}+\frac {1}{3 (3+x)^3}+\frac {3}{2 (3+x)^2}+\frac {6}{3+x}+10 \log (2+x)-10 \log (3+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 54, normalized size = 1.00 \[ \frac {4}{x+2}+\frac {6}{x+3}-\frac {1}{2 (x+2)^2}+\frac {3}{2 (x+3)^2}+\frac {1}{3 (x+3)^3}+10 \log (x+2)-10 \log (x+3) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.00, size = 43, normalized size = 0.80 \[ \frac {60 x^4+630 x^3+2450 x^2+4175 x+2627}{6 (x+2)^2 (x+3)^3}-20 \tanh ^{-1}(2 x+5) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.07, size = 105, normalized size = 1.94 \[ \frac {60 \, x^{4} + 630 \, x^{3} + 2450 \, x^{2} - 60 \, {\left (x^{5} + 13 \, x^{4} + 67 \, x^{3} + 171 \, x^{2} + 216 \, x + 108\right )} \log \left (x + 3\right ) + 60 \, {\left (x^{5} + 13 \, x^{4} + 67 \, x^{3} + 171 \, x^{2} + 216 \, x + 108\right )} \log \left (x + 2\right ) + 4175 \, x + 2627}{6 \, {\left (x^{5} + 13 \, x^{4} + 67 \, x^{3} + 171 \, x^{2} + 216 \, x + 108\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.97, size = 47, normalized size = 0.87 \[ \frac {60 \, x^{4} + 630 \, x^{3} + 2450 \, x^{2} + 4175 \, x + 2627}{6 \, {\left (x + 3\right )}^{3} {\left (x + 2\right )}^{2}} - 10 \, \log \left ({\left | x + 3 \right |}\right ) + 10 \, \log \left ({\left | x + 2 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 45, normalized size = 0.83
method | result | size |
norman | \(\frac {10 x^{4}+105 x^{3}+\frac {1225}{3} x^{2}+\frac {4175}{6} x +\frac {2627}{6}}{\left (2+x \right )^{2} \left (3+x \right )^{3}}+10 \ln \left (2+x \right )-10 \ln \left (3+x \right )\) | \(45\) |
risch | \(\frac {10 x^{4}+105 x^{3}+\frac {1225}{3} x^{2}+\frac {4175}{6} x +\frac {2627}{6}}{\left (2+x \right )^{2} \left (3+x \right )^{3}}+10 \ln \left (2+x \right )-10 \ln \left (3+x \right )\) | \(45\) |
default | \(-\frac {1}{2 \left (2+x \right )^{2}}+\frac {4}{2+x}+\frac {1}{3 \left (3+x \right )^{3}}+\frac {3}{2 \left (3+x \right )^{2}}+\frac {6}{3+x}+10 \ln \left (2+x \right )-10 \ln \left (3+x \right )\) | \(49\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.51, size = 60, normalized size = 1.11 \[ \frac {60 \, x^{4} + 630 \, x^{3} + 2450 \, x^{2} + 4175 \, x + 2627}{6 \, {\left (x^{5} + 13 \, x^{4} + 67 \, x^{3} + 171 \, x^{2} + 216 \, x + 108\right )}} - 10 \, \log \left (x + 3\right ) + 10 \, \log \left (x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.00, size = 55, normalized size = 1.02 \[ \frac {10\,x^4+105\,x^3+\frac {1225\,x^2}{3}+\frac {4175\,x}{6}+\frac {2627}{6}}{x^5+13\,x^4+67\,x^3+171\,x^2+216\,x+108}-20\,\mathrm {atanh}\left (2\,x+5\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 58, normalized size = 1.07 \[ \frac {60 x^{4} + 630 x^{3} + 2450 x^{2} + 4175 x + 2627}{6 x^{5} + 78 x^{4} + 402 x^{3} + 1026 x^{2} + 1296 x + 648} + 10 \log {\left (x + 2 \right )} - 10 \log {\left (x + 3 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________