Integrand size = 12, antiderivative size = 137 \[ \int (a+b \cosh (c+d x))^4 \, dx=\frac {1}{8} \left (8 a^4+24 a^2 b^2+3 b^4\right ) x+\frac {a b \left (19 a^2+16 b^2\right ) \sinh (c+d x)}{6 d}+\frac {b^2 \left (26 a^2+9 b^2\right ) \cosh (c+d x) \sinh (c+d x)}{24 d}+\frac {7 a b (a+b \cosh (c+d x))^2 \sinh (c+d x)}{12 d}+\frac {b (a+b \cosh (c+d x))^3 \sinh (c+d x)}{4 d} \]
[Out]
Time = 0.10 (sec) , antiderivative size = 137, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2735, 2832, 2813} \[ \int (a+b \cosh (c+d x))^4 \, dx=\frac {a b \left (19 a^2+16 b^2\right ) \sinh (c+d x)}{6 d}+\frac {b^2 \left (26 a^2+9 b^2\right ) \sinh (c+d x) \cosh (c+d x)}{24 d}+\frac {1}{8} x \left (8 a^4+24 a^2 b^2+3 b^4\right )+\frac {b \sinh (c+d x) (a+b \cosh (c+d x))^3}{4 d}+\frac {7 a b \sinh (c+d x) (a+b \cosh (c+d x))^2}{12 d} \]
[In]
[Out]
Rule 2735
Rule 2813
Rule 2832
Rubi steps \begin{align*} \text {integral}& = \frac {b (a+b \cosh (c+d x))^3 \sinh (c+d x)}{4 d}+\frac {1}{4} \int (a+b \cosh (c+d x))^2 \left (4 a^2+3 b^2+7 a b \cosh (c+d x)\right ) \, dx \\ & = \frac {7 a b (a+b \cosh (c+d x))^2 \sinh (c+d x)}{12 d}+\frac {b (a+b \cosh (c+d x))^3 \sinh (c+d x)}{4 d}+\frac {1}{12} \int (a+b \cosh (c+d x)) \left (a \left (12 a^2+23 b^2\right )+b \left (26 a^2+9 b^2\right ) \cosh (c+d x)\right ) \, dx \\ & = \frac {1}{8} \left (8 a^4+24 a^2 b^2+3 b^4\right ) x+\frac {a b \left (19 a^2+16 b^2\right ) \sinh (c+d x)}{6 d}+\frac {b^2 \left (26 a^2+9 b^2\right ) \cosh (c+d x) \sinh (c+d x)}{24 d}+\frac {7 a b (a+b \cosh (c+d x))^2 \sinh (c+d x)}{12 d}+\frac {b (a+b \cosh (c+d x))^3 \sinh (c+d x)}{4 d} \\ \end{align*}
Time = 0.40 (sec) , antiderivative size = 104, normalized size of antiderivative = 0.76 \[ \int (a+b \cosh (c+d x))^4 \, dx=\frac {12 \left (8 a^4+24 a^2 b^2+3 b^4\right ) (c+d x)+96 a b \left (4 a^2+3 b^2\right ) \sinh (c+d x)+24 b^2 \left (6 a^2+b^2\right ) \sinh (2 (c+d x))+32 a b^3 \sinh (3 (c+d x))+3 b^4 \sinh (4 (c+d x))}{96 d} \]
[In]
[Out]
Time = 0.28 (sec) , antiderivative size = 101, normalized size of antiderivative = 0.74
method | result | size |
parallelrisch | \(\frac {24 \left (6 a^{2} b^{2}+b^{4}\right ) \sinh \left (2 d x +2 c \right )+32 a \,b^{3} \sinh \left (3 d x +3 c \right )+3 b^{4} \sinh \left (4 d x +4 c \right )+96 \left (4 a^{3} b +3 a \,b^{3}\right ) \sinh \left (d x +c \right )+96 d x \left (a^{4}+3 a^{2} b^{2}+\frac {3}{8} b^{4}\right )}{96 d}\) | \(101\) |
derivativedivides | \(\frac {b^{4} \left (\left (\frac {\cosh \left (d x +c \right )^{3}}{4}+\frac {3 \cosh \left (d x +c \right )}{8}\right ) \sinh \left (d x +c \right )+\frac {3 d x}{8}+\frac {3 c}{8}\right )+4 a \,b^{3} \left (\frac {2}{3}+\frac {\cosh \left (d x +c \right )^{2}}{3}\right ) \sinh \left (d x +c \right )+6 a^{2} b^{2} \left (\frac {\cosh \left (d x +c \right ) \sinh \left (d x +c \right )}{2}+\frac {d x}{2}+\frac {c}{2}\right )+4 a^{3} b \sinh \left (d x +c \right )+a^{4} \left (d x +c \right )}{d}\) | \(119\) |
default | \(\frac {b^{4} \left (\left (\frac {\cosh \left (d x +c \right )^{3}}{4}+\frac {3 \cosh \left (d x +c \right )}{8}\right ) \sinh \left (d x +c \right )+\frac {3 d x}{8}+\frac {3 c}{8}\right )+4 a \,b^{3} \left (\frac {2}{3}+\frac {\cosh \left (d x +c \right )^{2}}{3}\right ) \sinh \left (d x +c \right )+6 a^{2} b^{2} \left (\frac {\cosh \left (d x +c \right ) \sinh \left (d x +c \right )}{2}+\frac {d x}{2}+\frac {c}{2}\right )+4 a^{3} b \sinh \left (d x +c \right )+a^{4} \left (d x +c \right )}{d}\) | \(119\) |
parts | \(x \,a^{4}+\frac {b^{4} \left (\left (\frac {\cosh \left (d x +c \right )^{3}}{4}+\frac {3 \cosh \left (d x +c \right )}{8}\right ) \sinh \left (d x +c \right )+\frac {3 d x}{8}+\frac {3 c}{8}\right )}{d}+\frac {4 a^{3} b \sinh \left (d x +c \right )}{d}+\frac {6 a^{2} b^{2} \left (\frac {\cosh \left (d x +c \right ) \sinh \left (d x +c \right )}{2}+\frac {d x}{2}+\frac {c}{2}\right )}{d}+\frac {4 a \,b^{3} \left (\frac {2}{3}+\frac {\cosh \left (d x +c \right )^{2}}{3}\right ) \sinh \left (d x +c \right )}{d}\) | \(123\) |
risch | \(x \,a^{4}+3 x \,a^{2} b^{2}+\frac {3 x \,b^{4}}{8}+\frac {b^{4} {\mathrm e}^{4 d x +4 c}}{64 d}+\frac {a \,b^{3} {\mathrm e}^{3 d x +3 c}}{6 d}+\frac {3 b^{2} {\mathrm e}^{2 d x +2 c} a^{2}}{4 d}+\frac {b^{4} {\mathrm e}^{2 d x +2 c}}{8 d}+\frac {2 a^{3} b \,{\mathrm e}^{d x +c}}{d}+\frac {3 a \,b^{3} {\mathrm e}^{d x +c}}{2 d}-\frac {2 a^{3} b \,{\mathrm e}^{-d x -c}}{d}-\frac {3 a \,b^{3} {\mathrm e}^{-d x -c}}{2 d}-\frac {3 b^{2} {\mathrm e}^{-2 d x -2 c} a^{2}}{4 d}-\frac {b^{4} {\mathrm e}^{-2 d x -2 c}}{8 d}-\frac {a \,b^{3} {\mathrm e}^{-3 d x -3 c}}{6 d}-\frac {b^{4} {\mathrm e}^{-4 d x -4 c}}{64 d}\) | \(232\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 123, normalized size of antiderivative = 0.90 \[ \int (a+b \cosh (c+d x))^4 \, dx=\frac {{\left (3 \, b^{4} \cosh \left (d x + c\right ) + 8 \, a b^{3}\right )} \sinh \left (d x + c\right )^{3} + 3 \, {\left (8 \, a^{4} + 24 \, a^{2} b^{2} + 3 \, b^{4}\right )} d x + 3 \, {\left (b^{4} \cosh \left (d x + c\right )^{3} + 8 \, a b^{3} \cosh \left (d x + c\right )^{2} + 32 \, a^{3} b + 24 \, a b^{3} + 4 \, {\left (6 \, a^{2} b^{2} + b^{4}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )}{24 \, d} \]
[In]
[Out]
Time = 0.18 (sec) , antiderivative size = 240, normalized size of antiderivative = 1.75 \[ \int (a+b \cosh (c+d x))^4 \, dx=\begin {cases} a^{4} x + \frac {4 a^{3} b \sinh {\left (c + d x \right )}}{d} - 3 a^{2} b^{2} x \sinh ^{2}{\left (c + d x \right )} + 3 a^{2} b^{2} x \cosh ^{2}{\left (c + d x \right )} + \frac {3 a^{2} b^{2} \sinh {\left (c + d x \right )} \cosh {\left (c + d x \right )}}{d} - \frac {8 a b^{3} \sinh ^{3}{\left (c + d x \right )}}{3 d} + \frac {4 a b^{3} \sinh {\left (c + d x \right )} \cosh ^{2}{\left (c + d x \right )}}{d} + \frac {3 b^{4} x \sinh ^{4}{\left (c + d x \right )}}{8} - \frac {3 b^{4} x \sinh ^{2}{\left (c + d x \right )} \cosh ^{2}{\left (c + d x \right )}}{4} + \frac {3 b^{4} x \cosh ^{4}{\left (c + d x \right )}}{8} - \frac {3 b^{4} \sinh ^{3}{\left (c + d x \right )} \cosh {\left (c + d x \right )}}{8 d} + \frac {5 b^{4} \sinh {\left (c + d x \right )} \cosh ^{3}{\left (c + d x \right )}}{8 d} & \text {for}\: d \neq 0 \\x \left (a + b \cosh {\left (c \right )}\right )^{4} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 183, normalized size of antiderivative = 1.34 \[ \int (a+b \cosh (c+d x))^4 \, dx=\frac {1}{64} \, b^{4} {\left (24 \, x + \frac {e^{\left (4 \, d x + 4 \, c\right )}}{d} + \frac {8 \, e^{\left (2 \, d x + 2 \, c\right )}}{d} - \frac {8 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d} - \frac {e^{\left (-4 \, d x - 4 \, c\right )}}{d}\right )} + \frac {3}{4} \, a^{2} b^{2} {\left (4 \, x + \frac {e^{\left (2 \, d x + 2 \, c\right )}}{d} - \frac {e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right )} + a^{4} x + \frac {1}{6} \, a b^{3} {\left (\frac {e^{\left (3 \, d x + 3 \, c\right )}}{d} + \frac {9 \, e^{\left (d x + c\right )}}{d} - \frac {9 \, e^{\left (-d x - c\right )}}{d} - \frac {e^{\left (-3 \, d x - 3 \, c\right )}}{d}\right )} + \frac {4 \, a^{3} b \sinh \left (d x + c\right )}{d} \]
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 196, normalized size of antiderivative = 1.43 \[ \int (a+b \cosh (c+d x))^4 \, dx=\frac {b^{4} e^{\left (4 \, d x + 4 \, c\right )}}{64 \, d} + \frac {a b^{3} e^{\left (3 \, d x + 3 \, c\right )}}{6 \, d} - \frac {a b^{3} e^{\left (-3 \, d x - 3 \, c\right )}}{6 \, d} - \frac {b^{4} e^{\left (-4 \, d x - 4 \, c\right )}}{64 \, d} + \frac {1}{8} \, {\left (8 \, a^{4} + 24 \, a^{2} b^{2} + 3 \, b^{4}\right )} x + \frac {{\left (6 \, a^{2} b^{2} + b^{4}\right )} e^{\left (2 \, d x + 2 \, c\right )}}{8 \, d} + \frac {{\left (4 \, a^{3} b + 3 \, a b^{3}\right )} e^{\left (d x + c\right )}}{2 \, d} - \frac {{\left (4 \, a^{3} b + 3 \, a b^{3}\right )} e^{\left (-d x - c\right )}}{2 \, d} - \frac {{\left (6 \, a^{2} b^{2} + b^{4}\right )} e^{\left (-2 \, d x - 2 \, c\right )}}{8 \, d} \]
[In]
[Out]
Time = 0.20 (sec) , antiderivative size = 114, normalized size of antiderivative = 0.83 \[ \int (a+b \cosh (c+d x))^4 \, dx=\frac {6\,b^4\,\mathrm {sinh}\left (2\,c+2\,d\,x\right )+\frac {3\,b^4\,\mathrm {sinh}\left (4\,c+4\,d\,x\right )}{4}+8\,a\,b^3\,\mathrm {sinh}\left (3\,c+3\,d\,x\right )+36\,a^2\,b^2\,\mathrm {sinh}\left (2\,c+2\,d\,x\right )+72\,a\,b^3\,\mathrm {sinh}\left (c+d\,x\right )+96\,a^3\,b\,\mathrm {sinh}\left (c+d\,x\right )+24\,a^4\,d\,x+9\,b^4\,d\,x+72\,a^2\,b^2\,d\,x}{24\,d} \]
[In]
[Out]