3.898 \(\int F^{c (a+b x)} (f+f \cosh (d+e x)) \, dx\)

Optimal. Leaf size=101 \[ \frac{e f \sinh (d+e x) F^{a c+b c x}}{e^2-b^2 c^2 \log ^2(F)}-\frac{b c f \log (F) \cosh (d+e x) F^{a c+b c x}}{e^2-b^2 c^2 \log ^2(F)}+\frac{f F^{a c+b c x}}{b c \log (F)} \]

[Out]

(f*F^(a*c + b*c*x))/(b*c*Log[F]) - (b*c*f*F^(a*c + b*c*x)*Cosh[d + e*x]*Log[F])/(e^2 - b^2*c^2*Log[F]^2) + (e*
f*F^(a*c + b*c*x)*Sinh[d + e*x])/(e^2 - b^2*c^2*Log[F]^2)

________________________________________________________________________________________

Rubi [A]  time = 0.14612, antiderivative size = 101, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {6741, 12, 6742, 2194, 5475} \[ \frac{e f \sinh (d+e x) F^{a c+b c x}}{e^2-b^2 c^2 \log ^2(F)}-\frac{b c f \log (F) \cosh (d+e x) F^{a c+b c x}}{e^2-b^2 c^2 \log ^2(F)}+\frac{f F^{a c+b c x}}{b c \log (F)} \]

Antiderivative was successfully verified.

[In]

Int[F^(c*(a + b*x))*(f + f*Cosh[d + e*x]),x]

[Out]

(f*F^(a*c + b*c*x))/(b*c*Log[F]) - (b*c*f*F^(a*c + b*c*x)*Cosh[d + e*x]*Log[F])/(e^2 - b^2*c^2*Log[F]^2) + (e*
f*F^(a*c + b*c*x)*Sinh[d + e*x])/(e^2 - b^2*c^2*Log[F]^2)

Rule 6741

Int[u_, x_Symbol] :> With[{v = NormalizeIntegrand[u, x]}, Int[v, x] /; v =!= u]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 6742

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rule 2194

Int[((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.), x_Symbol] :> Simp[(F^(c*(a + b*x)))^n/(b*c*n*Log[F]), x] /; Fre
eQ[{F, a, b, c, n}, x]

Rule 5475

Int[Cosh[(d_.) + (e_.)*(x_)]*(F_)^((c_.)*((a_.) + (b_.)*(x_))), x_Symbol] :> -Simp[(b*c*Log[F]*F^(c*(a + b*x))
*Cosh[d + e*x])/(e^2 - b^2*c^2*Log[F]^2), x] + Simp[(e*F^(c*(a + b*x))*Sinh[d + e*x])/(e^2 - b^2*c^2*Log[F]^2)
, x] /; FreeQ[{F, a, b, c, d, e}, x] && NeQ[e^2 - b^2*c^2*Log[F]^2, 0]

Rubi steps

\begin{align*} \int F^{c (a+b x)} (f+f \cosh (d+e x)) \, dx &=\int f F^{a c+b c x} (1+\cosh (d+e x)) \, dx\\ &=f \int F^{a c+b c x} (1+\cosh (d+e x)) \, dx\\ &=f \int \left (F^{a c+b c x}+F^{a c+b c x} \cosh (d+e x)\right ) \, dx\\ &=f \int F^{a c+b c x} \, dx+f \int F^{a c+b c x} \cosh (d+e x) \, dx\\ &=\frac{f F^{a c+b c x}}{b c \log (F)}-\frac{b c f F^{a c+b c x} \cosh (d+e x) \log (F)}{e^2-b^2 c^2 \log ^2(F)}+\frac{e f F^{a c+b c x} \sinh (d+e x)}{e^2-b^2 c^2 \log ^2(F)}\\ \end{align*}

Mathematica [A]  time = 0.19586, size = 88, normalized size = 0.87 \[ \frac{f F^{c (a+b x)} \left (b^2 c^2 \log ^2(F) \cosh (d+e x)+b^2 c^2 \log ^2(F)-b c e \log (F) \sinh (d+e x)-e^2\right )}{b c \log (F) (b c \log (F)-e) (b c \log (F)+e)} \]

Antiderivative was successfully verified.

[In]

Integrate[F^(c*(a + b*x))*(f + f*Cosh[d + e*x]),x]

[Out]

(f*F^(c*(a + b*x))*(-e^2 + b^2*c^2*Log[F]^2 + b^2*c^2*Cosh[d + e*x]*Log[F]^2 - b*c*e*Log[F]*Sinh[d + e*x]))/(b
*c*Log[F]*(-e + b*c*Log[F])*(e + b*c*Log[F]))

________________________________________________________________________________________

Maple [A]  time = 0.036, size = 135, normalized size = 1.3 \begin{align*}{\frac{f \left ( \left ( \ln \left ( F \right ) \right ) ^{2}{b}^{2}{c}^{2}{{\rm e}^{2\,ex+2\,d}}+2\, \left ( \ln \left ( F \right ) \right ) ^{2}{b}^{2}{c}^{2}{{\rm e}^{ex+d}}+{b}^{2}{c}^{2} \left ( \ln \left ( F \right ) \right ) ^{2}-\ln \left ( F \right ) bce{{\rm e}^{2\,ex+2\,d}}+\ln \left ( F \right ) bce-2\,{e}^{2}{{\rm e}^{ex+d}} \right ){{\rm e}^{-ex-d}}{F}^{c \left ( bx+a \right ) }}{2\,bc\ln \left ( F \right ) \left ( bc\ln \left ( F \right ) -e \right ) \left ( e+bc\ln \left ( F \right ) \right ) }} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(F^(c*(b*x+a))*(f+f*cosh(e*x+d)),x)

[Out]

1/2*f*(ln(F)^2*b^2*c^2*exp(2*e*x+2*d)+2*ln(F)^2*b^2*c^2*exp(e*x+d)+b^2*c^2*ln(F)^2-ln(F)*b*c*e*exp(2*e*x+2*d)+
ln(F)*b*c*e-2*e^2*exp(e*x+d))/b/c/ln(F)/(b*c*ln(F)-e)*exp(-e*x-d)/(e+b*c*ln(F))*F^(c*(b*x+a))

________________________________________________________________________________________

Maxima [A]  time = 1.03593, size = 117, normalized size = 1.16 \begin{align*} \frac{1}{2} \, f{\left (\frac{F^{a c} e^{\left (b c x \log \left (F\right ) + e x + d\right )}}{b c \log \left (F\right ) + e} + \frac{F^{a c} e^{\left (b c x \log \left (F\right ) - e x\right )}}{b c e^{d} \log \left (F\right ) - e e^{d}}\right )} + \frac{F^{b c x + a c} f}{b c \log \left (F\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))*(f+f*cosh(e*x+d)),x, algorithm="maxima")

[Out]

1/2*f*(F^(a*c)*e^(b*c*x*log(F) + e*x + d)/(b*c*log(F) + e) + F^(a*c)*e^(b*c*x*log(F) - e*x)/(b*c*e^d*log(F) -
e*e^d)) + F^(b*c*x + a*c)*f/(b*c*log(F))

________________________________________________________________________________________

Fricas [B]  time = 1.54361, size = 1080, normalized size = 10.69 \begin{align*} -\frac{{\left (2 \, e^{2} f \cosh \left (e x + d\right ) -{\left (b^{2} c^{2} f \cosh \left (e x + d\right )^{2} + 2 \, b^{2} c^{2} f \cosh \left (e x + d\right ) + b^{2} c^{2} f\right )} \log \left (F\right )^{2} -{\left (b^{2} c^{2} f \log \left (F\right )^{2} - b c e f \log \left (F\right )\right )} \sinh \left (e x + d\right )^{2} +{\left (b c e f \cosh \left (e x + d\right )^{2} - b c e f\right )} \log \left (F\right ) + 2 \,{\left (b c e f \cosh \left (e x + d\right ) \log \left (F\right ) + e^{2} f -{\left (b^{2} c^{2} f \cosh \left (e x + d\right ) + b^{2} c^{2} f\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 (2 \, e^{2} f \cosh \left (e x + d\right ) -{\left (b^{2} c^{2} f \cosh \left (e x + d\right )^{2} + 2 \, b^{2} c^{2} f \cosh \left (e x + d\right ) + b^{2} c^{2} f\right )} \log \left (F\right )^{2} -{\left (b^{2} c^{2} f \log \left (F\right )^{2} - b c e f \log \left (F\right )\right )} \sinh \left (e x + d\right )^{2} +{\left (b c e f \cosh \left (e x + d\right )^{2} - b c e f\right )} \log \left (F\right ) + 2 \,{\left (b c e f \cosh \left (e x + d\right ) \log \left (F\right ) + e^{2} f -{\left (b^{2} c^{2} f \cosh \left (e x + d\right ) + b^{2} c^{2} f\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 )}{2 \,{\left (b^{3} c^{3} \cosh \left (e x + d\right ) \log \left (F\right )^{3} - b c e^{2} \cosh \left (e x + d\right ) \log \left (F\right ) +{\left (b^{3} c^{3} \log \left (F\right )^{3} - b c e^{2} \log \left (F\right )\right )} \sinh \left (e x + d\right )\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))*(f+f*cosh(e*x+d)),x, algorithm="fricas")

[Out]

-1/2*((2*e^2*f*cosh(e*x + d) - (b^2*c^2*f*cosh(e*x + d)^2 + 2*b^2*c^2*f*cosh(e*x + d) + b^2*c^2*f)*log(F)^2 -
(b^2*c^2*f*log(F)^2 - b*c*e*f*log(F))*sinh(e*x + d)^2 + (b*c*e*f*cosh(e*x + d)^2 - b*c*e*f)*log(F) + 2*(b*c*e*
f*cosh(e*x + d)*log(F) + e^2*f - (b^2*c^2*f*cosh(e*x + d) + b^2*c^2*f)*log(F)^2)*sinh(e*x + d))*cosh((b*c*x +
a*c)*log(F)) + (2*e^2*f*cosh(e*x + d) - (b^2*c^2*f*cosh(e*x + d)^2 + 2*b^2*c^2*f*cosh(e*x + d) + b^2*c^2*f)*lo
g(F)^2 - (b^2*c^2*f*log(F)^2 - b*c*e*f*log(F))*sinh(e*x + d)^2 + (b*c*e*f*cosh(e*x + d)^2 - b*c*e*f)*log(F) +
2*(b*c*e*f*cosh(e*x + d)*log(F) + e^2*f - (b^2*c^2*f*cosh(e*x + d) + b^2*c^2*f)*log(F)^2)*sinh(e*x + d))*sinh(
(b*c*x + a*c)*log(F)))/(b^3*c^3*cosh(e*x + d)*log(F)^3 - b*c*e^2*cosh(e*x + d)*log(F) + (b^3*c^3*log(F)^3 - b*
c*e^2*log(F))*sinh(e*x + d))

________________________________________________________________________________________

Sympy [A]  time = 11.1659, size = 391, normalized size = 3.87 \begin{align*} \begin{cases} f x + \frac{f \sinh{\left (d + e x \right )}}{e} & \text{for}\: F = 1 \\\tilde{\infty } e^{2} f \left (e^{- \frac{e}{b c}}\right )^{a c} \left (e^{- \frac{e}{b c}}\right )^{b c x} \sinh{\left (d + e x \right )} + \tilde{\infty } e^{2} f \left (e^{- \frac{e}{b c}}\right )^{a c} \left (e^{- \frac{e}{b c}}\right )^{b c x} \cosh{\left (d + e x \right )} & \text{for}\: F = e^{- \frac{e}{b c}} \\\tilde{\infty } e^{2} f \left (e^{\frac{e}{b c}}\right )^{a c} \left (e^{\frac{e}{b c}}\right )^{b c x} \sinh{\left (d + e x \right )} + \tilde{\infty } e^{2} f \left (e^{\frac{e}{b c}}\right )^{a c} \left (e^{\frac{e}{b c}}\right )^{b c x} \cosh{\left (d + e x \right )} & \text{for}\: F = e^{\frac{e}{b c}} \\F^{a c} \left (f x + \frac{f \sinh{\left (d + e x \right )}}{e}\right ) & \text{for}\: b = 0 \\f x + \frac{f \sinh{\left (d + e x \right )}}{e} & \text{for}\: c = 0 \\\frac{F^{a c} F^{b c x} b^{2} c^{2} f \log{\left (F \right )}^{2} \cosh{\left (d + e x \right )}}{b^{3} c^{3} \log{\left (F \right )}^{3} - b c e^{2} \log{\left (F \right )}} + \frac{F^{a c} F^{b c x} b^{2} c^{2} f \log{\left (F \right )}^{2}}{b^{3} c^{3} \log{\left (F \right )}^{3} - b c e^{2} \log{\left (F \right )}} - \frac{F^{a c} F^{b c x} b c e f \log{\left (F \right )} \sinh{\left (d + e x \right )}}{b^{3} c^{3} \log{\left (F \right )}^{3} - b c e^{2} \log{\left (F \right )}} - \frac{F^{a c} F^{b c x} e^{2} f}{b^{3} c^{3} \log{\left (F \right )}^{3} - b c e^{2} \log{\left (F \right )}} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F**(c*(b*x+a))*(f+f*cosh(e*x+d)),x)

[Out]

Piecewise((f*x + f*sinh(d + e*x)/e, Eq(F, 1)), (zoo*e**2*f*exp(-e/(b*c))**(a*c)*exp(-e/(b*c))**(b*c*x)*sinh(d
+ e*x) + zoo*e**2*f*exp(-e/(b*c))**(a*c)*exp(-e/(b*c))**(b*c*x)*cosh(d + e*x), Eq(F, exp(-e/(b*c)))), (zoo*e**
2*f*exp(e/(b*c))**(a*c)*exp(e/(b*c))**(b*c*x)*sinh(d + e*x) + zoo*e**2*f*exp(e/(b*c))**(a*c)*exp(e/(b*c))**(b*
c*x)*cosh(d + e*x), Eq(F, exp(e/(b*c)))), (F**(a*c)*(f*x + f*sinh(d + e*x)/e), Eq(b, 0)), (f*x + f*sinh(d + e*
x)/e, Eq(c, 0)), (F**(a*c)*F**(b*c*x)*b**2*c**2*f*log(F)**2*cosh(d + e*x)/(b**3*c**3*log(F)**3 - b*c*e**2*log(
F)) + F**(a*c)*F**(b*c*x)*b**2*c**2*f*log(F)**2/(b**3*c**3*log(F)**3 - b*c*e**2*log(F)) - F**(a*c)*F**(b*c*x)*
b*c*e*f*log(F)*sinh(d + e*x)/(b**3*c**3*log(F)**3 - b*c*e**2*log(F)) - F**(a*c)*F**(b*c*x)*e**2*f/(b**3*c**3*l
og(F)**3 - b*c*e**2*log(F)), True))

________________________________________________________________________________________

Giac [C]  time = 1.24201, size = 1215, normalized size = 12.03 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))*(f+f*cosh(e*x+d)),x, algorithm="giac")

[Out]

2*(2*b*c*f*cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c)*log(abs(F))/(4*b^2*c^2*lo
g(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c)^2) - (pi*b*c*sgn(F) - pi*b*c)*f*sin(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x
 - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c)/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c)^2))*e^(b*c*x*log(abs(F)
) + a*c*log(abs(F))) - 1/2*I*(-2*I*f*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*c*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*p
i*a*c)/(I*pi*b*c*sgn(F) - I*pi*b*c + 2*b*c*log(abs(F))) + 2*I*f*e^(-1/2*I*pi*b*c*x*sgn(F) + 1/2*I*pi*b*c*x - 1
/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/(-I*pi*b*c*sgn(F) + I*pi*b*c + 2*b*c*log(abs(F))))*e^(b*c*x*log(abs(F)) + a
*c*log(abs(F))) + (2*(b*c*log(abs(F)) + e)*f*cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2
*pi*a*c)/((pi*b*c*sgn(F) - pi*b*c)^2 + 4*(b*c*log(abs(F)) + e)^2) - (pi*b*c*sgn(F) - pi*b*c)*f*sin(-1/2*pi*b*c
*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c)/((pi*b*c*sgn(F) - pi*b*c)^2 + 4*(b*c*log(abs(F)) +
e)^2))*e^(a*c*log(abs(F)) + (b*c*log(abs(F)) + e)*x + d) - 1/2*I*(-2*I*f*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b
*c*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*pi*a*c)/(2*I*pi*b*c*sgn(F) - 2*I*pi*b*c + 4*b*c*log(abs(F)) + 4*e) + 2*I*f*
e^(-1/2*I*pi*b*c*x*sgn(F) + 1/2*I*pi*b*c*x - 1/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/(-2*I*pi*b*c*sgn(F) + 2*I*pi*
b*c + 4*b*c*log(abs(F)) + 4*e))*e^(a*c*log(abs(F)) + (b*c*log(abs(F)) + e)*x + d) + (2*(b*c*log(abs(F)) - e)*f
*cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c)/((pi*b*c*sgn(F) - pi*b*c)^2 + 4*(b*
c*log(abs(F)) - e)^2) - (pi*b*c*sgn(F) - pi*b*c)*f*sin(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F)
 + 1/2*pi*a*c)/((pi*b*c*sgn(F) - pi*b*c)^2 + 4*(b*c*log(abs(F)) - e)^2))*e^(a*c*log(abs(F)) + (b*c*log(abs(F))
 - e)*x - d) - 1/2*I*(-2*I*f*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*c*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*pi*a*c)/(
2*I*pi*b*c*sgn(F) - 2*I*pi*b*c + 4*b*c*log(abs(F)) - 4*e) + 2*I*f*e^(-1/2*I*pi*b*c*x*sgn(F) + 1/2*I*pi*b*c*x -
 1/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/(-2*I*pi*b*c*sgn(F) + 2*I*pi*b*c + 4*b*c*log(abs(F)) - 4*e))*e^(a*c*log(a
bs(F)) + (b*c*log(abs(F)) - e)*x - d)