Integrand size = 12, antiderivative size = 96 \[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=\frac {3 x^2}{4}-\frac {2 x^3}{3}-x \coth (x)-\frac {1}{2} x^2 \coth ^2(x)+2 x^2 \log \left (1-e^{2 x}\right )+\log (\sinh (x))+2 x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\operatorname {PolyLog}\left (3,e^{2 x}\right )-\frac {1}{2} x \cosh (x) \sinh (x)+\frac {\sinh ^2(x)}{4}+\frac {1}{2} x^2 \sinh ^2(x) \] Output:
3/4*x^2-2/3*x^3-x*coth(x)-1/2*x^2*coth(x)^2+2*x^2*ln(1-exp(2*x))+ln(sinh(x ))+2*x*polylog(2,exp(2*x))-polylog(3,exp(2*x))-1/2*x*cosh(x)*sinh(x)+1/4*s inh(x)^2+1/2*x^2*sinh(x)^2
Time = 0.20 (sec) , antiderivative size = 135, normalized size of antiderivative = 1.41 \[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=-x+\frac {2 x^3}{3}+\frac {1}{8} \left (1+2 x^2\right ) \cosh (2 x)-x \coth (x)-\frac {1}{2} x^2 \text {csch}^2(x)+2 x^2 \log \left (1-e^{-x}\right )+2 x^2 \log \left (1+e^{-x}\right )+\log \left (1-e^x\right )+\log \left (1+e^x\right )-4 x \operatorname {PolyLog}\left (2,-e^{-x}\right )-4 x \operatorname {PolyLog}\left (2,e^{-x}\right )-4 \operatorname {PolyLog}\left (3,-e^{-x}\right )-4 \operatorname {PolyLog}\left (3,e^{-x}\right )-\frac {1}{4} x \sinh (2 x) \] Input:
Integrate[x^2*Cosh[x]^2*Coth[x]^3,x]
Output:
-x + (2*x^3)/3 + ((1 + 2*x^2)*Cosh[2*x])/8 - x*Coth[x] - (x^2*Csch[x]^2)/2 + 2*x^2*Log[1 - E^(-x)] + 2*x^2*Log[1 + E^(-x)] + Log[1 - E^x] + Log[1 + E^x] - 4*x*PolyLog[2, -E^(-x)] - 4*x*PolyLog[2, E^(-x)] - 4*PolyLog[3, -E^ (-x)] - 4*PolyLog[3, E^(-x)] - (x*Sinh[2*x])/4
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^2 \cosh ^2(x) \coth ^3(x) \, dx\) |
\(\Big \downarrow \) 5973 |
\(\displaystyle \int x^2 \coth ^3(x)dx+\int x^2 \cosh ^2(x) \coth (x)dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+\int i x^2 \tan \left (i x+\frac {\pi }{2}\right )^3dx\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \int x^2 \tan \left (i x+\frac {\pi }{2}\right )^3dx\) |
\(\Big \downarrow \) 4203 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (-\int i x^2 \coth (x)dx+i \int -x \coth ^2(x)dx+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (-\int i x^2 \coth (x)dx-i \int x \coth ^2(x)dx+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (-i \int x^2 \coth (x)dx-i \int x \coth ^2(x)dx+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (-i \int -i x^2 \tan \left (i x+\frac {\pi }{2}\right )dx-i \int -x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (-i \int -i x^2 \tan \left (i x+\frac {\pi }{2}\right )dx+i \int x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (-\int x^2 \tan \left (i x+\frac {\pi }{2}\right )dx+i \int x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 4199 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (-2 i \int -\frac {e^{2 x} x^2}{1-e^{2 x}}dx+i \int x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \int \frac {e^{2 x} x^2}{1-e^{2 x}}dx+i \int x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 2620 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\int x \log \left (1-e^{2 x}\right )dx-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i \int x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 3011 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{2} \int \operatorname {PolyLog}\left (2,e^{2 x}\right )dx-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i \int x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 2720 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i \int x \tan \left (i x+\frac {\pi }{2}\right )^2dx+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 4203 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i (-\int xdx+i \int i \coth (x)dx+x \coth (x))+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 15 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i \left (i \int i \coth (x)dx-\frac {x^2}{2}+x \coth (x)\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i \left (-\int \coth (x)dx-\frac {x^2}{2}+x \coth (x)\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i \left (-\int -i \tan \left (i x+\frac {\pi }{2}\right )dx-\frac {x^2}{2}+x \coth (x)\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+i \left (i \int \tan \left (i x+\frac {\pi }{2}\right )dx-\frac {x^2}{2}+x \coth (x)\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)\right )\) |
\(\Big \downarrow \) 3956 |
\(\displaystyle \int x^2 \cosh ^2(x) \coth (x)dx+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )\) |
\(\Big \downarrow \) 5973 |
\(\displaystyle i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )+\int x^2 \coth (x)dx+\int x^2 \cosh (x) \sinh (x)dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )+\int -i x^2 \tan \left (i x+\frac {\pi }{2}\right )dx+\int x^2 \cosh (x) \sinh (x)dx\) |
\(\Big \downarrow \) 26 |
\(\displaystyle i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )-i \int x^2 \tan \left (i x+\frac {\pi }{2}\right )dx+\int x^2 \cosh (x) \sinh (x)dx\) |
\(\Big \downarrow \) 4199 |
\(\displaystyle i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )+\int x^2 \cosh (x) \sinh (x)dx-i \left (2 i \int -\frac {e^{2 x} x^2}{1-e^{2 x}}dx-\frac {i x^3}{3}\right )\) |
\(\Big \downarrow \) 25 |
\(\displaystyle i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )+\int x^2 \cosh (x) \sinh (x)dx-i \left (-2 i \int \frac {e^{2 x} x^2}{1-e^{2 x}}dx-\frac {i x^3}{3}\right )\) |
\(\Big \downarrow \) 2620 |
\(\displaystyle i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )+\int x^2 \cosh (x) \sinh (x)dx-i \left (-2 i \left (\int x \log \left (1-e^{2 x}\right )dx-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )-\frac {i x^3}{3}\right )\) |
\(\Big \downarrow \) 3011 |
\(\displaystyle -i \left (-2 i \left (\frac {1}{2} \int \operatorname {PolyLog}\left (2,e^{2 x}\right )dx-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )-\frac {i x^3}{3}\right )+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )+\int x^2 \cosh (x) \sinh (x)dx\) |
\(\Big \downarrow \) 2720 |
\(\displaystyle -i \left (-2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )-\frac {i x^3}{3}\right )+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )+\int x^2 \cosh (x) \sinh (x)dx\) |
\(\Big \downarrow \) 5895 |
\(\displaystyle -i \left (-2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )-\frac {i x^3}{3}\right )+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )-\int x \sinh ^2(x)dx+\frac {1}{2} x^2 \sinh ^2(x)\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle -i \left (-2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )-\frac {i x^3}{3}\right )+i \left (2 i \left (\frac {1}{4} \int e^{-2 x} \operatorname {PolyLog}\left (2,e^{2 x}\right )de^{2 x}-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{2 x}\right )-\frac {1}{2} x^2 \log \left (1-e^{2 x}\right )\right )+\frac {i x^3}{3}+\frac {1}{2} i x^2 \coth ^2(x)+i \left (-\frac {x^2}{2}+x \coth (x)-\log (\sinh (x))\right )\right )-\int -x \sin (i x)^2dx+\frac {1}{2} x^2 \sinh ^2(x)\) |
Input:
Int[x^2*Cosh[x]^2*Coth[x]^3,x]
Output:
$Aborted
Time = 0.59 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.32
method | result | size |
risch | \(-\frac {2 x^{3}}{3}+\left (\frac {1}{16}-\frac {1}{8} x +\frac {1}{8} x^{2}\right ) {\mathrm e}^{2 x}+\left (\frac {1}{16}+\frac {1}{8} x +\frac {1}{8} x^{2}\right ) {\mathrm e}^{-2 x}-\frac {2 x \left (x \,{\mathrm e}^{2 x}+{\mathrm e}^{2 x}-1\right )}{\left ({\mathrm e}^{2 x}-1\right )^{2}}+\ln \left (1+{\mathrm e}^{x}\right )-2 \ln \left ({\mathrm e}^{x}\right )+\ln \left (-1+{\mathrm e}^{x}\right )+2 x^{2} \ln \left (1+{\mathrm e}^{x}\right )+4 x \operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )-4 \operatorname {polylog}\left (3, -{\mathrm e}^{x}\right )+2 x^{2} \ln \left (1-{\mathrm e}^{x}\right )+4 x \operatorname {polylog}\left (2, {\mathrm e}^{x}\right )-4 \operatorname {polylog}\left (3, {\mathrm e}^{x}\right )\) | \(127\) |
Input:
int(x^2*cosh(x)^2*coth(x)^3,x,method=_RETURNVERBOSE)
Output:
-2/3*x^3+(1/16-1/8*x+1/8*x^2)*exp(x)^2+(1/16+1/8*x+1/8*x^2)/exp(x)^2-2*x*( x*exp(x)^2+exp(x)^2-1)/(exp(x)^2-1)^2+ln(1+exp(x))-2*ln(exp(x))+ln(-1+exp( x))+2*x^2*ln(1+exp(x))+4*x*polylog(2,-exp(x))-4*polylog(3,-exp(x))+2*x^2*l n(1-exp(x))+4*x*polylog(2,exp(x))-4*polylog(3,exp(x))
Leaf count of result is larger than twice the leaf count of optimal. 1512 vs. \(2 (80) = 160\).
Time = 0.11 (sec) , antiderivative size = 1512, normalized size of antiderivative = 15.75 \[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=\text {Too large to display} \] Input:
integrate(x^2*cosh(x)^2*coth(x)^3,x, algorithm="fricas")
Output:
1/48*(3*(2*x^2 - 2*x + 1)*cosh(x)^8 + 24*(2*x^2 - 2*x + 1)*cosh(x)*sinh(x) ^7 + 3*(2*x^2 - 2*x + 1)*sinh(x)^8 - 2*(16*x^3 + 6*x^2 + 42*x + 3)*cosh(x) ^6 - 2*(16*x^3 - 42*(2*x^2 - 2*x + 1)*cosh(x)^2 + 6*x^2 + 42*x + 3)*sinh(x )^6 + 12*(14*(2*x^2 - 2*x + 1)*cosh(x)^3 - (16*x^3 + 6*x^2 + 42*x + 3)*cos h(x))*sinh(x)^5 + 2*(32*x^3 - 42*x^2 + 48*x + 3)*cosh(x)^4 + 2*(105*(2*x^2 - 2*x + 1)*cosh(x)^4 + 32*x^3 - 15*(16*x^3 + 6*x^2 + 42*x + 3)*cosh(x)^2 - 42*x^2 + 48*x + 3)*sinh(x)^4 + 8*(21*(2*x^2 - 2*x + 1)*cosh(x)^5 - 5*(16 *x^3 + 6*x^2 + 42*x + 3)*cosh(x)^3 + (32*x^3 - 42*x^2 + 48*x + 3)*cosh(x)) *sinh(x)^3 - 2*(16*x^3 + 6*x^2 + 6*x + 3)*cosh(x)^2 + 2*(42*(2*x^2 - 2*x + 1)*cosh(x)^6 - 15*(16*x^3 + 6*x^2 + 42*x + 3)*cosh(x)^4 - 16*x^3 + 6*(32* x^3 - 42*x^2 + 48*x + 3)*cosh(x)^2 - 6*x^2 - 6*x - 3)*sinh(x)^2 + 6*x^2 + 192*(x*cosh(x)^6 + 6*x*cosh(x)*sinh(x)^5 + x*sinh(x)^6 - 2*x*cosh(x)^4 + ( 15*x*cosh(x)^2 - 2*x)*sinh(x)^4 + 4*(5*x*cosh(x)^3 - 2*x*cosh(x))*sinh(x)^ 3 + x*cosh(x)^2 + (15*x*cosh(x)^4 - 12*x*cosh(x)^2 + x)*sinh(x)^2 + 2*(3*x *cosh(x)^5 - 4*x*cosh(x)^3 + x*cosh(x))*sinh(x))*dilog(cosh(x) + sinh(x)) + 192*(x*cosh(x)^6 + 6*x*cosh(x)*sinh(x)^5 + x*sinh(x)^6 - 2*x*cosh(x)^4 + (15*x*cosh(x)^2 - 2*x)*sinh(x)^4 + 4*(5*x*cosh(x)^3 - 2*x*cosh(x))*sinh(x )^3 + x*cosh(x)^2 + (15*x*cosh(x)^4 - 12*x*cosh(x)^2 + x)*sinh(x)^2 + 2*(3 *x*cosh(x)^5 - 4*x*cosh(x)^3 + x*cosh(x))*sinh(x))*dilog(-cosh(x) - sinh(x )) + 48*((2*x^2 + 1)*cosh(x)^6 + 6*(2*x^2 + 1)*cosh(x)*sinh(x)^5 + (2*x...
\[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=\int x^{2} \cosh ^{2}{\left (x \right )} \coth ^{3}{\left (x \right )}\, dx \] Input:
integrate(x**2*cosh(x)**2*coth(x)**3,x)
Output:
Integral(x**2*cosh(x)**2*coth(x)**3, x)
Leaf count of result is larger than twice the leaf count of optimal. 174 vs. \(2 (80) = 160\).
Time = 0.10 (sec) , antiderivative size = 174, normalized size of antiderivative = 1.81 \[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=-\frac {4}{3} \, x^{3} + 2 \, x^{2} \log \left (e^{x} + 1\right ) + 2 \, x^{2} \log \left (-e^{x} + 1\right ) + 4 \, x {\rm Li}_2\left (-e^{x}\right ) + 4 \, x {\rm Li}_2\left (e^{x}\right ) - 2 \, x + \frac {32 \, x^{3} - 12 \, x^{2} + 3 \, {\left (2 \, x^{2} - 2 \, x + 1\right )} e^{\left (6 \, x\right )} + 2 \, {\left (16 \, x^{3} - 6 \, x^{2} + 6 \, x - 3\right )} e^{\left (4 \, x\right )} - 2 \, {\left (32 \, x^{3} + 42 \, x^{2} + 48 \, x - 3\right )} e^{\left (2 \, x\right )} + 3 \, {\left (2 \, x^{2} + 2 \, x + 1\right )} e^{\left (-2 \, x\right )} + 84 \, x - 6}{48 \, {\left (e^{\left (4 \, x\right )} - 2 \, e^{\left (2 \, x\right )} + 1\right )}} + \log \left (e^{x} + 1\right ) + \log \left (e^{x} - 1\right ) - 4 \, {\rm Li}_{3}(-e^{x}) - 4 \, {\rm Li}_{3}(e^{x}) \] Input:
integrate(x^2*cosh(x)^2*coth(x)^3,x, algorithm="maxima")
Output:
-4/3*x^3 + 2*x^2*log(e^x + 1) + 2*x^2*log(-e^x + 1) + 4*x*dilog(-e^x) + 4* x*dilog(e^x) - 2*x + 1/48*(32*x^3 - 12*x^2 + 3*(2*x^2 - 2*x + 1)*e^(6*x) + 2*(16*x^3 - 6*x^2 + 6*x - 3)*e^(4*x) - 2*(32*x^3 + 42*x^2 + 48*x - 3)*e^( 2*x) + 3*(2*x^2 + 2*x + 1)*e^(-2*x) + 84*x - 6)/(e^(4*x) - 2*e^(2*x) + 1) + log(e^x + 1) + log(e^x - 1) - 4*polylog(3, -e^x) - 4*polylog(3, e^x)
\[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=\int { x^{2} \cosh \left (x\right )^{2} \coth \left (x\right )^{3} \,d x } \] Input:
integrate(x^2*cosh(x)^2*coth(x)^3,x, algorithm="giac")
Output:
integrate(x^2*cosh(x)^2*coth(x)^3, x)
Timed out. \[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=\int x^2\,{\mathrm {cosh}\left (x\right )}^2\,{\mathrm {coth}\left (x\right )}^3 \,d x \] Input:
int(x^2*cosh(x)^2*coth(x)^3,x)
Output:
int(x^2*cosh(x)^2*coth(x)^3, x)
\[ \int x^2 \cosh ^2(x) \coth ^3(x) \, dx=\frac {-79-158 x -18 e^{8 x} x +220 e^{6 x} \mathrm {log}\left (e^{x}-1\right )+220 e^{6 x} \mathrm {log}\left (e^{x}+1\right )+192 e^{6 x} \left (\int \frac {x^{2}}{e^{8 x}-3 e^{6 x}+3 e^{4 x}-e^{2 x}}d x \right )-384 e^{4 x} \left (\int \frac {x^{2}}{e^{8 x}-3 e^{6 x}+3 e^{4 x}-e^{2 x}}d x \right )+192 e^{2 x} \left (\int \frac {x^{2}}{e^{8 x}-3 e^{6 x}+3 e^{4 x}-e^{2 x}}d x \right )+9 e^{8 x}-43 e^{6 x}-78 x^{2}-36 e^{6 x} x^{2}-192 e^{4 x} x^{3}+96 e^{2 x} x^{3}+160 e^{6 x} \left (\int \frac {x}{e^{8 x}-3 e^{6 x}+3 e^{4 x}-e^{2 x}}d x \right )-320 e^{4 x} \left (\int \frac {x}{e^{8 x}-3 e^{6 x}+3 e^{4 x}-e^{2 x}}d x \right )+160 e^{2 x} \left (\int \frac {x}{e^{8 x}-3 e^{6 x}+3 e^{4 x}-e^{2 x}}d x \right )+304 e^{4 x} x +96 e^{6 x} x^{3}-404 e^{6 x} x -440 e^{4 x} \mathrm {log}\left (e^{x}-1\right )-440 e^{4 x} \mathrm {log}\left (e^{x}+1\right )-540 e^{4 x} x^{2}+220 e^{2 x} \mathrm {log}\left (e^{x}-1\right )+220 e^{2 x} \mathrm {log}\left (e^{x}+1\right )+396 e^{2 x} x^{2}+316 e^{2 x} x +113 e^{2 x}+18 e^{8 x} x^{2}}{144 e^{2 x} \left (e^{4 x}-2 e^{2 x}+1\right )} \] Input:
int(x^2*cosh(x)^2*coth(x)^3,x)
Output:
(18*e**(8*x)*x**2 - 18*e**(8*x)*x + 9*e**(8*x) + 192*e**(6*x)*int(x**2/(e* *(8*x) - 3*e**(6*x) + 3*e**(4*x) - e**(2*x)),x) + 160*e**(6*x)*int(x/(e**( 8*x) - 3*e**(6*x) + 3*e**(4*x) - e**(2*x)),x) + 220*e**(6*x)*log(e**x - 1) + 220*e**(6*x)*log(e**x + 1) + 96*e**(6*x)*x**3 - 36*e**(6*x)*x**2 - 404* e**(6*x)*x - 43*e**(6*x) - 384*e**(4*x)*int(x**2/(e**(8*x) - 3*e**(6*x) + 3*e**(4*x) - e**(2*x)),x) - 320*e**(4*x)*int(x/(e**(8*x) - 3*e**(6*x) + 3* e**(4*x) - e**(2*x)),x) - 440*e**(4*x)*log(e**x - 1) - 440*e**(4*x)*log(e* *x + 1) - 192*e**(4*x)*x**3 - 540*e**(4*x)*x**2 + 304*e**(4*x)*x + 192*e** (2*x)*int(x**2/(e**(8*x) - 3*e**(6*x) + 3*e**(4*x) - e**(2*x)),x) + 160*e* *(2*x)*int(x/(e**(8*x) - 3*e**(6*x) + 3*e**(4*x) - e**(2*x)),x) + 220*e**( 2*x)*log(e**x - 1) + 220*e**(2*x)*log(e**x + 1) + 96*e**(2*x)*x**3 + 396*e **(2*x)*x**2 + 316*e**(2*x)*x + 113*e**(2*x) - 78*x**2 - 158*x - 79)/(144* e**(2*x)*(e**(4*x) - 2*e**(2*x) + 1))