Optimal. Leaf size=22 \[ -\frac {1}{2 a \left (b+a e^{2 p x}\right ) p} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2320, 267}
\begin {gather*} -\frac {1}{2 a p \left (a e^{2 p x}+b\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 2320
Rubi steps
\begin {align*} \int \frac {1}{\left (b e^{-p x}+a e^{p x}\right )^2} \, dx &=\frac {\text {Subst}\left (\int \frac {x}{\left (b+a x^2\right )^2} \, dx,x,e^{p x}\right )}{p}\\ &=-\frac {1}{2 a \left (b+a e^{2 p x}\right ) p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 22, normalized size = 1.00 \begin {gather*} -\frac {1}{2 a \left (b+a e^{2 p x}\right ) p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 1.74, size = 40, normalized size = 1.82 \begin {gather*} \text {ConditionalExpression}\left [2 a b p+2 b^2 p E^{-2 p x},\left \{2 a b p+2 b^2 p E^{-2 p x}\text {!=}0\right \}\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 21, normalized size = 0.95
method | result | size |
risch | \(-\frac {1}{2 a \left (b +a \,{\mathrm e}^{2 p x}\right ) p}\) | \(20\) |
derivativedivides | \(-\frac {1}{2 a \left (b +a \,{\mathrm e}^{2 p x}\right ) p}\) | \(21\) |
default | \(-\frac {1}{2 a \left (b +a \,{\mathrm e}^{2 p x}\right ) p}\) | \(21\) |
norman | \(-\frac {1}{2 a \left (b +a \,{\mathrm e}^{2 p x}\right ) p}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.25, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{2 \, {\left (b^{2} e^{\left (-2 \, p x\right )} + a b\right )} p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.29, size = 19, normalized size = 0.86 \begin {gather*} -\frac {1}{2 \, {\left (a^{2} p e^{\left (2 \, p x\right )} + a b p\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{2 a b p + 2 b^{2} p e^{- 2 p x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 19, normalized size = 0.86 \begin {gather*} -\frac {1}{2 a \left (\left (\mathrm {e}^{p x}\right )^{2} a+b\right ) p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.39, size = 24, normalized size = 1.09 \begin {gather*} \frac {{\mathrm {e}}^{2\,p\,x}}{2\,b\,p\,\left (b+a\,{\mathrm {e}}^{2\,p\,x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________