Optimal. Leaf size=90 \[ -\frac {2 a \left (a^2-b^2 c\right ) \log \left (a+b \sqrt {c+d x}\right )}{b^4 d^2}+\frac {2 \left (a^2-b^2 c\right ) \sqrt {c+d x}}{b^3 d^2}-\frac {a x}{b^2 d}+\frac {2 (c+d x)^{3/2}}{3 b d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 90, 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 = {371, 1398, 772} \[ \frac {2 \left (a^2-b^2 c\right ) \sqrt {c+d x}}{b^3 d^2}-\frac {2 a \left (a^2-b^2 c\right ) \log \left (a+b \sqrt {c+d x}\right )}{b^4 d^2}-\frac {a x}{b^2 d}+\frac {2 (c+d x)^{3/2}}{3 b d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 772
Rule 1398
Rubi steps
\begin {align*} \int \frac {x}{a+b \sqrt {c+d x}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {-c+x}{a+b \sqrt {x}} \, dx,x,c+d x\right )}{d^2}\\ &=\frac {2 \operatorname {Subst}\left (\int \frac {x \left (-c+x^2\right )}{a+b x} \, dx,x,\sqrt {c+d x}\right )}{d^2}\\ &=\frac {2 \operatorname {Subst}\left (\int \left (\frac {a^2-b^2 c}{b^3}-\frac {a x}{b^2}+\frac {x^2}{b}+\frac {-a^3+a b^2 c}{b^3 (a+b x)}\right ) \, dx,x,\sqrt {c+d x}\right )}{d^2}\\ &=-\frac {a x}{b^2 d}+\frac {2 \left (a^2-b^2 c\right ) \sqrt {c+d x}}{b^3 d^2}+\frac {2 (c+d x)^{3/2}}{3 b d^2}-\frac {2 a \left (a^2-b^2 c\right ) \log \left (a+b \sqrt {c+d x}\right )}{b^4 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 82, normalized size = 0.91 \[ \frac {b \left (6 a^2 \sqrt {c+d x}-3 a b d x+2 b^2 (d x-2 c) \sqrt {c+d x}\right )-6 \left (a^3-a b^2 c\right ) \log \left (a+b \sqrt {c+d x}\right )}{3 b^4 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 71, normalized size = 0.79 \[ -\frac {3 \, a b^{2} d x - 6 \, {\left (a b^{2} c - a^{3}\right )} \log \left (\sqrt {d x + c} b + a\right ) - 2 \, {\left (b^{3} d x - 2 \, b^{3} c + 3 \, a^{2} b\right )} \sqrt {d x + c}}{3 \, b^{4} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.33, size = 105, normalized size = 1.17 \[ \frac {\frac {6 \, {\left (a b^{2} c - a^{3}\right )} \log \left ({\left | \sqrt {d x + c} b + a \right |}\right )}{b^{4} d} + \frac {2 \, {\left (d x + c\right )}^{\frac {3}{2}} b^{2} d^{2} - 6 \, \sqrt {d x + c} b^{2} c d^{2} - 3 \, {\left (d x + c\right )} a b d^{2} + 6 \, \sqrt {d x + c} a^{2} d^{2}}{b^{3} d^{3}}}{3 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 116, normalized size = 1.29 \[ \frac {2 a c \ln \left (a +\sqrt {d x +c}\, b \right )}{b^{2} d^{2}}-\frac {a x}{b^{2} d}-\frac {2 a^{3} \ln \left (a +\sqrt {d x +c}\, b \right )}{b^{4} d^{2}}-\frac {a c}{b^{2} d^{2}}-\frac {2 \sqrt {d x +c}\, c}{b \,d^{2}}+\frac {2 \sqrt {d x +c}\, a^{2}}{b^{3} d^{2}}+\frac {2 \left (d x +c \right )^{\frac {3}{2}}}{3 b \,d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.88, size = 81, normalized size = 0.90 \[ \frac {\frac {2 \, {\left (d x + c\right )}^{\frac {3}{2}} b^{2} - 3 \, {\left (d x + c\right )} a b - 6 \, {\left (b^{2} c - a^{2}\right )} \sqrt {d x + c}}{b^{3}} + \frac {6 \, {\left (a b^{2} c - a^{3}\right )} \log \left (\sqrt {d x + c} b + a\right )}{b^{4}}}{3 \, d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 89, normalized size = 0.99 \[ \frac {2\,{\left (c+d\,x\right )}^{3/2}}{3\,b\,d^2}-\left (\frac {2\,c}{b\,d^2}-\frac {2\,a^2}{b^3\,d^2}\right )\,\sqrt {c+d\,x}-\frac {\ln \left (a+b\,\sqrt {c+d\,x}\right )\,\left (2\,a^3-2\,a\,b^2\,c\right )}{b^4\,d^2}-\frac {a\,x}{b^2\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 4.72, size = 109, normalized size = 1.21 \[ \begin {cases} \frac {2 \left (- \frac {a \left (c + d x\right )}{2 b^{2} d} - \frac {a \left (a^{2} - b^{2} c\right ) \left (\begin {cases} \frac {\sqrt {c + d x}}{a} & \text {for}\: b = 0 \\\frac {\log {\left (a + b \sqrt {c + d x} \right )}}{b} & \text {otherwise} \end {cases}\right )}{b^{3} d} + \frac {\left (c + d x\right )^{\frac {3}{2}}}{3 b d} + \frac {\left (a^{2} - b^{2} c\right ) \sqrt {c + d x}}{b^{3} d}\right )}{d} & \text {for}\: d \neq 0 \\\frac {x^{2}}{2 \left (a + b \sqrt {c}\right )} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________