Optimal. Leaf size=13 \[ \frac {1}{9} a \sin ^3(5+3 x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {12, 2644, 30}
\begin {gather*} \frac {1}{9} a \sin ^3(3 x+5) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 30
Rule 2644
Rubi steps
\begin {align*} \int a \cos (5+3 x) \sin ^2(5+3 x) \, dx &=a \int \cos (5+3 x) \sin ^2(5+3 x) \, dx\\ &=\frac {1}{3} a \text {Subst}\left (\int x^2 \, dx,x,\sin (5+3 x)\right )\\ &=\frac {1}{9} a \sin ^3(5+3 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 13, normalized size = 1.00 \begin {gather*} \frac {1}{9} a \sin ^3(5+3 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 12, normalized size = 0.92
method | result | size |
derivativedivides | \(\frac {a \left (\sin ^{3}\left (5+3 x \right )\right )}{9}\) | \(12\) |
default | \(\frac {a \left (\sin ^{3}\left (5+3 x \right )\right )}{9}\) | \(12\) |
risch | \(\frac {a \sin \left (5+3 x \right )}{12}-\frac {a \sin \left (15+9 x \right )}{36}\) | \(20\) |
norman | \(\frac {8 a \left (\tan ^{3}\left (\frac {5}{2}+\frac {3 x}{2}\right )\right )}{9 \left (1+\tan ^{2}\left (\frac {5}{2}+\frac {3 x}{2}\right )\right )^{3}}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.12, size = 11, normalized size = 0.85 \begin {gather*} \frac {1}{9} \, a \sin \left (3 \, x + 5\right )^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.62, size = 22, normalized size = 1.69 \begin {gather*} -\frac {1}{9} \, {\left (a \cos \left (3 \, x + 5\right )^{2} - a\right )} \sin \left (3 \, x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.08, size = 10, normalized size = 0.77 \begin {gather*} \frac {a \sin ^{3}{\left (3 x + 5 \right )}}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 11, normalized size = 0.85 \begin {gather*} \frac {1}{9} \, a \sin \left (3 \, x + 5\right )^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 11, normalized size = 0.85 \begin {gather*} \frac {a\,{\sin \left (3\,x+5\right )}^3}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________