3.428 \(\int \frac {x}{\sqrt {a+b x}+\sqrt {a+c x}} \, dx\)

Optimal. Leaf size=47 \[ \frac {2 (a+b x)^{3/2}}{3 b (b-c)}-\frac {2 (a+c x)^{3/2}}{3 c (b-c)} \]

[Out]

2/3*(b*x+a)^(3/2)/b/(b-c)-2/3*(c*x+a)^(3/2)/(b-c)/c

________________________________________________________________________________________

Rubi [A]  time = 0.06, 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 = {2103, 32} \[ \frac {2 (a+b x)^{3/2}}{3 b (b-c)}-\frac {2 (a+c x)^{3/2}}{3 c (b-c)} \]

Antiderivative was successfully verified.

[In]

Int[x/(Sqrt[a + b*x] + Sqrt[a + c*x]),x]

[Out]

(2*(a + b*x)^(3/2))/(3*b*(b - c)) - (2*(a + c*x)^(3/2))/(3*(b - c)*c)

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rule 2103

Int[(u_)/((e_.)*Sqrt[(a_.) + (b_.)*(x_)] + (f_.)*Sqrt[(c_.) + (d_.)*(x_)]), x_Symbol] :> Dist[c/(e*(b*c - a*d)
), Int[(u*Sqrt[a + b*x])/x, x], x] - Dist[a/(f*(b*c - a*d)), Int[(u*Sqrt[c + d*x])/x, x], x] /; FreeQ[{a, b, c
, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a*e^2 - c*f^2, 0]

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.09, size = 39, normalized size = 0.83 \[ \frac {2 \left (\frac {(a+b x)^{3/2}}{b}-\frac {(a+c x)^{3/2}}{c}\right )}{3 (b-c)} \]

Antiderivative was successfully verified.

[In]

Integrate[x/(Sqrt[a + b*x] + Sqrt[a + c*x]),x]

[Out]

(2*((a + b*x)^(3/2)/b - (a + c*x)^(3/2)/c))/(3*(b - c))

________________________________________________________________________________________

fricas [A]  time = 0.44, size = 50, normalized size = 1.06 \[ \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 )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/((b*x+a)^(1/2)+(c*x+a)^(1/2)),x, algorithm="fricas")

[Out]

2/3*((b*c*x + a*c)*sqrt(b*x + a) - (b*c*x + a*b)*sqrt(c*x + a))/(b^2*c - b*c^2)

________________________________________________________________________________________

giac [B]  time = 0.32, size = 107, normalized size = 2.28 \[ -\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} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/((b*x+a)^(1/2)+(c*x+a)^(1/2)),x, algorithm="giac")

[Out]

-2/3*(((b*x + a)*b^2*c*abs(b)/(b^5*c - b^4*c^2) + (a*b^3*abs(b) - a*b^2*c*abs(b))/(b^5*c - b^4*c^2))*sqrt(a*b^
2 + (b*x + a)*b*c - a*b*c) - (b*x + a)^(3/2)/(b - c))/b

________________________________________________________________________________________

maple [A]  time = 0.00, size = 40, normalized size = 0.85 \[ \frac {2 \left (b x +a \right )^{\frac {3}{2}}}{3 \left (b -c \right ) b}-\frac {2 \left (c x +a \right )^{\frac {3}{2}}}{3 \left (b -c \right ) c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/((b*x+a)^(1/2)+(c*x+a)^(1/2)),x)

[Out]

2/3*(b*x+a)^(3/2)/b/(b-c)-2/3*(c*x+a)^(3/2)/(b-c)/c

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{\sqrt {b x + a} + \sqrt {c x + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/((b*x+a)^(1/2)+(c*x+a)^(1/2)),x, algorithm="maxima")

[Out]

integrate(x/(sqrt(b*x + a) + sqrt(c*x + a)), x)

________________________________________________________________________________________

mupad [B]  time = 2.91, size = 79, normalized size = 1.68 \[ \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 )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/((a + b*x)^(1/2) + (a + c*x)^(1/2)),x)

[Out]

(2*x*(a + b*x)^(1/2))/(3*(b - c)) - (2*x*(a + c*x)^(1/2))/(3*(b - c)) + (2*a*(a + b*x)^(1/2))/(3*b*(b - c)) -
(2*a*(a + c*x)^(1/2))/(3*c*(b - c))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{\sqrt {a + b x} + \sqrt {a + c x}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/((b*x+a)**(1/2)+(c*x+a)**(1/2)),x)

[Out]

Integral(x/(sqrt(a + b*x) + sqrt(a + c*x)), x)

________________________________________________________________________________________