Optimal. Leaf size=19 \[ x+4 \sqrt {x}+2 \log \left (\sqrt {x}+4\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {28, 1397, 771} \[ x+4 \sqrt {x}+2 \log \left (\sqrt {x}+4\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 771
Rule 1397
Rubi steps
\begin {align*} \int \frac {9+6 \sqrt {x}+x}{4 \sqrt {x}+x} \, dx &=\int \frac {\left (3+\sqrt {x}\right )^2}{4 \sqrt {x}+x} \, dx\\ &=2 \operatorname {Subst}\left (\int \frac {x (3+x)^2}{4 x+x^2} \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \left (2+x+\frac {1}{4+x}\right ) \, dx,x,\sqrt {x}\right )\\ &=4 \sqrt {x}+x+2 \log \left (4+\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 19, normalized size = 1.00 \[ x+4 \sqrt {x}+2 \log \left (\sqrt {x}+4\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 15, normalized size = 0.79 \[ x + 4 \, \sqrt {x} + 2 \, \log \left (\sqrt {x} + 4\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.39, size = 15, normalized size = 0.79 \[ x + 4 \, \sqrt {x} + 2 \, \log \left (\sqrt {x} + 4\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 16, normalized size = 0.84 \[ x +2 \ln \left (\sqrt {x}+4\right )+4 \sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.88, size = 15, normalized size = 0.79 \[ x + 4 \, \sqrt {x} + 2 \, \log \left (\sqrt {x} + 4\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.04, size = 15, normalized size = 0.79 \[ x+2\,\ln \left (\sqrt {x}+4\right )+4\,\sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 17, normalized size = 0.89 \[ 4 \sqrt {x} + x + 2 \log {\left (\sqrt {x} + 4 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________