Optimal. Leaf size=95 \[ \frac{2 (a+b x)^{5/2}}{5 b^2 (a-c)}-\frac{2 a (a+b x)^{3/2}}{3 b^2 (a-c)}-\frac{2 (b x+c)^{5/2}}{5 b^2 (a-c)}+\frac{2 c (b x+c)^{3/2}}{3 b^2 (a-c)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0812099, antiderivative size = 95, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2104, 43} \[ \frac{2 (a+b x)^{5/2}}{5 b^2 (a-c)}-\frac{2 a (a+b x)^{3/2}}{3 b^2 (a-c)}-\frac{2 (b x+c)^{5/2}}{5 b^2 (a-c)}+\frac{2 c (b x+c)^{3/2}}{3 b^2 (a-c)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2104
Rule 43
Rubi steps
\begin{align*} \int \frac{x}{\sqrt{a+b x}+\sqrt{c+b x}} \, dx &=-\frac{b \int x \sqrt{a+b x} \, dx}{-a b+b c}+\frac{b \int x \sqrt{c+b x} \, dx}{-a b+b c}\\ &=-\frac{b \int \left (-\frac{a \sqrt{a+b x}}{b}+\frac{(a+b x)^{3/2}}{b}\right ) \, dx}{-a b+b c}+\frac{b \int \left (-\frac{c \sqrt{c+b x}}{b}+\frac{(c+b x)^{3/2}}{b}\right ) \, dx}{-a b+b c}\\ &=-\frac{2 a (a+b x)^{3/2}}{3 b^2 (a-c)}+\frac{2 (a+b x)^{5/2}}{5 b^2 (a-c)}+\frac{2 c (c+b x)^{3/2}}{3 b^2 (a-c)}-\frac{2 (c+b x)^{5/2}}{5 b^2 (a-c)}\\ \end{align*}
Mathematica [A] time = 0.0979928, size = 95, normalized size = 1. \[ \frac{2 (a+b x)^{5/2}}{5 b^2 (a-c)}-\frac{2 a (a+b x)^{3/2}}{3 b^2 (a-c)}-\frac{2 (b x+c)^{5/2}}{5 b^2 (a-c)}+\frac{2 c (b x+c)^{3/2}}{3 b^2 (a-c)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, 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 ( a-c \right ){b}^{2}}}-2\,{\frac{1/5\, \left ( bx+c \right ) ^{5/2}-1/3\,c \left ( bx+c \right ) ^{3/2}}{ \left ( a-c \right ){b}^{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}{\sqrt{b x + a} + \sqrt{b x + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.940223, size = 149, normalized size = 1.57 \begin{align*} \frac{2 \,{\left ({\left (3 \, b^{2} x^{2} + a b x - 2 \, a^{2}\right )} \sqrt{b x + a} -{\left (3 \, b^{2} x^{2} + b c x - 2 \, c^{2}\right )} \sqrt{b x + c}\right )}}{15 \,{\left (a b^{2} - b^{2} c\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}{\sqrt{a + b x} + \sqrt{b x + c}}\, 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]