\(\int x \text {Chi}(b x) \, dx\) [72]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F]
   Sympy [A] (verification not implemented)
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 6, antiderivative size = 35 \[ \int x \text {Chi}(b x) \, dx=\frac {\cosh (b x)}{2 b^2}+\frac {1}{2} x^2 \text {Chi}(b x)-\frac {x \sinh (b x)}{2 b} \]

[Out]

1/2*x^2*Chi(b*x)+1/2*cosh(b*x)/b^2-1/2*x*sinh(b*x)/b

Rubi [A] (verified)

Time = 0.02 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {6668, 12, 3377, 2718} \[ \int x \text {Chi}(b x) \, dx=\frac {\cosh (b x)}{2 b^2}+\frac {1}{2} x^2 \text {Chi}(b x)-\frac {x \sinh (b x)}{2 b} \]

[In]

Int[x*CoshIntegral[b*x],x]

[Out]

Cosh[b*x]/(2*b^2) + (x^2*CoshIntegral[b*x])/2 - (x*Sinh[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 2718

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

Rule 3377

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 6668

Int[CoshIntegral[(a_.) + (b_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(c + d*x)^(m + 1)*(CoshInte
gral[a + b*x]/(d*(m + 1))), x] - Dist[b/(d*(m + 1)), Int[(c + d*x)^(m + 1)*(Cosh[a + b*x]/(a + b*x)), x], x] /
; FreeQ[{a, b, c, d, m}, x] && NeQ[m, -1]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} x^2 \text {Chi}(b x)-\frac {1}{2} b \int \frac {x \cosh (b x)}{b} \, dx \\ & = \frac {1}{2} x^2 \text {Chi}(b x)-\frac {1}{2} \int x \cosh (b x) \, dx \\ & = \frac {1}{2} x^2 \text {Chi}(b x)-\frac {x \sinh (b x)}{2 b}+\frac {\int \sinh (b x) \, dx}{2 b} \\ & = \frac {\cosh (b x)}{2 b^2}+\frac {1}{2} x^2 \text {Chi}(b x)-\frac {x \sinh (b x)}{2 b} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00 \[ \int x \text {Chi}(b x) \, dx=\frac {\cosh (b x)}{2 b^2}+\frac {1}{2} x^2 \text {Chi}(b x)-\frac {x \sinh (b x)}{2 b} \]

[In]

Integrate[x*CoshIntegral[b*x],x]

[Out]

Cosh[b*x]/(2*b^2) + (x^2*CoshIntegral[b*x])/2 - (x*Sinh[b*x])/(2*b)

Maple [A] (verified)

Time = 0.34 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.86

method result size
parts \(\frac {x^{2} \operatorname {Chi}\left (b x \right )}{2}-\frac {b x \sinh \left (b x \right )-\cosh \left (b x \right )}{2 b^{2}}\) \(30\)
derivativedivides \(\frac {\frac {b^{2} x^{2} \operatorname {Chi}\left (b x \right )}{2}-\frac {b x \sinh \left (b x \right )}{2}+\frac {\cosh \left (b x \right )}{2}}{b^{2}}\) \(32\)
default \(\frac {\frac {b^{2} x^{2} \operatorname {Chi}\left (b x \right )}{2}-\frac {b x \sinh \left (b x \right )}{2}+\frac {\cosh \left (b x \right )}{2}}{b^{2}}\) \(32\)

[In]

int(x*Chi(b*x),x,method=_RETURNVERBOSE)

[Out]

1/2*x^2*Chi(b*x)-1/2/b^2*(b*x*sinh(b*x)-cosh(b*x))

Fricas [F]

\[ \int x \text {Chi}(b x) \, dx=\int { x {\rm Chi}\left (b x\right ) \,d x } \]

[In]

integrate(x*Chi(b*x),x, algorithm="fricas")

[Out]

integral(x*cosh_integral(b*x), x)

Sympy [A] (verification not implemented)

Time = 1.00 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.51 \[ \int x \text {Chi}(b x) \, dx=- \frac {x^{2} \log {\left (b x \right )}}{2} + \frac {x^{2} \log {\left (b^{2} x^{2} \right )}}{4} + \frac {x^{2} \operatorname {Chi}\left (b x\right )}{2} - \frac {x \sinh {\left (b x \right )}}{2 b} + \frac {\cosh {\left (b x \right )}}{2 b^{2}} \]

[In]

integrate(x*Chi(b*x),x)

[Out]

-x**2*log(b*x)/2 + x**2*log(b**2*x**2)/4 + x**2*Chi(b*x)/2 - x*sinh(b*x)/(2*b) + cosh(b*x)/(2*b**2)

Maxima [F]

\[ \int x \text {Chi}(b x) \, dx=\int { x {\rm Chi}\left (b x\right ) \,d x } \]

[In]

integrate(x*Chi(b*x),x, algorithm="maxima")

[Out]

integrate(x*Chi(b*x), x)

Giac [F]

\[ \int x \text {Chi}(b x) \, dx=\int { x {\rm Chi}\left (b x\right ) \,d x } \]

[In]

integrate(x*Chi(b*x),x, algorithm="giac")

[Out]

integrate(x*Chi(b*x), x)

Mupad [F(-1)]

Timed out. \[ \int x \text {Chi}(b x) \, dx=\frac {\frac {\mathrm {cosh}\left (b\,x\right )}{2}-\frac {b\,x\,\mathrm {sinh}\left (b\,x\right )}{2}}{b^2}+\frac {x^2\,\mathrm {coshint}\left (b\,x\right )}{2} \]

[In]

int(x*coshint(b*x),x)

[Out]

(cosh(b*x)/2 - (b*x*sinh(b*x))/2)/b^2 + (x^2*coshint(b*x))/2