\(\int \frac {\text {Chi}(a+b x)}{x^2} \, dx\) [91]

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

Optimal result

Integrand size = 10, antiderivative size = 46 \[ \int \frac {\text {Chi}(a+b x)}{x^2} \, dx=\frac {b \cosh (a) \text {Chi}(b x)}{a}-\frac {b \text {Chi}(a+b x)}{a}-\frac {\text {Chi}(a+b x)}{x}+\frac {b \sinh (a) \text {Shi}(b x)}{a} \]

[Out]

-b*Chi(b*x+a)/a-Chi(b*x+a)/x+b*Chi(b*x)*cosh(a)/a+b*Shi(b*x)*sinh(a)/a

Rubi [A] (verified)

Time = 0.16 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6668, 6874, 3384, 3379, 3382} \[ \int \frac {\text {Chi}(a+b x)}{x^2} \, dx=-\frac {b \text {Chi}(a+b x)}{a}-\frac {\text {Chi}(a+b x)}{x}+\frac {b \cosh (a) \text {Chi}(b x)}{a}+\frac {b \sinh (a) \text {Shi}(b x)}{a} \]

[In]

Int[CoshIntegral[a + b*x]/x^2,x]

[Out]

(b*Cosh[a]*CoshIntegral[b*x])/a - (b*CoshIntegral[a + b*x])/a - CoshIntegral[a + b*x]/x + (b*Sinh[a]*SinhInteg
ral[b*x])/a

Rule 3379

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

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 3384

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Dist[Cos[(d*e - c*f)/d], Int[Sin[c*(f/d) + f*x]
/(c + d*x), x], x] + Dist[Sin[(d*e - c*f)/d], Int[Cos[c*(f/d) + f*x]/(c + d*x), x], x] /; FreeQ[{c, d, e, f},
x] && NeQ[d*e - c*f, 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]

Rule 6874

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

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

Mathematica [A] (verified)

Time = 0.07 (sec) , antiderivative size = 39, normalized size of antiderivative = 0.85 \[ \int \frac {\text {Chi}(a+b x)}{x^2} \, dx=\frac {b x \cosh (a) \text {Chi}(b x)-(a+b x) \text {Chi}(a+b x)+b x \sinh (a) \text {Shi}(b x)}{a x} \]

[In]

Integrate[CoshIntegral[a + b*x]/x^2,x]

[Out]

(b*x*Cosh[a]*CoshIntegral[b*x] - (a + b*x)*CoshIntegral[a + b*x] + b*x*Sinh[a]*SinhIntegral[b*x])/(a*x)

Maple [F]

\[\int \frac {\operatorname {Chi}\left (b x +a \right )}{x^{2}}d x\]

[In]

int(Chi(b*x+a)/x^2,x)

[Out]

int(Chi(b*x+a)/x^2,x)

Fricas [F]

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

[In]

integrate(Chi(b*x+a)/x^2,x, algorithm="fricas")

[Out]

integral(cosh_integral(b*x + a)/x^2, x)

Sympy [F]

\[ \int \frac {\text {Chi}(a+b x)}{x^2} \, dx=\int \frac {\operatorname {Chi}\left (a + b x\right )}{x^{2}}\, dx \]

[In]

integrate(Chi(b*x+a)/x**2,x)

[Out]

Integral(Chi(a + b*x)/x**2, x)

Maxima [F]

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

[In]

integrate(Chi(b*x+a)/x^2,x, algorithm="maxima")

[Out]

integrate(Chi(b*x + a)/x^2, x)

Giac [F]

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

[In]

integrate(Chi(b*x+a)/x^2,x, algorithm="giac")

[Out]

integrate(Chi(b*x + a)/x^2, x)

Mupad [F(-1)]

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

[In]

int(coshint(a + b*x)/x^2,x)

[Out]

int(coshint(a + b*x)/x^2, x)