Optimal. Leaf size=33 \[ -x+\frac {4}{3} \sqrt {3 x+2}-\frac {4}{3} \log \left (\sqrt {3 x+2}+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {431, 376, 77} \[ -x+\frac {4}{3} \sqrt {3 x+2}-\frac {4}{3} \log \left (\sqrt {3 x+2}+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 376
Rule 431
Rubi steps
\begin {align*} \int \frac {1-\sqrt {2+3 x}}{1+\sqrt {2+3 x}} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1-\sqrt {x}}{1+\sqrt {x}} \, dx,x,2+3 x\right )\\ &=\frac {2}{3} \operatorname {Subst}\left (\int \frac {(1-x) x}{1+x} \, dx,x,\sqrt {2+3 x}\right )\\ &=\frac {2}{3} \operatorname {Subst}\left (\int \left (2-x-\frac {2}{1+x}\right ) \, dx,x,\sqrt {2+3 x}\right )\\ &=-x+\frac {4}{3} \sqrt {2+3 x}-\frac {4}{3} \log \left (1+\sqrt {2+3 x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 33, normalized size = 1.00 \[ -x+\frac {4}{3} \sqrt {3 x+2}-\frac {4}{3} \log \left (\sqrt {3 x+2}+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 25, normalized size = 0.76 \[ -x + \frac {4}{3} \, \sqrt {3 \, x + 2} - \frac {4}{3} \, \log \left (\sqrt {3 \, x + 2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.33, size = 26, normalized size = 0.79 \[ -x + \frac {4}{3} \, \sqrt {3 \, x + 2} - \frac {4}{3} \, \log \left (\sqrt {3 \, x + 2} + 1\right ) - \frac {2}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 27, normalized size = 0.82 \[ -x -\frac {4 \ln \left (1+\sqrt {3 x +2}\right )}{3}+\frac {4 \sqrt {3 x +2}}{3}-\frac {2}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.88, size = 26, normalized size = 0.79 \[ -x + \frac {4}{3} \, \sqrt {3 \, x + 2} - \frac {4}{3} \, \log \left (\sqrt {3 \, x + 2} + 1\right ) - \frac {2}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.10, size = 25, normalized size = 0.76 \[ \frac {4\,\sqrt {3\,x+2}}{3}-\frac {4\,\ln \left (\sqrt {3\,x+2}+1\right )}{3}-x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 27, normalized size = 0.82 \[ - x + \frac {4 \sqrt {3 x + 2}}{3} - \frac {4 \log {\left (\sqrt {3 x + 2} + 1 \right )}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________