Optimal. Leaf size=13 \[ -\frac {1}{2 \left (1+e^{2 x}\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, 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 = {2320, 267}
\begin {gather*} -\frac {1}{2 \left (e^{2 x}+1\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 2320
Rubi steps
\begin {align*} \int \frac {1}{\left (e^{-x}+e^x\right )^2} \, dx &=\text {Subst}\left (\int \frac {x}{\left (1+x^2\right )^2} \, dx,x,e^x\right )\\ &=-\frac {1}{2 \left (1+e^{2 x}\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 13, normalized size = 1.00 \begin {gather*} -\frac {1}{2+2 e^{2 x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 11, normalized size = 0.85
method | result | size |
default | \(-\frac {1}{2 \left (1+{\mathrm e}^{2 x}\right )}\) | \(11\) |
norman | \(-\frac {1}{2 \left (1+{\mathrm e}^{2 x}\right )}\) | \(11\) |
risch | \(-\frac {1}{2 \left (1+{\mathrm e}^{2 x}\right )}\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 10, normalized size = 0.77 \begin {gather*} \frac {1}{2 \, {\left (e^{\left (-2 \, x\right )} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 10, normalized size = 0.77 \begin {gather*} -\frac {1}{2 \, {\left (e^{\left (2 \, x\right )} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 10, normalized size = 0.77 \begin {gather*} - \frac {1}{2 e^{2 x} + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 5.06, size = 10, normalized size = 0.77 \begin {gather*} -\frac {1}{2 \, {\left (e^{\left (2 \, x\right )} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 12, normalized size = 0.92 \begin {gather*} -\frac {1}{2\,\left ({\mathrm {e}}^{2\,x}+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________