\(\int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx\) [164]

Optimal result
Mathematica [F]
Rubi [F]
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 30, antiderivative size = 159 \[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=-\frac {2^{-1-p-q} \left (e^{2 d+2 e x}\right )^{-\frac {b c \log (F)}{2 e}} \left (1-e^{2 d+2 e x}\right ) \left (1+e^{2 d+2 e x}\right )^{p+q} F^{c (a+b x)} \operatorname {AppellF1}\left (1+p+q,1-\frac {b c \log (F)}{2 e},p+q,2+p+q,1-e^{2 d+2 e x},\frac {1}{2} \left (1-e^{2 d+2 e x}\right )\right ) (f \tanh (d+e x))^p (g \tanh (d+e x))^q}{e (1+p+q)} \] Output:

-2^(-1-p-q)*(1-exp(2*e*x+2*d))*(1+exp(2*e*x+2*d))^(p+q)*F^(c*(b*x+a))*Appe 
llF1(1+p+q,1-1/2*b*c*ln(F)/e,p+q,2+p+q,1-exp(2*e*x+2*d),1/2-1/2*exp(2*e*x+ 
2*d))*(f*tanh(e*x+d))^p*(g*tanh(e*x+d))^q/e/(exp(2*e*x+2*d)^(1/2*b*c*ln(F) 
/e))/(1+p+q)
 

Mathematica [F]

\[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=\int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx \] Input:

Integrate[F^(c*(a + b*x))*(f*Tanh[d + e*x])^p*(g*Tanh[d + e*x])^q,x]
 

Output:

Integrate[F^(c*(a + b*x))*(f*Tanh[d + e*x])^p*(g*Tanh[d + e*x])^q, x]
 

Rubi [F]

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 F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx\)

\(\Big \downarrow \) 2034

\(\displaystyle (f \tanh (d+e x))^{-q} (g \tanh (d+e x))^q \int F^{c (a+b x)} (f \tanh (d+e x))^{p+q}dx\)

\(\Big \downarrow \) 7271

\(\displaystyle (f \tanh (d+e x))^p (g \tanh (d+e x))^q \tanh ^{-p-q}(d+e x) \int F^{c (a+b x)} \tanh ^{p+q}(d+e x)dx\)

\(\Big \downarrow \) 6030

\(\displaystyle (f \tanh (d+e x))^p (g \tanh (d+e x))^q \tanh ^{-p-q}(d+e x) \int F^{a c+b x c} \tanh ^{p+q}(d+e x)dx\)

\(\Big \downarrow \) 7299

\(\displaystyle (f \tanh (d+e x))^p (g \tanh (d+e x))^q \tanh ^{-p-q}(d+e x) \int F^{a c+b x c} \tanh ^{p+q}(d+e x)dx\)

Input:

Int[F^(c*(a + b*x))*(f*Tanh[d + e*x])^p*(g*Tanh[d + e*x])^q,x]
 

Output:

$Aborted
 
Maple [F]

\[\int F^{c \left (b x +a \right )} \left (f \tanh \left (e x +d \right )\right )^{p} \left (g \tanh \left (e x +d \right )\right )^{q}d x\]

Input:

int(F^(c*(b*x+a))*(f*tanh(e*x+d))^p*(g*tanh(e*x+d))^q,x)
 

Output:

int(F^(c*(b*x+a))*(f*tanh(e*x+d))^p*(g*tanh(e*x+d))^q,x)
 

Fricas [F]

\[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=\int { \left (f \tanh \left (e x + d\right )\right )^{p} \left (g \tanh \left (e x + d\right )\right )^{q} F^{{\left (b x + a\right )} c} \,d x } \] Input:

integrate(F^(c*(b*x+a))*(f*tanh(e*x+d))^p*(g*tanh(e*x+d))^q,x, algorithm=" 
fricas")
                                                                                    
                                                                                    
 

Output:

integral((f*tanh(e*x + d))^p*(g*tanh(e*x + d))^q*F^(b*c*x + a*c), x)
 

Sympy [F]

\[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=\int F^{c \left (a + b x\right )} \left (f \tanh {\left (d + e x \right )}\right )^{p} \left (g \tanh {\left (d + e x \right )}\right )^{q}\, dx \] Input:

integrate(F**(c*(b*x+a))*(f*tanh(e*x+d))**p*(g*tanh(e*x+d))**q,x)
 

Output:

Integral(F**(c*(a + b*x))*(f*tanh(d + e*x))**p*(g*tanh(d + e*x))**q, x)
 

Maxima [F]

\[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=\int { \left (f \tanh \left (e x + d\right )\right )^{p} \left (g \tanh \left (e x + d\right )\right )^{q} F^{{\left (b x + a\right )} c} \,d x } \] Input:

integrate(F^(c*(b*x+a))*(f*tanh(e*x+d))^p*(g*tanh(e*x+d))^q,x, algorithm=" 
maxima")
 

Output:

integrate((f*tanh(e*x + d))^p*(g*tanh(e*x + d))^q*F^((b*x + a)*c), x)
 

Giac [F]

\[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=\int { \left (f \tanh \left (e x + d\right )\right )^{p} \left (g \tanh \left (e x + d\right )\right )^{q} F^{{\left (b x + a\right )} c} \,d x } \] Input:

integrate(F^(c*(b*x+a))*(f*tanh(e*x+d))^p*(g*tanh(e*x+d))^q,x, algorithm=" 
giac")
 

Output:

integrate((f*tanh(e*x + d))^p*(g*tanh(e*x + d))^q*F^((b*x + a)*c), x)
 

Mupad [F(-1)]

Timed out. \[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=\int F^{c\,\left (a+b\,x\right )}\,{\left (f\,\mathrm {tanh}\left (d+e\,x\right )\right )}^p\,{\left (g\,\mathrm {tanh}\left (d+e\,x\right )\right )}^q \,d x \] Input:

int(F^(c*(a + b*x))*(f*tanh(d + e*x))^p*(g*tanh(d + e*x))^q,x)
 

Output:

int(F^(c*(a + b*x))*(f*tanh(d + e*x))^p*(g*tanh(d + e*x))^q, x)
 

Reduce [F]

\[ \int F^{c (a+b x)} (f \tanh (d+e x))^p (g \tanh (d+e x))^q \, dx=g^{q} f^{a c +p} \left (\int f^{b c x} \tanh \left (e x +d \right )^{p +q}d x \right ) \] Input:

int(F^(c*(b*x+a))*(f*tanh(e*x+d))^p*(g*tanh(e*x+d))^q,x)
 

Output:

g**q*f**(a*c + p)*int(f**(b*c*x)*tanh(d + e*x)**(p + q),x)