\(\int x^3 \text {Chi}(a+b x) \, dx\) [86]

   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 = 10, antiderivative size = 184 \[ \int x^3 \text {Chi}(a+b x) \, dx=\frac {3 \cosh (a+b x)}{2 b^4}+\frac {a^2 \cosh (a+b x)}{4 b^4}-\frac {a x \cosh (a+b x)}{2 b^3}+\frac {3 x^2 \cosh (a+b x)}{4 b^2}-\frac {a^4 \text {Chi}(a+b x)}{4 b^4}+\frac {1}{4} x^4 \text {Chi}(a+b x)+\frac {a \sinh (a+b x)}{2 b^4}+\frac {a^3 \sinh (a+b x)}{4 b^4}-\frac {3 x \sinh (a+b x)}{2 b^3}-\frac {a^2 x \sinh (a+b x)}{4 b^3}+\frac {a x^2 \sinh (a+b x)}{4 b^2}-\frac {x^3 \sinh (a+b x)}{4 b} \]

[Out]

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

Rubi [A] (verified)

Time = 0.29 (sec) , antiderivative size = 184, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {6668, 6874, 2717, 3377, 2718, 3382} \[ \int x^3 \text {Chi}(a+b x) \, dx=-\frac {a^4 \text {Chi}(a+b x)}{4 b^4}+\frac {a^3 \sinh (a+b x)}{4 b^4}+\frac {a^2 \cosh (a+b x)}{4 b^4}-\frac {a^2 x \sinh (a+b x)}{4 b^3}+\frac {a \sinh (a+b x)}{2 b^4}+\frac {3 \cosh (a+b x)}{2 b^4}-\frac {3 x \sinh (a+b x)}{2 b^3}-\frac {a x \cosh (a+b x)}{2 b^3}+\frac {a x^2 \sinh (a+b x)}{4 b^2}+\frac {3 x^2 \cosh (a+b x)}{4 b^2}+\frac {1}{4} x^4 \text {Chi}(a+b x)-\frac {x^3 \sinh (a+b x)}{4 b} \]

[In]

Int[x^3*CoshIntegral[a + b*x],x]

[Out]

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

Rule 2717

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

Rule 2718

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

Rule 3377

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 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]

Rule 6874

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

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

Mathematica [A] (verified)

Time = 0.13 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.51 \[ \int x^3 \text {Chi}(a+b x) \, dx=\frac {\left (6+a^2-2 a b x+3 b^2 x^2\right ) \cosh (a+b x)+\left (-a^4+b^4 x^4\right ) \text {Chi}(a+b x)+\left (2 a+a^3-6 b x-a^2 b x+a b^2 x^2-b^3 x^3\right ) \sinh (a+b x)}{4 b^4} \]

[In]

Integrate[x^3*CoshIntegral[a + b*x],x]

[Out]

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

Maple [A] (verified)

Time = 0.49 (sec) , antiderivative size = 155, normalized size of antiderivative = 0.84

method result size
parts \(\frac {x^{4} \operatorname {Chi}\left (b x +a \right )}{4}-\frac {a^{4} \operatorname {Chi}\left (b x +a \right )-4 a^{3} \sinh \left (b x +a \right )+6 a^{2} \left (\left (b x +a \right ) \sinh \left (b x +a \right )-\cosh \left (b x +a \right )\right )-4 a \left (\left (b x +a \right )^{2} \sinh \left (b x +a \right )-2 \left (b x +a \right ) \cosh \left (b x +a \right )+2 \sinh \left (b x +a \right )\right )+\left (b x +a \right )^{3} \sinh \left (b x +a \right )-3 \left (b x +a \right )^{2} \cosh \left (b x +a \right )+6 \left (b x +a \right ) \sinh \left (b x +a \right )-6 \cosh \left (b x +a \right )}{4 b^{4}}\) \(155\)
derivativedivides \(\frac {\frac {\operatorname {Chi}\left (b x +a \right ) b^{4} x^{4}}{4}-\frac {a^{4} \operatorname {Chi}\left (b x +a \right )}{4}+a^{3} \sinh \left (b x +a \right )-\frac {3 a^{2} \left (\left (b x +a \right ) \sinh \left (b x +a \right )-\cosh \left (b x +a \right )\right )}{2}+a \left (\left (b x +a \right )^{2} \sinh \left (b x +a \right )-2 \left (b x +a \right ) \cosh \left (b x +a \right )+2 \sinh \left (b x +a \right )\right )-\frac {\left (b x +a \right )^{3} \sinh \left (b x +a \right )}{4}+\frac {3 \left (b x +a \right )^{2} \cosh \left (b x +a \right )}{4}-\frac {3 \left (b x +a \right ) \sinh \left (b x +a \right )}{2}+\frac {3 \cosh \left (b x +a \right )}{2}}{b^{4}}\) \(156\)
default \(\frac {\frac {\operatorname {Chi}\left (b x +a \right ) b^{4} x^{4}}{4}-\frac {a^{4} \operatorname {Chi}\left (b x +a \right )}{4}+a^{3} \sinh \left (b x +a \right )-\frac {3 a^{2} \left (\left (b x +a \right ) \sinh \left (b x +a \right )-\cosh \left (b x +a \right )\right )}{2}+a \left (\left (b x +a \right )^{2} \sinh \left (b x +a \right )-2 \left (b x +a \right ) \cosh \left (b x +a \right )+2 \sinh \left (b x +a \right )\right )-\frac {\left (b x +a \right )^{3} \sinh \left (b x +a \right )}{4}+\frac {3 \left (b x +a \right )^{2} \cosh \left (b x +a \right )}{4}-\frac {3 \left (b x +a \right ) \sinh \left (b x +a \right )}{2}+\frac {3 \cosh \left (b x +a \right )}{2}}{b^{4}}\) \(156\)

[In]

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

[Out]

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

Fricas [F]

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

[In]

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

[Out]

integral(x^3*cosh_integral(b*x + a), x)

Sympy [F]

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

[In]

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

[Out]

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

Maxima [F]

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

[In]

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

[Out]

integrate(x^3*Chi(b*x + a), x)

Giac [F]

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

[In]

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

[Out]

integrate(x^3*Chi(b*x + a), x)

Mupad [F(-1)]

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

[In]

int(x^3*coshint(a + b*x),x)

[Out]

int(x^3*coshint(a + b*x), x)