Optimal. Leaf size=47 \[ \frac {2 (a+b x)^{3/2}}{3 b (a-c)}-\frac {2 (c+b x)^{3/2}}{3 b (a-c)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {6821}
\begin {gather*} \frac {2 (a+b x)^{3/2}}{3 b (a-c)}-\frac {2 (b x+c)^{3/2}}{3 b (a-c)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6821
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a+b x}+\sqrt {c+b x}} \, dx &=\frac {\int \left (\sqrt {a+b x}-\sqrt {c+b x}\right ) \, dx}{a-c}\\ &=\frac {2 (a+b x)^{3/2}}{3 b (a-c)}-\frac {2 (c+b x)^{3/2}}{3 b (a-c)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.21, size = 35, normalized size = 0.74 \begin {gather*} \frac {2 \left ((a+b x)^{3/2}-(c+b x)^{3/2}\right )}{3 b (a-c)} \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 (a -c \right )}-\frac {2 \left (b x +c \right )^{\frac {3}{2}}}{3 b \left (a -c \right )}\) | \(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.32, size = 29, normalized size = 0.62 \begin {gather*} \frac {2 \, {\left ({\left (b x + a\right )}^{\frac {3}{2}} - {\left (b x + c\right )}^{\frac {3}{2}}\right )}}{3 \, {\left (a b - b c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 136 vs.
\(2 (32) = 64\).
time = 0.48, size = 136, normalized size = 2.89 \begin {gather*} \begin {cases} \frac {2 a}{3 b \sqrt {a + b x} + 3 b \sqrt {b x + c}} + \frac {4 b x}{3 b \sqrt {a + b x} + 3 b \sqrt {b x + c}} + \frac {2 c}{3 b \sqrt {a + b x} + 3 b \sqrt {b x + c}} + \frac {2 \sqrt {a + b x} \sqrt {b x + c}}{3 b \sqrt {a + b x} + 3 b \sqrt {b x + c}} & \text {for}\: b \neq 0 \\\frac {x}{\sqrt {a} + \sqrt {c}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.39, size = 75, normalized size = 1.60 \begin {gather*} -\frac {2}{3} \, \sqrt {b x + c} {\left (\frac {{\left (b x + a\right )} b}{a b^{2} - b^{2} c} - \frac {a b - b c}{a b^{2} - b^{2} c}\right )} + \frac {2 \, {\left (b x + a\right )}^{\frac {3}{2}}}{3 \, {\left (a b - b c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.71, size = 79, normalized size = 1.68 \begin {gather*} \frac {2\,x\,\sqrt {a+b\,x}}{3\,\left (a-c\right )}-\frac {2\,x\,\sqrt {c+b\,x}}{3\,\left (a-c\right )}+\frac {2\,a\,\sqrt {a+b\,x}}{3\,b\,\left (a-c\right )}-\frac {2\,c\,\sqrt {c+b\,x}}{3\,b\,\left (a-c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________