Optimal. Leaf size=22 \[ -\frac {1}{2 a \left (b+a f^{2 x}\right ) \log (f)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2320, 267}
\begin {gather*} -\frac {1}{2 a \log (f) \left (a f^{2 x}+b\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 2320
Rubi steps
\begin {align*} \int \frac {1}{\left (b f^{-x}+a f^x\right )^2} \, dx &=\frac {\text {Subst}\left (\int \frac {x}{\left (b+a x^2\right )^2} \, dx,x,f^x\right )}{\log (f)}\\ &=-\frac {1}{2 a \left (b+a f^{2 x}\right ) \log (f)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 23, normalized size = 1.05 \begin {gather*} -\frac {1}{2 a b \log (f)+2 a^2 f^{2 x} \log (f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 21, normalized size = 0.95
method | result | size |
derivativedivides | \(-\frac {1}{2 a \left (b +a \,f^{2 x}\right ) \ln \left (f \right )}\) | \(21\) |
default | \(-\frac {1}{2 a \left (b +a \,f^{2 x}\right ) \ln \left (f \right )}\) | \(21\) |
risch | \(-\frac {1}{2 a \left (b +a \,f^{2 x}\right ) \ln \left (f \right )}\) | \(21\) |
norman | \(-\frac {1}{2 \ln \left (f \right ) a \left (a \,{\mathrm e}^{2 x \ln \left (f \right )}+b \right )}\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 23, normalized size = 1.05 \begin {gather*} \frac {1}{2 \, {\left (a b + \frac {b^{2}}{f^{2 \, x}}\right )} \log \left (f\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 21, normalized size = 0.95 \begin {gather*} -\frac {1}{2 \, {\left (a^{2} f^{2 \, x} \log \left (f\right ) + a b \log \left (f\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 22, normalized size = 1.00 \begin {gather*} \frac {1}{2 a b \log {\left (f \right )} + 2 b^{2} f^{- 2 x} \log {\left (f \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.44, size = 20, normalized size = 0.91 \begin {gather*} -\frac {1}{2 \, {\left (a f^{2 \, x} + b\right )} a \log \left (f\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.61, size = 20, normalized size = 0.91 \begin {gather*} -\frac {1}{2\,a\,\ln \left (f\right )\,\left (b+a\,f^{2\,x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________