Optimal. Leaf size=95 \[ \frac{2 (a+b x)^{5/2}}{5 b^2 (b-c)}-\frac{2 a (a+b x)^{3/2}}{3 b^2 (b-c)}-\frac{2 (a+c x)^{5/2}}{5 c^2 (b-c)}+\frac{2 a (a+c x)^{3/2}}{3 c^2 (b-c)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.100534, antiderivative size = 95, 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, Rules used = {2103, 43} \[ \frac{2 (a+b x)^{5/2}}{5 b^2 (b-c)}-\frac{2 a (a+b x)^{3/2}}{3 b^2 (b-c)}-\frac{2 (a+c x)^{5/2}}{5 c^2 (b-c)}+\frac{2 a (a+c x)^{3/2}}{3 c^2 (b-c)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2103
Rule 43
Rubi steps
\begin{align*} \int \frac{x^2}{\sqrt{a+b x}+\sqrt{a+c x}} \, dx &=\frac{\int x \sqrt{a+b x} \, dx}{b-c}-\frac{\int x \sqrt{a+c x} \, dx}{b-c}\\ &=\frac{\int \left (-\frac{a \sqrt{a+b x}}{b}+\frac{(a+b x)^{3/2}}{b}\right ) \, dx}{b-c}-\frac{\int \left (-\frac{a \sqrt{a+c x}}{c}+\frac{(a+c x)^{3/2}}{c}\right ) \, dx}{b-c}\\ &=-\frac{2 a (a+b x)^{3/2}}{3 b^2 (b-c)}+\frac{2 (a+b x)^{5/2}}{5 b^2 (b-c)}+\frac{2 a (a+c x)^{3/2}}{3 (b-c) c^2}-\frac{2 (a+c x)^{5/2}}{5 (b-c) c^2}\\ \end{align*}
Mathematica [A] time = 0.180861, size = 70, normalized size = 0.74 \[ \frac{2 \left (\frac{3 (a+b x)^{5/2}}{b^2}-\frac{5 a (a+b x)^{3/2}}{b^2}-\frac{3 (a+c x)^{5/2}}{c^2}+\frac{5 a (a+c x)^{3/2}}{c^2}\right )}{15 (b-c)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 66, normalized size = 0.7 \begin{align*} 2\,{\frac{1/5\, \left ( bx+a \right ) ^{5/2}-1/3\,a \left ( bx+a \right ) ^{3/2}}{ \left ( b-c \right ){b}^{2}}}-2\,{\frac{1/5\, \left ( cx+a \right ) ^{5/2}-1/3\,a \left ( cx+a \right ) ^{3/2}}{ \left ( b-c \right ){c}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{b x + a} + \sqrt{c x + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.10644, size = 186, normalized size = 1.96 \begin{align*} \frac{2 \,{\left ({\left (3 \, b^{2} c^{2} x^{2} + a b c^{2} x - 2 \, a^{2} c^{2}\right )} \sqrt{b x + a} -{\left (3 \, b^{2} c^{2} x^{2} + a b^{2} c x - 2 \, a^{2} b^{2}\right )} \sqrt{c x + a}\right )}}{15 \,{\left (b^{3} c^{2} - b^{2} c^{3}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{a + b x} + \sqrt{a + c x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]