3.70 \(\int x^3 \text {Ci}(b x) \, dx\)

Optimal. Leaf size=63 \[ \frac {3 \cos (b x)}{2 b^4}+\frac {3 x \sin (b x)}{2 b^3}-\frac {3 x^2 \cos (b x)}{4 b^2}+\frac {1}{4} x^4 \text {Ci}(b x)-\frac {x^3 \sin (b x)}{4 b} \]

[Out]

1/4*x^4*Ci(b*x)+3/2*cos(b*x)/b^4-3/4*x^2*cos(b*x)/b^2+3/2*x*sin(b*x)/b^3-1/4*x^3*sin(b*x)/b

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6504, 12, 3296, 2638} \[ -\frac {3 x^2 \cos (b x)}{4 b^2}+\frac {3 x \sin (b x)}{2 b^3}+\frac {3 \cos (b x)}{2 b^4}+\frac {1}{4} x^4 \text {CosIntegral}(b x)-\frac {x^3 \sin (b x)}{4 b} \]

Antiderivative was successfully verified.

[In]

Int[x^3*CosIntegral[b*x],x]

[Out]

(3*Cos[b*x])/(2*b^4) - (3*x^2*Cos[b*x])/(4*b^2) + (x^4*CosIntegral[b*x])/4 + (3*x*Sin[b*x])/(2*b^3) - (x^3*Sin
[b*x])/(4*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 2638

Int[sin[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[Cos[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rule 3296

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

Rule 6504

Int[CosIntegral[(a_.) + (b_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[((c + d*x)^(m + 1)*CosIntegr
al[a + b*x])/(d*(m + 1)), x] - Dist[b/(d*(m + 1)), Int[((c + d*x)^(m + 1)*Cos[a + b*x])/(a + b*x), x], x] /; F
reeQ[{a, b, c, d, m}, x] && NeQ[m, -1]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 53, normalized size = 0.84 \[ -\frac {3 \left (b^2 x^2-2\right ) \cos (b x)}{4 b^4}-\frac {x \left (b^2 x^2-6\right ) \sin (b x)}{4 b^3}+\frac {1}{4} x^4 \text {Ci}(b x) \]

Antiderivative was successfully verified.

[In]

Integrate[x^3*CosIntegral[b*x],x]

[Out]

(-3*(-2 + b^2*x^2)*Cos[b*x])/(4*b^4) + (x^4*CosIntegral[b*x])/4 - (x*(-6 + b^2*x^2)*Sin[b*x])/(4*b^3)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(x^3*cos_integral(b*x), x)

________________________________________________________________________________________

giac [A]  time = 0.52, size = 49, normalized size = 0.78 \[ \frac {1}{4} \, x^{4} \operatorname {Ci}\left (b x\right ) - \frac {3 \, {\left (b^{2} x^{2} - 2\right )} \cos \left (b x\right )}{4 \, b^{4}} - \frac {{\left (b^{3} x^{3} - 6 \, b x\right )} \sin \left (b x\right )}{4 \, b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x^4*cos_integral(b*x) - 3/4*(b^2*x^2 - 2)*cos(b*x)/b^4 - 1/4*(b^3*x^3 - 6*b*x)*sin(b*x)/b^4

________________________________________________________________________________________

maple [A]  time = 0.01, size = 56, normalized size = 0.89 \[ \frac {\frac {b^{4} x^{4} \Ci \left (b x \right )}{4}-\frac {\sin \left (b x \right ) b^{3} x^{3}}{4}-\frac {3 b^{2} x^{2} \cos \left (b x \right )}{4}+\frac {3 \cos \left (b x \right )}{2}+\frac {3 b x \sin \left (b x \right )}{2}}{b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*Ci(b*x),x)

[Out]

1/b^4*(1/4*b^4*x^4*Ci(b*x)-1/4*sin(b*x)*b^3*x^3-3/4*b^2*x^2*cos(b*x)+3/2*cos(b*x)+3/2*b*x*sin(b*x))

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(x^3*Ci(b*x), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \frac {6\,\cos \left (b\,x\right )-3\,b^2\,x^2\,\cos \left (b\,x\right )-b^3\,x^3\,\sin \left (b\,x\right )+6\,b\,x\,\sin \left (b\,x\right )}{4\,b^4}+\frac {x^4\,\mathrm {cosint}\left (b\,x\right )}{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*cosint(b*x),x)

[Out]

(6*cos(b*x) - 3*b^2*x^2*cos(b*x) - b^3*x^3*sin(b*x) + 6*b*x*sin(b*x))/(4*b^4) + (x^4*cosint(b*x))/4

________________________________________________________________________________________

sympy [A]  time = 2.13, size = 85, normalized size = 1.35 \[ - \frac {x^{4} \log {\left (b x \right )}}{4} + \frac {x^{4} \log {\left (b^{2} x^{2} \right )}}{8} + \frac {x^{4} \operatorname {Ci}{\left (b x \right )}}{4} - \frac {x^{3} \sin {\left (b x \right )}}{4 b} - \frac {3 x^{2} \cos {\left (b x \right )}}{4 b^{2}} + \frac {3 x \sin {\left (b x \right )}}{2 b^{3}} + \frac {3 \cos {\left (b x \right )}}{2 b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-x**4*log(b*x)/4 + x**4*log(b**2*x**2)/8 + x**4*Ci(b*x)/4 - x**3*sin(b*x)/(4*b) - 3*x**2*cos(b*x)/(4*b**2) + 3
*x*sin(b*x)/(2*b**3) + 3*cos(b*x)/(2*b**4)

________________________________________________________________________________________