Optimal. Leaf size=21 \[ \frac {1}{3} \left (\frac {3}{2}+\frac {3}{x}\right )-x+\log (2)+\log (5) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 7, normalized size of antiderivative = 0.33, 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 = {14}
\begin {gather*} \frac {1}{x}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-1-\frac {1}{x^2}\right ) \, dx\\ &=\frac {1}{x}-x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 7, normalized size = 0.33 \begin {gather*} \frac {1}{x}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.20, size = 8, normalized size = 0.38
method | result | size |
default | \(\frac {1}{x}-x\) | \(8\) |
risch | \(\frac {1}{x}-x\) | \(8\) |
gosper | \(-\frac {x^{2}-1}{x}\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 7, normalized size = 0.33 \begin {gather*} -x + \frac {1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 10, normalized size = 0.48 \begin {gather*} -\frac {x^{2} - 1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 3, normalized size = 0.14 \begin {gather*} - x + \frac {1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 7, normalized size = 0.33 \begin {gather*} -x + \frac {1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 7, normalized size = 0.33 \begin {gather*} \frac {1}{x}-x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________