Optimal. Leaf size=61 \[ \frac{f^{a+2 b x-e}}{2 b d \log (f)}-\frac{c f^{a-2 e} \log \left (d f^{2 b x+e}+c\right )}{2 b d^2 \log (f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.060494, antiderivative size = 61, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2248, 43} \[ \frac{f^{a+2 b x-e}}{2 b d \log (f)}-\frac{c f^{a-2 e} \log \left (d f^{2 b x+e}+c\right )}{2 b d^2 \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2248
Rule 43
Rubi steps
\begin{align*} \int \frac{f^{a+4 b x}}{c+d f^{e+2 b x}} \, dx &=\frac{f^{a-2 e} \operatorname{Subst}\left (\int \frac{x}{c+d x} \, dx,x,f^{e+2 b x}\right )}{2 b \log (f)}\\ &=\frac{f^{a-2 e} \operatorname{Subst}\left (\int \left (\frac{1}{d}-\frac{c}{d (c+d x)}\right ) \, dx,x,f^{e+2 b x}\right )}{2 b \log (f)}\\ &=\frac{f^{a-e+2 b x}}{2 b d \log (f)}-\frac{c f^{a-2 e} \log \left (c+d f^{e+2 b x}\right )}{2 b d^2 \log (f)}\\ \end{align*}
Mathematica [A] time = 0.04202, size = 48, normalized size = 0.79 \[ \frac{f^{a-2 e} \left (d f^{2 b x+e}-c \log \left (d f^{2 b x+e}+c\right )\right )}{2 b d^2 \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 76, normalized size = 1.3 \begin{align*}{\frac{{{\rm e}^{ \left ( 2\,bx+e \right ) \ln \left ( f \right ) }}}{2\, \left ({f}^{e} \right ) ^{2}\ln \left ( f \right ) bd} \left ({f}^{{\frac{a}{2}}} \right ) ^{2}}-{\frac{c\ln \left ( c+d{{\rm e}^{ \left ( 2\,bx+e \right ) \ln \left ( f \right ) }} \right ) }{2\,{d}^{2}b\ln \left ( f \right ) \left ({f}^{e} \right ) ^{2}} \left ({f}^{{\frac{a}{2}}} \right ) ^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.13063, size = 112, normalized size = 1.84 \begin{align*} -\frac{c f^{a - 2 \, e} \log \left (d \sqrt{f^{4 \, b x + a}} f^{-\frac{1}{2} \, a + e} + c\right )}{2 \, b d^{2} \log \left (f\right )} + \frac{{\left (d \sqrt{f^{4 \, b x + a}} f^{-\frac{1}{2} \, a + e} + c\right )} f^{a - 2 \, e}}{2 \, b d^{2} \log \left (f\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.62445, size = 123, normalized size = 2.02 \begin{align*} \frac{d f^{2 \, b x + e} f^{a - 2 \, e} - c f^{a - 2 \, e} \log \left (d f^{2 \, b x + e} + c\right )}{2 \, b d^{2} \log \left (f\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.67611, size = 218, normalized size = 3.57 \begin{align*} \begin{cases} \frac{e^{\frac{a \log{\left (f \right )}}{2}} e^{- e \log{\left (f \right )}} \sqrt{e^{\left (a + 4 b x\right ) \log{\left (f \right )}}}}{2 b d \log{\left (f \right )}} & \text{for}\: 2 b d e^{e \log{\left (f \right )}} \log{\left (f \right )} \neq 0 \\\frac{x \left (c^{2} e^{\frac{3 a \log{\left (f \right )}}{2}} + 2 c d e^{a \log{\left (f \right )}} e^{e \log{\left (f \right )}} + d^{2} e^{\frac{a \log{\left (f \right )}}{2}} e^{2 e \log{\left (f \right )}}\right )}{c^{2} d e^{a \log{\left (f \right )}} e^{e \log{\left (f \right )}} + 2 c d^{2} e^{\frac{a \log{\left (f \right )}}{2}} e^{2 e \log{\left (f \right )}} + d^{3} e^{3 e \log{\left (f \right )}}} & \text{otherwise} \end{cases} - \frac{c e^{\left (a - 2 e\right ) \log{\left (f \right )}} \log{\left (\frac{c e^{\frac{a \log{\left (f \right )}}{2}} e^{- e \log{\left (f \right )}}}{d} + \sqrt{e^{\left (a + 4 b x\right ) \log{\left (f \right )}}} \right )}}{2 b d^{2} \log{\left (f \right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20974, size = 89, normalized size = 1.46 \begin{align*} \frac{1}{2} \, f^{a}{\left (\frac{f^{2 \, b x}}{b d f^{e} \log \left (f\right )} - \frac{c \log \left ({\left | d f^{2 \, b x} f^{e} + c \right |}\right )}{b d^{2} f^{2 \, e} \log \left (f\right )}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]