Integrand size = 48, antiderivative size = 225 \[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\frac {\sqrt {-b x+a^2 x^2} \left (-15 b^2-104 a^2 b x+96 a^4 x^2\right ) \sqrt {x \left (a x+\sqrt {-b x+a^2 x^2}\right )}}{120 a^2 b^2 x}+\sqrt {x \left (a x+\sqrt {-b x+a^2 x^2}\right )} \left (\frac {5 b^2+152 a^2 b x-96 a^4 x^2}{120 a b^2}+\frac {\sqrt {b} \sqrt {-a x+\sqrt {-b x+a^2 x^2}} \arctan \left (\frac {\sqrt {2} \sqrt {a} \sqrt {-a x+\sqrt {-b x+a^2 x^2}}}{\sqrt {b}}\right )}{8 \sqrt {2} a^{5/2} x}\right ) \] Output:
1/120*(a^2*x^2-b*x)^(1/2)*(96*a^4*x^2-104*a^2*b*x-15*b^2)*(x*(a*x+(a^2*x^2 -b*x)^(1/2)))^(1/2)/a^2/b^2/x+(x*(a*x+(a^2*x^2-b*x)^(1/2)))^(1/2)*(1/120*( -96*a^4*x^2+152*a^2*b*x+5*b^2)/a/b^2+1/16*b^(1/2)*(-a*x+(a^2*x^2-b*x)^(1/2 ))^(1/2)*arctan(2^(1/2)*a^(1/2)*(-a*x+(a^2*x^2-b*x)^(1/2))^(1/2)/b^(1/2))* 2^(1/2)/a^(5/2)/x)
Time = 4.32 (sec) , antiderivative size = 247, normalized size of antiderivative = 1.10 \[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\frac {\sqrt {x \left (a x+\sqrt {x \left (-b+a^2 x\right )}\right )} \left (2 \sqrt {a} x \left (15 b^3+96 a^5 x^2 \left (a x-\sqrt {x \left (-b+a^2 x\right )}\right )+a b^2 \left (89 a x+5 \sqrt {x \left (-b+a^2 x\right )}\right )+8 a^3 b x \left (-25 a x+19 \sqrt {x \left (-b+a^2 x\right )}\right )\right )+15 \sqrt {2} b^{5/2} \sqrt {x \left (-b+a^2 x\right )} \sqrt {-a x+\sqrt {x \left (-b+a^2 x\right )}} \arctan \left (\frac {\sqrt {2} \sqrt {a} \sqrt {-a x+\sqrt {x \left (-b+a^2 x\right )}}}{\sqrt {b}}\right )\right )}{240 a^{5/2} b^2 x \sqrt {x \left (-b+a^2 x\right )}} \] Input:
Integrate[(x^2*Sqrt[-(b*x) + a^2*x^2])/(a*x^2 + x*Sqrt[-(b*x) + a^2*x^2])^ (3/2),x]
Output:
(Sqrt[x*(a*x + Sqrt[x*(-b + a^2*x)])]*(2*Sqrt[a]*x*(15*b^3 + 96*a^5*x^2*(a *x - Sqrt[x*(-b + a^2*x)]) + a*b^2*(89*a*x + 5*Sqrt[x*(-b + a^2*x)]) + 8*a ^3*b*x*(-25*a*x + 19*Sqrt[x*(-b + a^2*x)])) + 15*Sqrt[2]*b^(5/2)*Sqrt[x*(- b + a^2*x)]*Sqrt[-(a*x) + Sqrt[x*(-b + a^2*x)]]*ArcTan[(Sqrt[2]*Sqrt[a]*Sq rt[-(a*x) + Sqrt[x*(-b + a^2*x)]])/Sqrt[b]]))/(240*a^(5/2)*b^2*x*Sqrt[x*(- b + a^2*x)])
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 {a^2 x^2-b x}}{\left (x \sqrt {a^2 x^2-b x}+a x^2\right )^{3/2}} \, dx\) |
\(\Big \downarrow \) 2467 |
\(\displaystyle \frac {\sqrt {a^2 x^2-b x} \int \frac {x^{5/2} \sqrt {a^2 x-b}}{\left (a x^2+\sqrt {a^2 x^2-b x} x\right )^{3/2}}dx}{\sqrt {x} \sqrt {a^2 x-b}}\) |
\(\Big \downarrow \) 2035 |
\(\displaystyle \frac {2 \sqrt {a^2 x^2-b x} \int \frac {x^3 \sqrt {a^2 x-b}}{\left (a x^2+\sqrt {a^2 x^2-b x} x\right )^{3/2}}d\sqrt {x}}{\sqrt {x} \sqrt {a^2 x-b}}\) |
\(\Big \downarrow \) 7299 |
\(\displaystyle \frac {2 \sqrt {a^2 x^2-b x} \int \frac {x^3 \sqrt {a^2 x-b}}{\left (a x^2+\sqrt {a^2 x^2-b x} x\right )^{3/2}}d\sqrt {x}}{\sqrt {x} \sqrt {a^2 x-b}}\) |
Input:
Int[(x^2*Sqrt[-(b*x) + a^2*x^2])/(a*x^2 + x*Sqrt[-(b*x) + a^2*x^2])^(3/2), x]
Output:
$Aborted
\[\int \frac {x^{2} \sqrt {a^{2} x^{2}-b x}}{\left (a \,x^{2}+x \sqrt {a^{2} x^{2}-b x}\right )^{\frac {3}{2}}}d x\]
Input:
int(x^2*(a^2*x^2-b*x)^(1/2)/(a*x^2+x*(a^2*x^2-b*x)^(1/2))^(3/2),x)
Output:
int(x^2*(a^2*x^2-b*x)^(1/2)/(a*x^2+x*(a^2*x^2-b*x)^(1/2))^(3/2),x)
Time = 0.09 (sec) , antiderivative size = 395, normalized size of antiderivative = 1.76 \[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\left [\frac {15 \, \sqrt {2} \sqrt {a} b^{3} x \log \left (-\frac {4 \, a^{2} x^{2} + 4 \, \sqrt {a^{2} x^{2} - b x} a x - b x - 2 \, {\left (\sqrt {2} a^{\frac {3}{2}} x + \sqrt {2} \sqrt {a^{2} x^{2} - b x} \sqrt {a}\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}{x}\right ) - 4 \, {\left (96 \, a^{6} x^{3} - 152 \, a^{4} b x^{2} - 5 \, a^{2} b^{2} x - {\left (96 \, a^{5} x^{2} - 104 \, a^{3} b x - 15 \, a b^{2}\right )} \sqrt {a^{2} x^{2} - b x}\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}{480 \, a^{3} b^{2} x}, -\frac {15 \, \sqrt {2} \sqrt {-a} b^{3} x \arctan \left (-\frac {{\left (\sqrt {2} \sqrt {-a} a x - \sqrt {2} \sqrt {a^{2} x^{2} - b x} \sqrt {-a}\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}{b x}\right ) + 2 \, {\left (96 \, a^{6} x^{3} - 152 \, a^{4} b x^{2} - 5 \, a^{2} b^{2} x - {\left (96 \, a^{5} x^{2} - 104 \, a^{3} b x - 15 \, a b^{2}\right )} \sqrt {a^{2} x^{2} - b x}\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}{240 \, a^{3} b^{2} x}\right ] \] Input:
integrate(x^2*(a^2*x^2-b*x)^(1/2)/(a*x^2+x*(a^2*x^2-b*x)^(1/2))^(3/2),x, a lgorithm="fricas")
Output:
[1/480*(15*sqrt(2)*sqrt(a)*b^3*x*log(-(4*a^2*x^2 + 4*sqrt(a^2*x^2 - b*x)*a *x - b*x - 2*(sqrt(2)*a^(3/2)*x + sqrt(2)*sqrt(a^2*x^2 - b*x)*sqrt(a))*sqr t(a*x^2 + sqrt(a^2*x^2 - b*x)*x))/x) - 4*(96*a^6*x^3 - 152*a^4*b*x^2 - 5*a ^2*b^2*x - (96*a^5*x^2 - 104*a^3*b*x - 15*a*b^2)*sqrt(a^2*x^2 - b*x))*sqrt (a*x^2 + sqrt(a^2*x^2 - b*x)*x))/(a^3*b^2*x), -1/240*(15*sqrt(2)*sqrt(-a)* b^3*x*arctan(-(sqrt(2)*sqrt(-a)*a*x - sqrt(2)*sqrt(a^2*x^2 - b*x)*sqrt(-a) )*sqrt(a*x^2 + sqrt(a^2*x^2 - b*x)*x)/(b*x)) + 2*(96*a^6*x^3 - 152*a^4*b*x ^2 - 5*a^2*b^2*x - (96*a^5*x^2 - 104*a^3*b*x - 15*a*b^2)*sqrt(a^2*x^2 - b* x))*sqrt(a*x^2 + sqrt(a^2*x^2 - b*x)*x))/(a^3*b^2*x)]
\[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\int \frac {x^{2} \sqrt {x \left (a^{2} x - b\right )}}{\left (x \left (a x + \sqrt {a^{2} x^{2} - b x}\right )\right )^{\frac {3}{2}}}\, dx \] Input:
integrate(x**2*(a**2*x**2-b*x)**(1/2)/(a*x**2+x*(a**2*x**2-b*x)**(1/2))**( 3/2),x)
Output:
Integral(x**2*sqrt(x*(a**2*x - b))/(x*(a*x + sqrt(a**2*x**2 - b*x)))**(3/2 ), x)
\[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\int { \frac {\sqrt {a^{2} x^{2} - b x} x^{2}}{{\left (a x^{2} + \sqrt {a^{2} x^{2} - b x} x\right )}^{\frac {3}{2}}} \,d x } \] Input:
integrate(x^2*(a^2*x^2-b*x)^(1/2)/(a*x^2+x*(a^2*x^2-b*x)^(1/2))^(3/2),x, a lgorithm="maxima")
Output:
integrate(sqrt(a^2*x^2 - b*x)*x^2/(a*x^2 + sqrt(a^2*x^2 - b*x)*x)^(3/2), x )
\[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\int { \frac {\sqrt {a^{2} x^{2} - b x} x^{2}}{{\left (a x^{2} + \sqrt {a^{2} x^{2} - b x} x\right )}^{\frac {3}{2}}} \,d x } \] Input:
integrate(x^2*(a^2*x^2-b*x)^(1/2)/(a*x^2+x*(a^2*x^2-b*x)^(1/2))^(3/2),x, a lgorithm="giac")
Output:
integrate(sqrt(a^2*x^2 - b*x)*x^2/(a*x^2 + sqrt(a^2*x^2 - b*x)*x)^(3/2), x )
Timed out. \[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\int \frac {x^2\,\sqrt {a^2\,x^2-b\,x}}{{\left (a\,x^2+x\,\sqrt {a^2\,x^2-b\,x}\right )}^{3/2}} \,d x \] Input:
int((x^2*(a^2*x^2 - b*x)^(1/2))/(a*x^2 + x*(a^2*x^2 - b*x)^(1/2))^(3/2),x)
Output:
int((x^2*(a^2*x^2 - b*x)^(1/2))/(a*x^2 + x*(a^2*x^2 - b*x)^(1/2))^(3/2), x )
\[ \int \frac {x^2 \sqrt {-b x+a^2 x^2}}{\left (a x^2+x \sqrt {-b x+a^2 x^2}\right )^{3/2}} \, dx=\int \frac {x^{2} \sqrt {a^{2} x^{2}-b x}}{\left (a \,x^{2}+x \sqrt {a^{2} x^{2}-b x}\right )^{\frac {3}{2}}}d x \] Input:
int(x^2*(a^2*x^2-b*x)^(1/2)/(a*x^2+x*(a^2*x^2-b*x)^(1/2))^(3/2),x)
Output:
int(x^2*(a^2*x^2-b*x)^(1/2)/(a*x^2+x*(a^2*x^2-b*x)^(1/2))^(3/2),x)