Optimal. Leaf size=4 \[ -2 \cos (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {4372, 2718}
\begin {gather*} -2 \cos (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2718
Rule 4372
Rubi steps
\begin {align*} \int \sec (x) \sin (2 x) \, dx &=2 \int \sin (x) \, dx\\ &=-2 \cos (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 4, normalized size = 1.00 \begin {gather*} -2 \cos (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.90, size = 4, normalized size = 1.00 \begin {gather*} -2 \text {Cos}\left [x\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 5, normalized size = 1.25
method | result | size |
derivativedivides | \(-2 \cos \left (x \right )\) | \(5\) |
default | \(-2 \cos \left (x \right )\) | \(5\) |
risch | \(-2 \cos \left (x \right )\) | \(5\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 4, normalized size = 1.00 \begin {gather*} -2 \, \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 4, normalized size = 1.00 \begin {gather*} -2 \, \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.38, size = 5, normalized size = 1.25 \begin {gather*} - 2 \cos {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 5, normalized size = 1.25 \begin {gather*} -2 \cos x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 4, normalized size = 1.00 \begin {gather*} -2\,\cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________