Optimal. Leaf size=46 \[ \frac {\text {Ci}(2 a+2 b x)}{2 b}+\frac {\text {Si}(a+b x) \sin (a+b x)}{b}-\frac {\log (a+b x)}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {6517, 3312, 3302} \[ \frac {\text {CosIntegral}(2 a+2 b x)}{2 b}+\frac {\text {Si}(a+b x) \sin (a+b x)}{b}-\frac {\log (a+b x)}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3302
Rule 3312
Rule 6517
Rubi steps
\begin {align*} \int \cos (a+b x) \text {Si}(a+b x) \, dx &=\frac {\sin (a+b x) \text {Si}(a+b x)}{b}-\int \frac {\sin ^2(a+b x)}{a+b x} \, dx\\ &=\frac {\sin (a+b x) \text {Si}(a+b x)}{b}-\int \left (\frac {1}{2 (a+b x)}-\frac {\cos (2 a+2 b x)}{2 (a+b x)}\right ) \, dx\\ &=-\frac {\log (a+b x)}{2 b}+\frac {\sin (a+b x) \text {Si}(a+b x)}{b}+\frac {1}{2} \int \frac {\cos (2 a+2 b x)}{a+b x} \, dx\\ &=\frac {\text {Ci}(2 a+2 b x)}{2 b}-\frac {\log (a+b x)}{2 b}+\frac {\sin (a+b x) \text {Si}(a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 45, normalized size = 0.98 \[ \frac {\text {Ci}(2 (a+b x))}{2 b}+\frac {\text {Si}(a+b x) \sin (a+b x)}{b}-\frac {\log (a+b x)}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.61, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\cos \left (b x + a\right ) \operatorname {Si}\left (b x + a\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.21, size = 95, normalized size = 2.07 \[ \frac {\sin \left (b x + a\right ) \operatorname {Si}\left (b x + a\right )}{b} + \frac {\cos \left (2 \, a\right )^{2} \operatorname {Ci}\left (2 \, b x + 2 \, a\right ) + \cos \left (2 \, a\right )^{2} \operatorname {Ci}\left (-2 \, b x - 2 \, a\right ) + \operatorname {Ci}\left (2 \, b x + 2 \, a\right ) \sin \left (2 \, a\right )^{2} + \operatorname {Ci}\left (-2 \, b x - 2 \, a\right ) \sin \left (2 \, a\right )^{2} - 2 \, \log \left (b x + a\right )}{4 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 43, normalized size = 0.93 \[ \frac {\Ci \left (2 b x +2 a \right )}{2 b}-\frac {\ln \left (b x +a \right )}{2 b}+\frac {\Si \left (b x +a \right ) \sin \left (b x +a \right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\rm Si}\left (b x + a\right ) \cos \left (b x + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \frac {\mathrm {cosint}\left (2\,a+2\,b\,x\right )-\ln \left (a+b\,x\right )+2\,\mathrm {sinint}\left (a+b\,x\right )\,\sin \left (a+b\,x\right )}{2\,b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \cos {\left (a + b x \right )} \operatorname {Si}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________