Optimal. Leaf size=47 \[ \frac {2 (a+b x)^{3/2}}{3 b (b-c)}-\frac {2 (a+c x)^{3/2}}{3 (b-c) c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2128, 32}
\begin {gather*} \frac {2 (a+b x)^{3/2}}{3 b (b-c)}-\frac {2 (a+c x)^{3/2}}{3 c (b-c)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 2128
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {a+b x}+\sqrt {a+c x}} \, dx &=\frac {\int \sqrt {a+b x} \, dx}{b-c}-\frac {\int \sqrt {a+c x} \, dx}{b-c}\\ &=\frac {2 (a+b x)^{3/2}}{3 b (b-c)}-\frac {2 (a+c x)^{3/2}}{3 (b-c) c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.49, size = 71, normalized size = 1.51 \begin {gather*} \frac {2 a c \sqrt {a+b x}+2 b c x \sqrt {a+b x}-2 a b \sqrt {a+c x}-2 b c x \sqrt {a+c x}}{3 b^2 c-3 b c^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 40, normalized size = 0.85
method | result | size |
default | \(\frac {2 \left (b x +a \right )^{\frac {3}{2}}}{3 b \left (b -c \right )}-\frac {2 \left (c x +a \right )^{\frac {3}{2}}}{3 \left (b -c \right ) c}\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 50, normalized size = 1.06 \begin {gather*} \frac {2 \, {\left ({\left (b c x + a c\right )} \sqrt {b x + a} - {\left (b c x + a b\right )} \sqrt {c x + a}\right )}}{3 \, {\left (b^{2} c - b c^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\sqrt {a + b x} + \sqrt {a + c x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 107 vs.
\(2 (39) = 78\).
time = 5.18, size = 107, normalized size = 2.28 \begin {gather*} -\frac {2 \, {\left ({\left (\frac {{\left (b x + a\right )} b^{2} c {\left | b \right |}}{b^{5} c - b^{4} c^{2}} + \frac {a b^{3} {\left | b \right |} - a b^{2} c {\left | b \right |}}{b^{5} c - b^{4} c^{2}}\right )} \sqrt {a b^{2} + {\left (b x + a\right )} b c - a b c} - \frac {{\left (b x + a\right )}^{\frac {3}{2}}}{b - c}\right )}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.91, size = 79, normalized size = 1.68 \begin {gather*} \frac {2\,x\,\sqrt {a+b\,x}}{3\,\left (b-c\right )}-\frac {2\,x\,\sqrt {a+c\,x}}{3\,\left (b-c\right )}+\frac {2\,a\,\sqrt {a+b\,x}}{3\,b\,\left (b-c\right )}-\frac {2\,a\,\sqrt {a+c\,x}}{3\,c\,\left (b-c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________