3.6.46 \(\int \frac {a+b F^{\frac {c \sqrt {d+e x}}{\sqrt {f+g x}}}}{d f+(e f+d g) x+e g x^2} \, dx\) [546]

Optimal. Leaf size=70 \[ \frac {2 b \text {Ei}\left (\frac {c \sqrt {d+e x} \log (F)}{\sqrt {f+g x}}\right )}{e f-d g}+\frac {2 a \log \left (\frac {\sqrt {d+e x}}{\sqrt {f+g x}}\right )}{e f-d g} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.09, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 48, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {2328, 14, 2209} \begin {gather*} \frac {2 a \log \left (\frac {\sqrt {d+e x}}{\sqrt {f+g x}}\right )}{e f-d g}+\frac {2 b \text {Ei}\left (\frac {c \sqrt {d+e x} \log (F)}{\sqrt {f+g x}}\right )}{e f-d g} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(2*b*ExpIntegralEi[(c*Sqrt[d + e*x]*Log[F])/Sqrt[f + g*x]])/(e*f - d*g) + (2*a*Log[Sqrt[d + e*x]/Sqrt[f + g*x]
])/(e*f - d*g)

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2209

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - c*(f/d)))/d)*ExpInteg
ralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2328

Int[((a_.) + (b_.)*(F_)^(((c_.)*Sqrt[(d_.) + (e_.)*(x_)])/Sqrt[(f_.) + (g_.)*(x_)]))^(n_.)/((A_.) + (B_.)*(x_)
 + (C_.)*(x_)^2), x_Symbol] :> Dist[2*e*(g/(C*(e*f - d*g))), Subst[Int[(a + b*F^(c*x))^n/x, x], x, Sqrt[d + e*
x]/Sqrt[f + g*x]], x] /; FreeQ[{a, b, c, d, e, f, g, A, B, C, F}, x] && EqQ[C*d*f - A*e*g, 0] && EqQ[B*e*g - C
*(e*f + d*g), 0] && IGtQ[n, 0]

Rubi steps

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

________________________________________________________________________________________

Mathematica [F]
time = 0.28, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a+b F^{\frac {c \sqrt {d+e x}}{\sqrt {f+g x}}}}{d f+(e f+d g) x+e g x^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {a +b \,F^{\frac {c \sqrt {e x +d}}{\sqrt {g x +f}}}}{d f +\left (d g +e f \right ) x +e g \,x^{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a*(log(e*x + d)/(e*f - d*g) - log(g*x + f)/(e*f - d*g)) + b*integrate(F^(sqrt(e*x + d)*c/sqrt(g*x + f))/(e*g*x
^2 + d*f + (e*f + d*g)*x), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral((F^(sqrt(x*e + d)*c/sqrt(g*x + f))*b + a)/(d*g*x + d*f + (g*x^2 + f*x)*e), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {F^{\frac {c \sqrt {d + e x}}{\sqrt {f + g x}}} b + a}{\left (d + e x\right ) \left (f + g x\right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Integral((F**(c*sqrt(d + e*x)/sqrt(f + g*x))*b + a)/((d + e*x)*(f + g*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate((F^(sqrt(x*e + d)*c/sqrt(g*x + f))*b + a)/(g*x^2*e + d*f + (d*g + f*e)*x), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+F^{\frac {c\,\sqrt {d+e\,x}}{\sqrt {f+g\,x}}}\,b}{e\,g\,x^2+\left (d\,g+e\,f\right )\,x+d\,f} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________