3.47 \(\int \frac{\cos (b x) \text{Si}(b x)}{x^2} \, dx\)

Optimal. Leaf size=44 \[ b \text{CosIntegral}(2 b x)-\frac{1}{2} b \text{Si}(b x)^2-\frac{\text{Si}(b x) \cos (b x)}{x}-\frac{\sin (2 b x)}{2 x} \]

[Out]

b*CosIntegral[2*b*x] - Sin[2*b*x]/(2*x) - (Cos[b*x]*SinIntegral[b*x])/x - (b*SinIntegral[b*x]^2)/2

________________________________________________________________________________________

Rubi [A]  time = 0.0946792, antiderivative size = 44, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {6521, 6686, 12, 4406, 3297, 3302} \[ b \text{CosIntegral}(2 b x)-\frac{1}{2} b \text{Si}(b x)^2-\frac{\text{Si}(b x) \cos (b x)}{x}-\frac{\sin (2 b x)}{2 x} \]

Antiderivative was successfully verified.

[In]

Int[(Cos[b*x]*SinIntegral[b*x])/x^2,x]

[Out]

b*CosIntegral[2*b*x] - Sin[2*b*x]/(2*x) - (Cos[b*x]*SinIntegral[b*x])/x - (b*SinIntegral[b*x]^2)/2

Rule 6521

Int[Cos[(a_.) + (b_.)*(x_)]*((e_.) + (f_.)*(x_))^(m_.)*SinIntegral[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[((e
+ f*x)^(m + 1)*Cos[a + b*x]*SinIntegral[c + d*x])/(f*(m + 1)), x] + (Dist[b/(f*(m + 1)), Int[(e + f*x)^(m + 1)
*Sin[a + b*x]*SinIntegral[c + d*x], x], x] - Dist[d/(f*(m + 1)), Int[((e + f*x)^(m + 1)*Cos[a + b*x]*Sin[c + d
*x])/(c + d*x), x], x]) /; FreeQ[{a, b, c, d, e, f}, x] && ILtQ[m, -1]

Rule 6686

Int[(u_)*(y_)^(m_.), x_Symbol] :> With[{q = DerivativeDivides[y, u, x]}, Simp[(q*y^(m + 1))/(m + 1), x] /;  !F
alseQ[q]] /; FreeQ[m, x] && NeQ[m, -1]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 4406

Int[Cos[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sin[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int[E
xpandTrigReduce[(c + d*x)^m, Sin[a + b*x]^n*Cos[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0]
&& IGtQ[p, 0]

Rule 3297

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Simp[((c + d*x)^(m + 1)*Sin[e + f*x])/(d*(
m + 1)), x] - Dist[f/(d*(m + 1)), Int[(c + d*x)^(m + 1)*Cos[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && LtQ[
m, -1]

Rule 3302

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosIntegral[e - Pi/2 + f*x]/d, x] /; FreeQ
[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]

Rubi steps

\begin{align*} \int \frac{\cos (b x) \text{Si}(b x)}{x^2} \, dx &=-\frac{\cos (b x) \text{Si}(b x)}{x}+b \int \frac{\cos (b x) \sin (b x)}{b x^2} \, dx-b \int \frac{\sin (b x) \text{Si}(b x)}{x} \, dx\\ &=-\frac{\cos (b x) \text{Si}(b x)}{x}-\frac{1}{2} b \text{Si}(b x)^2+\int \frac{\cos (b x) \sin (b x)}{x^2} \, dx\\ &=-\frac{\cos (b x) \text{Si}(b x)}{x}-\frac{1}{2} b \text{Si}(b x)^2+\int \frac{\sin (2 b x)}{2 x^2} \, dx\\ &=-\frac{\cos (b x) \text{Si}(b x)}{x}-\frac{1}{2} b \text{Si}(b x)^2+\frac{1}{2} \int \frac{\sin (2 b x)}{x^2} \, dx\\ &=-\frac{\sin (2 b x)}{2 x}-\frac{\cos (b x) \text{Si}(b x)}{x}-\frac{1}{2} b \text{Si}(b x)^2+b \int \frac{\cos (2 b x)}{x} \, dx\\ &=b \text{Ci}(2 b x)-\frac{\sin (2 b x)}{2 x}-\frac{\cos (b x) \text{Si}(b x)}{x}-\frac{1}{2} b \text{Si}(b x)^2\\ \end{align*}

Mathematica [F]  time = 0.617386, size = 0, normalized size = 0. \[ \int \frac{\cos (b x) \text{Si}(b x)}{x^2} \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[(Cos[b*x]*SinIntegral[b*x])/x^2,x]

[Out]

Integrate[(Cos[b*x]*SinIntegral[b*x])/x^2, x]

________________________________________________________________________________________

Maple [F]  time = 0.062, size = 0, normalized size = 0. \begin{align*} \int{\frac{\cos \left ( bx \right ){\it Si} \left ( bx \right ) }{{x}^{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(b*x)*Si(b*x)/x^2,x)

[Out]

int(cos(b*x)*Si(b*x)/x^2,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\rm Si}\left (b x\right ) \cos \left (b x\right )}{x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x)*Si(b*x)/x^2,x, algorithm="maxima")

[Out]

integrate(Si(b*x)*cos(b*x)/x^2, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\cos \left (b x\right ) \operatorname{Si}\left (b x\right )}{x^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x)*Si(b*x)/x^2,x, algorithm="fricas")

[Out]

integral(cos(b*x)*sin_integral(b*x)/x^2, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos{\left (b x \right )} \operatorname{Si}{\left (b x \right )}}{x^{2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x)*Si(b*x)/x**2,x)

[Out]

Integral(cos(b*x)*Si(b*x)/x**2, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\rm Si}\left (b x\right ) \cos \left (b x\right )}{x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x)*Si(b*x)/x^2,x, algorithm="giac")

[Out]

integrate(Si(b*x)*cos(b*x)/x^2, x)