Optimal. Leaf size=53 \[ -\frac {4}{81} \sqrt {2+3 x}-\frac {10}{81} (2+3 x)^{3/2}+\frac {8}{135} (2+3 x)^{5/2}-\frac {4}{567} (2+3 x)^{7/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {1607, 786}
\begin {gather*} -\frac {4}{567} (3 x+2)^{7/2}+\frac {8}{135} (3 x+2)^{5/2}-\frac {10}{81} (3 x+2)^{3/2}-\frac {4}{81} \sqrt {3 x+2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 786
Rule 1607
Rubi steps
\begin {align*} \int \frac {x-2 x^3}{\sqrt {2+3 x}} \, dx &=\int \frac {x \left (1-2 x^2\right )}{\sqrt {2+3 x}} \, dx\\ &=\int \left (-\frac {2}{27 \sqrt {2+3 x}}-\frac {5}{9} \sqrt {2+3 x}+\frac {4}{9} (2+3 x)^{3/2}-\frac {2}{27} (2+3 x)^{5/2}\right ) \, dx\\ &=-\frac {4}{81} \sqrt {2+3 x}-\frac {10}{81} (2+3 x)^{3/2}+\frac {8}{135} (2+3 x)^{5/2}-\frac {4}{567} (2+3 x)^{7/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 28, normalized size = 0.53 \begin {gather*} -\frac {2 \sqrt {2+3 x} \left (164-123 x-216 x^2+270 x^3\right )}{2835} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 38, normalized size = 0.72
method | result | size |
trager | \(\left (-\frac {4}{21} x^{3}+\frac {16}{105} x^{2}+\frac {82}{945} x -\frac {328}{2835}\right ) \sqrt {2+3 x}\) | \(24\) |
gosper | \(-\frac {2 \left (270 x^{3}-216 x^{2}-123 x +164\right ) \sqrt {2+3 x}}{2835}\) | \(25\) |
risch | \(-\frac {2 \left (270 x^{3}-216 x^{2}-123 x +164\right ) \sqrt {2+3 x}}{2835}\) | \(25\) |
derivativedivides | \(-\frac {10 \left (2+3 x \right )^{\frac {3}{2}}}{81}+\frac {8 \left (2+3 x \right )^{\frac {5}{2}}}{135}-\frac {4 \left (2+3 x \right )^{\frac {7}{2}}}{567}-\frac {4 \sqrt {2+3 x}}{81}\) | \(38\) |
default | \(-\frac {10 \left (2+3 x \right )^{\frac {3}{2}}}{81}+\frac {8 \left (2+3 x \right )^{\frac {5}{2}}}{135}-\frac {4 \left (2+3 x \right )^{\frac {7}{2}}}{567}-\frac {4 \sqrt {2+3 x}}{81}\) | \(38\) |
meijerg | \(-\frac {16 \sqrt {2}\, \left (\frac {32 \sqrt {\pi }}{35}-\frac {\sqrt {\pi }\, \left (-135 x^{3}+108 x^{2}-96 x +128\right ) \sqrt {1+\frac {3 x}{2}}}{140}\right )}{81 \sqrt {\pi }}+\frac {2 \sqrt {2}\, \left (\frac {4 \sqrt {\pi }}{3}-\frac {\sqrt {\pi }\, \left (-6 x +8\right ) \sqrt {1+\frac {3 x}{2}}}{6}\right )}{9 \sqrt {\pi }}\) | \(74\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.37, size = 37, normalized size = 0.70 \begin {gather*} -\frac {4}{567} \, {\left (3 \, x + 2\right )}^{\frac {7}{2}} + \frac {8}{135} \, {\left (3 \, x + 2\right )}^{\frac {5}{2}} - \frac {10}{81} \, {\left (3 \, x + 2\right )}^{\frac {3}{2}} - \frac {4}{81} \, \sqrt {3 \, x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 24, normalized size = 0.45 \begin {gather*} -\frac {2}{2835} \, {\left (270 \, x^{3} - 216 \, x^{2} - 123 \, x + 164\right )} \sqrt {3 \, x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 5.97, size = 46, normalized size = 0.87 \begin {gather*} - \frac {4 \left (3 x + 2\right )^{\frac {7}{2}}}{567} + \frac {8 \left (3 x + 2\right )^{\frac {5}{2}}}{135} - \frac {10 \left (3 x + 2\right )^{\frac {3}{2}}}{81} - \frac {4 \sqrt {3 x + 2}}{81} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 5.29, size = 37, normalized size = 0.70 \begin {gather*} -\frac {4}{567} \, {\left (3 \, x + 2\right )}^{\frac {7}{2}} + \frac {8}{135} \, {\left (3 \, x + 2\right )}^{\frac {5}{2}} - \frac {10}{81} \, {\left (3 \, x + 2\right )}^{\frac {3}{2}} - \frac {4}{81} \, \sqrt {3 \, x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 37, normalized size = 0.70 \begin {gather*} \frac {8\,{\left (3\,x+2\right )}^{5/2}}{135}-\frac {10\,{\left (3\,x+2\right )}^{3/2}}{81}-\frac {4\,\sqrt {3\,x+2}}{81}-\frac {4\,{\left (3\,x+2\right )}^{7/2}}{567} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________