Optimal. Leaf size=59 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} f^x}{\sqrt{a}}\right )}{2 a^{3/2} \sqrt{b} \log (f)}+\frac{f^x}{2 a \log (f) \left (a+b f^{2 x}\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0394861, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2249, 199, 205} \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} f^x}{\sqrt{a}}\right )}{2 a^{3/2} \sqrt{b} \log (f)}+\frac{f^x}{2 a \log (f) \left (a+b f^{2 x}\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2249
Rule 199
Rule 205
Rubi steps
\begin{align*} \int \frac{f^x}{\left (a+b f^{2 x}\right )^2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\left (a+b x^2\right )^2} \, dx,x,f^x\right )}{\log (f)}\\ &=\frac{f^x}{2 a \left (a+b f^{2 x}\right ) \log (f)}+\frac{\operatorname{Subst}\left (\int \frac{1}{a+b x^2} \, dx,x,f^x\right )}{2 a \log (f)}\\ &=\frac{f^x}{2 a \left (a+b f^{2 x}\right ) \log (f)}+\frac{\tan ^{-1}\left (\frac{\sqrt{b} f^x}{\sqrt{a}}\right )}{2 a^{3/2} \sqrt{b} \log (f)}\\ \end{align*}
Mathematica [A] time = 0.0501102, size = 53, normalized size = 0.9 \[ \frac{\frac{f^x}{a^2+a b f^{2 x}}+\frac{\tan ^{-1}\left (\frac{\sqrt{b} f^x}{\sqrt{a}}\right )}{a^{3/2} \sqrt{b}}}{2 \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.031, size = 82, normalized size = 1.4 \begin{align*}{\frac{{f}^{x}}{2\,\ln \left ( f \right ) a \left ( a+b \left ({f}^{x} \right ) ^{2} \right ) }}-{\frac{1}{4\,\ln \left ( f \right ) a}\ln \left ({f}^{x}-{a{\frac{1}{\sqrt{-ab}}}} \right ){\frac{1}{\sqrt{-ab}}}}+{\frac{1}{4\,\ln \left ( f \right ) a}\ln \left ({f}^{x}+{a{\frac{1}{\sqrt{-ab}}}} \right ){\frac{1}{\sqrt{-ab}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.53019, size = 373, normalized size = 6.32 \begin{align*} \left [\frac{2 \, a b f^{x} -{\left (\sqrt{-a b} b f^{2 \, x} + \sqrt{-a b} a\right )} \log \left (\frac{b f^{2 \, x} - 2 \, \sqrt{-a b} f^{x} - a}{b f^{2 \, x} + a}\right )}{4 \,{\left (a^{2} b^{2} f^{2 \, x} \log \left (f\right ) + a^{3} b \log \left (f\right )\right )}}, \frac{a b f^{x} -{\left (\sqrt{a b} b f^{2 \, x} + \sqrt{a b} a\right )} \arctan \left (\frac{\sqrt{a b}}{b f^{x}}\right )}{2 \,{\left (a^{2} b^{2} f^{2 \, x} \log \left (f\right ) + a^{3} b \log \left (f\right )\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.378443, size = 53, normalized size = 0.9 \begin{align*} \frac{f^{x}}{2 a^{2} \log{\left (f \right )} + 2 a b f^{2 x} \log{\left (f \right )}} + \frac{\operatorname{RootSum}{\left (16 z^{2} a^{3} b + 1, \left ( i \mapsto i \log{\left (4 i a^{2} + f^{x} \right )} \right )\right )}}{\log{\left (f \right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17298, size = 66, normalized size = 1.12 \begin{align*} \frac{\arctan \left (\frac{b f^{x}}{\sqrt{a b}}\right )}{2 \, \sqrt{a b} a \log \left (f\right )} + \frac{f^{x}}{2 \,{\left (b f^{2 \, x} + a\right )} a \log \left (f\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]