Optimal. Leaf size=49 \[ \frac {2 \cos (a+b x) \text {Si}(a+b x)}{b}+\frac {(a+b x) \text {Si}(a+b x)^2}{b}-\frac {\text {Si}(2 a+2 b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {6640, 6646,
4491, 12, 3380} \begin {gather*} \frac {(a+b x) \text {Si}(a+b x)^2}{b}-\frac {\text {Si}(2 a+2 b x)}{b}+\frac {2 \text {Si}(a+b x) \cos (a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3380
Rule 4491
Rule 6640
Rule 6646
Rubi steps
\begin {align*} \int \text {Si}(a+b x)^2 \, dx &=\frac {(a+b x) \text {Si}(a+b x)^2}{b}-2 \int \sin (a+b x) \text {Si}(a+b x) \, dx\\ &=\frac {2 \cos (a+b x) \text {Si}(a+b x)}{b}+\frac {(a+b x) \text {Si}(a+b x)^2}{b}-2 \int \frac {\cos (a+b x) \sin (a+b x)}{a+b x} \, dx\\ &=\frac {2 \cos (a+b x) \text {Si}(a+b x)}{b}+\frac {(a+b x) \text {Si}(a+b x)^2}{b}-2 \int \frac {\sin (2 a+2 b x)}{2 (a+b x)} \, dx\\ &=\frac {2 \cos (a+b x) \text {Si}(a+b x)}{b}+\frac {(a+b x) \text {Si}(a+b x)^2}{b}-\int \frac {\sin (2 a+2 b x)}{a+b x} \, dx\\ &=\frac {2 \cos (a+b x) \text {Si}(a+b x)}{b}+\frac {(a+b x) \text {Si}(a+b x)^2}{b}-\frac {\text {Si}(2 a+2 b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 43, normalized size = 0.88 \begin {gather*} \frac {2 \cos (a+b x) \text {Si}(a+b x)+(a+b x) \text {Si}(a+b x)^2-\text {Si}(2 (a+b x))}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.35, size = 45, normalized size = 0.92
method | result | size |
derivativedivides | \(\frac {\sinIntegral \left (b x +a \right )^{2} \left (b x +a \right )+2 \cos \left (b x +a \right ) \sinIntegral \left (b x +a \right )-\sinIntegral \left (2 b x +2 a \right )}{b}\) | \(45\) |
default | \(\frac {\sinIntegral \left (b x +a \right )^{2} \left (b x +a \right )+2 \cos \left (b x +a \right ) \sinIntegral \left (b x +a \right )-\sinIntegral \left (2 b x +2 a \right )}{b}\) | \(45\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 44, normalized size = 0.90 \begin {gather*} \frac {{\left (b x + a\right )} \operatorname {Si}\left (b x + a\right )^{2} + 2 \, \cos \left (b x + a\right ) \operatorname {Si}\left (b x + a\right ) - \operatorname {Si}\left (2 \, b x + 2 \, a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \operatorname {Si}^{2}{\left (a + b x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int {\mathrm {sinint}\left (a+b\,x\right )}^2 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________