Optimal. Leaf size=9 \[ \log (x)-\log (1+x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 9, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {36, 29, 31}
\begin {gather*} \log (x)-\log (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rubi steps
\begin {align*} \int \frac {1}{x (1+x)} \, dx &=\int \frac {1}{x} \, dx-\int \frac {1}{1+x} \, dx\\ &=\log (x)-\log (1+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 9, normalized size = 1.00 \begin {gather*} \log (x)-\log (1+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.77, size = 9, normalized size = 1.00 \begin {gather*} \text {Log}\left [x\right ]-\text {Log}\left [1+x\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 10, normalized size = 1.11
method | result | size |
default | \(\ln \left (x \right )-\ln \left (1+x \right )\) | \(10\) |
norman | \(\ln \left (x \right )-\ln \left (1+x \right )\) | \(10\) |
meijerg | \(\ln \left (x \right )-\ln \left (1+x \right )\) | \(10\) |
risch | \(\ln \left (x \right )-\ln \left (1+x \right )\) | \(10\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 9, normalized size = 1.00 \begin {gather*} -\log \left (x + 1\right ) + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 9, normalized size = 1.00 \begin {gather*} -\log \left (x + 1\right ) + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 7, normalized size = 0.78 \begin {gather*} \log {\left (x \right )} - \log {\left (x + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 10, normalized size = 1.11 \begin {gather*} \ln \left |x\right |-\ln \left |x+1\right | \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.20, size = 8, normalized size = 0.89 \begin {gather*} -\ln \left (\frac {1}{x}+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________