\(\int \frac {x^2 \sqrt {c+d x}}{(a-b x^2)^{3/2}} \, dx\) [1530]

Optimal result
Mathematica [C] (verified)
Rubi [A] (verified)
Maple [B] (verified)
Fricas [A] (verification not implemented)
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 25, antiderivative size = 292 \[ \int \frac {x^2 \sqrt {c+d x}}{\left (a-b x^2\right )^{3/2}} \, dx=\frac {x \sqrt {c+d x}}{b \sqrt {a-b x^2}}+\frac {3 \sqrt {a} \sqrt {c+d x} \sqrt {1-\frac {b x^2}{a}} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 \sqrt {a} d}{\sqrt {b} c+\sqrt {a} d}\right )}{b^{3/2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {b} c+\sqrt {a} d}} \sqrt {a-b x^2}}-\frac {\sqrt {a} c \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {b} c+\sqrt {a} d}} \sqrt {1-\frac {b x^2}{a}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 \sqrt {a} d}{\sqrt {b} c+\sqrt {a} d}\right )}{b^{3/2} \sqrt {c+d x} \sqrt {a-b x^2}} \] Output:

x*(d*x+c)^(1/2)/b/(-b*x^2+a)^(1/2)+3*a^(1/2)*(d*x+c)^(1/2)*(1-b*x^2/a)^(1/ 
2)*EllipticE(1/2*(1-b^(1/2)*x/a^(1/2))^(1/2)*2^(1/2),2^(1/2)*(a^(1/2)*d/(b 
^(1/2)*c+a^(1/2)*d))^(1/2))/b^(3/2)/(b^(1/2)*(d*x+c)/(b^(1/2)*c+a^(1/2)*d) 
)^(1/2)/(-b*x^2+a)^(1/2)-a^(1/2)*c*(b^(1/2)*(d*x+c)/(b^(1/2)*c+a^(1/2)*d)) 
^(1/2)*(1-b*x^2/a)^(1/2)*EllipticF(1/2*(1-b^(1/2)*x/a^(1/2))^(1/2)*2^(1/2) 
,2^(1/2)*(a^(1/2)*d/(b^(1/2)*c+a^(1/2)*d))^(1/2))/b^(3/2)/(d*x+c)^(1/2)/(- 
b*x^2+a)^(1/2)
 

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 22.99 (sec) , antiderivative size = 437, normalized size of antiderivative = 1.50 \[ \int \frac {x^2 \sqrt {c+d x}}{\left (a-b x^2\right )^{3/2}} \, dx=\frac {\sqrt {a-b x^2} \left (-\frac {b x (c+d x)}{-a+b x^2}-\frac {3 d^2 \sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}} \left (a-b x^2\right )+3 i \sqrt {b} \left (\sqrt {b} c-\sqrt {a} d\right ) \sqrt {\frac {d \left (\frac {\sqrt {a}}{\sqrt {b}}+x\right )}{c+d x}} \sqrt {-\frac {\frac {\sqrt {a} d}{\sqrt {b}}-d x}{c+d x}} (c+d x)^{3/2} E\left (i \text {arcsinh}\left (\frac {\sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}}{\sqrt {c+d x}}\right )|\frac {\sqrt {b} c+\sqrt {a} d}{\sqrt {b} c-\sqrt {a} d}\right )-i \sqrt {b} \left (2 \sqrt {b} c-3 \sqrt {a} d\right ) \sqrt {\frac {d \left (\frac {\sqrt {a}}{\sqrt {b}}+x\right )}{c+d x}} \sqrt {-\frac {\frac {\sqrt {a} d}{\sqrt {b}}-d x}{c+d x}} (c+d x)^{3/2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}}{\sqrt {c+d x}}\right ),\frac {\sqrt {b} c+\sqrt {a} d}{\sqrt {b} c-\sqrt {a} d}\right )}{d \sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}} \left (-a+b x^2\right )}\right )}{b^2 \sqrt {c+d x}} \] Input:

Integrate[(x^2*Sqrt[c + d*x])/(a - b*x^2)^(3/2),x]
 

Output:

(Sqrt[a - b*x^2]*(-((b*x*(c + d*x))/(-a + b*x^2)) - (3*d^2*Sqrt[-c + (Sqrt 
[a]*d)/Sqrt[b]]*(a - b*x^2) + (3*I)*Sqrt[b]*(Sqrt[b]*c - Sqrt[a]*d)*Sqrt[( 
d*(Sqrt[a]/Sqrt[b] + x))/(c + d*x)]*Sqrt[-(((Sqrt[a]*d)/Sqrt[b] - d*x)/(c 
+ d*x))]*(c + d*x)^(3/2)*EllipticE[I*ArcSinh[Sqrt[-c + (Sqrt[a]*d)/Sqrt[b] 
]/Sqrt[c + d*x]], (Sqrt[b]*c + Sqrt[a]*d)/(Sqrt[b]*c - Sqrt[a]*d)] - I*Sqr 
t[b]*(2*Sqrt[b]*c - 3*Sqrt[a]*d)*Sqrt[(d*(Sqrt[a]/Sqrt[b] + x))/(c + d*x)] 
*Sqrt[-(((Sqrt[a]*d)/Sqrt[b] - d*x)/(c + d*x))]*(c + d*x)^(3/2)*EllipticF[ 
I*ArcSinh[Sqrt[-c + (Sqrt[a]*d)/Sqrt[b]]/Sqrt[c + d*x]], (Sqrt[b]*c + Sqrt 
[a]*d)/(Sqrt[b]*c - Sqrt[a]*d)])/(d*Sqrt[-c + (Sqrt[a]*d)/Sqrt[b]]*(-a + b 
*x^2))))/(b^2*Sqrt[c + d*x])
 

Rubi [A] (verified)

Time = 0.58 (sec) , antiderivative size = 367, normalized size of antiderivative = 1.26, number of steps used = 13, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.480, Rules used = {602, 27, 687, 27, 27, 600, 509, 508, 327, 512, 511, 321}

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 {x^2 \sqrt {c+d x}}{\left (a-b x^2\right )^{3/2}} \, dx\)

\(\Big \downarrow \) 602

\(\displaystyle \frac {\int -\frac {a \sqrt {c+d x} \left (2 c^2+3 d x c-\frac {3 a d^2}{b}\right )}{2 \sqrt {a-b x^2}}dx}{a \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 27

\(\displaystyle -\frac {\int \frac {\sqrt {c+d x} \left (2 c^2+3 d x c-\frac {3 a d^2}{b}\right )}{\sqrt {a-b x^2}}dx}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 687

\(\displaystyle -\frac {-\frac {2 \int -\frac {3 \left (2 c \left (b c^2-a d^2\right )+3 d x \left (b c^2-a d^2\right )\right )}{2 \sqrt {c+d x} \sqrt {a-b x^2}}dx}{3 b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 27

\(\displaystyle -\frac {\frac {\int \frac {\left (b c^2-a d^2\right ) (2 c+3 d x)}{\sqrt {c+d x} \sqrt {a-b x^2}}dx}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 27

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \int \frac {2 c+3 d x}{\sqrt {c+d x} \sqrt {a-b x^2}}dx}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 600

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \left (3 \int \frac {\sqrt {c+d x}}{\sqrt {a-b x^2}}dx-c \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx\right )}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 509

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \left (\frac {3 \sqrt {1-\frac {b x^2}{a}} \int \frac {\sqrt {c+d x}}{\sqrt {1-\frac {b x^2}{a}}}dx}{\sqrt {a-b x^2}}-c \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx\right )}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 508

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \left (-c \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx-\frac {6 \sqrt {a} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} \int \frac {\sqrt {1-\frac {d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\frac {\sqrt {b} c}{\sqrt {a}}+d}}}{\sqrt {\frac {1}{2} \left (\frac {\sqrt {b} x}{\sqrt {a}}-1\right )+1}}d\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}}{\sqrt {b} \sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}\right )}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 327

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \left (-c \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx-\frac {6 \sqrt {a} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}\right )}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 512

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \left (-\frac {c \sqrt {1-\frac {b x^2}{a}} \int \frac {1}{\sqrt {c+d x} \sqrt {1-\frac {b x^2}{a}}}dx}{\sqrt {a-b x^2}}-\frac {6 \sqrt {a} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}\right )}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 511

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \left (\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \int \frac {1}{\sqrt {1-\frac {d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\frac {\sqrt {b} c}{\sqrt {a}}+d}} \sqrt {\frac {1}{2} \left (\frac {\sqrt {b} x}{\sqrt {a}}-1\right )+1}}d\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}-\frac {6 \sqrt {a} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}\right )}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

\(\Big \downarrow \) 321

\(\displaystyle -\frac {\frac {\left (b c^2-a d^2\right ) \left (\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}-\frac {6 \sqrt {a} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}\right )}{b}-\frac {2 c d \sqrt {a-b x^2} \sqrt {c+d x}}{b}}{2 \left (b c^2-a d^2\right )}-\frac {(c+d x)^{3/2} (a d-b c x)}{b \sqrt {a-b x^2} \left (b c^2-a d^2\right )}\)

Input:

Int[(x^2*Sqrt[c + d*x])/(a - b*x^2)^(3/2),x]
 

Output:

-(((a*d - b*c*x)*(c + d*x)^(3/2))/(b*(b*c^2 - a*d^2)*Sqrt[a - b*x^2])) - ( 
(-2*c*d*Sqrt[c + d*x]*Sqrt[a - b*x^2])/b + ((b*c^2 - a*d^2)*((-6*Sqrt[a]*S 
qrt[c + d*x]*Sqrt[1 - (b*x^2)/a]*EllipticE[ArcSin[Sqrt[1 - (Sqrt[b]*x)/Sqr 
t[a]]/Sqrt[2]], (2*d)/((Sqrt[b]*c)/Sqrt[a] + d)])/(Sqrt[b]*Sqrt[(Sqrt[b]*( 
c + d*x))/(Sqrt[b]*c + Sqrt[a]*d)]*Sqrt[a - b*x^2]) + (2*Sqrt[a]*c*Sqrt[(S 
qrt[b]*(c + d*x))/(Sqrt[b]*c + Sqrt[a]*d)]*Sqrt[1 - (b*x^2)/a]*EllipticF[A 
rcSin[Sqrt[1 - (Sqrt[b]*x)/Sqrt[a]]/Sqrt[2]], (2*d)/((Sqrt[b]*c)/Sqrt[a] + 
 d)])/(Sqrt[b]*Sqrt[c + d*x]*Sqrt[a - b*x^2])))/b)/(2*(b*c^2 - a*d^2))
 

Defintions of rubi rules used

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, 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 327
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[ 
(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*EllipticE[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]
 

rule 508
Int[Sqrt[(c_) + (d_.)*(x_)]/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> With[{q 
 = Rt[-b/a, 2]}, Simp[-2*(Sqrt[c + d*x]/(Sqrt[a]*q*Sqrt[q*((c + d*x)/(d + c 
*q))]))   Subst[Int[Sqrt[1 - 2*d*(x^2/(d + c*q))]/Sqrt[1 - x^2], x], x, Sqr 
t[(1 - q*x)/2]], x]] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] && GtQ[a, 0]
 

rule 509
Int[Sqrt[(c_) + (d_.)*(x_)]/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[Sq 
rt[1 + b*(x^2/a)]/Sqrt[a + b*x^2]   Int[Sqrt[c + d*x]/Sqrt[1 + b*(x^2/a)], 
x], x] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] &&  !GtQ[a, 0]
 

rule 511
Int[1/(Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] :> Wit 
h[{q = Rt[-b/a, 2]}, Simp[-2*(Sqrt[q*((c + d*x)/(d + c*q))]/(Sqrt[a]*q*Sqrt 
[c + d*x]))   Subst[Int[1/(Sqrt[1 - 2*d*(x^2/(d + c*q))]*Sqrt[1 - x^2]), x] 
, x, Sqrt[(1 - q*x)/2]], x]] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] && GtQ[ 
a, 0]
 

rule 512
Int[1/(Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] :> Sim 
p[Sqrt[1 + b*(x^2/a)]/Sqrt[a + b*x^2]   Int[1/(Sqrt[c + d*x]*Sqrt[1 + b*(x^ 
2/a)]), x], x] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] &&  !GtQ[a, 0]
 

rule 600
Int[((A_.) + (B_.)*(x_))/(Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2] 
), x_Symbol] :> Simp[B/d   Int[Sqrt[c + d*x]/Sqrt[a + b*x^2], x], x] - Simp 
[(B*c - A*d)/d   Int[1/(Sqrt[c + d*x]*Sqrt[a + b*x^2]), x], x] /; FreeQ[{a, 
 b, c, d, A, B}, x] && NegQ[b/a]
 

rule 602
Int[(x_)^(m_)*((c_) + (d_.)*(x_))^(n_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbo 
l] :> With[{Qx = PolynomialQuotient[x^m, a + b*x^2, x], e = Coeff[Polynomia 
lRemainder[x^m, a + b*x^2, x], x, 0], f = Coeff[PolynomialRemainder[x^m, a 
+ b*x^2, x], x, 1]}, Simp[(-(c + d*x)^(n + 1))*(a + b*x^2)^(p + 1)*((a*(d*e 
 - c*f) + (b*c*e + a*d*f)*x)/(2*a*(p + 1)*(b*c^2 + a*d^2))), x] + Simp[1/(2 
*a*(p + 1)*(b*c^2 + a*d^2))   Int[(c + d*x)^n*(a + b*x^2)^(p + 1)*ExpandToS 
um[2*a*(p + 1)*(b*c^2 + a*d^2)*Qx + e*(b*c^2*(2*p + 3) + a*d^2*(n + 2*p + 3 
)) - a*c*d*f*n + d*(b*c*e + a*d*f)*(n + 2*p + 4)*x, x], x], x]] /; FreeQ[{a 
, b, c, d, n}, x] && IGtQ[m, 1] && LtQ[p, -1] && NeQ[b*c^2 + a*d^2, 0]
 

rule 687
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p 
_.), x_Symbol] :> Simp[g*(d + e*x)^m*((a + c*x^2)^(p + 1)/(c*(m + 2*p + 2)) 
), x] + Simp[1/(c*(m + 2*p + 2))   Int[(d + e*x)^(m - 1)*(a + c*x^2)^p*Simp 
[c*d*f*(m + 2*p + 2) - a*e*g*m + c*(e*f*(m + 2*p + 2) + d*g*m)*x, x], x], x 
] /; FreeQ[{a, c, d, e, f, g, p}, x] && GtQ[m, 0] && NeQ[m + 2*p + 2, 0] && 
 (IntegerQ[m] || IntegerQ[p] || IntegersQ[2*m, 2*p]) &&  !(IGtQ[m, 0] && Eq 
Q[f, 0])
 
Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(583\) vs. \(2(234)=468\).

Time = 2.16 (sec) , antiderivative size = 584, normalized size of antiderivative = 2.00

method result size
elliptic \(\frac {\sqrt {\left (d x +c \right ) \left (-b \,x^{2}+a \right )}\, \left (-\frac {\left (-b d x -b c \right ) x}{b^{2} \sqrt {\left (x^{2}-\frac {a}{b}\right ) \left (-b d x -b c \right )}}-\frac {2 c \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x -\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x +\frac {\sqrt {a b}}{b}}{-\frac {c}{d}+\frac {\sqrt {a b}}{b}}}\, \operatorname {EllipticF}\left (\sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}, \sqrt {\frac {-\frac {c}{d}+\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\right )}{b \sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}-\frac {3 d \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x -\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x +\frac {\sqrt {a b}}{b}}{-\frac {c}{d}+\frac {\sqrt {a b}}{b}}}\, \left (\left (-\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \operatorname {EllipticE}\left (\sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}, \sqrt {\frac {-\frac {c}{d}+\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\right )+\frac {\sqrt {a b}\, \operatorname {EllipticF}\left (\sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}, \sqrt {\frac {-\frac {c}{d}+\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\right )}{b}\right )}{b \sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}\right )}{\sqrt {d x +c}\, \sqrt {-b \,x^{2}+a}}\) \(584\)
default \(\frac {\sqrt {d x +c}\, \sqrt {-b \,x^{2}+a}\, \left (3 a \sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}\, \sqrt {\frac {\left (-b x +\sqrt {a b}\right ) d}{d \sqrt {a b}+b c}}\, \sqrt {\frac {\left (b x +\sqrt {a b}\right ) d}{d \sqrt {a b}-b c}}\, \operatorname {EllipticF}\left (\sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}, \sqrt {-\frac {d \sqrt {a b}-b c}{d \sqrt {a b}+b c}}\right ) d^{2}-2 \sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}\, \sqrt {\frac {\left (-b x +\sqrt {a b}\right ) d}{d \sqrt {a b}+b c}}\, \sqrt {\frac {\left (b x +\sqrt {a b}\right ) d}{d \sqrt {a b}-b c}}\, \operatorname {EllipticF}\left (\sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}, \sqrt {-\frac {d \sqrt {a b}-b c}{d \sqrt {a b}+b c}}\right ) b \,c^{2}-\sqrt {a b}\, \sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}\, \sqrt {\frac {\left (-b x +\sqrt {a b}\right ) d}{d \sqrt {a b}+b c}}\, \sqrt {\frac {\left (b x +\sqrt {a b}\right ) d}{d \sqrt {a b}-b c}}\, \operatorname {EllipticF}\left (\sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}, \sqrt {-\frac {d \sqrt {a b}-b c}{d \sqrt {a b}+b c}}\right ) c d -3 \sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}\, \sqrt {\frac {\left (-b x +\sqrt {a b}\right ) d}{d \sqrt {a b}+b c}}\, \sqrt {\frac {\left (b x +\sqrt {a b}\right ) d}{d \sqrt {a b}-b c}}\, \operatorname {EllipticE}\left (\sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}, \sqrt {-\frac {d \sqrt {a b}-b c}{d \sqrt {a b}+b c}}\right ) a \,d^{2}+3 \sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}\, \sqrt {\frac {\left (-b x +\sqrt {a b}\right ) d}{d \sqrt {a b}+b c}}\, \sqrt {\frac {\left (b x +\sqrt {a b}\right ) d}{d \sqrt {a b}-b c}}\, \operatorname {EllipticE}\left (\sqrt {-\frac {\left (d x +c \right ) b}{d \sqrt {a b}-b c}}, \sqrt {-\frac {d \sqrt {a b}-b c}{d \sqrt {a b}+b c}}\right ) b \,c^{2}+b \,x^{2} d^{2}+b c d x \right )}{\left (-b d \,x^{3}-b c \,x^{2}+a d x +a c \right ) b^{2} d}\) \(756\)

Input:

int(x^2*(d*x+c)^(1/2)/(-b*x^2+a)^(3/2),x,method=_RETURNVERBOSE)
 

Output:

((d*x+c)*(-b*x^2+a))^(1/2)/(d*x+c)^(1/2)/(-b*x^2+a)^(1/2)*(-(-b*d*x-b*c)/b 
^2*x/((x^2-a/b)*(-b*d*x-b*c))^(1/2)-2/b*c*(c/d-1/b*(a*b)^(1/2))*((x+c/d)/( 
c/d-1/b*(a*b)^(1/2)))^(1/2)*((x-1/b*(a*b)^(1/2))/(-c/d-1/b*(a*b)^(1/2)))^( 
1/2)*((x+1/b*(a*b)^(1/2))/(-c/d+1/b*(a*b)^(1/2)))^(1/2)/(-b*d*x^3-b*c*x^2+ 
a*d*x+a*c)^(1/2)*EllipticF(((x+c/d)/(c/d-1/b*(a*b)^(1/2)))^(1/2),((-c/d+1/ 
b*(a*b)^(1/2))/(-c/d-1/b*(a*b)^(1/2)))^(1/2))-3*d/b*(c/d-1/b*(a*b)^(1/2))* 
((x+c/d)/(c/d-1/b*(a*b)^(1/2)))^(1/2)*((x-1/b*(a*b)^(1/2))/(-c/d-1/b*(a*b) 
^(1/2)))^(1/2)*((x+1/b*(a*b)^(1/2))/(-c/d+1/b*(a*b)^(1/2)))^(1/2)/(-b*d*x^ 
3-b*c*x^2+a*d*x+a*c)^(1/2)*((-c/d-1/b*(a*b)^(1/2))*EllipticE(((x+c/d)/(c/d 
-1/b*(a*b)^(1/2)))^(1/2),((-c/d+1/b*(a*b)^(1/2))/(-c/d-1/b*(a*b)^(1/2)))^( 
1/2))+1/b*(a*b)^(1/2)*EllipticF(((x+c/d)/(c/d-1/b*(a*b)^(1/2)))^(1/2),((-c 
/d+1/b*(a*b)^(1/2))/(-c/d-1/b*(a*b)^(1/2)))^(1/2))))
 

Fricas [A] (verification not implemented)

Time = 0.09 (sec) , antiderivative size = 228, normalized size of antiderivative = 0.78 \[ \int \frac {x^2 \sqrt {c+d x}}{\left (a-b x^2\right )^{3/2}} \, dx=-\frac {\sqrt {-b x^{2} + a} \sqrt {d x + c} b d x - {\left (b c x^{2} - a c\right )} \sqrt {-b d} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (b c^{2} + 3 \, a d^{2}\right )}}{3 \, b d^{2}}, -\frac {8 \, {\left (b c^{3} - 9 \, a c d^{2}\right )}}{27 \, b d^{3}}, \frac {3 \, d x + c}{3 \, d}\right ) + 3 \, {\left (b d x^{2} - a d\right )} \sqrt {-b d} {\rm weierstrassZeta}\left (\frac {4 \, {\left (b c^{2} + 3 \, a d^{2}\right )}}{3 \, b d^{2}}, -\frac {8 \, {\left (b c^{3} - 9 \, a c d^{2}\right )}}{27 \, b d^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (b c^{2} + 3 \, a d^{2}\right )}}{3 \, b d^{2}}, -\frac {8 \, {\left (b c^{3} - 9 \, a c d^{2}\right )}}{27 \, b d^{3}}, \frac {3 \, d x + c}{3 \, d}\right )\right )}{b^{3} d x^{2} - a b^{2} d} \] Input:

integrate(x^2*(d*x+c)^(1/2)/(-b*x^2+a)^(3/2),x, algorithm="fricas")
 

Output:

-(sqrt(-b*x^2 + a)*sqrt(d*x + c)*b*d*x - (b*c*x^2 - a*c)*sqrt(-b*d)*weiers 
trassPInverse(4/3*(b*c^2 + 3*a*d^2)/(b*d^2), -8/27*(b*c^3 - 9*a*c*d^2)/(b* 
d^3), 1/3*(3*d*x + c)/d) + 3*(b*d*x^2 - a*d)*sqrt(-b*d)*weierstrassZeta(4/ 
3*(b*c^2 + 3*a*d^2)/(b*d^2), -8/27*(b*c^3 - 9*a*c*d^2)/(b*d^3), weierstras 
sPInverse(4/3*(b*c^2 + 3*a*d^2)/(b*d^2), -8/27*(b*c^3 - 9*a*c*d^2)/(b*d^3) 
, 1/3*(3*d*x + c)/d)))/(b^3*d*x^2 - a*b^2*d)
 

Sympy [F]

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

integrate(x**2*(d*x+c)**(1/2)/(-b*x**2+a)**(3/2),x)
 

Output:

Integral(x**2*sqrt(c + d*x)/(a - b*x**2)**(3/2), x)
 

Maxima [F]

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

integrate(x^2*(d*x+c)^(1/2)/(-b*x^2+a)^(3/2),x, algorithm="maxima")
 

Output:

integrate(sqrt(d*x + c)*x^2/(-b*x^2 + a)^(3/2), x)
 

Giac [F]

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

integrate(x^2*(d*x+c)^(1/2)/(-b*x^2+a)^(3/2),x, algorithm="giac")
 

Output:

integrate(sqrt(d*x + c)*x^2/(-b*x^2 + a)^(3/2), x)
                                                                                    
                                                                                    
 

Mupad [F(-1)]

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

int((x^2*(c + d*x)^(1/2))/(a - b*x^2)^(3/2),x)
 

Output:

int((x^2*(c + d*x)^(1/2))/(a - b*x^2)^(3/2), x)
 

Reduce [F]

\[ \int \frac {x^2 \sqrt {c+d x}}{\left (a-b x^2\right )^{3/2}} \, dx =\text {Too large to display} \] Input:

int(x^2*(d*x+c)^(1/2)/(-b*x^2+a)^(3/2),x)
 

Output:

(6*sqrt(c + d*x)*sqrt(a - b*x**2)*a*d - 4*sqrt(c + d*x)*sqrt(a - b*x**2)*b 
*c*x - 3*int(sqrt(c + d*x)/(sqrt(a - b*x**2)*a*c**2 - sqrt(a - b*x**2)*a*d 
**2*x**2 - sqrt(a - b*x**2)*b*c**2*x**2 + sqrt(a - b*x**2)*b*d**2*x**4),x) 
*a**3*c*d**2 + 4*int(sqrt(c + d*x)/(sqrt(a - b*x**2)*a*c**2 - sqrt(a - b*x 
**2)*a*d**2*x**2 - sqrt(a - b*x**2)*b*c**2*x**2 + sqrt(a - b*x**2)*b*d**2* 
x**4),x)*a**2*b*c**3 + 3*int(sqrt(c + d*x)/(sqrt(a - b*x**2)*a*c**2 - sqrt 
(a - b*x**2)*a*d**2*x**2 - sqrt(a - b*x**2)*b*c**2*x**2 + sqrt(a - b*x**2) 
*b*d**2*x**4),x)*a**2*b*c*d**2*x**2 - 4*int(sqrt(c + d*x)/(sqrt(a - b*x**2 
)*a*c**2 - sqrt(a - b*x**2)*a*d**2*x**2 - sqrt(a - b*x**2)*b*c**2*x**2 + s 
qrt(a - b*x**2)*b*d**2*x**4),x)*a*b**2*c**3*x**2 - 3*int((sqrt(c + d*x)*sq 
rt(a - b*x**2)*x**2)/(a**2*c + a**2*d*x - 2*a*b*c*x**2 - 2*a*b*d*x**3 + b* 
*2*c*x**4 + b**2*d*x**5),x)*a**2*b*d**2 + 2*int((sqrt(c + d*x)*sqrt(a - b* 
x**2)*x**2)/(a**2*c + a**2*d*x - 2*a*b*c*x**2 - 2*a*b*d*x**3 + b**2*c*x**4 
 + b**2*d*x**5),x)*a*b**2*c**2 + 3*int((sqrt(c + d*x)*sqrt(a - b*x**2)*x** 
2)/(a**2*c + a**2*d*x - 2*a*b*c*x**2 - 2*a*b*d*x**3 + b**2*c*x**4 + b**2*d 
*x**5),x)*a*b**2*d**2*x**2 - 2*int((sqrt(c + d*x)*sqrt(a - b*x**2)*x**2)/( 
a**2*c + a**2*d*x - 2*a*b*c*x**2 - 2*a*b*d*x**3 + b**2*c*x**4 + b**2*d*x** 
5),x)*b**3*c**2*x**2 + 3*int((sqrt(c + d*x)*x)/(sqrt(a - b*x**2)*a*c**2 - 
sqrt(a - b*x**2)*a*d**2*x**2 - sqrt(a - b*x**2)*b*c**2*x**2 + sqrt(a - b*x 
**2)*b*d**2*x**4),x)*a**3*d**3 - 4*int((sqrt(c + d*x)*x)/(sqrt(a - b*x*...