Integrand size = 19, antiderivative size = 43 \[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=\frac {2 e^{n \cos (a+b x)}}{b n^2}-\frac {2 e^{n \cos (a+b x)} \cos (a+b x)}{b n} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {12, 2207, 2225} \[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=\frac {2 e^{n \cos (a+b x)}}{b n^2}-\frac {2 \cos (a+b x) e^{n \cos (a+b x)}}{b n} \]
[In]
[Out]
Rule 12
Rule 2207
Rule 2225
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int 2 e^{n x} x \, dx,x,\cos (a+b x)\right )}{b} \\ & = -\frac {2 \text {Subst}\left (\int e^{n x} x \, dx,x,\cos (a+b x)\right )}{b} \\ & = -\frac {2 e^{n \cos (a+b x)} \cos (a+b x)}{b n}+\frac {2 \text {Subst}\left (\int e^{n x} \, dx,x,\cos (a+b x)\right )}{b n} \\ & = \frac {2 e^{n \cos (a+b x)}}{b n^2}-\frac {2 e^{n \cos (a+b x)} \cos (a+b x)}{b n} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.65 \[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=-\frac {2 e^{n \cos (a+b x)} (-1+n \cos (a+b x))}{b n^2} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 1.02 (sec) , antiderivative size = 105, normalized size of antiderivative = 2.44
method | result | size |
risch | \(-\frac {{\mathrm e}^{n \cos \left (x b \right ) \cos \left (a \right )-n \sin \left (x b \right ) \sin \left (a \right )} {\mathrm e}^{-i b x} {\mathrm e}^{-i a}}{b n}-\frac {{\mathrm e}^{n \cos \left (x b \right ) \cos \left (a \right )-n \sin \left (x b \right ) \sin \left (a \right )} {\mathrm e}^{i b x} {\mathrm e}^{i a}}{b n}+\frac {2 \,{\mathrm e}^{n \left (\cos \left (x b \right ) \cos \left (a \right )-\sin \left (x b \right ) \sin \left (a \right )\right )}}{b \,n^{2}}\) | \(105\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.63 \[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=-\frac {2 \, {\left (n \cos \left (b x + a\right ) - 1\right )} e^{\left (n \cos \left (b x + a\right )\right )}}{b n^{2}} \]
[In]
[Out]
\[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=\int e^{n \cos {\left (a + b x \right )}} \sin {\left (2 a + 2 b x \right )}\, dx \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 37, normalized size of antiderivative = 0.86 \[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=-\frac {2 \, {\left (n \cos \left (b x + a\right ) e^{\left (n \cos \left (b x + a\right )\right )} - e^{\left (n \cos \left (b x + a\right )\right )}\right )}}{b n^{2}} \]
[In]
[Out]
\[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=\int { e^{\left (n \cos \left (b x + a\right )\right )} \sin \left (2 \, b x + 2 \, a\right ) \,d x } \]
[In]
[Out]
Time = 0.00 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.63 \[ \int e^{n \cos (a+b x)} \sin (2 (a+b x)) \, dx=-\frac {2\,{\mathrm {e}}^{n\,\cos \left (a+b\,x\right )}\,\left (n\,\cos \left (a+b\,x\right )-1\right )}{b\,n^2} \]
[In]
[Out]