Integrand size = 10, antiderivative size = 80 \[ \int x \cosh ^4(a+b x) \, dx=\frac {3 x^2}{16}-\frac {3 \cosh ^2(a+b x)}{16 b^2}-\frac {\cosh ^4(a+b x)}{16 b^2}+\frac {3 x \cosh (a+b x) \sinh (a+b x)}{8 b}+\frac {x \cosh ^3(a+b x) \sinh (a+b x)}{4 b} \] Output:
3/16*x^2-3/16*cosh(b*x+a)^2/b^2-1/16*cosh(b*x+a)^4/b^2+3/8*x*cosh(b*x+a)*s inh(b*x+a)/b+1/4*x*cosh(b*x+a)^3*sinh(b*x+a)/b
Time = 0.12 (sec) , antiderivative size = 53, normalized size of antiderivative = 0.66 \[ \int x \cosh ^4(a+b x) \, dx=-\frac {16 \cosh (2 (a+b x))+\cosh (4 (a+b x))-4 b x (6 b x+8 \sinh (2 (a+b x))+\sinh (4 (a+b x)))}{128 b^2} \] Input:
Integrate[x*Cosh[a + b*x]^4,x]
Output:
-1/128*(16*Cosh[2*(a + b*x)] + Cosh[4*(a + b*x)] - 4*b*x*(6*b*x + 8*Sinh[2 *(a + b*x)] + Sinh[4*(a + b*x)]))/b^2
Time = 0.30 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.06, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3042, 3791, 3042, 3791, 15}
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 \cosh ^4(a+b x) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int x \sin \left (i a+i b x+\frac {\pi }{2}\right )^4dx\) |
\(\Big \downarrow \) 3791 |
\(\displaystyle \frac {3}{4} \int x \cosh ^2(a+b x)dx-\frac {\cosh ^4(a+b x)}{16 b^2}+\frac {x \sinh (a+b x) \cosh ^3(a+b x)}{4 b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {3}{4} \int x \sin \left (i a+i b x+\frac {\pi }{2}\right )^2dx-\frac {\cosh ^4(a+b x)}{16 b^2}+\frac {x \sinh (a+b x) \cosh ^3(a+b x)}{4 b}\) |
\(\Big \downarrow \) 3791 |
\(\displaystyle \frac {3}{4} \left (\frac {\int xdx}{2}-\frac {\cosh ^2(a+b x)}{4 b^2}+\frac {x \sinh (a+b x) \cosh (a+b x)}{2 b}\right )-\frac {\cosh ^4(a+b x)}{16 b^2}+\frac {x \sinh (a+b x) \cosh ^3(a+b x)}{4 b}\) |
\(\Big \downarrow \) 15 |
\(\displaystyle \frac {3}{4} \left (-\frac {\cosh ^2(a+b x)}{4 b^2}+\frac {x \sinh (a+b x) \cosh (a+b x)}{2 b}+\frac {x^2}{4}\right )-\frac {\cosh ^4(a+b x)}{16 b^2}+\frac {x \sinh (a+b x) \cosh ^3(a+b x)}{4 b}\) |
Input:
Int[x*Cosh[a + b*x]^4,x]
Output:
-1/16*Cosh[a + b*x]^4/b^2 + (x*Cosh[a + b*x]^3*Sinh[a + b*x])/(4*b) + (3*( x^2/4 - Cosh[a + b*x]^2/(4*b^2) + (x*Cosh[a + b*x]*Sinh[a + b*x])/(2*b)))/ 4
Int[(a_.)*(x_)^(m_.), x_Symbol] :> Simp[a*(x^(m + 1)/(m + 1)), x] /; FreeQ[ {a, m}, x] && NeQ[m, -1]
Int[((c_.) + (d_.)*(x_))*((b_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[d*((b*Sin[e + f*x])^n/(f^2*n^2)), x] + (-Simp[b*(c + d*x)*Cos[e + f*x ]*((b*Sin[e + f*x])^(n - 1)/(f*n)), x] + Simp[b^2*((n - 1)/n) Int[(c + d* x)*(b*Sin[e + f*x])^(n - 2), x], x]) /; FreeQ[{b, c, d, e, f}, x] && GtQ[n, 1]
Time = 1.14 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.80
method | result | size |
parallelrisch | \(\frac {24 x^{2} b^{2}+4 b x \sinh \left (4 b x +4 a \right )+32 b x \sinh \left (2 b x +2 a \right )-\cosh \left (4 b x +4 a \right )-16 \cosh \left (2 b x +2 a \right )+17}{128 b^{2}}\) | \(64\) |
risch | \(\frac {3 x^{2}}{16}+\frac {\left (4 b x -1\right ) {\mathrm e}^{4 b x +4 a}}{256 b^{2}}+\frac {\left (2 b x -1\right ) {\mathrm e}^{2 b x +2 a}}{16 b^{2}}-\frac {\left (2 b x +1\right ) {\mathrm e}^{-2 b x -2 a}}{16 b^{2}}-\frac {\left (4 b x +1\right ) {\mathrm e}^{-4 b x -4 a}}{256 b^{2}}\) | \(87\) |
derivativedivides | \(\frac {\frac {\left (b x +a \right ) \sinh \left (b x +a \right ) \cosh \left (b x +a \right )^{3}}{4}+\frac {3 \left (b x +a \right ) \cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{8}+\frac {3 \left (b x +a \right )^{2}}{16}-\frac {\cosh \left (b x +a \right )^{4}}{16}-\frac {3 \cosh \left (b x +a \right )^{2}}{16}-a \left (\left (\frac {\cosh \left (b x +a \right )^{3}}{4}+\frac {3 \cosh \left (b x +a \right )}{8}\right ) \sinh \left (b x +a \right )+\frac {3 b x}{8}+\frac {3 a}{8}\right )}{b^{2}}\) | \(112\) |
default | \(\frac {\frac {\left (b x +a \right ) \sinh \left (b x +a \right ) \cosh \left (b x +a \right )^{3}}{4}+\frac {3 \left (b x +a \right ) \cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{8}+\frac {3 \left (b x +a \right )^{2}}{16}-\frac {\cosh \left (b x +a \right )^{4}}{16}-\frac {3 \cosh \left (b x +a \right )^{2}}{16}-a \left (\left (\frac {\cosh \left (b x +a \right )^{3}}{4}+\frac {3 \cosh \left (b x +a \right )}{8}\right ) \sinh \left (b x +a \right )+\frac {3 b x}{8}+\frac {3 a}{8}\right )}{b^{2}}\) | \(112\) |
orering | \(\frac {\left (8 x^{4} b^{4}-15 x^{2} b^{2}+5\right ) \cosh \left (b x +a \right )^{4}}{16 b^{4} x^{2}}+\frac {5 \left (2 x^{2} b^{2}-1\right ) \left (\cosh \left (b x +a \right )^{4}+4 x \cosh \left (b x +a \right )^{3} b \sinh \left (b x +a \right )\right )}{16 b^{4} x^{2}}-\frac {5 \left (x^{2} b^{2}-1\right ) \left (8 \cosh \left (b x +a \right )^{3} b \sinh \left (b x +a \right )+12 x \cosh \left (b x +a \right )^{2} b^{2} \sinh \left (b x +a \right )^{2}+4 x \cosh \left (b x +a \right )^{4} b^{2}\right )}{32 b^{4} x}-\frac {3 \left (36 \cosh \left (b x +a \right )^{2} b^{2} \sinh \left (b x +a \right )^{2}+12 \cosh \left (b x +a \right )^{4} b^{2}+24 x \cosh \left (b x +a \right ) b^{3} \sinh \left (b x +a \right )^{3}+40 x \cosh \left (b x +a \right )^{3} b^{3} \sinh \left (b x +a \right )\right )}{64 b^{4}}+\frac {x \left (96 \cosh \left (b x +a \right ) b^{3} \sinh \left (b x +a \right )^{3}+160 \cosh \left (b x +a \right )^{3} b^{3} \sinh \left (b x +a \right )+24 x \,b^{4} \sinh \left (b x +a \right )^{4}+192 x \cosh \left (b x +a \right )^{2} b^{4} \sinh \left (b x +a \right )^{2}+40 x \cosh \left (b x +a \right )^{4} b^{4}\right )}{128 b^{4}}\) | \(327\) |
Input:
int(x*cosh(b*x+a)^4,x,method=_RETURNVERBOSE)
Output:
1/128*(24*x^2*b^2+4*b*x*sinh(4*b*x+4*a)+32*b*x*sinh(2*b*x+2*a)-cosh(4*b*x+ 4*a)-16*cosh(2*b*x+2*a)+17)/b^2
Time = 0.11 (sec) , antiderivative size = 114, normalized size of antiderivative = 1.42 \[ \int x \cosh ^4(a+b x) \, dx=\frac {16 \, b x \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + 24 \, b^{2} x^{2} - \cosh \left (b x + a\right )^{4} - \sinh \left (b x + a\right )^{4} - 2 \, {\left (3 \, \cosh \left (b x + a\right )^{2} + 8\right )} \sinh \left (b x + a\right )^{2} - 16 \, \cosh \left (b x + a\right )^{2} + 16 \, {\left (b x \cosh \left (b x + a\right )^{3} + 4 \, b x \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )}{128 \, b^{2}} \] Input:
integrate(x*cosh(b*x+a)^4,x, algorithm="fricas")
Output:
1/128*(16*b*x*cosh(b*x + a)*sinh(b*x + a)^3 + 24*b^2*x^2 - cosh(b*x + a)^4 - sinh(b*x + a)^4 - 2*(3*cosh(b*x + a)^2 + 8)*sinh(b*x + a)^2 - 16*cosh(b *x + a)^2 + 16*(b*x*cosh(b*x + a)^3 + 4*b*x*cosh(b*x + a))*sinh(b*x + a))/ b^2
Time = 0.31 (sec) , antiderivative size = 138, normalized size of antiderivative = 1.72 \[ \int x \cosh ^4(a+b x) \, dx=\begin {cases} \frac {3 x^{2} \sinh ^{4}{\left (a + b x \right )}}{16} - \frac {3 x^{2} \sinh ^{2}{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{8} + \frac {3 x^{2} \cosh ^{4}{\left (a + b x \right )}}{16} - \frac {3 x \sinh ^{3}{\left (a + b x \right )} \cosh {\left (a + b x \right )}}{8 b} + \frac {5 x \sinh {\left (a + b x \right )} \cosh ^{3}{\left (a + b x \right )}}{8 b} + \frac {3 \sinh ^{4}{\left (a + b x \right )}}{32 b^{2}} - \frac {5 \cosh ^{4}{\left (a + b x \right )}}{32 b^{2}} & \text {for}\: b \neq 0 \\\frac {x^{2} \cosh ^{4}{\left (a \right )}}{2} & \text {otherwise} \end {cases} \] Input:
integrate(x*cosh(b*x+a)**4,x)
Output:
Piecewise((3*x**2*sinh(a + b*x)**4/16 - 3*x**2*sinh(a + b*x)**2*cosh(a + b *x)**2/8 + 3*x**2*cosh(a + b*x)**4/16 - 3*x*sinh(a + b*x)**3*cosh(a + b*x) /(8*b) + 5*x*sinh(a + b*x)*cosh(a + b*x)**3/(8*b) + 3*sinh(a + b*x)**4/(32 *b**2) - 5*cosh(a + b*x)**4/(32*b**2), Ne(b, 0)), (x**2*cosh(a)**4/2, True ))
Time = 0.04 (sec) , antiderivative size = 96, normalized size of antiderivative = 1.20 \[ \int x \cosh ^4(a+b x) \, dx=\frac {3}{16} \, x^{2} + \frac {{\left (4 \, b x e^{\left (4 \, a\right )} - e^{\left (4 \, a\right )}\right )} e^{\left (4 \, b x\right )}}{256 \, b^{2}} + \frac {{\left (2 \, b x e^{\left (2 \, a\right )} - e^{\left (2 \, a\right )}\right )} e^{\left (2 \, b x\right )}}{16 \, b^{2}} - \frac {{\left (2 \, b x + 1\right )} e^{\left (-2 \, b x - 2 \, a\right )}}{16 \, b^{2}} - \frac {{\left (4 \, b x + 1\right )} e^{\left (-4 \, b x - 4 \, a\right )}}{256 \, b^{2}} \] Input:
integrate(x*cosh(b*x+a)^4,x, algorithm="maxima")
Output:
3/16*x^2 + 1/256*(4*b*x*e^(4*a) - e^(4*a))*e^(4*b*x)/b^2 + 1/16*(2*b*x*e^( 2*a) - e^(2*a))*e^(2*b*x)/b^2 - 1/16*(2*b*x + 1)*e^(-2*b*x - 2*a)/b^2 - 1/ 256*(4*b*x + 1)*e^(-4*b*x - 4*a)/b^2
Time = 0.13 (sec) , antiderivative size = 86, normalized size of antiderivative = 1.08 \[ \int x \cosh ^4(a+b x) \, dx=\frac {3}{16} \, x^{2} + \frac {{\left (4 \, b x - 1\right )} e^{\left (4 \, b x + 4 \, a\right )}}{256 \, b^{2}} + \frac {{\left (2 \, b x - 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{16 \, b^{2}} - \frac {{\left (2 \, b x + 1\right )} e^{\left (-2 \, b x - 2 \, a\right )}}{16 \, b^{2}} - \frac {{\left (4 \, b x + 1\right )} e^{\left (-4 \, b x - 4 \, a\right )}}{256 \, b^{2}} \] Input:
integrate(x*cosh(b*x+a)^4,x, algorithm="giac")
Output:
3/16*x^2 + 1/256*(4*b*x - 1)*e^(4*b*x + 4*a)/b^2 + 1/16*(2*b*x - 1)*e^(2*b *x + 2*a)/b^2 - 1/16*(2*b*x + 1)*e^(-2*b*x - 2*a)/b^2 - 1/256*(4*b*x + 1)* e^(-4*b*x - 4*a)/b^2
Time = 0.16 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.85 \[ \int x \cosh ^4(a+b x) \, dx=\frac {3\,x^2}{16}-\frac {\frac {3\,{\mathrm {cosh}\left (a+b\,x\right )}^2}{16}+\frac {{\mathrm {cosh}\left (a+b\,x\right )}^4}{16}-b\,\left (\frac {x\,\mathrm {sinh}\left (a+b\,x\right )\,{\mathrm {cosh}\left (a+b\,x\right )}^3}{4}+\frac {3\,x\,\mathrm {sinh}\left (a+b\,x\right )\,\mathrm {cosh}\left (a+b\,x\right )}{8}\right )}{b^2} \] Input:
int(x*cosh(a + b*x)^4,x)
Output:
(3*x^2)/16 - ((3*cosh(a + b*x)^2)/16 + cosh(a + b*x)^4/16 - b*((x*cosh(a + b*x)^3*sinh(a + b*x))/4 + (3*x*cosh(a + b*x)*sinh(a + b*x))/8))/b^2
Time = 0.15 (sec) , antiderivative size = 119, normalized size of antiderivative = 1.49 \[ \int x \cosh ^4(a+b x) \, dx=\frac {4 e^{8 b x +8 a} b x -e^{8 b x +8 a}+32 e^{6 b x +6 a} b x -16 e^{6 b x +6 a}+48 e^{4 b x +4 a} b^{2} x^{2}-32 e^{2 b x +2 a} b x -16 e^{2 b x +2 a}-4 b x -1}{256 e^{4 b x +4 a} b^{2}} \] Input:
int(x*cosh(b*x+a)^4,x)
Output:
(4*e**(8*a + 8*b*x)*b*x - e**(8*a + 8*b*x) + 32*e**(6*a + 6*b*x)*b*x - 16* e**(6*a + 6*b*x) + 48*e**(4*a + 4*b*x)*b**2*x**2 - 32*e**(2*a + 2*b*x)*b*x - 16*e**(2*a + 2*b*x) - 4*b*x - 1)/(256*e**(4*a + 4*b*x)*b**2)