\(\int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx\) [24]

Optimal result
Mathematica [A] (warning: unable to verify)
Rubi [A] (verified)
Maple [B] (verified)
Fricas [F(-1)]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 62, antiderivative size = 447 \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {2 (b B-2 a C) \sqrt {d e-c f} \sqrt {-\frac {(b c-a d) (e+f x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b e-a f} \sqrt {c+d x}}{\sqrt {d e-c f} \sqrt {a+b x}}\right ),\frac {(d e-c f) (b g-a h)}{(b e-a f) (d g-c h)}\right )}{\sqrt {b e-a f} (d g-c h) \sqrt {e+f x} \sqrt {-\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}}}+\frac {2 C \sqrt {d e-c f} (a+b x) \sqrt {-\frac {(b c-a d) (e+f x)}{(d e-c f) (a+b x)}} \sqrt {-\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}} \operatorname {EllipticPi}\left (\frac {b (d e-c f)}{d (b e-a f)},\arcsin \left (\frac {\sqrt {b e-a f} \sqrt {c+d x}}{\sqrt {d e-c f} \sqrt {a+b x}}\right ),\frac {(d e-c f) (b g-a h)}{(b e-a f) (d g-c h)}\right )}{d \sqrt {b e-a f} \sqrt {e+f x} \sqrt {g+h x}} \] Output:

2*(B*b-2*C*a)*(-c*f+d*e)^(1/2)*(-(-a*d+b*c)*(f*x+e)/(-c*f+d*e)/(b*x+a))^(1 
/2)*(h*x+g)^(1/2)*EllipticF((-a*f+b*e)^(1/2)*(d*x+c)^(1/2)/(-c*f+d*e)^(1/2 
)/(b*x+a)^(1/2),((-c*f+d*e)*(-a*h+b*g)/(-a*f+b*e)/(-c*h+d*g))^(1/2))/(-a*f 
+b*e)^(1/2)/(-c*h+d*g)/(f*x+e)^(1/2)/(-(-a*d+b*c)*(h*x+g)/(-c*h+d*g)/(b*x+ 
a))^(1/2)+2*C*(-c*f+d*e)^(1/2)*(b*x+a)*(-(-a*d+b*c)*(f*x+e)/(-c*f+d*e)/(b* 
x+a))^(1/2)*(-(-a*d+b*c)*(h*x+g)/(-c*h+d*g)/(b*x+a))^(1/2)*EllipticPi((-a* 
f+b*e)^(1/2)*(d*x+c)^(1/2)/(-c*f+d*e)^(1/2)/(b*x+a)^(1/2),b*(-c*f+d*e)/d/( 
-a*f+b*e),((-c*f+d*e)*(-a*h+b*g)/(-a*f+b*e)/(-c*h+d*g))^(1/2))/d/(-a*f+b*e 
)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2)
 

Mathematica [A] (warning: unable to verify)

Time = 24.72 (sec) , antiderivative size = 583, normalized size of antiderivative = 1.30 \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {2 (a+b x)^{3/2} \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \left (-\frac {b B \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} (g+h x) \operatorname {EllipticF}\left (\arcsin \left (\sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}\right ),\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )}{(b g-a h) (a+b x) \sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}}-\frac {2 a C \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} (g+h x) \operatorname {EllipticF}\left (\arcsin \left (\sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}\right ),\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )}{(-b g+a h) (a+b x) \sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {C (-f g+e h) \sqrt {-\frac {(b e-a f) (b g-a h) (e+f x) (g+h x)}{(f g-e h)^2 (a+b x)^2}} \operatorname {EllipticPi}\left (\frac {b (-f g+e h)}{(b e-a f) h},\arcsin \left (\sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}\right ),\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )}{(b e-a f) h}\right )}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \] Input:

Integrate[(a*b*B - a^2*C + b^2*B*x + b^2*C*x^2)/((a + b*x)^(3/2)*Sqrt[c + 
d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]
 

Output:

(2*(a + b*x)^(3/2)*Sqrt[((b*g - a*h)*(c + d*x))/((d*g - c*h)*(a + b*x))]*( 
-((b*B*Sqrt[((b*g - a*h)*(e + f*x))/((f*g - e*h)*(a + b*x))]*(g + h*x)*Ell 
ipticF[ArcSin[Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]], ( 
(-(b*c) + a*d)*(-(f*g) + e*h))/((b*e - a*f)*(d*g - c*h))])/((b*g - a*h)*(a 
 + b*x)*Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))])) - (2*a* 
C*Sqrt[((b*g - a*h)*(e + f*x))/((f*g - e*h)*(a + b*x))]*(g + h*x)*Elliptic 
F[ArcSin[Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]], ((-(b* 
c) + a*d)*(-(f*g) + e*h))/((b*e - a*f)*(d*g - c*h))])/((-(b*g) + a*h)*(a + 
 b*x)*Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]) + (C*(-(f* 
g) + e*h)*Sqrt[-(((b*e - a*f)*(b*g - a*h)*(e + f*x)*(g + h*x))/((f*g - e*h 
)^2*(a + b*x)^2))]*EllipticPi[(b*(-(f*g) + e*h))/((b*e - a*f)*h), ArcSin[S 
qrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]], ((-(b*c) + a*d)* 
(-(f*g) + e*h))/((b*e - a*f)*(d*g - c*h))])/((b*e - a*f)*h)))/(Sqrt[c + d* 
x]*Sqrt[e + f*x]*Sqrt[g + h*x])
 

Rubi [A] (verified)

Time = 0.89 (sec) , antiderivative size = 436, normalized size of antiderivative = 0.98, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {2004, 2101, 183, 188, 321, 412}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {a^2 (-C)+a b B+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx\)

\(\Big \downarrow \) 2004

\(\displaystyle \int \frac {\frac {a b B-a^2 C}{a}+b C x}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}dx\)

\(\Big \downarrow \) 2101

\(\displaystyle (b B-2 a C) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}dx+C \int \frac {\sqrt {a+b x}}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}dx\)

\(\Big \downarrow \) 183

\(\displaystyle (b B-2 a C) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}dx+\frac {2 C (a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}\)

\(\Big \downarrow \) 188

\(\displaystyle \frac {2 \sqrt {g+h x} (b B-2 a C) \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \int \frac {1}{\sqrt {\frac {(b c-a d) (e+f x)}{(d e-c f) (a+b x)}+1} \sqrt {1-\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}}d\frac {\sqrt {e+f x}}{\sqrt {a+b x}}}{\sqrt {c+d x} (f g-e h) \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}+\frac {2 C (a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}\)

\(\Big \downarrow \) 321

\(\displaystyle \frac {2 C (a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}+\frac {2 \sqrt {g+h x} (b B-2 a C) \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{\sqrt {c+d x} \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}\)

\(\Big \downarrow \) 412

\(\displaystyle \frac {2 \sqrt {g+h x} (b B-2 a C) \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{\sqrt {c+d x} \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}+\frac {2 C (a+b x) \sqrt {c h-d g} \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \operatorname {EllipticPi}\left (-\frac {b (d g-c h)}{(b c-a d) h},\arcsin \left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {c h-d g} \sqrt {a+b x}}\right ),\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{h \sqrt {c+d x} \sqrt {e+f x} \sqrt {b c-a d}}\)

Input:

Int[(a*b*B - a^2*C + b^2*B*x + b^2*C*x^2)/((a + b*x)^(3/2)*Sqrt[c + d*x]*S 
qrt[e + f*x]*Sqrt[g + h*x]),x]
 

Output:

(2*(b*B - 2*a*C)*Sqrt[((b*e - a*f)*(c + d*x))/((d*e - c*f)*(a + b*x))]*Sqr 
t[g + h*x]*EllipticF[ArcSin[(Sqrt[b*g - a*h]*Sqrt[e + f*x])/(Sqrt[f*g - e* 
h]*Sqrt[a + b*x])], -(((b*c - a*d)*(f*g - e*h))/((d*e - c*f)*(b*g - a*h))) 
])/(Sqrt[b*g - a*h]*Sqrt[f*g - e*h]*Sqrt[c + d*x]*Sqrt[-(((b*e - a*f)*(g + 
 h*x))/((f*g - e*h)*(a + b*x)))]) + (2*C*Sqrt[-(d*g) + c*h]*(a + b*x)*Sqrt 
[((b*g - a*h)*(c + d*x))/((d*g - c*h)*(a + b*x))]*Sqrt[((b*g - a*h)*(e + f 
*x))/((f*g - e*h)*(a + b*x))]*EllipticPi[-((b*(d*g - c*h))/((b*c - a*d)*h) 
), ArcSin[(Sqrt[b*c - a*d]*Sqrt[g + h*x])/(Sqrt[-(d*g) + c*h]*Sqrt[a + b*x 
])], ((b*e - a*f)*(d*g - c*h))/((b*c - a*d)*(f*g - e*h))])/(Sqrt[b*c - a*d 
]*h*Sqrt[c + d*x]*Sqrt[e + f*x])
 

Defintions of rubi rules used

rule 183
Int[Sqrt[(a_.) + (b_.)*(x_)]/(Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*( 
x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_] :> Simp[2*(a + b*x)*Sqrt[(b*g - a*h)*(( 
c + d*x)/((d*g - c*h)*(a + b*x)))]*(Sqrt[(b*g - a*h)*((e + f*x)/((f*g - e*h 
)*(a + b*x)))]/(Sqrt[c + d*x]*Sqrt[e + f*x]))   Subst[Int[1/((h - b*x^2)*Sq 
rt[1 + (b*c - a*d)*(x^2/(d*g - c*h))]*Sqrt[1 + (b*e - a*f)*(x^2/(f*g - e*h) 
)]), x], x, Sqrt[g + h*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d, e, f, g, 
 h}, x]
 

rule 188
Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.) 
*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_] :> Simp[2*Sqrt[g + h*x]*(Sqrt[(b*e - 
a*f)*((c + d*x)/((d*e - c*f)*(a + b*x)))]/((f*g - e*h)*Sqrt[c + d*x]*Sqrt[( 
-(b*e - a*f))*((g + h*x)/((f*g - e*h)*(a + b*x)))]))   Subst[Int[1/(Sqrt[1 
+ (b*c - a*d)*(x^2/(d*e - c*f))]*Sqrt[1 - (b*g - a*h)*(x^2/(f*g - e*h))]), 
x], x, Sqrt[e + f*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d, e, f, g, h}, 
x]
 

rule 321
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S 
imp[(1/(Sqrt[a]*Sqrt[c]*Rt[-d/c, 2]))*EllipticF[ArcSin[Rt[-d/c, 2]*x], b*(c 
/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 
0] &&  !(NegQ[b/a] && SimplerSqrtQ[-b/a, -d/c])
 

rule 412
Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x 
_)^2]), x_Symbol] :> Simp[(1/(a*Sqrt[c]*Sqrt[e]*Rt[-d/c, 2]))*EllipticPi[b* 
(c/(a*d)), ArcSin[Rt[-d/c, 2]*x], c*(f/(d*e))], x] /; FreeQ[{a, b, c, d, e, 
 f}, x] &&  !GtQ[d/c, 0] && GtQ[c, 0] && GtQ[e, 0] &&  !( !GtQ[f/e, 0] && S 
implerSqrtQ[-f/e, -d/c])
 

rule 2004
Int[(u_)*((d_) + (e_.)*(x_))^(q_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.) 
, x_Symbol] :> Int[u*(d + e*x)^(p + q)*(a/d + (c/e)*x)^p, x] /; FreeQ[{a, b 
, c, d, e, q}, x] && EqQ[c*d^2 - b*d*e + a*e^2, 0] && IntegerQ[p]
 

rule 2101
Int[((A_.) + (B_.)*(x_))/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)] 
*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_Symbol] :> Simp[(A*b 
 - a*B)/b   Int[1/(Sqrt[a + b*x]*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]) 
, x], x] + Simp[B/b   Int[Sqrt[a + b*x]/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g 
 + h*x]), x], x] /; FreeQ[{a, b, c, d, e, f, g, h, A, B}, x]
 
Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(855\) vs. \(2(409)=818\).

Time = 21.43 (sec) , antiderivative size = 856, normalized size of antiderivative = 1.91

method result size
elliptic \(\frac {\sqrt {\left (h x +g \right ) \left (x d +c \right ) \left (b x +a \right ) \left (f x +e \right )}\, \left (\frac {2 \left (B b -C a \right ) \left (\frac {e}{f}-\frac {g}{h}\right ) \sqrt {\frac {\left (\frac {c}{d}-\frac {e}{f}\right ) \left (x +\frac {g}{h}\right )}{\left (-\frac {e}{f}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}\, \left (x +\frac {c}{d}\right )^{2} \sqrt {\frac {\left (-\frac {c}{d}+\frac {g}{h}\right ) \left (x +\frac {a}{b}\right )}{\left (-\frac {a}{b}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}\, \sqrt {\frac {\left (-\frac {c}{d}+\frac {g}{h}\right ) \left (x +\frac {e}{f}\right )}{\left (-\frac {e}{f}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}\, \operatorname {EllipticF}\left (\sqrt {\frac {\left (\frac {c}{d}-\frac {e}{f}\right ) \left (x +\frac {g}{h}\right )}{\left (-\frac {e}{f}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}, \sqrt {\frac {\left (-\frac {c}{d}+\frac {a}{b}\right ) \left (\frac {e}{f}-\frac {g}{h}\right )}{\left (\frac {a}{b}-\frac {g}{h}\right ) \left (-\frac {c}{d}+\frac {e}{f}\right )}}\right )}{\left (\frac {c}{d}-\frac {e}{f}\right ) \left (-\frac {c}{d}+\frac {g}{h}\right ) \sqrt {h d b f \left (x +\frac {g}{h}\right ) \left (x +\frac {c}{d}\right ) \left (x +\frac {a}{b}\right ) \left (x +\frac {e}{f}\right )}}+\frac {2 C b \left (\frac {e}{f}-\frac {g}{h}\right ) \sqrt {\frac {\left (\frac {c}{d}-\frac {e}{f}\right ) \left (x +\frac {g}{h}\right )}{\left (-\frac {e}{f}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}\, \left (x +\frac {c}{d}\right )^{2} \sqrt {\frac {\left (-\frac {c}{d}+\frac {g}{h}\right ) \left (x +\frac {a}{b}\right )}{\left (-\frac {a}{b}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}\, \sqrt {\frac {\left (-\frac {c}{d}+\frac {g}{h}\right ) \left (x +\frac {e}{f}\right )}{\left (-\frac {e}{f}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}\, \left (-\frac {c \operatorname {EllipticF}\left (\sqrt {\frac {\left (\frac {c}{d}-\frac {e}{f}\right ) \left (x +\frac {g}{h}\right )}{\left (-\frac {e}{f}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}, \sqrt {\frac {\left (-\frac {c}{d}+\frac {a}{b}\right ) \left (\frac {e}{f}-\frac {g}{h}\right )}{\left (\frac {a}{b}-\frac {g}{h}\right ) \left (-\frac {c}{d}+\frac {e}{f}\right )}}\right )}{d}+\left (\frac {c}{d}-\frac {g}{h}\right ) \operatorname {EllipticPi}\left (\sqrt {\frac {\left (\frac {c}{d}-\frac {e}{f}\right ) \left (x +\frac {g}{h}\right )}{\left (-\frac {e}{f}+\frac {g}{h}\right ) \left (x +\frac {c}{d}\right )}}, \frac {-\frac {e}{f}+\frac {g}{h}}{\frac {c}{d}-\frac {e}{f}}, \sqrt {\frac {\left (-\frac {c}{d}+\frac {a}{b}\right ) \left (\frac {e}{f}-\frac {g}{h}\right )}{\left (\frac {a}{b}-\frac {g}{h}\right ) \left (-\frac {c}{d}+\frac {e}{f}\right )}}\right )\right )}{\left (\frac {c}{d}-\frac {e}{f}\right ) \left (-\frac {c}{d}+\frac {g}{h}\right ) \sqrt {h d b f \left (x +\frac {g}{h}\right ) \left (x +\frac {c}{d}\right ) \left (x +\frac {a}{b}\right ) \left (x +\frac {e}{f}\right )}}\right )}{\sqrt {h x +g}\, \sqrt {x d +c}\, \sqrt {b x +a}\, \sqrt {f x +e}}\) \(856\)
default \(\text {Expression too large to display}\) \(3061\)

Input:

int((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(3/2)/(d*x+c)^(1/2)/(f*x+e)^(1 
/2)/(h*x+g)^(1/2),x,method=_RETURNVERBOSE)
 

Output:

((h*x+g)*(d*x+c)*(b*x+a)*(f*x+e))^(1/2)/(h*x+g)^(1/2)/(d*x+c)^(1/2)/(b*x+a 
)^(1/2)/(f*x+e)^(1/2)*(2*(B*b-C*a)*(e/f-g/h)*((c/d-e/f)*(x+g/h)/(-e/f+g/h) 
/(x+c/d))^(1/2)*(x+c/d)^2*((-c/d+g/h)*(x+a/b)/(-a/b+g/h)/(x+c/d))^(1/2)*(( 
-c/d+g/h)*(x+e/f)/(-e/f+g/h)/(x+c/d))^(1/2)/(c/d-e/f)/(-c/d+g/h)/(h*d*b*f* 
(x+g/h)*(x+c/d)*(x+a/b)*(x+e/f))^(1/2)*EllipticF(((c/d-e/f)*(x+g/h)/(-e/f+ 
g/h)/(x+c/d))^(1/2),((-c/d+a/b)*(e/f-g/h)/(a/b-g/h)/(-c/d+e/f))^(1/2))+2*C 
*b*(e/f-g/h)*((c/d-e/f)*(x+g/h)/(-e/f+g/h)/(x+c/d))^(1/2)*(x+c/d)^2*((-c/d 
+g/h)*(x+a/b)/(-a/b+g/h)/(x+c/d))^(1/2)*((-c/d+g/h)*(x+e/f)/(-e/f+g/h)/(x+ 
c/d))^(1/2)/(c/d-e/f)/(-c/d+g/h)/(h*d*b*f*(x+g/h)*(x+c/d)*(x+a/b)*(x+e/f)) 
^(1/2)*(-c/d*EllipticF(((c/d-e/f)*(x+g/h)/(-e/f+g/h)/(x+c/d))^(1/2),((-c/d 
+a/b)*(e/f-g/h)/(a/b-g/h)/(-c/d+e/f))^(1/2))+(c/d-g/h)*EllipticPi(((c/d-e/ 
f)*(x+g/h)/(-e/f+g/h)/(x+c/d))^(1/2),(-e/f+g/h)/(c/d-e/f),((-c/d+a/b)*(e/f 
-g/h)/(a/b-g/h)/(-c/d+e/f))^(1/2))))
 

Fricas [F(-1)]

Timed out. \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Timed out} \] Input:

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(3/2)/(d*x+c)^(1/2)/(f*x 
+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="fricas")
 

Output:

Timed out
 

Sympy [F]

\[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {B b - C a + C b x}{\sqrt {a + b x} \sqrt {c + d x} \sqrt {e + f x} \sqrt {g + h x}}\, dx \] Input:

integrate((C*b**2*x**2+B*b**2*x+B*a*b-C*a**2)/(b*x+a)**(3/2)/(d*x+c)**(1/2 
)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)
 

Output:

Integral((B*b - C*a + C*b*x)/(sqrt(a + b*x)*sqrt(c + d*x)*sqrt(e + f*x)*sq 
rt(g + h*x)), x)
 

Maxima [F]

\[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {C b^{2} x^{2} + B b^{2} x - C a^{2} + B a b}{{\left (b x + a\right )}^{\frac {3}{2}} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \] Input:

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(3/2)/(d*x+c)^(1/2)/(f*x 
+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="maxima")
 

Output:

integrate((C*b^2*x^2 + B*b^2*x - C*a^2 + B*a*b)/((b*x + a)^(3/2)*sqrt(d*x 
+ c)*sqrt(f*x + e)*sqrt(h*x + g)), x)
 

Giac [F]

\[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {C b^{2} x^{2} + B b^{2} x - C a^{2} + B a b}{{\left (b x + a\right )}^{\frac {3}{2}} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \] Input:

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(3/2)/(d*x+c)^(1/2)/(f*x 
+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="giac")
 

Output:

integrate((C*b^2*x^2 + B*b^2*x - C*a^2 + B*a*b)/((b*x + a)^(3/2)*sqrt(d*x 
+ c)*sqrt(f*x + e)*sqrt(h*x + g)), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {-C\,a^2+B\,a\,b+C\,b^2\,x^2+B\,b^2\,x}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,{\left (a+b\,x\right )}^{3/2}\,\sqrt {c+d\,x}} \,d x \] Input:

int((C*b^2*x^2 - C*a^2 + B*a*b + B*b^2*x)/((e + f*x)^(1/2)*(g + h*x)^(1/2) 
*(a + b*x)^(3/2)*(c + d*x)^(1/2)),x)
 

Output:

int((C*b^2*x^2 - C*a^2 + B*a*b + B*b^2*x)/((e + f*x)^(1/2)*(g + h*x)^(1/2) 
*(a + b*x)^(3/2)*(c + d*x)^(1/2)), x)
 

Reduce [F]

\[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {C \,b^{2} x^{2}+B \,b^{2} x +B a b -C \,a^{2}}{\left (b x +a \right )^{\frac {3}{2}} \sqrt {d x +c}\, \sqrt {f x +e}\, \sqrt {h x +g}}d x \] Input:

int((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(3/2)/(d*x+c)^(1/2)/(f*x+e)^(1 
/2)/(h*x+g)^(1/2),x)
 

Output:

int((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(3/2)/(d*x+c)^(1/2)/(f*x+e)^(1 
/2)/(h*x+g)^(1/2),x)