Optimal. Leaf size=23 \[ \frac {x^2}{2}-e^{-a} \tanh ^{-1}\left (e^a x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.444, Rules used = {5657, 470, 281,
212} \begin {gather*} \frac {x^2}{2}-e^{-a} \tanh ^{-1}\left (e^a x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 281
Rule 470
Rule 5657
Rubi steps
\begin {align*} \int x \coth (a+2 \log (x)) \, dx &=\int x \coth (a+2 \log (x)) \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 26, normalized size = 1.13 \begin {gather*} \frac {x^2}{2}+\tanh ^{-1}\left (x^2 (\cosh (a)+\sinh (a))\right ) (-\cosh (a)+\sinh (a)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.57, size = 37, normalized size = 1.61
method | result | size |
risch | \(\frac {x^{2}}{2}-\frac {{\mathrm e}^{-a} \ln \left ({\mathrm e}^{a} x^{2}+1\right )}{2}+\frac {{\mathrm e}^{-a} \ln \left ({\mathrm e}^{a} x^{2}-1\right )}{2}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 36, normalized size = 1.57 \begin {gather*} \frac {1}{2} \, x^{2} - \frac {1}{2} \, e^{\left (-a\right )} \log \left (x^{2} e^{a} + 1\right ) + \frac {1}{2} \, e^{\left (-a\right )} \log \left (x^{2} e^{a} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 33, normalized size = 1.43 \begin {gather*} \frac {1}{2} \, {\left (x^{2} e^{a} - \log \left (x^{2} e^{a} + 1\right ) + \log \left (x^{2} e^{a} - 1\right )\right )} e^{\left (-a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \coth {\left (a + 2 \log {\left (x \right )} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 37, normalized size = 1.61 \begin {gather*} \frac {1}{2} \, x^{2} - \frac {1}{2} \, e^{\left (-a\right )} \log \left (x^{2} e^{a} + 1\right ) + \frac {1}{2} \, e^{\left (-a\right )} \log \left ({\left | x^{2} e^{a} - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.23, size = 25, normalized size = 1.09 \begin {gather*} \frac {x^2}{2}-\frac {\mathrm {atanh}\left (x^2\,\sqrt {{\mathrm {e}}^{2\,a}}\right )}{\sqrt {{\mathrm {e}}^{2\,a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________