\(\int x \cosh (a+b x) \text {Chi}(a+b x) \, dx\) [128]

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

Optimal result

Integrand size = 14, antiderivative size = 97 \[ \int x \cosh (a+b x) \text {Chi}(a+b x) \, dx=-\frac {\cosh (2 a+2 b x)}{4 b^2}-\frac {\cosh (a+b x) \text {Chi}(a+b x)}{b^2}+\frac {\text {Chi}(2 a+2 b x)}{2 b^2}+\frac {\log (a+b x)}{2 b^2}+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}+\frac {a \text {Shi}(2 a+2 b x)}{2 b^2} \] Output:

-1/4*cosh(2*b*x+2*a)/b^2-cosh(b*x+a)*Chi(b*x+a)/b^2+1/2*Chi(2*b*x+2*a)/b^2 
+1/2*ln(b*x+a)/b^2+x*Chi(b*x+a)*sinh(b*x+a)/b+1/2*a*Shi(2*b*x+2*a)/b^2
 

Mathematica [A] (verified)

Time = 0.12 (sec) , antiderivative size = 73, normalized size of antiderivative = 0.75 \[ \int x \cosh (a+b x) \text {Chi}(a+b x) \, dx=\frac {-\cosh (2 (a+b x))+2 \text {Chi}(2 (a+b x))+2 \log (a+b x)+4 \text {Chi}(a+b x) (-\cosh (a+b x)+b x \sinh (a+b x))+2 a \text {Shi}(2 (a+b x))}{4 b^2} \] Input:

Integrate[x*Cosh[a + b*x]*CoshIntegral[a + b*x],x]
 

Output:

(-Cosh[2*(a + b*x)] + 2*CoshIntegral[2*(a + b*x)] + 2*Log[a + b*x] + 4*Cos 
hIntegral[a + b*x]*(-Cosh[a + b*x] + b*x*Sinh[a + b*x]) + 2*a*SinhIntegral 
[2*(a + b*x)])/(4*b^2)
 

Rubi [A] (verified)

Time = 0.94 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.07, number of steps used = 9, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.643, Rules used = {7097, 6151, 7101, 3042, 3793, 2009, 7292, 7293, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int x \text {Chi}(a+b x) \cosh (a+b x) \, dx\)

\(\Big \downarrow \) 7097

\(\displaystyle -\frac {\int \text {Chi}(a+b x) \sinh (a+b x)dx}{b}-\int \frac {x \cosh (a+b x) \sinh (a+b x)}{a+b x}dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}\)

\(\Big \downarrow \) 6151

\(\displaystyle -\frac {\int \text {Chi}(a+b x) \sinh (a+b x)dx}{b}-\frac {1}{2} \int \frac {x \sinh (2 (a+b x))}{a+b x}dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}\)

\(\Big \downarrow \) 7101

\(\displaystyle -\frac {\frac {\text {Chi}(a+b x) \cosh (a+b x)}{b}-\int \frac {\cosh ^2(a+b x)}{a+b x}dx}{b}-\frac {1}{2} \int \frac {x \sinh (2 (a+b x))}{a+b x}dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}\)

\(\Big \downarrow \) 3042

\(\displaystyle -\frac {\frac {\text {Chi}(a+b x) \cosh (a+b x)}{b}-\int \frac {\sin \left (i a+i b x+\frac {\pi }{2}\right )^2}{a+b x}dx}{b}-\frac {1}{2} \int \frac {x \sinh (2 (a+b x))}{a+b x}dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}\)

\(\Big \downarrow \) 3793

\(\displaystyle -\frac {\frac {\text {Chi}(a+b x) \cosh (a+b x)}{b}-\int \left (\frac {\cosh (2 a+2 b x)}{2 (a+b x)}+\frac {1}{2 (a+b x)}\right )dx}{b}-\frac {1}{2} \int \frac {x \sinh (2 (a+b x))}{a+b x}dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}\)

\(\Big \downarrow \) 2009

\(\displaystyle -\frac {1}{2} \int \frac {x \sinh (2 (a+b x))}{a+b x}dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}-\frac {-\frac {\text {Chi}(2 a+2 b x)}{2 b}+\frac {\text {Chi}(a+b x) \cosh (a+b x)}{b}-\frac {\log (a+b x)}{2 b}}{b}\)

\(\Big \downarrow \) 7292

\(\displaystyle -\frac {1}{2} \int \frac {x \sinh (2 a+2 b x)}{a+b x}dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}-\frac {-\frac {\text {Chi}(2 a+2 b x)}{2 b}+\frac {\text {Chi}(a+b x) \cosh (a+b x)}{b}-\frac {\log (a+b x)}{2 b}}{b}\)

\(\Big \downarrow \) 7293

\(\displaystyle -\frac {1}{2} \int \left (\frac {\sinh (2 a+2 b x)}{b}+\frac {a \sinh (2 a+2 b x)}{b (-a-b x)}\right )dx+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}-\frac {-\frac {\text {Chi}(2 a+2 b x)}{2 b}+\frac {\text {Chi}(a+b x) \cosh (a+b x)}{b}-\frac {\log (a+b x)}{2 b}}{b}\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {1}{2} \left (\frac {a \text {Shi}(2 a+2 b x)}{b^2}-\frac {\cosh (2 a+2 b x)}{2 b^2}\right )+\frac {x \text {Chi}(a+b x) \sinh (a+b x)}{b}-\frac {-\frac {\text {Chi}(2 a+2 b x)}{2 b}+\frac {\text {Chi}(a+b x) \cosh (a+b x)}{b}-\frac {\log (a+b x)}{2 b}}{b}\)

Input:

Int[x*Cosh[a + b*x]*CoshIntegral[a + b*x],x]
 

Output:

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

Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 3793
Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> In 
t[ExpandTrigReduce[(c + d*x)^m, Sin[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f 
, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1]))
 

rule 6151
Int[Cosh[w_]^(p_.)*(u_.)*Sinh[v_]^(p_.), x_Symbol] :> Simp[1/2^p   Int[u*Si 
nh[2*v]^p, x], x] /; EqQ[w, v] && IntegerQ[p]
 

rule 7097
Int[Cosh[(a_.) + (b_.)*(x_)]*CoshIntegral[(c_.) + (d_.)*(x_)]*((e_.) + (f_. 
)*(x_))^(m_.), x_Symbol] :> Simp[(e + f*x)^m*Sinh[a + b*x]*(CoshIntegral[c 
+ d*x]/b), x] + (-Simp[d/b   Int[(e + f*x)^m*Sinh[a + b*x]*(Cosh[c + d*x]/( 
c + d*x)), x], x] - Simp[f*(m/b)   Int[(e + f*x)^(m - 1)*Sinh[a + b*x]*Cosh 
Integral[c + d*x], x], x]) /; FreeQ[{a, b, c, d, e, f}, x] && IGtQ[m, 0]
 

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

rule 7292
Int[u_, x_Symbol] :> With[{v = NormalizeIntegrand[u, x]}, Int[v, x] /; v =! 
= u]
 

rule 7293
Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v] 
]
 
Maple [A] (verified)

Time = 1.54 (sec) , antiderivative size = 84, normalized size of antiderivative = 0.87

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

Input:

int(x*cosh(b*x+a)*Chi(b*x+a),x,method=_RETURNVERBOSE)
 

Output:

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

Fricas [F]

\[ \int x \cosh (a+b x) \text {Chi}(a+b x) \, dx=\int { x {\rm Chi}\left (b x + a\right ) \cosh \left (b x + a\right ) \,d x } \] Input:

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

Output:

integral(x*cosh(b*x + a)*cosh_integral(b*x + a), x)
 

Sympy [F]

\[ \int x \cosh (a+b x) \text {Chi}(a+b x) \, dx=\int x \cosh {\left (a + b x \right )} \operatorname {Chi}\left (a + b x\right )\, dx \] Input:

integrate(x*cosh(b*x+a)*Chi(b*x+a),x)
 

Output:

Integral(x*cosh(a + b*x)*Chi(a + b*x), x)
 

Maxima [F]

\[ \int x \cosh (a+b x) \text {Chi}(a+b x) \, dx=\int { x {\rm Chi}\left (b x + a\right ) \cosh \left (b x + a\right ) \,d x } \] Input:

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

Output:

integrate(x*Chi(b*x + a)*cosh(b*x + a), x)
 

Giac [F]

\[ \int x \cosh (a+b x) \text {Chi}(a+b x) \, dx=\int { x {\rm Chi}\left (b x + a\right ) \cosh \left (b x + a\right ) \,d x } \] Input:

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

Output:

integrate(x*Chi(b*x + a)*cosh(b*x + a), x)
 

Mupad [F(-1)]

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

int(x*coshint(a + b*x)*cosh(a + b*x),x)
                                                                                    
                                                                                    
 

Output:

int(x*coshint(a + b*x)*cosh(a + b*x), x)
 

Reduce [F]

\[ \int x \cosh (a+b x) \text {Chi}(a+b x) \, dx=\int \chi \left (b x +a \right ) \cosh \left (b x +a \right ) x d x \] Input:

int(x*cosh(b*x+a)*Chi(b*x+a),x)
 

Output:

int(chi(a + b*x)*cosh(a + b*x)*x,x)