Optimal. Leaf size=56 \[ -\frac {4 a \left (a+b \sqrt {c+d x}\right )^{3/2}}{3 b^2 d}+\frac {4 \left (a+b \sqrt {c+d x}\right )^{5/2}}{5 b^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {253, 196, 45}
\begin {gather*} \frac {4 \left (a+b \sqrt {c+d x}\right )^{5/2}}{5 b^2 d}-\frac {4 a \left (a+b \sqrt {c+d x}\right )^{3/2}}{3 b^2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 196
Rule 253
Rubi steps
\begin {align*} \int \sqrt {a+b \sqrt {c+d x}} \, dx &=\frac {\text {Subst}\left (\int \sqrt {a+b \sqrt {x}} \, dx,x,c+d x\right )}{d}\\ &=\frac {2 \text {Subst}\left (\int x \sqrt {a+b x} \, dx,x,\sqrt {c+d x}\right )}{d}\\ &=\frac {2 \text {Subst}\left (\int \left (-\frac {a \sqrt {a+b x}}{b}+\frac {(a+b x)^{3/2}}{b}\right ) \, dx,x,\sqrt {c+d x}\right )}{d}\\ &=-\frac {4 a \left (a+b \sqrt {c+d x}\right )^{3/2}}{3 b^2 d}+\frac {4 \left (a+b \sqrt {c+d x}\right )^{5/2}}{5 b^2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 55, normalized size = 0.98 \begin {gather*} \frac {4 \sqrt {a+b \sqrt {c+d x}} \left (-2 a^2+a b \sqrt {c+d x}+3 b^2 (c+d x)\right )}{15 b^2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 41, normalized size = 0.73
method | result | size |
derivativedivides | \(\frac {\frac {4 \left (a +b \sqrt {d x +c}\right )^{\frac {5}{2}}}{5}-\frac {4 a \left (a +b \sqrt {d x +c}\right )^{\frac {3}{2}}}{3}}{b^{2} d}\) | \(41\) |
default | \(\frac {\frac {4 \left (a +b \sqrt {d x +c}\right )^{\frac {5}{2}}}{5}-\frac {4 a \left (a +b \sqrt {d x +c}\right )^{\frac {3}{2}}}{3}}{b^{2} d}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 43, normalized size = 0.77 \begin {gather*} \frac {4 \, {\left (\frac {3 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {5}{2}}}{b^{2}} - \frac {5 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {3}{2}} a}{b^{2}}\right )}}{15 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 50, normalized size = 0.89 \begin {gather*} \frac {4 \, {\left (3 \, b^{2} d x + 3 \, b^{2} c + \sqrt {d x + c} a b - 2 \, a^{2}\right )} \sqrt {\sqrt {d x + c} b + a}}{15 \, b^{2} d} \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 \sqrt {a + b \sqrt {c + d 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. 99 vs.
\(2 (44) = 88\).
time = 5.40, size = 99, normalized size = 1.77 \begin {gather*} \frac {4 \, {\left (\frac {5 \, {\left ({\left (\sqrt {d x + c} b + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {\sqrt {d x + c} b + a} a\right )} a}{b} + \frac {3 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {5}{2}} - 10 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {\sqrt {d x + c} b + a} a^{2}}{b}\right )}}{15 \, b d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.39, size = 44, normalized size = 0.79 \begin {gather*} \frac {4\,{\left (a+b\,\sqrt {c+d\,x}\right )}^{5/2}}{5\,b^2\,d}-\frac {4\,a\,{\left (a+b\,\sqrt {c+d\,x}\right )}^{3/2}}{3\,b^2\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________