Optimal. Leaf size=151 \[ -\frac{2 a \left (a^2-b^2 c\right )^2 \log \left (a+b \sqrt{c+d x}\right )}{b^6 d^3}+\frac{2 \left (a^2-b^2 c\right )^2 \sqrt{c+d x}}{b^5 d^3}-\frac{a x \left (a^2-2 b^2 c\right )}{b^4 d^2}+\frac{2 \left (a^2-2 b^2 c\right ) (c+d x)^{3/2}}{3 b^3 d^3}-\frac{a (c+d x)^2}{2 b^2 d^3}+\frac{2 (c+d x)^{5/2}}{5 b d^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.327907, antiderivative size = 151, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158 \[ -\frac{2 a \left (a^2-b^2 c\right )^2 \log \left (a+b \sqrt{c+d x}\right )}{b^6 d^3}+\frac{2 \left (a^2-b^2 c\right )^2 \sqrt{c+d x}}{b^5 d^3}-\frac{a x \left (a^2-2 b^2 c\right )}{b^4 d^2}+\frac{2 \left (a^2-2 b^2 c\right ) (c+d x)^{3/2}}{3 b^3 d^3}-\frac{a (c+d x)^2}{2 b^2 d^3}+\frac{2 (c+d x)^{5/2}}{5 b d^3} \]
Antiderivative was successfully verified.
[In] Int[x^2/(a + b*Sqrt[c + d*x]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{a \left (c + d x\right )^{2}}{2 b^{2} d^{3}} - \frac{2 a \left (a^{2} - 2 b^{2} c\right ) \int ^{\sqrt{c + d x}} x\, dx}{b^{4} d^{3}} - \frac{2 a \left (a^{2} - b^{2} c\right )^{2} \log{\left (a + b \sqrt{c + d x} \right )}}{b^{6} d^{3}} + \frac{2 \left (a^{2} - b^{2} c\right )^{2} \int ^{\sqrt{c + d x}} \frac{1}{b^{5}}\, dx}{d^{3}} + \frac{2 \left (c + d x\right )^{\frac{5}{2}}}{5 b d^{3}} + \frac{2 \left (a^{2} - 2 b^{2} c\right ) \left (c + d x\right )^{\frac{3}{2}}}{3 b^{3} d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2/(a+b*(d*x+c)**(1/2)),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.351033, size = 169, normalized size = 1.12 \[ \frac{-30 a \left (a^2-b^2 c\right )^2 \log \left (a^2-b^2 (c+d x)\right )-60 a \left (a^2-b^2 c\right )^2 \tanh ^{-1}\left (\frac{b \sqrt{c+d x}}{a}\right )+b \left (60 a^4 \sqrt{c+d x}-30 a^3 b d x-20 a^2 b^2 (5 c-d x) \sqrt{c+d x}-15 a b^3 d x (d x-2 c)+4 b^4 \sqrt{c+d x} \left (8 c^2-4 c d x+3 d^2 x^2\right )\right )}{30 b^6 d^3} \]
Antiderivative was successfully verified.
[In] Integrate[x^2/(a + b*Sqrt[c + d*x]),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.007, size = 235, normalized size = 1.6 \[{\frac{2}{5\,b{d}^{3}} \left ( dx+c \right ) ^{{\frac{5}{2}}}}-{\frac{a{x}^{2}}{2\,{b}^{2}d}}+{\frac{acx}{{b}^{2}{d}^{2}}}+{\frac{3\,a{c}^{2}}{2\,{b}^{2}{d}^{3}}}-{\frac{4\,c}{3\,b{d}^{3}} \left ( dx+c \right ) ^{{\frac{3}{2}}}}+{\frac{2\,{a}^{2}}{3\,{b}^{3}{d}^{3}} \left ( dx+c \right ) ^{{\frac{3}{2}}}}+2\,{\frac{{c}^{2}\sqrt{dx+c}}{b{d}^{3}}}-{\frac{{a}^{3}x}{{b}^{4}{d}^{2}}}-{\frac{{a}^{3}c}{{b}^{4}{d}^{3}}}-4\,{\frac{{a}^{2}c\sqrt{dx+c}}{{b}^{3}{d}^{3}}}+2\,{\frac{\sqrt{dx+c}{a}^{4}}{{d}^{3}{b}^{5}}}-2\,{\frac{a\ln \left ( a+b\sqrt{dx+c} \right ){c}^{2}}{{b}^{2}{d}^{3}}}+4\,{\frac{{a}^{3}\ln \left ( a+b\sqrt{dx+c} \right ) c}{{b}^{4}{d}^{3}}}-2\,{\frac{{a}^{5}\ln \left ( a+b\sqrt{dx+c} \right ) }{{d}^{3}{b}^{6}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2/(a+b*(d*x+c)^(1/2)),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.704924, size = 200, normalized size = 1.32 \[ \frac{\frac{12 \,{\left (d x + c\right )}^{\frac{5}{2}} b^{4} - 15 \,{\left (d x + c\right )}^{2} a b^{3} - 20 \,{\left (2 \, b^{4} c - a^{2} b^{2}\right )}{\left (d x + c\right )}^{\frac{3}{2}} + 30 \,{\left (2 \, a b^{3} c - a^{3} b\right )}{\left (d x + c\right )} + 60 \,{\left (b^{4} c^{2} - 2 \, a^{2} b^{2} c + a^{4}\right )} \sqrt{d x + c}}{b^{5}} - \frac{60 \,{\left (a b^{4} c^{2} - 2 \, a^{3} b^{2} c + a^{5}\right )} \log \left (\sqrt{d x + c} b + a\right )}{b^{6}}}{30 \, d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(sqrt(d*x + c)*b + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.293567, size = 186, normalized size = 1.23 \[ -\frac{15 \, a b^{4} d^{2} x^{2} - 30 \,{\left (a b^{4} c - a^{3} b^{2}\right )} d x + 60 \,{\left (a b^{4} c^{2} - 2 \, a^{3} b^{2} c + a^{5}\right )} \log \left (\sqrt{d x + c} b + a\right ) - 4 \,{\left (3 \, b^{5} d^{2} x^{2} + 8 \, b^{5} c^{2} - 25 \, a^{2} b^{3} c + 15 \, a^{4} b -{\left (4 \, b^{5} c - 5 \, a^{2} b^{3}\right )} d x\right )} \sqrt{d x + c}}{30 \, b^{6} d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(sqrt(d*x + c)*b + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{a + b \sqrt{c + d x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2/(a+b*(d*x+c)**(1/2)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.283787, size = 320, normalized size = 2.12 \[ -\frac{2 \,{\left (a b^{4} c^{2} - 2 \, a^{3} b^{2} c + a^{5}\right )}{\rm ln}\left ({\left | \sqrt{d x + c} b + a \right |}\right )}{b^{6} d^{3}} + \frac{2 \,{\left (a b^{4} c^{2}{\rm ln}\left ({\left | a \right |}\right ) - 2 \, a^{3} b^{2} c{\rm ln}\left ({\left | a \right |}\right ) + a^{5}{\rm ln}\left ({\left | a \right |}\right )\right )}}{b^{6} d^{3}} + \frac{12 \,{\left (d x + c\right )}^{\frac{5}{2}} b^{4} d^{12} - 40 \,{\left (d x + c\right )}^{\frac{3}{2}} b^{4} c d^{12} + 60 \, \sqrt{d x + c} b^{4} c^{2} d^{12} - 15 \,{\left (d x + c\right )}^{2} a b^{3} d^{12} + 60 \,{\left (d x + c\right )} a b^{3} c d^{12} + 20 \,{\left (d x + c\right )}^{\frac{3}{2}} a^{2} b^{2} d^{12} - 120 \, \sqrt{d x + c} a^{2} b^{2} c d^{12} - 30 \,{\left (d x + c\right )} a^{3} b d^{12} + 60 \, \sqrt{d x + c} a^{4} d^{12}}{30 \, b^{5} d^{15}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(sqrt(d*x + c)*b + a),x, algorithm="giac")
[Out]