Integrand size = 10, antiderivative size = 61 \[ \int x \cos (b x) \text {Si}(b x) \, dx=-\frac {x}{2 b}+\frac {\cos (b x) \sin (b x)}{2 b^2}+\frac {\cos (b x) \text {Si}(b x)}{b^2}+\frac {x \sin (b x) \text {Si}(b x)}{b}-\frac {\text {Si}(2 b x)}{2 b^2} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.700, Rules used = {6654, 12, 2715, 8, 6646, 4491, 3380} \[ \int x \cos (b x) \text {Si}(b x) \, dx=-\frac {\text {Si}(2 b x)}{2 b^2}+\frac {\text {Si}(b x) \cos (b x)}{b^2}+\frac {\sin (b x) \cos (b x)}{2 b^2}+\frac {x \text {Si}(b x) \sin (b x)}{b}-\frac {x}{2 b} \]
[In]
[Out]
Rule 8
Rule 12
Rule 2715
Rule 3380
Rule 4491
Rule 6646
Rule 6654
Rubi steps \begin{align*} \text {integral}& = \frac {x \sin (b x) \text {Si}(b x)}{b}-\frac {\int \sin (b x) \text {Si}(b x) \, dx}{b}-\int \frac {\sin ^2(b x)}{b} \, dx \\ & = \frac {\cos (b x) \text {Si}(b x)}{b^2}+\frac {x \sin (b x) \text {Si}(b x)}{b}-\frac {\int \frac {\cos (b x) \sin (b x)}{b x} \, dx}{b}-\frac {\int \sin ^2(b x) \, dx}{b} \\ & = \frac {\cos (b x) \sin (b x)}{2 b^2}+\frac {\cos (b x) \text {Si}(b x)}{b^2}+\frac {x \sin (b x) \text {Si}(b x)}{b}-\frac {\int \frac {\cos (b x) \sin (b x)}{x} \, dx}{b^2}-\frac {\int 1 \, dx}{2 b} \\ & = -\frac {x}{2 b}+\frac {\cos (b x) \sin (b x)}{2 b^2}+\frac {\cos (b x) \text {Si}(b x)}{b^2}+\frac {x \sin (b x) \text {Si}(b x)}{b}-\frac {\int \frac {\sin (2 b x)}{2 x} \, dx}{b^2} \\ & = -\frac {x}{2 b}+\frac {\cos (b x) \sin (b x)}{2 b^2}+\frac {\cos (b x) \text {Si}(b x)}{b^2}+\frac {x \sin (b x) \text {Si}(b x)}{b}-\frac {\int \frac {\sin (2 b x)}{x} \, dx}{2 b^2} \\ & = -\frac {x}{2 b}+\frac {\cos (b x) \sin (b x)}{2 b^2}+\frac {\cos (b x) \text {Si}(b x)}{b^2}+\frac {x \sin (b x) \text {Si}(b x)}{b}-\frac {\text {Si}(2 b x)}{2 b^2} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.69 \[ \int x \cos (b x) \text {Si}(b x) \, dx=\frac {-2 b x+\sin (2 b x)+4 (\cos (b x)+b x \sin (b x)) \text {Si}(b x)-2 \text {Si}(2 b x)}{4 b^2} \]
[In]
[Out]
Time = 0.83 (sec) , antiderivative size = 44, normalized size of antiderivative = 0.72
method | result | size |
derivativedivides | \(\frac {\operatorname {Si}\left (b x \right ) \left (\cos \left (b x \right )+b x \sin \left (b x \right )\right )-\frac {\operatorname {Si}\left (2 b x \right )}{2}+\frac {\sin \left (b x \right ) \cos \left (b x \right )}{2}-\frac {b x}{2}}{b^{2}}\) | \(44\) |
default | \(\frac {\operatorname {Si}\left (b x \right ) \left (\cos \left (b x \right )+b x \sin \left (b x \right )\right )-\frac {\operatorname {Si}\left (2 b x \right )}{2}+\frac {\sin \left (b x \right ) \cos \left (b x \right )}{2}-\frac {b x}{2}}{b^{2}}\) | \(44\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 43, normalized size of antiderivative = 0.70 \[ \int x \cos (b x) \text {Si}(b x) \, dx=-\frac {b x - {\left (2 \, b x \operatorname {Si}\left (b x\right ) + \cos \left (b x\right )\right )} \sin \left (b x\right ) - 2 \, \cos \left (b x\right ) \operatorname {Si}\left (b x\right ) + \operatorname {Si}\left (2 \, b x\right )}{2 \, b^{2}} \]
[In]
[Out]
\[ \int x \cos (b x) \text {Si}(b x) \, dx=\int x \cos {\left (b x \right )} \operatorname {Si}{\left (b x \right )}\, dx \]
[In]
[Out]
\[ \int x \cos (b x) \text {Si}(b x) \, dx=\int { x \cos \left (b x\right ) \operatorname {Si}\left (b x\right ) \,d x } \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.28 (sec) , antiderivative size = 124, normalized size of antiderivative = 2.03 \[ \int x \cos (b x) \text {Si}(b x) \, dx={\left (\frac {x \sin \left (b x\right )}{b} + \frac {\cos \left (b x\right )}{b^{2}}\right )} \operatorname {Si}\left (b x\right ) - \frac {2 \, b x \tan \left (b x\right )^{2} + \Im \left ( \operatorname {Ci}\left (2 \, b x\right ) \right ) \tan \left (b x\right )^{2} - \Im \left ( \operatorname {Ci}\left (-2 \, b x\right ) \right ) \tan \left (b x\right )^{2} + 2 \, \operatorname {Si}\left (2 \, b x\right ) \tan \left (b x\right )^{2} + 2 \, b x + \Im \left ( \operatorname {Ci}\left (2 \, b x\right ) \right ) - \Im \left ( \operatorname {Ci}\left (-2 \, b x\right ) \right ) + 2 \, \operatorname {Si}\left (2 \, b x\right ) - 2 \, \tan \left (b x\right )}{4 \, {\left (b^{2} \tan \left (b x\right )^{2} + b^{2}\right )}} \]
[In]
[Out]
Timed out. \[ \int x \cos (b x) \text {Si}(b x) \, dx=\int x\,\mathrm {sinint}\left (b\,x\right )\,\cos \left (b\,x\right ) \,d x \]
[In]
[Out]