Optimal. Leaf size=133 \[ \frac{4 \left (3 a^2-b^2 c\right ) \left (a+b \sqrt{c+d x}\right )^{5/2}}{5 b^4 d^2}-\frac{4 a \left (a^2-b^2 c\right ) \left (a+b \sqrt{c+d x}\right )^{3/2}}{3 b^4 d^2}+\frac{4 \left (a+b \sqrt{c+d x}\right )^{9/2}}{9 b^4 d^2}-\frac{12 a \left (a+b \sqrt{c+d x}\right )^{7/2}}{7 b^4 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0958616, antiderivative size = 133, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {371, 1398, 772} \[ \frac{4 \left (3 a^2-b^2 c\right ) \left (a+b \sqrt{c+d x}\right )^{5/2}}{5 b^4 d^2}-\frac{4 a \left (a^2-b^2 c\right ) \left (a+b \sqrt{c+d x}\right )^{3/2}}{3 b^4 d^2}+\frac{4 \left (a+b \sqrt{c+d x}\right )^{9/2}}{9 b^4 d^2}-\frac{12 a \left (a+b \sqrt{c+d x}\right )^{7/2}}{7 b^4 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 1398
Rule 772
Rubi steps
\begin{align*} \int x \sqrt{a+b \sqrt{c+d x}} \, dx &=\frac{\operatorname{Subst}\left (\int \sqrt{a+b \sqrt{x}} (-c+x) \, dx,x,c+d x\right )}{d^2}\\ &=\frac{2 \operatorname{Subst}\left (\int x \sqrt{a+b x} \left (-c+x^2\right ) \, dx,x,\sqrt{c+d x}\right )}{d^2}\\ &=\frac{2 \operatorname{Subst}\left (\int \left (\frac{\left (-a^3+a b^2 c\right ) \sqrt{a+b x}}{b^3}+\frac{\left (3 a^2-b^2 c\right ) (a+b x)^{3/2}}{b^3}-\frac{3 a (a+b x)^{5/2}}{b^3}+\frac{(a+b x)^{7/2}}{b^3}\right ) \, dx,x,\sqrt{c+d x}\right )}{d^2}\\ &=-\frac{4 a \left (a^2-b^2 c\right ) \left (a+b \sqrt{c+d x}\right )^{3/2}}{3 b^4 d^2}+\frac{4 \left (3 a^2-b^2 c\right ) \left (a+b \sqrt{c+d x}\right )^{5/2}}{5 b^4 d^2}-\frac{12 a \left (a+b \sqrt{c+d x}\right )^{7/2}}{7 b^4 d^2}+\frac{4 \left (a+b \sqrt{c+d x}\right )^{9/2}}{9 b^4 d^2}\\ \end{align*}
Mathematica [A] time = 0.0871912, size = 84, normalized size = 0.63 \[ \frac{4 \left (a+b \sqrt{c+d x}\right )^{3/2} \left (24 a^2 b \sqrt{c+d x}-16 a^3+6 a b^2 (2 c-5 d x)+7 b^3 \sqrt{c+d x} (5 d x-4 c)\right )}{315 b^4 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 94, normalized size = 0.7 \begin{align*} 4\,{\frac{1/9\, \left ( a+b\sqrt{dx+c} \right ) ^{9/2}-3/7\, \left ( a+b\sqrt{dx+c} \right ) ^{7/2}a+1/5\, \left ( -{b}^{2}c+3\,{a}^{2} \right ) \left ( a+b\sqrt{dx+c} \right ) ^{5/2}-1/3\, \left ( -{b}^{2}c+{a}^{2} \right ) a \left ( a+b\sqrt{dx+c} \right ) ^{3/2}}{{b}^{4}{d}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.10106, size = 126, normalized size = 0.95 \begin{align*} \frac{4 \,{\left (35 \,{\left (\sqrt{d x + c} b + a\right )}^{\frac{9}{2}} - 135 \,{\left (\sqrt{d x + c} b + a\right )}^{\frac{7}{2}} a - 63 \,{\left (b^{2} c - 3 \, a^{2}\right )}{\left (\sqrt{d x + c} b + a\right )}^{\frac{5}{2}} + 105 \,{\left (a b^{2} c - a^{3}\right )}{\left (\sqrt{d x + c} b + a\right )}^{\frac{3}{2}}\right )}}{315 \, b^{4} d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.39281, size = 240, normalized size = 1.8 \begin{align*} \frac{4 \,{\left (35 \, b^{4} d^{2} x^{2} - 28 \, b^{4} c^{2} + 36 \, a^{2} b^{2} c - 16 \, a^{4} +{\left (7 \, b^{4} c - 6 \, a^{2} b^{2}\right )} d x +{\left (5 \, a b^{3} d x - 16 \, a b^{3} c + 8 \, a^{3} b\right )} \sqrt{d x + c}\right )} \sqrt{\sqrt{d x + c} b + a}}{315 \, b^{4} d^{2}} \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 x \sqrt{a + b \sqrt{c + d x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.16013, size = 460, normalized size = 3.46 \begin{align*} -\frac{4 \,{\left (63 \, \sqrt{{\left (\sqrt{d x + c} b + a\right )} b^{2}}{\left (\sqrt{d x + c} b + a\right )}^{2} b^{4} c \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) - 105 \, \sqrt{{\left (\sqrt{d x + c} b + a\right )} b^{2}}{\left (\sqrt{d x + c} b + a\right )} a b^{4} c \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) - 35 \, \sqrt{{\left (\sqrt{d x + c} b + a\right )} b^{2}}{\left (\sqrt{d x + c} b + a\right )}^{4} b^{2} \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) + 135 \, \sqrt{{\left (\sqrt{d x + c} b + a\right )} b^{2}}{\left (\sqrt{d x + c} b + a\right )}^{3} a b^{2} \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) - 189 \, \sqrt{{\left (\sqrt{d x + c} b + a\right )} b^{2}}{\left (\sqrt{d x + c} b + a\right )}^{2} a^{2} b^{2} \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) + 105 \, \sqrt{{\left (\sqrt{d x + c} b + a\right )} b^{2}}{\left (\sqrt{d x + c} b + a\right )} a^{3} b^{2} \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right )\right )}{\left | b \right |}}{315 \, b^{8} d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]