Optimal. Leaf size=71 \[ -\frac{a^2 \text{Si}(a+b x)}{2 b^2}-\frac{\sin (a+b x)}{2 b^2}-\frac{a \cos (a+b x)}{2 b^2}+\frac{1}{2} x^2 \text{Si}(a+b x)+\frac{x \cos (a+b x)}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.206409, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.75, Rules used = {6503, 6742, 2638, 3296, 2637, 3299} \[ -\frac{a^2 \text{Si}(a+b x)}{2 b^2}-\frac{\sin (a+b x)}{2 b^2}-\frac{a \cos (a+b x)}{2 b^2}+\frac{1}{2} x^2 \text{Si}(a+b x)+\frac{x \cos (a+b x)}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6503
Rule 6742
Rule 2638
Rule 3296
Rule 2637
Rule 3299
Rubi steps
\begin{align*} \int x \text{Si}(a+b x) \, dx &=\frac{1}{2} x^2 \text{Si}(a+b x)-\frac{1}{2} b \int \frac{x^2 \sin (a+b x)}{a+b x} \, dx\\ &=\frac{1}{2} x^2 \text{Si}(a+b x)-\frac{1}{2} b \int \left (-\frac{a \sin (a+b x)}{b^2}+\frac{x \sin (a+b x)}{b}+\frac{a^2 \sin (a+b x)}{b^2 (a+b x)}\right ) \, dx\\ &=\frac{1}{2} x^2 \text{Si}(a+b x)-\frac{1}{2} \int x \sin (a+b x) \, dx+\frac{a \int \sin (a+b x) \, dx}{2 b}-\frac{a^2 \int \frac{\sin (a+b x)}{a+b x} \, dx}{2 b}\\ &=-\frac{a \cos (a+b x)}{2 b^2}+\frac{x \cos (a+b x)}{2 b}-\frac{a^2 \text{Si}(a+b x)}{2 b^2}+\frac{1}{2} x^2 \text{Si}(a+b x)-\frac{\int \cos (a+b x) \, dx}{2 b}\\ &=-\frac{a \cos (a+b x)}{2 b^2}+\frac{x \cos (a+b x)}{2 b}-\frac{\sin (a+b x)}{2 b^2}-\frac{a^2 \text{Si}(a+b x)}{2 b^2}+\frac{1}{2} x^2 \text{Si}(a+b x)\\ \end{align*}
Mathematica [A] time = 0.0998636, size = 50, normalized size = 0.7 \[ \frac{\left (b^2 x^2-a^2\right ) \text{Si}(a+b x)-\sin (a+b x)+(b x-a) \cos (a+b x)}{2 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.051, size = 61, normalized size = 0.9 \begin{align*}{\frac{1}{{b}^{2}} \left ({\it Si} \left ( bx+a \right ) \left ({\frac{ \left ( bx+a \right ) ^{2}}{2}}-a \left ( bx+a \right ) \right ) +{\frac{ \left ( bx+a \right ) \cos \left ( bx+a \right ) }{2}}-{\frac{\sin \left ( bx+a \right ) }{2}}-a\cos \left ( bx+a \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x{\rm Si}\left (b x + a\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x \operatorname{Si}\left (b x + a\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{Si}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.26429, size = 74, normalized size = 1.04 \begin{align*} \frac{1}{2} \, x^{2} \operatorname{Si}\left (b x + a\right ) - \frac{a^{2} \Im \left ( \operatorname{Ci}\left (b x + a\right ) \right ) - a^{2} \Im \left ( \operatorname{Ci}\left (-b x - a\right ) \right ) + 2 \, a^{2} \operatorname{Si}\left (b x + a\right )}{4 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]