Optimal. Leaf size=131 \[ -\frac {4 a \left (a^2-b^2 c\right ) \sqrt {a+b \sqrt {c+d x}}}{b^4 d^2}+\frac {4 \left (3 a^2-b^2 c\right ) \left (a+b \sqrt {c+d x}\right )^{3/2}}{3 b^4 d^2}-\frac {12 a \left (a+b \sqrt {c+d x}\right )^{5/2}}{5 b^4 d^2}+\frac {4 \left (a+b \sqrt {c+d x}\right )^{7/2}}{7 b^4 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 131, normalized size of antiderivative = 1.00, 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 = {378, 1412, 786}
\begin {gather*} \frac {4 \left (3 a^2-b^2 c\right ) \left (a+b \sqrt {c+d x}\right )^{3/2}}{3 b^4 d^2}-\frac {4 a \left (a^2-b^2 c\right ) \sqrt {a+b \sqrt {c+d x}}}{b^4 d^2}+\frac {4 \left (a+b \sqrt {c+d x}\right )^{7/2}}{7 b^4 d^2}-\frac {12 a \left (a+b \sqrt {c+d x}\right )^{5/2}}{5 b^4 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 378
Rule 786
Rule 1412
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {a+b \sqrt {c+d x}}} \, dx &=\frac {\text {Subst}\left (\int \frac {-c+x}{\sqrt {a+b \sqrt {x}}} \, dx,x,c+d x\right )}{d^2}\\ &=\frac {2 \text {Subst}\left (\int \frac {x \left (-c+x^2\right )}{\sqrt {a+b x}} \, dx,x,\sqrt {c+d x}\right )}{d^2}\\ &=\frac {2 \text {Subst}\left (\int \left (\frac {-a^3+a b^2 c}{b^3 \sqrt {a+b x}}+\frac {\left (3 a^2-b^2 c\right ) \sqrt {a+b x}}{b^3}-\frac {3 a (a+b x)^{3/2}}{b^3}+\frac {(a+b x)^{5/2}}{b^3}\right ) \, dx,x,\sqrt {c+d x}\right )}{d^2}\\ &=-\frac {4 a \left (a^2-b^2 c\right ) \sqrt {a+b \sqrt {c+d x}}}{b^4 d^2}+\frac {4 \left (3 a^2-b^2 c\right ) \left (a+b \sqrt {c+d x}\right )^{3/2}}{3 b^4 d^2}-\frac {12 a \left (a+b \sqrt {c+d x}\right )^{5/2}}{5 b^4 d^2}+\frac {4 \left (a+b \sqrt {c+d x}\right )^{7/2}}{7 b^4 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 84, normalized size = 0.64 \begin {gather*} \frac {4 \sqrt {a+b \sqrt {c+d x}} \left (-48 a^3+2 a b^2 (26 c-9 d x)+24 a^2 b \sqrt {c+d x}+5 b^3 \sqrt {c+d x} (-4 c+3 d x)\right )}{105 b^4 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 94, normalized size = 0.72
method | result | size |
derivativedivides | \(\frac {\frac {4 \left (a +b \sqrt {d x +c}\right )^{\frac {7}{2}}}{7}-\frac {12 a \left (a +b \sqrt {d x +c}\right )^{\frac {5}{2}}}{5}+\frac {4 \left (-b^{2} c +3 a^{2}\right ) \left (a +b \sqrt {d x +c}\right )^{\frac {3}{2}}}{3}-4 \left (-b^{2} c +a^{2}\right ) a \sqrt {a +b \sqrt {d x +c}}}{b^{4} d^{2}}\) | \(94\) |
default | \(\frac {\frac {4 \left (a +b \sqrt {d x +c}\right )^{\frac {7}{2}}}{7}-\frac {12 a \left (a +b \sqrt {d x +c}\right )^{\frac {5}{2}}}{5}+\frac {4 \left (-b^{2} c +3 a^{2}\right ) \left (a +b \sqrt {d x +c}\right )^{\frac {3}{2}}}{3}-4 \left (-b^{2} c +a^{2}\right ) a \sqrt {a +b \sqrt {d x +c}}}{b^{4} d^{2}}\) | \(94\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 93, normalized size = 0.71 \begin {gather*} \frac {4 \, {\left (15 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {7}{2}} - 63 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {5}{2}} a - 35 \, {\left (b^{2} c - 3 \, a^{2}\right )} {\left (\sqrt {d x + c} b + a\right )}^{\frac {3}{2}} + 105 \, {\left (a b^{2} c - a^{3}\right )} \sqrt {\sqrt {d x + c} b + a}\right )}}{105 \, b^{4} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 71, normalized size = 0.54 \begin {gather*} -\frac {4 \, {\left (18 \, a b^{2} d x - 52 \, a b^{2} c + 48 \, a^{3} - {\left (15 \, b^{3} d x - 20 \, b^{3} c + 24 \, a^{2} b\right )} \sqrt {d x + c}\right )} \sqrt {\sqrt {d x + c} b + a}}{105 \, b^{4} d^{2}} \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 \sqrt {c + d x}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.84, size = 115, normalized size = 0.88 \begin {gather*} -\frac {4 \, {\left (35 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {3}{2}} b^{2} c - 105 \, \sqrt {\sqrt {d x + c} b + a} a b^{2} c - 15 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {7}{2}} + 63 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {5}{2}} a - 105 \, {\left (\sqrt {d x + c} b + a\right )}^{\frac {3}{2}} a^{2} + 105 \, \sqrt {\sqrt {d x + c} b + a} a^{3}\right )}}{105 \, b^{4} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x}{\sqrt {a+b\,\sqrt {c+d\,x}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________