Integrand size = 6, antiderivative size = 30 \[ \int (x+\cosh (x))^2 \, dx=\frac {x}{2}+\frac {x^3}{3}-2 \cosh (x)+2 x \sinh (x)+\frac {1}{2} \cosh (x) \sinh (x) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.833, Rules used = {6874, 3377, 2718, 2715, 8} \[ \int (x+\cosh (x))^2 \, dx=\frac {x^3}{3}+\frac {x}{2}+2 x \sinh (x)-2 \cosh (x)+\frac {1}{2} \sinh (x) \cosh (x) \]
[In]
[Out]
Rule 8
Rule 2715
Rule 2718
Rule 3377
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \left (x^2+2 x \cosh (x)+\cosh ^2(x)\right ) \, dx \\ & = \frac {x^3}{3}+2 \int x \cosh (x) \, dx+\int \cosh ^2(x) \, dx \\ & = \frac {x^3}{3}+2 x \sinh (x)+\frac {1}{2} \cosh (x) \sinh (x)+\frac {\int 1 \, dx}{2}-2 \int \sinh (x) \, dx \\ & = \frac {x}{2}+\frac {x^3}{3}-2 \cosh (x)+2 x \sinh (x)+\frac {1}{2} \cosh (x) \sinh (x) \\ \end{align*}
Time = 0.05 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.87 \[ \int (x+\cosh (x))^2 \, dx=\frac {1}{6} \left (3 \cosh (x) (-4+\sinh (x))+x \left (3+2 x^2+12 \sinh (x)\right )\right ) \]
[In]
[Out]
Time = 0.11 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.83
method | result | size |
default | \(\frac {x}{2}+\frac {x^{3}}{3}-2 \cosh \left (x \right )+2 x \sinh \left (x \right )+\frac {\cosh \left (x \right ) \sinh \left (x \right )}{2}\) | \(25\) |
parts | \(\frac {x}{2}+\frac {x^{3}}{3}-2 \cosh \left (x \right )+2 x \sinh \left (x \right )+\frac {\cosh \left (x \right ) \sinh \left (x \right )}{2}\) | \(25\) |
parallelrisch | \(\frac {x^{3}}{3}+\frac {x}{2}-2+2 x \sinh \left (x \right )+\frac {\sinh \left (2 x \right )}{4}-2 \cosh \left (x \right )\) | \(26\) |
risch | \(\frac {x^{3}}{3}+\frac {x}{2}+\frac {{\mathrm e}^{2 x}}{8}+\left (-1+x \right ) {\mathrm e}^{x}+\left (-1-x \right ) {\mathrm e}^{-x}-\frac {{\mathrm e}^{-2 x}}{8}\) | \(38\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.77 \[ \int (x+\cosh (x))^2 \, dx=\frac {1}{3} \, x^{3} + \frac {1}{2} \, {\left (4 \, x + \cosh \left (x\right )\right )} \sinh \left (x\right ) + \frac {1}{2} \, x - 2 \, \cosh \left (x\right ) \]
[In]
[Out]
Time = 0.06 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.37 \[ \int (x+\cosh (x))^2 \, dx=\frac {x^{3}}{3} - \frac {x \sinh ^{2}{\left (x \right )}}{2} + 2 x \sinh {\left (x \right )} + \frac {x \cosh ^{2}{\left (x \right )}}{2} + \frac {\sinh {\left (x \right )} \cosh {\left (x \right )}}{2} - 2 \cosh {\left (x \right )} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.20 \[ \int (x+\cosh (x))^2 \, dx=\frac {1}{3} \, x^{3} - {\left (x + 1\right )} e^{\left (-x\right )} + {\left (x - 1\right )} e^{x} + \frac {1}{2} \, x + \frac {1}{8} \, e^{\left (2 \, x\right )} - \frac {1}{8} \, e^{\left (-2 \, x\right )} \]
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.20 \[ \int (x+\cosh (x))^2 \, dx=\frac {1}{3} \, x^{3} - {\left (x + 1\right )} e^{\left (-x\right )} + {\left (x - 1\right )} e^{x} + \frac {1}{2} \, x + \frac {1}{8} \, e^{\left (2 \, x\right )} - \frac {1}{8} \, e^{\left (-2 \, x\right )} \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.80 \[ \int (x+\cosh (x))^2 \, dx=\frac {x}{2}-2\,\mathrm {cosh}\left (x\right )+\frac {\mathrm {cosh}\left (x\right )\,\mathrm {sinh}\left (x\right )}{2}+2\,x\,\mathrm {sinh}\left (x\right )+\frac {x^3}{3} \]
[In]
[Out]