3.117 \(\int \cos (b x) \text {Ci}(b x) \, dx\)

Optimal. Leaf size=25 \[ \frac {\text {Ci}(b x) \sin (b x)}{b}-\frac {\text {Si}(2 b x)}{2 b} \]

[Out]

-1/2*Si(2*b*x)/b+Ci(b*x)*sin(b*x)/b

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.444, Rules used = {6512, 12, 4406, 3299} \[ \frac {\text {CosIntegral}(b x) \sin (b x)}{b}-\frac {\text {Si}(2 b x)}{2 b} \]

Antiderivative was successfully verified.

[In]

Int[Cos[b*x]*CosIntegral[b*x],x]

[Out]

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

Rule 12

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

Rule 3299

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

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 6512

Int[Cos[(a_.) + (b_.)*(x_)]*CosIntegral[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[(Sin[a + b*x]*CosIntegral[c + d
*x])/b, x] - Dist[d/b, Int[(Sin[a + b*x]*Cos[c + d*x])/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 25, normalized size = 1.00 \[ \frac {\text {Ci}(b x) \sin (b x)}{b}-\frac {\text {Si}(2 b x)}{2 b} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[b*x]*CosIntegral[b*x],x]

[Out]

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

________________________________________________________________________________________

fricas [F]  time = 0.91, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\cos \left (b x\right ) \operatorname {Ci}\left (b x\right ), x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(b*x)*cos(b*x),x, algorithm="fricas")

[Out]

integral(cos(b*x)*cos_integral(b*x), x)

________________________________________________________________________________________

giac [C]  time = 0.26, size = 40, normalized size = 1.60 \[ \frac {\operatorname {Ci}\left (b x\right ) \sin \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 )}{4 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(b*x)*cos(b*x),x, algorithm="giac")

[Out]

cos_integral(b*x)*sin(b*x)/b - 1/4*(imag_part(cos_integral(2*b*x)) - imag_part(cos_integral(-2*b*x)) + 2*sin_i
ntegral(2*b*x))/b

________________________________________________________________________________________

maple [A]  time = 0.02, size = 22, normalized size = 0.88 \[ \frac {\Ci \left (b x \right ) \sin \left (b x \right )-\frac {\Si \left (2 b x \right )}{2}}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(Ci(b*x)*cos(b*x),x)

[Out]

1/b*(Ci(b*x)*sin(b*x)-1/2*Si(2*b*x))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\rm Ci}\left (b x\right ) \cos \left (b x\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(b*x)*cos(b*x),x, algorithm="maxima")

[Out]

integrate(Ci(b*x)*cos(b*x), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.04 \[ \int \mathrm {cosint}\left (b\,x\right )\,\cos \left (b\,x\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosint(b*x)*cos(b*x),x)

[Out]

int(cosint(b*x)*cos(b*x), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \cos {\left (b x \right )} \operatorname {Ci}{\left (b x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(b*x)*cos(b*x),x)

[Out]

Integral(cos(b*x)*Ci(b*x), x)

________________________________________________________________________________________