\(\int \text {Chi}(b x)^2 \, dx\) [81]

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

Optimal result

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

[Out]

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

Rubi [A] (verified)

Time = 0.04 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.833, Rules used = {6670, 6676, 12, 5556, 3379} \[ \int \text {Chi}(b x)^2 \, dx=x \text {Chi}(b x)^2-\frac {2 \text {Chi}(b x) \sinh (b x)}{b}+\frac {\text {Shi}(2 b x)}{b} \]

[In]

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

[Out]

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

Int[Cosh[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sinh[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int
[ExpandTrigReduce[(c + d*x)^m, Sinh[a + b*x]^n*Cosh[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n,
 0] && IGtQ[p, 0]

Rule 6670

Int[CoshIntegral[(a_.) + (b_.)*(x_)]^2, x_Symbol] :> Simp[(a + b*x)*(CoshIntegral[a + b*x]^2/b), x] - Dist[2,
Int[Cosh[a + b*x]*CoshIntegral[a + b*x], x], x] /; FreeQ[{a, b}, x]

Rule 6676

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

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

Mathematica [A] (verified)

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

[In]

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

[Out]

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

Maple [A] (verified)

Time = 0.16 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.97

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

[In]

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

[Out]

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

Fricas [F]

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

[In]

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

[Out]

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

Sympy [F]

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

[In]

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

[Out]

Integral(Chi(b*x)**2, x)

Maxima [F]

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

[In]

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

[Out]

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

Giac [F]

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

[In]

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

[Out]

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

Mupad [F(-1)]

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

[In]

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

[Out]

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