Integrand size = 18, antiderivative size = 132 \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=\frac {2 e^2 F^{c (a+b x)}}{b c \log (F) \left (4 e^2-b^2 c^2 \log ^2(F)\right )}-\frac {b c F^{c (a+b x)} \cosh ^2(d+e x) \log (F)}{4 e^2-b^2 c^2 \log ^2(F)}+\frac {2 e F^{c (a+b x)} \cosh (d+e x) \sinh (d+e x)}{4 e^2-b^2 c^2 \log ^2(F)} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 132, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {5585, 2225} \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=-\frac {b c \log (F) \cosh ^2(d+e x) F^{c (a+b x)}}{4 e^2-b^2 c^2 \log ^2(F)}+\frac {2 e \sinh (d+e x) \cosh (d+e x) F^{c (a+b x)}}{4 e^2-b^2 c^2 \log ^2(F)}+\frac {2 e^2 F^{c (a+b x)}}{b c \log (F) \left (4 e^2-b^2 c^2 \log ^2(F)\right )} \]
[In]
[Out]
Rule 2225
Rule 5585
Rubi steps \begin{align*} \text {integral}& = -\frac {b c F^{c (a+b x)} \cosh ^2(d+e x) \log (F)}{4 e^2-b^2 c^2 \log ^2(F)}+\frac {2 e F^{c (a+b x)} \cosh (d+e x) \sinh (d+e x)}{4 e^2-b^2 c^2 \log ^2(F)}+\frac {\left (2 e^2\right ) \int F^{c (a+b x)} \, dx}{4 e^2-b^2 c^2 \log ^2(F)} \\ & = \frac {2 e^2 F^{c (a+b x)}}{b c \log (F) \left (4 e^2-b^2 c^2 \log ^2(F)\right )}-\frac {b c F^{c (a+b x)} \cosh ^2(d+e x) \log (F)}{4 e^2-b^2 c^2 \log ^2(F)}+\frac {2 e F^{c (a+b x)} \cosh (d+e x) \sinh (d+e x)}{4 e^2-b^2 c^2 \log ^2(F)} \\ \end{align*}
Time = 0.15 (sec) , antiderivative size = 85, normalized size of antiderivative = 0.64 \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=\frac {F^{c (a+b x)} \left (-4 e^2+b^2 c^2 \log ^2(F)+b^2 c^2 \cosh (2 (d+e x)) \log ^2(F)-2 b c e \log (F) \sinh (2 (d+e x))\right )}{-8 b c e^2 \log (F)+2 b^3 c^3 \log ^3(F)} \]
[In]
[Out]
Time = 0.37 (sec) , antiderivative size = 90, normalized size of antiderivative = 0.68
method | result | size |
parallelrisch | \(-\frac {2 F^{c \left (b x +a \right )} \left (-\frac {c^{2} b^{2} \ln \left (F \right )^{2} \cosh \left (2 e x +2 d \right )}{2}-\frac {b^{2} c^{2} \ln \left (F \right )^{2}}{2}+\ln \left (F \right ) b c e \sinh \left (2 e x +2 d \right )+2 e^{2}\right )}{2 \ln \left (F \right )^{3} b^{3} c^{3}-8 \ln \left (F \right ) b c \,e^{2}}\) | \(90\) |
risch | \(\frac {\left (\ln \left (F \right )^{2} b^{2} c^{2} {\mathrm e}^{4 e x +4 d}+2 \ln \left (F \right )^{2} b^{2} c^{2} {\mathrm e}^{2 e x +2 d}-2 \ln \left (F \right ) b c e \,{\mathrm e}^{4 e x +4 d}+b^{2} c^{2} \ln \left (F \right )^{2}+2 b c \ln \left (F \right ) e -8 e^{2} {\mathrm e}^{2 e x +2 d}\right ) {\mathrm e}^{-2 e x -2 d} F^{c \left (b x +a \right )}}{4 b c \ln \left (F \right ) \left (b c \ln \left (F \right )-2 e \right ) \left (b c \ln \left (F \right )+2 e \right )}\) | \(143\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 699 vs. \(2 (128) = 256\).
Time = 0.27 (sec) , antiderivative size = 699, normalized size of antiderivative = 5.30 \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=\frac {{\left ({\left (b^{2} c^{2} \log \left (F\right )^{2} - 2 \, b c e \log \left (F\right )\right )} \sinh \left (e x + d\right )^{4} - 8 \, e^{2} \cosh \left (e x + d\right )^{2} + 4 \, {\left (b^{2} c^{2} \cosh \left (e x + d\right ) \log \left (F\right )^{2} - 2 \, b c e \cosh \left (e x + d\right ) \log \left (F\right )\right )} \sinh \left (e x + d\right )^{3} + {\left (b^{2} c^{2} \cosh \left (e x + d\right )^{4} + 2 \, b^{2} c^{2} \cosh \left (e x + d\right )^{2} + b^{2} c^{2}\right )} \log \left (F\right )^{2} - 2 \, {\left (6 \, b c e \cosh \left (e x + d\right )^{2} \log \left (F\right ) - {\left (3 \, b^{2} c^{2} \cosh \left (e x + d\right )^{2} + b^{2} c^{2}\right )} \log \left (F\right )^{2} + 4 \, e^{2}\right )} \sinh \left (e x + d\right )^{2} - 2 \, {\left (b c e \cosh \left (e x + d\right )^{4} - b c e\right )} \log \left (F\right ) - 4 \, {\left (2 \, b c e \cosh \left (e x + d\right )^{3} \log \left (F\right ) + 4 \, e^{2} \cosh \left (e x + d\right ) - {\left (b^{2} c^{2} \cosh \left (e x + d\right )^{3} + b^{2} c^{2} \cosh \left (e x + d\right )\right )} \log \left (F\right )^{2}\right )} \sinh \left (e x + d\right )\right )} \cosh \left ({\left (b c x + a c\right )} \log \left (F\right )\right ) + {\left ({\left (b^{2} c^{2} \log \left (F\right )^{2} - 2 \, b c e \log \left (F\right )\right )} \sinh \left (e x + d\right )^{4} - 8 \, e^{2} \cosh \left (e x + d\right )^{2} + 4 \, {\left (b^{2} c^{2} \cosh \left (e x + d\right ) \log \left (F\right )^{2} - 2 \, b c e \cosh \left (e x + d\right ) \log \left (F\right )\right )} \sinh \left (e x + d\right )^{3} + {\left (b^{2} c^{2} \cosh \left (e x + d\right )^{4} + 2 \, b^{2} c^{2} \cosh \left (e x + d\right )^{2} + b^{2} c^{2}\right )} \log \left (F\right )^{2} - 2 \, {\left (6 \, b c e \cosh \left (e x + d\right )^{2} \log \left (F\right ) - {\left (3 \, b^{2} c^{2} \cosh \left (e x + d\right )^{2} + b^{2} c^{2}\right )} \log \left (F\right )^{2} + 4 \, e^{2}\right )} \sinh \left (e x + d\right )^{2} - 2 \, {\left (b c e \cosh \left (e x + d\right )^{4} - b c e\right )} \log \left (F\right ) - 4 \, {\left (2 \, b c e \cosh \left (e x + d\right )^{3} \log \left (F\right ) + 4 \, e^{2} \cosh \left (e x + d\right ) - {\left (b^{2} c^{2} \cosh \left (e x + d\right )^{3} + b^{2} c^{2} \cosh \left (e x + d\right )\right )} \log \left (F\right )^{2}\right )} \sinh \left (e x + d\right )\right )} \sinh \left ({\left (b c x + a c\right )} \log \left (F\right )\right )}{4 \, {\left (b^{3} c^{3} \cosh \left (e x + d\right )^{2} \log \left (F\right )^{3} - 4 \, b c e^{2} \cosh \left (e x + d\right )^{2} \log \left (F\right ) + {\left (b^{3} c^{3} \log \left (F\right )^{3} - 4 \, b c e^{2} \log \left (F\right )\right )} \sinh \left (e x + d\right )^{2} + 2 \, {\left (b^{3} c^{3} \cosh \left (e x + d\right ) \log \left (F\right )^{3} - 4 \, b c e^{2} \cosh \left (e x + d\right ) \log \left (F\right )\right )} \sinh \left (e x + d\right )\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 706 vs. \(2 (119) = 238\).
Time = 1.13 (sec) , antiderivative size = 706, normalized size of antiderivative = 5.35 \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=\begin {cases} x \cosh ^{2}{\left (d \right )} & \text {for}\: F = 1 \wedge b = 0 \wedge c = 0 \wedge e = 0 \\- \frac {x \sinh ^{2}{\left (d + e x \right )}}{2} + \frac {x \cosh ^{2}{\left (d + e x \right )}}{2} + \frac {\sinh {\left (d + e x \right )} \cosh {\left (d + e x \right )}}{2 e} & \text {for}\: F = 1 \\F^{a c} \left (- \frac {x \sinh ^{2}{\left (d + e x \right )}}{2} + \frac {x \cosh ^{2}{\left (d + e x \right )}}{2} + \frac {\sinh {\left (d + e x \right )} \cosh {\left (d + e x \right )}}{2 e}\right ) & \text {for}\: b = 0 \\- \frac {x \sinh ^{2}{\left (d + e x \right )}}{2} + \frac {x \cosh ^{2}{\left (d + e x \right )}}{2} + \frac {\sinh {\left (d + e x \right )} \cosh {\left (d + e x \right )}}{2 e} & \text {for}\: c = 0 \\\frac {F^{a c + b c x} x \sinh ^{2}{\left (\frac {b c x \log {\left (F \right )}}{2} - d \right )}}{4} - \frac {F^{a c + b c x} x \sinh {\left (\frac {b c x \log {\left (F \right )}}{2} - d \right )} \cosh {\left (\frac {b c x \log {\left (F \right )}}{2} - d \right )}}{2} + \frac {F^{a c + b c x} x \cosh ^{2}{\left (\frac {b c x \log {\left (F \right )}}{2} - d \right )}}{4} - \frac {F^{a c + b c x} \sinh {\left (\frac {b c x \log {\left (F \right )}}{2} - d \right )} \cosh {\left (\frac {b c x \log {\left (F \right )}}{2} - d \right )}}{2 b c \log {\left (F \right )}} + \frac {F^{a c + b c x} \cosh ^{2}{\left (\frac {b c x \log {\left (F \right )}}{2} - d \right )}}{b c \log {\left (F \right )}} & \text {for}\: e = - \frac {b c \log {\left (F \right )}}{2} \\\frac {F^{a c + b c x} x \sinh ^{2}{\left (\frac {b c x \log {\left (F \right )}}{2} + d \right )}}{4} - \frac {F^{a c + b c x} x \sinh {\left (\frac {b c x \log {\left (F \right )}}{2} + d \right )} \cosh {\left (\frac {b c x \log {\left (F \right )}}{2} + d \right )}}{2} + \frac {F^{a c + b c x} x \cosh ^{2}{\left (\frac {b c x \log {\left (F \right )}}{2} + d \right )}}{4} - \frac {F^{a c + b c x} \sinh {\left (\frac {b c x \log {\left (F \right )}}{2} + d \right )} \cosh {\left (\frac {b c x \log {\left (F \right )}}{2} + d \right )}}{2 b c \log {\left (F \right )}} + \frac {F^{a c + b c x} \cosh ^{2}{\left (\frac {b c x \log {\left (F \right )}}{2} + d \right )}}{b c \log {\left (F \right )}} & \text {for}\: e = \frac {b c \log {\left (F \right )}}{2} \\\frac {F^{a c + b c x} b^{2} c^{2} \log {\left (F \right )}^{2} \cosh ^{2}{\left (d + e x \right )}}{b^{3} c^{3} \log {\left (F \right )}^{3} - 4 b c e^{2} \log {\left (F \right )}} - \frac {2 F^{a c + b c x} b c e \log {\left (F \right )} \sinh {\left (d + e x \right )} \cosh {\left (d + e x \right )}}{b^{3} c^{3} \log {\left (F \right )}^{3} - 4 b c e^{2} \log {\left (F \right )}} + \frac {2 F^{a c + b c x} e^{2} \sinh ^{2}{\left (d + e x \right )}}{b^{3} c^{3} \log {\left (F \right )}^{3} - 4 b c e^{2} \log {\left (F \right )}} - \frac {2 F^{a c + b c x} e^{2} \cosh ^{2}{\left (d + e x \right )}}{b^{3} c^{3} \log {\left (F \right )}^{3} - 4 b c e^{2} \log {\left (F \right )}} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.71 \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=\frac {F^{a c} e^{\left (b c x \log \left (F\right ) + 2 \, e x + 2 \, d\right )}}{4 \, {\left (b c \log \left (F\right ) + 2 \, e\right )}} + \frac {F^{a c} e^{\left (b c x \log \left (F\right ) - 2 \, e x\right )}}{4 \, {\left (b c e^{\left (2 \, d\right )} \log \left (F\right ) - 2 \, e e^{\left (2 \, d\right )}\right )}} + \frac {F^{b c x + a c}}{2 \, b c \log \left (F\right )} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.30 (sec) , antiderivative size = 889, normalized size of antiderivative = 6.73 \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=\text {Too large to display} \]
[In]
[Out]
Time = 2.07 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.76 \[ \int F^{c (a+b x)} \cosh ^2(d+e x) \, dx=-\frac {2\,F^{a\,c+b\,c\,x}\,e^2-F^{a\,c+b\,c\,x}\,b^2\,c^2\,{\mathrm {cosh}\left (d+e\,x\right )}^2\,{\ln \left (F\right )}^2+2\,F^{a\,c+b\,c\,x}\,b\,c\,e\,\mathrm {cosh}\left (d+e\,x\right )\,\mathrm {sinh}\left (d+e\,x\right )\,\ln \left (F\right )}{b^3\,c^3\,{\ln \left (F\right )}^3-4\,b\,c\,e^2\,\ln \left (F\right )} \]
[In]
[Out]