Optimal. Leaf size=62 \[ 12 \sqrt {x-1} \sin \left (\sqrt [4]{x-1}\right )-24 \sin \left (\sqrt [4]{x-1}\right )-4 (x-1)^{3/4} \cos \left (\sqrt [4]{x-1}\right )+24 \sqrt [4]{x-1} \cos \left (\sqrt [4]{x-1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {3361, 3296, 2637} \[ 12 \sqrt {x-1} \sin \left (\sqrt [4]{x-1}\right )-24 \sin \left (\sqrt [4]{x-1}\right )-4 (x-1)^{3/4} \cos \left (\sqrt [4]{x-1}\right )+24 \sqrt [4]{x-1} \cos \left (\sqrt [4]{x-1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2637
Rule 3296
Rule 3361
Rubi steps
\begin {align*} \int \sin \left (\sqrt [4]{-1+x}\right ) \, dx &=4 \operatorname {Subst}\left (\int x^3 \sin (x) \, dx,x,\sqrt [4]{-1+x}\right )\\ &=-4 (-1+x)^{3/4} \cos \left (\sqrt [4]{-1+x}\right )+12 \operatorname {Subst}\left (\int x^2 \cos (x) \, dx,x,\sqrt [4]{-1+x}\right )\\ &=-4 (-1+x)^{3/4} \cos \left (\sqrt [4]{-1+x}\right )+12 \sqrt {-1+x} \sin \left (\sqrt [4]{-1+x}\right )-24 \operatorname {Subst}\left (\int x \sin (x) \, dx,x,\sqrt [4]{-1+x}\right )\\ &=24 \sqrt [4]{-1+x} \cos \left (\sqrt [4]{-1+x}\right )-4 (-1+x)^{3/4} \cos \left (\sqrt [4]{-1+x}\right )+12 \sqrt {-1+x} \sin \left (\sqrt [4]{-1+x}\right )-24 \operatorname {Subst}\left (\int \cos (x) \, dx,x,\sqrt [4]{-1+x}\right )\\ &=24 \sqrt [4]{-1+x} \cos \left (\sqrt [4]{-1+x}\right )-4 (-1+x)^{3/4} \cos \left (\sqrt [4]{-1+x}\right )-24 \sin \left (\sqrt [4]{-1+x}\right )+12 \sqrt {-1+x} \sin \left (\sqrt [4]{-1+x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 46, normalized size = 0.74 \[ 12 \left (\sqrt {x-1}-2\right ) \sin \left (\sqrt [4]{x-1}\right )-4 \left (\sqrt {x-1}-6\right ) \sqrt [4]{x-1} \cos \left (\sqrt [4]{x-1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 37, normalized size = 0.60 \[ -4 \, {\left ({\left (x - 1\right )}^{\frac {3}{4}} - 6 \, {\left (x - 1\right )}^{\frac {1}{4}}\right )} \cos \left ({\left (x - 1\right )}^{\frac {1}{4}}\right ) + 12 \, {\left (\sqrt {x - 1} - 2\right )} \sin \left ({\left (x - 1\right )}^{\frac {1}{4}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.01, size = 37, normalized size = 0.60 \[ -4 \, {\left ({\left (x - 1\right )}^{\frac {3}{4}} - 6 \, {\left (x - 1\right )}^{\frac {1}{4}}\right )} \cos \left ({\left (x - 1\right )}^{\frac {1}{4}}\right ) + 12 \, {\left (\sqrt {x - 1} - 2\right )} \sin \left ({\left (x - 1\right )}^{\frac {1}{4}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 49, normalized size = 0.79 \[ 24 \left (x -1\right )^{\frac {1}{4}} \cos \left (\left (x -1\right )^{\frac {1}{4}}\right )-4 \left (x -1\right )^{\frac {3}{4}} \cos \left (\left (x -1\right )^{\frac {1}{4}}\right )-24 \sin \left (\left (x -1\right )^{\frac {1}{4}}\right )+12 \sqrt {x -1}\, \sin \left (\left (x -1\right )^{\frac {1}{4}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.53, size = 37, normalized size = 0.60 \[ -4 \, {\left ({\left (x - 1\right )}^{\frac {3}{4}} - 6 \, {\left (x - 1\right )}^{\frac {1}{4}}\right )} \cos \left ({\left (x - 1\right )}^{\frac {1}{4}}\right ) + 12 \, {\left (\sqrt {x - 1} - 2\right )} \sin \left ({\left (x - 1\right )}^{\frac {1}{4}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.23, size = 41, normalized size = 0.66 \[ 4\,\cos \left ({\left (x-1\right )}^{1/4}\right )\,\left (6\,{\left (x-1\right )}^{1/4}-{\left (x-1\right )}^{3/4}\right )+4\,\sin \left ({\left (x-1\right )}^{1/4}\right )\,\left (3\,\sqrt {x-1}-6\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.03, size = 60, normalized size = 0.97 \[ - 4 \left (x - 1\right )^{\frac {3}{4}} \cos {\left (\sqrt [4]{x - 1} \right )} + 24 \sqrt [4]{x - 1} \cos {\left (\sqrt [4]{x - 1} \right )} + 12 \sqrt {x - 1} \sin {\left (\sqrt [4]{x - 1} \right )} - 24 \sin {\left (\sqrt [4]{x - 1} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________