3.240 \(\int \frac{x^2}{\sqrt{a+b x}+\sqrt{c+b x}} \, dx\)

Optimal. Leaf size=147 \[ \frac{2 a^2 (a+b x)^{3/2}}{3 b^3 (a-c)}-\frac{2 c^2 (b x+c)^{3/2}}{3 b^3 (a-c)}+\frac{2 (a+b x)^{7/2}}{7 b^3 (a-c)}-\frac{4 a (a+b x)^{5/2}}{5 b^3 (a-c)}-\frac{2 (b x+c)^{7/2}}{7 b^3 (a-c)}+\frac{4 c (b x+c)^{5/2}}{5 b^3 (a-c)} \]

[Out]

(2*a^2*(a + b*x)^(3/2))/(3*b^3*(a - c)) - (4*a*(a + b*x)^(5/2))/(5*b^3*(a - c))
+ (2*(a + b*x)^(7/2))/(7*b^3*(a - c)) - (2*c^2*(c + b*x)^(3/2))/(3*b^3*(a - c))
+ (4*c*(c + b*x)^(5/2))/(5*b^3*(a - c)) - (2*(c + b*x)^(7/2))/(7*b^3*(a - c))

_______________________________________________________________________________________

Rubi [A]  time = 0.250968, antiderivative size = 147, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 2, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.08 \[ \frac{2 a^2 (a+b x)^{3/2}}{3 b^3 (a-c)}-\frac{2 c^2 (b x+c)^{3/2}}{3 b^3 (a-c)}+\frac{2 (a+b x)^{7/2}}{7 b^3 (a-c)}-\frac{4 a (a+b x)^{5/2}}{5 b^3 (a-c)}-\frac{2 (b x+c)^{7/2}}{7 b^3 (a-c)}+\frac{4 c (b x+c)^{5/2}}{5 b^3 (a-c)} \]

Antiderivative was successfully verified.

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

[Out]

(2*a^2*(a + b*x)^(3/2))/(3*b^3*(a - c)) - (4*a*(a + b*x)^(5/2))/(5*b^3*(a - c))
+ (2*(a + b*x)^(7/2))/(7*b^3*(a - c)) - (2*c^2*(c + b*x)^(3/2))/(3*b^3*(a - c))
+ (4*c*(c + b*x)^(5/2))/(5*b^3*(a - c)) - (2*(c + b*x)^(7/2))/(7*b^3*(a - c))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 27.5271, size = 121, normalized size = 0.82 \[ \frac{2 a^{2} \left (a + b x\right )^{\frac{3}{2}}}{3 b^{3} \left (a - c\right )} - \frac{4 a \left (a + b x\right )^{\frac{5}{2}}}{5 b^{3} \left (a - c\right )} - \frac{2 c^{2} \left (b x + c\right )^{\frac{3}{2}}}{3 b^{3} \left (a - c\right )} + \frac{4 c \left (b x + c\right )^{\frac{5}{2}}}{5 b^{3} \left (a - c\right )} + \frac{2 \left (a + b x\right )^{\frac{7}{2}}}{7 b^{3} \left (a - c\right )} - \frac{2 \left (b x + c\right )^{\frac{7}{2}}}{7 b^{3} \left (a - c\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2/((b*x+a)**(1/2)+(b*x+c)**(1/2)),x)

[Out]

2*a**2*(a + b*x)**(3/2)/(3*b**3*(a - c)) - 4*a*(a + b*x)**(5/2)/(5*b**3*(a - c))
 - 2*c**2*(b*x + c)**(3/2)/(3*b**3*(a - c)) + 4*c*(b*x + c)**(5/2)/(5*b**3*(a -
c)) + 2*(a + b*x)**(7/2)/(7*b**3*(a - c)) - 2*(b*x + c)**(7/2)/(7*b**3*(a - c))

_______________________________________________________________________________________

Mathematica [A]  time = 0.154433, size = 140, normalized size = 0.95 \[ \frac{2 \left (8 a^3 \sqrt{a+b x}-4 a^2 b x \sqrt{a+b x}+15 b^3 x^3 \left (\sqrt{a+b x}-\sqrt{b x+c}\right )+3 a b^2 x^2 \sqrt{a+b x}-3 b^2 c x^2 \sqrt{b x+c}-8 c^3 \sqrt{b x+c}+4 b c^2 x \sqrt{b x+c}\right )}{105 b^3 (a-c)} \]

Antiderivative was successfully verified.

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

[Out]

(2*(8*a^3*Sqrt[a + b*x] - 4*a^2*b*x*Sqrt[a + b*x] + 3*a*b^2*x^2*Sqrt[a + b*x] -
8*c^3*Sqrt[c + b*x] + 4*b*c^2*x*Sqrt[c + b*x] - 3*b^2*c*x^2*Sqrt[c + b*x] + 15*b
^3*x^3*(Sqrt[a + b*x] - Sqrt[c + b*x])))/(105*b^3*(a - c))

_______________________________________________________________________________________

Maple [A]  time = 0.007, size = 90, normalized size = 0.6 \[ 2\,{\frac{1/7\, \left ( bx+a \right ) ^{7/2}-2/5\, \left ( bx+a \right ) ^{5/2}a+1/3\,{a}^{2} \left ( bx+a \right ) ^{3/2}}{ \left ( a-c \right ){b}^{3}}}-2\,{\frac{1/7\, \left ( bx+c \right ) ^{7/2}-2/5\, \left ( bx+c \right ) ^{5/2}c+1/3\,{c}^{2} \left ( bx+c \right ) ^{3/2}}{ \left ( a-c \right ){b}^{3}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2/((b*x+a)^(1/2)+(b*x+c)^(1/2)),x)

[Out]

2/(a-c)/b^3*(1/7*(b*x+a)^(7/2)-2/5*(b*x+a)^(5/2)*a+1/3*a^2*(b*x+a)^(3/2))-2/(a-c
)/b^3*(1/7*(b*x+c)^(7/2)-2/5*(b*x+c)^(5/2)*c+1/3*c^2*(b*x+c)^(3/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{b x + a} + \sqrt{b x + c}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/(sqrt(b*x + a) + sqrt(b*x + c)),x, algorithm="maxima")

[Out]

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

_______________________________________________________________________________________

Fricas [A]  time = 0.296346, size = 127, normalized size = 0.86 \[ \frac{2 \,{\left ({\left (15 \, b^{3} x^{3} + 3 \, a b^{2} x^{2} - 4 \, a^{2} b x + 8 \, a^{3}\right )} \sqrt{b x + a} -{\left (15 \, b^{3} x^{3} + 3 \, b^{2} c x^{2} - 4 \, b c^{2} x + 8 \, c^{3}\right )} \sqrt{b x + c}\right )}}{105 \,{\left (a b^{3} - b^{3} c\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/(sqrt(b*x + a) + sqrt(b*x + c)),x, algorithm="fricas")

[Out]

2/105*((15*b^3*x^3 + 3*a*b^2*x^2 - 4*a^2*b*x + 8*a^3)*sqrt(b*x + a) - (15*b^3*x^
3 + 3*b^2*c*x^2 - 4*b*c^2*x + 8*c^3)*sqrt(b*x + c))/(a*b^3 - b^3*c)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{a + b x} + \sqrt{b x + c}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2/((b*x+a)**(1/2)+(b*x+c)**(1/2)),x)

[Out]

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

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \mathit{undef} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/(sqrt(b*x + a) + sqrt(b*x + c)),x, algorithm="giac")

[Out]

undef