Optimal. Leaf size=20 \[ \frac {1}{4} \log \left (\frac {1+x^2}{1-x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 8, normalized size of antiderivative = 0.40, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {281, 212}
\begin {gather*} \frac {\text {arctanh}\left (x^2\right )}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 281
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,x^2\right )\\ &=\frac {\text {arctanh}\left (x^2\right )}{2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 23, normalized size = 1.15 \begin {gather*} -\frac {1}{4} \log \left (1-x^2\right )+\frac {1}{4} \log \left (1+x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 22, normalized size = 1.10
method | result | size |
meijerg | \(\frac {\arctanh \left (x^{2}\right )}{2}\) | \(7\) |
risch | \(-\frac {\ln \left (x^{2}-1\right )}{4}+\frac {\ln \left (x^{2}+1\right )}{4}\) | \(18\) |
default | \(-\frac {\ln \left (x -1\right )}{4}-\frac {\ln \left (1+x \right )}{4}+\frac {\ln \left (x^{2}+1\right )}{4}\) | \(22\) |
norman | \(-\frac {\ln \left (x -1\right )}{4}-\frac {\ln \left (1+x \right )}{4}+\frac {\ln \left (x^{2}+1\right )}{4}\) | \(22\) |
parallelrisch | \(-\frac {\ln \left (x -1\right )}{4}-\frac {\ln \left (1+x \right )}{4}+\frac {\ln \left (x^{2}+1\right )}{4}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 17, normalized size = 0.85 \begin {gather*} \frac {1}{4} \, \log \left (x^{2} + 1\right ) - \frac {1}{4} \, \log \left (x^{2} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.57, size = 17, normalized size = 0.85 \begin {gather*} \frac {1}{4} \, \log \left (x^{2} + 1\right ) - \frac {1}{4} \, \log \left (x^{2} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 15, normalized size = 0.75 \begin {gather*} - \frac {\log {\left (x^{2} - 1 \right )}}{4} + \frac {\log {\left (x^{2} + 1 \right )}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 18, normalized size = 0.90 \begin {gather*} \frac {1}{4} \, \log \left (x^{2} + 1\right ) - \frac {1}{4} \, \log \left ({\left | x^{2} - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 6, normalized size = 0.30 \begin {gather*} \frac {\mathrm {atanh}\left (x^2\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________