\(\int \frac {\text {Chi}(b x)}{x^3} \, dx\) [76]

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

Optimal result

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

[Out]

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

Rubi [A] (verified)

Time = 0.08 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6668, 12, 3378, 3382} \[ \int \frac {\text {Chi}(b x)}{x^3} \, dx=\frac {1}{4} b^2 \text {Chi}(b x)-\frac {\text {Chi}(b x)}{2 x^2}-\frac {\cosh (b x)}{4 x^2}-\frac {b \sinh (b x)}{4 x} \]

[In]

Int[CoshIntegral[b*x]/x^3,x]

[Out]

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

Rule 12

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

Rule 3378

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 3382

Int[sin[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CoshIntegral[c*f*(fz/d)
+ f*fz*x]/d, x] /; FreeQ[{c, d, e, f, fz}, x] && EqQ[d*(e - Pi/2) - c*f*fz*I, 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 {\text {Chi}(b x)}{2 x^2}+\frac {1}{2} b \int \frac {\cosh (b x)}{b x^3} \, dx \\ & = -\frac {\text {Chi}(b x)}{2 x^2}+\frac {1}{2} \int \frac {\cosh (b x)}{x^3} \, dx \\ & = -\frac {\cosh (b x)}{4 x^2}-\frac {\text {Chi}(b x)}{2 x^2}+\frac {1}{4} b \int \frac {\sinh (b x)}{x^2} \, dx \\ & = -\frac {\cosh (b x)}{4 x^2}-\frac {\text {Chi}(b x)}{2 x^2}-\frac {b \sinh (b x)}{4 x}+\frac {1}{4} b^2 \int \frac {\cosh (b x)}{x} \, dx \\ & = -\frac {\cosh (b x)}{4 x^2}+\frac {1}{4} b^2 \text {Chi}(b x)-\frac {\text {Chi}(b x)}{2 x^2}-\frac {b \sinh (b x)}{4 x} \\ \end{align*}

Mathematica [A] (verified)

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

[In]

Integrate[CoshIntegral[b*x]/x^3,x]

[Out]

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

Maple [A] (verified)

Time = 0.38 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.02

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

[In]

int(Chi(b*x)/x^3,x,method=_RETURNVERBOSE)

[Out]

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

Fricas [F]

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

[In]

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

[Out]

integral(cosh_integral(b*x)/x^3, x)

Sympy [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (39) = 78\).

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

[In]

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

[Out]

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

Maxima [F]

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

[In]

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

[Out]

integrate(Chi(b*x)/x^3, x)

Giac [F]

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

[In]

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

[Out]

integrate(Chi(b*x)/x^3, x)

Mupad [F(-1)]

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

[In]

int(coshint(b*x)/x^3,x)

[Out]

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