Optimal. Leaf size=14 \[ \frac {1}{32} (4 x-\sin (4 x)) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 24, normalized size of antiderivative = 1.71, number of steps
used = 3, number of rules used = 3, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2648, 2715, 8}
\begin {gather*} \frac {x}{8}-\frac {1}{4} \sin (x) \cos ^3(x)+\frac {1}{8} \sin (x) \cos (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2648
Rule 2715
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=-\frac {1}{4} \cos ^3(x) \sin (x)+\frac {1}{4} \int \cos ^2(x) \, dx\\ &=\frac {1}{8} \cos (x) \sin (x)-\frac {1}{4} \cos ^3(x) \sin (x)+\frac {\int 1 \, dx}{8}\\ &=\frac {x}{8}+\frac {1}{8} \cos (x) \sin (x)-\frac {1}{4} \cos ^3(x) \sin (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 14, normalized size = 1.00 \begin {gather*} \frac {x}{8}-\frac {1}{32} \sin (4 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 19, normalized size = 1.36
method | result | size |
risch | \(\frac {x}{8}-\frac {\sin \left (4 x \right )}{32}\) | \(11\) |
parallelrisch | \(\frac {x}{8}-\frac {\sin \left (4 x \right )}{32}\) | \(11\) |
default | \(-\frac {\left (\cos ^{3}\left (x \right )\right ) \sin \left (x \right )}{4}+\frac {\cos \left (x \right ) \sin \left (x \right )}{8}+\frac {x}{8}\) | \(19\) |
norman | \(\frac {\frac {x}{8}+\frac {7 \left (\tan ^{3}\left (\frac {x}{2}\right )\right )}{4}-\frac {7 \left (\tan ^{5}\left (\frac {x}{2}\right )\right )}{4}+\frac {\left (\tan ^{7}\left (\frac {x}{2}\right )\right )}{4}+\frac {x \left (\tan ^{2}\left (\frac {x}{2}\right )\right )}{2}+\frac {3 x \left (\tan ^{4}\left (\frac {x}{2}\right )\right )}{4}+\frac {x \left (\tan ^{6}\left (\frac {x}{2}\right )\right )}{2}+\frac {x \left (\tan ^{8}\left (\frac {x}{2}\right )\right )}{8}-\frac {\tan \left (\frac {x}{2}\right )}{4}}{\left (1+\tan ^{2}\left (\frac {x}{2}\right )\right )^{4}}\) | \(82\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 10, normalized size = 0.71 \begin {gather*} \frac {1}{8} \, x - \frac {1}{32} \, \sin \left (4 \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.60, size = 19, normalized size = 1.36 \begin {gather*} -\frac {1}{8} \, {\left (2 \, \cos \left (x\right )^{3} - \cos \left (x\right )\right )} \sin \left (x\right ) + \frac {1}{8} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 14, normalized size = 1.00 \begin {gather*} \frac {x}{8} - \frac {\sin {\left (2 x \right )} \cos {\left (2 x \right )}}{16} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 10, normalized size = 0.71 \begin {gather*} \frac {1}{8} \, x - \frac {1}{32} \, \sin \left (4 \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 18, normalized size = 1.29 \begin {gather*} \frac {\cos \left (x\right )\,{\sin \left (x\right )}^3}{4}-\frac {\cos \left (x\right )\,\sin \left (x\right )}{8}+\frac {x}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Chatgpt [F] Failed to verify
time = 1.00, size = 13, normalized size = 0.93 \begin {gather*} -\frac {\left (\cos ^{3}\left (x \right )\right )}{12}+\frac {\left (\cos ^{5}\left (x \right )\right )}{20} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________