3.20 \(\int x \text{Shi}(a+b x) \, dx\)

Optimal. Leaf size=71 \[ -\frac{a^2 \text{Shi}(a+b x)}{2 b^2}+\frac{\sinh (a+b x)}{2 b^2}+\frac{a \cosh (a+b x)}{2 b^2}+\frac{1}{2} x^2 \text{Shi}(a+b x)-\frac{x \cosh (a+b x)}{2 b} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.211195, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.75, Rules used = {6532, 6742, 2638, 3296, 2637, 3298} \[ -\frac{a^2 \text{Shi}(a+b x)}{2 b^2}+\frac{\sinh (a+b x)}{2 b^2}+\frac{a \cosh (a+b x)}{2 b^2}+\frac{1}{2} x^2 \text{Shi}(a+b x)-\frac{x \cosh (a+b x)}{2 b} \]

Antiderivative was successfully verified.

[In]

Int[x*SinhIntegral[a + b*x],x]

[Out]

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

Rule 6532

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

Rule 6742

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

Rule 2638

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

Rule 3296

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 2637

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

Rule 3298

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]

Rubi steps

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

Mathematica [A]  time = 0.0997287, size = 47, normalized size = 0.66 \[ \frac{\left (b^2 x^2-a^2\right ) \text{Shi}(a+b x)+\sinh (a+b x)+(a-b x) \cosh (a+b x)}{2 b^2} \]

Antiderivative was successfully verified.

[In]

Integrate[x*SinhIntegral[a + b*x],x]

[Out]

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

________________________________________________________________________________________

Maple [A]  time = 0.046, size = 60, normalized size = 0.9 \begin{align*}{\frac{1}{{b}^{2}} \left ({\it Shi} \left ( bx+a \right ) \left ({\frac{ \left ( bx+a \right ) ^{2}}{2}}-a \left ( bx+a \right ) \right ) -{\frac{ \left ( bx+a \right ) \cosh \left ( bx+a \right ) }{2}}+{\frac{\sinh \left ( bx+a \right ) }{2}}+\cosh \left ( bx+a \right ) a \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*Shi(b*x+a),x)

[Out]

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

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x{\rm Shi}\left (b x + a\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(x*Shi(b*x + a), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x \operatorname{Shi}\left (b x + a\right ), x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(x*sinh_integral(b*x + a), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{Shi}{\left (a + b x \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*Shi(b*x+a),x)

[Out]

Integral(x*Shi(a + b*x), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x{\rm Shi}\left (b x + a\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(x*Shi(b*x + a), x)