3.33 \(\int \frac {f^{a+b x}}{c+d f^{e+2 b x}} \, dx\)

Optimal. Leaf size=50 \[ \frac {f^{a-\frac {e}{2}} \tan ^{-1}\left (\frac {\sqrt {d} f^{b x+\frac {e}{2}}}{\sqrt {c}}\right )}{b \sqrt {c} \sqrt {d} \log (f)} \]

[Out]

f^(a-1/2*e)*arctan(f^(1/2*e+b*x)*d^(1/2)/c^(1/2))/b/ln(f)/c^(1/2)/d^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.08, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2249, 205} \[ \frac {f^{a-\frac {e}{2}} \tan ^{-1}\left (\frac {\sqrt {d} f^{b x+\frac {e}{2}}}{\sqrt {c}}\right )}{b \sqrt {c} \sqrt {d} \log (f)} \]

Antiderivative was successfully verified.

[In]

Int[f^(a + b*x)/(c + d*f^(e + 2*b*x)),x]

[Out]

(f^(a - e/2)*ArcTan[(Sqrt[d]*f^(e/2 + b*x))/Sqrt[c]])/(b*Sqrt[c]*Sqrt[d]*Log[f])

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 2249

Int[((a_) + (b_.)*(F_)^((e_.)*((c_.) + (d_.)*(x_))))^(p_.)*(G_)^((h_.)*((f_.) + (g_.)*(x_))), x_Symbol] :> Wit
h[{m = FullSimplify[(d*e*Log[F])/(g*h*Log[G])]}, Dist[Denominator[m]/(g*h*Log[G]), Subst[Int[x^(Denominator[m]
 - 1)*(a + b*F^(c*e - (d*e*f)/g)*x^Numerator[m])^p, x], x, G^((h*(f + g*x))/Denominator[m])], x] /; LtQ[m, -1]
 || GtQ[m, 1]] /; FreeQ[{F, G, a, b, c, d, e, f, g, h, p}, x]

Rubi steps

\begin {align*} \int \frac {f^{a+b x}}{c+d f^{e+2 b x}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{c+d f^{-2 a+e} x^2} \, dx,x,f^{a+b x}\right )}{b \log (f)}\\ &=\frac {f^{a-\frac {e}{2}} \tan ^{-1}\left (\frac {\sqrt {d} f^{\frac {e}{2}+b x}}{\sqrt {c}}\right )}{b \sqrt {c} \sqrt {d} \log (f)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 50, normalized size = 1.00 \[ \frac {f^{a-\frac {e}{2}} \tan ^{-1}\left (\frac {\sqrt {d} f^{b x+\frac {e}{2}}}{\sqrt {c}}\right )}{b \sqrt {c} \sqrt {d} \log (f)} \]

Antiderivative was successfully verified.

[In]

Integrate[f^(a + b*x)/(c + d*f^(e + 2*b*x)),x]

[Out]

(f^(a - e/2)*ArcTan[(Sqrt[d]*f^(e/2 + b*x))/Sqrt[c]])/(b*Sqrt[c]*Sqrt[d]*Log[f])

________________________________________________________________________________________

fricas [A]  time = 0.43, size = 179, normalized size = 3.58 \[ \left [-\frac {\sqrt {-c d f^{-2 \, a + e}} \log \left (\frac {d f^{2 \, b x + 2 \, a} f^{-2 \, a + e} - 2 \, \sqrt {-c d f^{-2 \, a + e}} f^{b x + a} - c}{d f^{2 \, b x + 2 \, a} f^{-2 \, a + e} + c}\right )}{2 \, b c d f^{-2 \, a + e} \log \relax (f)}, -\frac {\sqrt {c d f^{-2 \, a + e}} \arctan \left (\frac {\sqrt {c d f^{-2 \, a + e}}}{d f^{b x + a} f^{-2 \, a + e}}\right )}{b c d f^{-2 \, a + e} \log \relax (f)}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(b*x+a)/(c+d*f^(2*b*x+e)),x, algorithm="fricas")

[Out]

[-1/2*sqrt(-c*d*f^(-2*a + e))*log((d*f^(2*b*x + 2*a)*f^(-2*a + e) - 2*sqrt(-c*d*f^(-2*a + e))*f^(b*x + a) - c)
/(d*f^(2*b*x + 2*a)*f^(-2*a + e) + c))/(b*c*d*f^(-2*a + e)*log(f)), -sqrt(c*d*f^(-2*a + e))*arctan(sqrt(c*d*f^
(-2*a + e))/(d*f^(b*x + a)*f^(-2*a + e)))/(b*c*d*f^(-2*a + e)*log(f))]

________________________________________________________________________________________

giac [A]  time = 0.30, size = 48, normalized size = 0.96 \[ \frac {f^{2 \, a} \arctan \left (\frac {d f^{b x} f^{e}}{\sqrt {c d f^{e}}}\right )}{\sqrt {c d f^{e}} b f^{a} \log \relax (f)} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(b*x+a)/(c+d*f^(2*b*x+e)),x, algorithm="giac")

[Out]

f^(2*a)*arctan(d*f^(b*x)*f^e/sqrt(c*d*f^e))/(sqrt(c*d*f^e)*b*f^a*log(f))

________________________________________________________________________________________

maple [B]  time = 0.08, size = 91, normalized size = 1.82 \[ -\frac {f^{a} \ln \left (-\frac {c \,f^{a}}{\sqrt {-c d \,f^{e}}}+f^{b x +a}\right )}{2 \sqrt {-c d \,f^{e}}\, b \ln \relax (f )}+\frac {f^{a} \ln \left (\frac {c \,f^{a}}{\sqrt {-c d \,f^{e}}}+f^{b x +a}\right )}{2 \sqrt {-c d \,f^{e}}\, b \ln \relax (f )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(b*x+a)/(c+d*f^(2*b*x+e)),x)

[Out]

-1/2/(-f^e*c*d)^(1/2)*f^a/b/ln(f)*ln(f^(b*x+a)-1/(-f^e*c*d)^(1/2)*f^a*c)+1/2/(-f^e*c*d)^(1/2)*f^a/b/ln(f)*ln(f
^(b*x+a)+1/(-f^e*c*d)^(1/2)*f^a*c)

________________________________________________________________________________________

maxima [A]  time = 1.01, size = 45, normalized size = 0.90 \[ \frac {f^{a} \arctan \left (\frac {d f^{b x + e}}{\sqrt {c d} f^{\frac {1}{2} \, e}}\right )}{\sqrt {c d} b f^{\frac {1}{2} \, e} \log \relax (f)} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(b*x+a)/(c+d*f^(2*b*x+e)),x, algorithm="maxima")

[Out]

f^a*arctan(d*f^(b*x + e)/(sqrt(c*d)*f^(1/2*e)))/(sqrt(c*d)*b*f^(1/2*e)*log(f))

________________________________________________________________________________________

mupad [B]  time = 3.85, size = 64, normalized size = 1.28 \[ \frac {\mathrm {atan}\left (\frac {f^{a+b\,x}\,\sqrt {b^2\,c\,d\,f^e\,{\ln \relax (f)}^2}}{b\,c\,\ln \relax (f)\,\sqrt {f^{2\,a}}}\right )\,\sqrt {f^{2\,a}}}{\sqrt {b^2\,c\,d\,f^e\,{\ln \relax (f)}^2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(a + b*x)/(c + d*f^(e + 2*b*x)),x)

[Out]

(atan((f^(a + b*x)*(b^2*c*d*f^e*log(f)^2)^(1/2))/(b*c*log(f)*(f^(2*a))^(1/2)))*(f^(2*a))^(1/2))/(b^2*c*d*f^e*l
og(f)^2)^(1/2)

________________________________________________________________________________________

sympy [A]  time = 0.87, size = 51, normalized size = 1.02 \[ \operatorname {RootSum} {\left (4 z^{2} b^{2} c d e^{e \log {\relax (f )}} \log {\relax (f )}^{2} + e^{2 a \log {\relax (f )}}, \left (i \mapsto i \log {\left (2 i b c \log {\relax (f )} + f^{a + b x} \right )} \right )\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f**(b*x+a)/(c+d*f**(2*b*x+e)),x)

[Out]

RootSum(4*_z**2*b**2*c*d*exp(e*log(f))*log(f)**2 + exp(2*a*log(f)), Lambda(_i, _i*log(2*_i*b*c*log(f) + f**(a
+ b*x))))

________________________________________________________________________________________