Optimal. Leaf size=32 \[ x \text{Si}(b x)^2-\frac{\text{Si}(2 b x)}{b}+\frac{2 \text{Si}(b x) \cos (b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0508099, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.833, Rules used = {6505, 6511, 12, 4406, 3299} \[ x \text{Si}(b x)^2-\frac{\text{Si}(2 b x)}{b}+\frac{2 \text{Si}(b x) \cos (b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6505
Rule 6511
Rule 12
Rule 4406
Rule 3299
Rubi steps
\begin{align*} \int \text{Si}(b x)^2 \, dx &=x \text{Si}(b x)^2-2 \int \sin (b x) \text{Si}(b x) \, dx\\ &=\frac{2 \cos (b x) \text{Si}(b x)}{b}+x \text{Si}(b x)^2-2 \int \frac{\cos (b x) \sin (b x)}{b x} \, dx\\ &=\frac{2 \cos (b x) \text{Si}(b x)}{b}+x \text{Si}(b x)^2-\frac{2 \int \frac{\cos (b x) \sin (b x)}{x} \, dx}{b}\\ &=\frac{2 \cos (b x) \text{Si}(b x)}{b}+x \text{Si}(b x)^2-\frac{2 \int \frac{\sin (2 b x)}{2 x} \, dx}{b}\\ &=\frac{2 \cos (b x) \text{Si}(b x)}{b}+x \text{Si}(b x)^2-\frac{\int \frac{\sin (2 b x)}{x} \, dx}{b}\\ &=\frac{2 \cos (b x) \text{Si}(b x)}{b}+x \text{Si}(b x)^2-\frac{\text{Si}(2 b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.0075411, size = 32, normalized size = 1. \[ x \text{Si}(b x)^2-\frac{\text{Si}(2 b x)}{b}+\frac{2 \text{Si}(b x) \cos (b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.05, size = 32, normalized size = 1. \begin{align*}{\frac{bx \left ({\it Si} \left ( bx \right ) \right ) ^{2}+2\,\cos \left ( bx \right ){\it Si} \left ( bx \right ) -{\it Si} \left ( 2\,bx \right ) }{b}} \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{\rm Si}\left (b x\right )^{2}\,{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 (\operatorname{Si}\left (b x\right )^{2}, 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 \operatorname{Si}^{2}{\left (b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.33996, size = 66, normalized size = 2.06 \begin{align*} x \operatorname{Si}\left (b x\right )^{2} + \frac{2 \, \cos \left (b x\right ) \operatorname{Si}\left (b x\right )}{b} - \frac{\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 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]