Optimal. Leaf size=11 \[ \log (2-x)+\log (5+x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {78}
\begin {gather*} \log (2-x)+\log (x+5) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rubi steps
\begin {align*} \int \frac {3+2 x}{(-2+x) (5+x)} \, dx &=\int \left (\frac {1}{-2+x}+\frac {1}{5+x}\right ) \, dx\\ &=\log (2-x)+\log (5+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 9, normalized size = 0.82 \begin {gather*} \log (-2+x)+\log (5+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 9, normalized size = 0.82
method | result | size |
default | \(\ln \left (\left (-2+x \right ) \left (5+x \right )\right )\) | \(9\) |
norman | \(\ln \left (-2+x \right )+\ln \left (5+x \right )\) | \(10\) |
risch | \(\ln \left (x^{2}+3 x -10\right )\) | \(10\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.33, size = 9, normalized size = 0.82 \begin {gather*} \log \left (x + 5\right ) + \log \left (x - 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.06, size = 9, normalized size = 0.82 \begin {gather*} \log \left (x^{2} + 3 \, x - 10\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 8, normalized size = 0.73 \begin {gather*} \log {\left (x^{2} + 3 x - 10 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 11, normalized size = 1.00 \begin {gather*} \log \left ({\left | x + 5 \right |}\right ) + \log \left ({\left | x - 2 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 9, normalized size = 0.82 \begin {gather*} \ln \left (x^2+3\,x-10\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________