Optimal. Leaf size=11 \[ -\frac {\cos (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2718}
\begin {gather*} -\frac {\cos (a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2718
Rubi steps
\begin {align*} \int \sin (a+b x) \, dx &=-\frac {\cos (a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 22, normalized size = 2.00 \begin {gather*} -\frac {\cos (a) \cos (b x)}{b}+\frac {\sin (a) \sin (b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 12, normalized size = 1.09
method | result | size |
derivativedivides | \(-\frac {\cos \left (b x +a \right )}{b}\) | \(12\) |
default | \(-\frac {\cos \left (b x +a \right )}{b}\) | \(12\) |
risch | \(-\frac {\cos \left (b x +a \right )}{b}\) | \(12\) |
norman | \(\frac {2 \left (\tan ^{2}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{b \left (1+\tan ^{2}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}\) | \(32\) |
meijerg | \(\frac {\sin \left (a \right ) \sin \left (b x \right )}{b}+\frac {\cos \left (a \right ) \sqrt {\pi }\, \left (\frac {1}{\sqrt {\pi }}-\frac {\cos \left (b x \right )}{\sqrt {\pi }}\right )}{b}\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.93, size = 11, normalized size = 1.00 \begin {gather*} -\frac {\cos \left (b x + a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.81, size = 11, normalized size = 1.00 \begin {gather*} -\frac {\cos \left (b x + a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 14, normalized size = 1.27 \begin {gather*} \begin {cases} - \frac {\cos {\left (a + b x \right )}}{b} & \text {for}\: b \neq 0 \\x \sin {\left (a \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.15, size = 11, normalized size = 1.00 \begin {gather*} -\frac {\cos \left (b x + a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 11, normalized size = 1.00 \begin {gather*} -\frac {\cos \left (a+b\,x\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________