Optimal. Leaf size=6 \[ x-2 \cos (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 6, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2718}
\begin {gather*} x-2 \cos (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2718
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=x+2 \int \sin (x) \, dx\\ &=x-2 \cos (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 6, normalized size = 1.00 \begin {gather*} x-2 \cos (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 7, normalized size = 1.17
method | result | size |
default | \(x -2 \cos \left (x \right )\) | \(7\) |
risch | \(x -2 \cos \left (x \right )\) | \(7\) |
parts | \(x -2 \cos \left (x \right )\) | \(7\) |
parallelrisch | \(-2-2 \cos \left (x \right )+x\) | \(8\) |
norman | \(\frac {x +x \left (\tan ^{2}\left (\frac {x}{2}\right )\right )-4}{1+\tan ^{2}\left (\frac {x}{2}\right )}\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.44, size = 6, normalized size = 1.00 \begin {gather*} x - 2 \, \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.59, size = 6, normalized size = 1.00 \begin {gather*} x - 2 \, \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 5, normalized size = 0.83 \begin {gather*} x - 2 \cos {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 6, normalized size = 1.00 \begin {gather*} x - 2 \, \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 6, normalized size = 1.00 \begin {gather*} x-2\,\cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Chatgpt [A]
time = 1.00, size = 6, normalized size = 1.00 \begin {gather*} x -2 \cos \left (x \right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________