Optimal. Leaf size=33 \[ \frac {4 \sqrt [4]{(x-1)^3} \left (693 x^4+154 x^3-1029 x^2-549 x+731\right )}{4389} \]
________________________________________________________________________________________
Rubi [B] time = 0.19, antiderivative size = 72, normalized size of antiderivative = 2.18, number of steps used = 17, number of rules used = 6, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.194, Rules used = {6742, 2067, 15, 30, 2081, 43} \begin {gather*} \frac {12}{19} \sqrt [4]{(x-1)^3} (1-x)^4+\frac {36}{11} \sqrt [4]{(x-1)^3} (1-x)^2-\frac {4}{7} \sqrt [4]{(x-1)^3} (1-x)+\frac {8}{3} \left ((x-1)^3\right )^{5/4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 30
Rule 43
Rule 2067
Rule 2081
Rule 6742
Rubi steps
\begin {align*} \int \sqrt [4]{-1+3 x-3 x^2+x^3} \left (-1-2 x+x^2+3 x^3\right ) \, dx &=\int \left (-\sqrt [4]{-1+3 x-3 x^2+x^3}-2 x \sqrt [4]{-1+3 x-3 x^2+x^3}+x^2 \sqrt [4]{-1+3 x-3 x^2+x^3}+3 x^3 \sqrt [4]{-1+3 x-3 x^2+x^3}\right ) \, dx\\ &=-\left (2 \int x \sqrt [4]{-1+3 x-3 x^2+x^3} \, dx\right )+3 \int x^3 \sqrt [4]{-1+3 x-3 x^2+x^3} \, dx-\int \sqrt [4]{-1+3 x-3 x^2+x^3} \, dx+\int x^2 \sqrt [4]{-1+3 x-3 x^2+x^3} \, dx\\ &=-\left (2 \operatorname {Subst}\left (\int \sqrt [4]{x^3} (1+x) \, dx,x,-1+x\right )\right )+3 \operatorname {Subst}\left (\int \sqrt [4]{x^3} (1+x)^3 \, dx,x,-1+x\right )-\operatorname {Subst}\left (\int \sqrt [4]{x^3} \, dx,x,-1+x\right )+\operatorname {Subst}\left (\int \sqrt [4]{x^3} (1+x)^2 \, dx,x,-1+x\right )\\ &=-\frac {\sqrt [4]{(-1+x)^3} \operatorname {Subst}\left (\int x^{3/4} \, dx,x,-1+x\right )}{(-1+x)^{3/4}}+\frac {\sqrt [4]{(-1+x)^3} \operatorname {Subst}\left (\int x^{3/4} (1+x)^2 \, dx,x,-1+x\right )}{(-1+x)^{3/4}}-\frac {\left (2 \sqrt [4]{(-1+x)^3}\right ) \operatorname {Subst}\left (\int x^{3/4} (1+x) \, dx,x,-1+x\right )}{(-1+x)^{3/4}}+\frac {\left (3 \sqrt [4]{(-1+x)^3}\right ) \operatorname {Subst}\left (\int x^{3/4} (1+x)^3 \, dx,x,-1+x\right )}{(-1+x)^{3/4}}\\ &=\frac {4}{7} (1-x) \sqrt [4]{(-1+x)^3}+\frac {\sqrt [4]{(-1+x)^3} \operatorname {Subst}\left (\int \left (x^{3/4}+2 x^{7/4}+x^{11/4}\right ) \, dx,x,-1+x\right )}{(-1+x)^{3/4}}-\frac {\left (2 \sqrt [4]{(-1+x)^3}\right ) \operatorname {Subst}\left (\int \left (x^{3/4}+x^{7/4}\right ) \, dx,x,-1+x\right )}{(-1+x)^{3/4}}+\frac {\left (3 \sqrt [4]{(-1+x)^3}\right ) \operatorname {Subst}\left (\int \left (x^{3/4}+3 x^{7/4}+3 x^{11/4}+x^{15/4}\right ) \, dx,x,-1+x\right )}{(-1+x)^{3/4}}\\ &=-\frac {4}{7} (1-x) \sqrt [4]{(-1+x)^3}+\frac {36}{11} (1-x)^2 \sqrt [4]{(-1+x)^3}+\frac {12}{19} (1-x)^4 \sqrt [4]{(-1+x)^3}+\frac {8}{3} \left ((-1+x)^3\right )^{5/4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 31, normalized size = 0.94 \begin {gather*} \frac {4 (x-1) \sqrt [4]{(x-1)^3} \left (693 x^3+847 x^2-182 x-731\right )}{4389} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 4.95, size = 57, normalized size = 1.73 \begin {gather*} \frac {4 \left (627 (-1+x)^{7/4}+3591 (-1+x)^{11/4}+2926 (-1+x)^{15/4}+693 (-1+x)^{19/4}\right ) \sqrt [4]{(-1+x)^3}}{4389 (-1+x)^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 37, normalized size = 1.12 \begin {gather*} \frac {4}{4389} \, {\left (693 \, x^{4} + 154 \, x^{3} - 1029 \, x^{2} - 549 \, x + 731\right )} {\left (x^{3} - 3 \, x^{2} + 3 \, x - 1\right )}^{\frac {1}{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int {\left (3 \, x^{3} + x^{2} - 2 \, x - 1\right )} {\left (x^{3} - 3 \, x^{2} + 3 \, x - 1\right )}^{\frac {1}{4}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 30, normalized size = 0.91
method | result | size |
risch | \(\frac {4 \left (\left (-1+x \right )^{3}\right )^{\frac {1}{4}} \left (693 x^{4}+154 x^{3}-1029 x^{2}-549 x +731\right )}{4389}\) | \(30\) |
gosper | \(\frac {4 \left (-1+x \right ) \left (693 x^{3}+847 x^{2}-182 x -731\right ) \left (x^{3}-3 x^{2}+3 x -1\right )^{\frac {1}{4}}}{4389}\) | \(36\) |
trager | \(\left (\frac {12}{19} x^{4}+\frac {8}{57} x^{3}-\frac {196}{209} x^{2}-\frac {732}{1463} x +\frac {2924}{4389}\right ) \left (x^{3}-3 x^{2}+3 x -1\right )^{\frac {1}{4}}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.34, size = 74, normalized size = 2.24 \begin {gather*} \frac {12}{7315} \, {\left (385 \, x^{4} - 77 \, x^{3} - 84 \, x^{2} - 96 \, x - 128\right )} {\left (x - 1\right )}^{\frac {3}{4}} + \frac {4}{1155} \, {\left (77 \, x^{3} - 21 \, x^{2} - 24 \, x - 32\right )} {\left (x - 1\right )}^{\frac {3}{4}} - \frac {8}{77} \, {\left (7 \, x^{2} - 3 \, x - 4\right )} {\left (x - 1\right )}^{\frac {3}{4}} - \frac {4}{7} \, {\left (x - 1\right )}^{\frac {7}{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.20, size = 35, normalized size = 1.06 \begin {gather*} -\frac {4\,\left (x-1\right )\,{\left (x^3-3\,x^2+3\,x-1\right )}^{1/4}\,\left (-693\,x^3-847\,x^2+182\,x+731\right )}{4389} \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 \left (3 x^{3} + x^{2} - 2 x - 1\right ) \sqrt [4]{\left (x - 1\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________