Integrand size = 22, antiderivative size = 113 \[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=-\frac {\left (1+e^{\frac {1}{2} i (2 d-\pi +2 e x)}\right )^{-2 n} F^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (-2 n,-n-\frac {i b c \log (F)}{e},1-n-\frac {i b c \log (F)}{e},i e^{i (d+e x)}\right ) (f+f \sin (d+e x))^n}{i e n-b c \log (F)} \] Output:
-F^(c*(b*x+a))*hypergeom([-2*n, -n-I*b*c*ln(F)/e],[1-n-I*b*c*ln(F)/e],I*ex p(I*(e*x+d)))*(f+f*sin(e*x+d))^n/((1+exp(1/2*I*(2*e*x-Pi+2*d)))^(2*n))/(I* e*n-b*c*ln(F))
Time = 0.41 (sec) , antiderivative size = 146, normalized size of antiderivative = 1.29 \[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=\frac {i 2^n F^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (-2 n,-n-\frac {i b c \log (F)}{e},1-n-\frac {i b c \log (F)}{e},i \cos (d+e x)-\sin (d+e x)\right ) \left (f \left (\cos \left (\frac {1}{2} (d+e x)\right )+\sin \left (\frac {1}{2} (d+e x)\right )\right )^2\right )^n (1-i \cos (d+e x)+\sin (d+e x))^{-2 n} (\cosh (n \log (2))-\sinh (n \log (2)))}{e n+i b c \log (F)} \] Input:
Integrate[F^(c*(a + b*x))*(f + f*Sin[d + e*x])^n,x]
Output:
(I*2^n*F^(c*(a + b*x))*Hypergeometric2F1[-2*n, -n - (I*b*c*Log[F])/e, 1 - n - (I*b*c*Log[F])/e, I*Cos[d + e*x] - Sin[d + e*x]]*(f*(Cos[(d + e*x)/2] + Sin[(d + e*x)/2])^2)^n*(Cosh[n*Log[2]] - Sinh[n*Log[2]]))/((e*n + I*b*c* Log[F])*(1 - I*Cos[d + e*x] + Sin[d + e*x])^(2*n))
Time = 0.44 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.02, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {4959, 4940, 2689}
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 \sin (d+e x)+f)^n \, dx\) |
\(\Big \downarrow \) 4959 |
\(\displaystyle \sin ^{-2 n}\left (\frac {d}{2}+\frac {e x}{2}+\frac {\pi }{4}\right ) (f \sin (d+e x)+f)^n \int F^{c (a+b x)} \sin ^{2 n}\left (\frac {d}{2}+\frac {e x}{2}+\frac {\pi }{4}\right )dx\) |
\(\Big \downarrow \) 4940 |
\(\displaystyle e^{\frac {1}{2} i n (2 d+2 e x+\pi )} \left (-1+e^{\frac {1}{2} i (2 d+2 e x+\pi )}\right )^{-2 n} (f \sin (d+e x)+f)^n \int e^{-\frac {1}{2} i n (2 d+2 e x+\pi )} \left (-1+e^{\frac {1}{2} i (2 d+2 e x+\pi )}\right )^{2 n} F^{c (a+b x)}dx\) |
\(\Big \downarrow \) 2689 |
\(\displaystyle -\frac {\left (1-e^{\frac {1}{2} i (2 d+2 e x+\pi )}\right )^{-2 n} F^{c (a+b x)} (f \sin (d+e x)+f)^n \operatorname {Hypergeometric2F1}\left (-2 n,-n-\frac {i b c \log (F)}{e},-n-\frac {i b c \log (F)}{e}+1,e^{\frac {1}{2} i (2 d+2 e x+\pi )}\right )}{-b c \log (F)+i e n}\) |
Input:
Int[F^(c*(a + b*x))*(f + f*Sin[d + e*x])^n,x]
Output:
-((F^(c*(a + b*x))*Hypergeometric2F1[-2*n, -n - (I*b*c*Log[F])/e, 1 - n - (I*b*c*Log[F])/e, E^((I/2)*(2*d + Pi + 2*e*x))]*(f + f*Sin[d + e*x])^n)/(( 1 - E^((I/2)*(2*d + Pi + 2*e*x)))^(2*n)*(I*e*n - b*c*Log[F])))
Int[((a_) + (b_.)*(F_)^((e_.)*((c_.) + (d_.)*(x_))))^(p_)*(G_)^((h_.)*((f_. ) + (g_.)*(x_)))*(H_)^((t_.)*((r_.) + (s_.)*(x_))), x_Symbol] :> Simp[G^(h* (f + g*x))*H^(t*(r + s*x))*((a + b*F^(e*(c + d*x)))^p/((g*h*Log[G] + s*t*Lo g[H])*((a + b*F^(e*(c + d*x)))/a)^p))*Hypergeometric2F1[-p, (g*h*Log[G] + s *t*Log[H])/(d*e*Log[F]), (g*h*Log[G] + s*t*Log[H])/(d*e*Log[F]) + 1, Simpli fy[(-b/a)*F^(e*(c + d*x))]], x] /; FreeQ[{F, G, H, a, b, c, d, e, f, g, h, r, s, t, p}, x] && !IntegerQ[p]
Int[(F_)^((c_.)*((a_.) + (b_.)*(x_)))*Sin[(d_.) + (e_.)*(x_)]^(n_), x_Symbo l] :> Simp[E^(I*n*(d + e*x))*(Sin[d + e*x]^n/(-1 + E^(2*I*(d + e*x)))^n) Int[F^(c*(a + b*x))*((-1 + E^(2*I*(d + e*x)))^n/E^(I*n*(d + e*x))), x], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && !IntegerQ[n]
Int[(F_)^((c_.)*((a_.) + (b_.)*(x_)))*((f_) + (g_.)*Sin[(d_.) + (e_.)*(x_)] )^(n_.), x_Symbol] :> Simp[(f + g*Sin[d + e*x])^n/Cos[d/2 - f*(Pi/(4*g)) + e*(x/2)]^(2*n) Int[F^(c*(a + b*x))*Cos[d/2 - f*(Pi/(4*g)) + e*(x/2)]^(2*n ), x], x] /; FreeQ[{F, a, b, c, d, e, f, g, n}, x] && EqQ[f^2 - g^2, 0] && !IntegerQ[n]
\[\int F^{c \left (b x +a \right )} \left (f +f \sin \left (e x +d \right )\right )^{n}d x\]
Input:
int(F^(c*(b*x+a))*(f+f*sin(e*x+d))^n,x)
Output:
int(F^(c*(b*x+a))*(f+f*sin(e*x+d))^n,x)
\[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=\int { {\left (f \sin \left (e x + d\right ) + f\right )}^{n} F^{{\left (b x + a\right )} c} \,d x } \] Input:
integrate(F^(c*(b*x+a))*(f+f*sin(e*x+d))^n,x, algorithm="fricas")
Output:
integral((f*sin(e*x + d) + f)^n*F^(b*c*x + a*c), x)
\[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=\int F^{c \left (a + b x\right )} \left (f \left (\sin {\left (d + e x \right )} + 1\right )\right )^{n}\, dx \] Input:
integrate(F**(c*(b*x+a))*(f+f*sin(e*x+d))**n,x)
Output:
Integral(F**(c*(a + b*x))*(f*(sin(d + e*x) + 1))**n, x)
\[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=\int { {\left (f \sin \left (e x + d\right ) + f\right )}^{n} F^{{\left (b x + a\right )} c} \,d x } \] Input:
integrate(F^(c*(b*x+a))*(f+f*sin(e*x+d))^n,x, algorithm="maxima")
Output:
integrate((f*sin(e*x + d) + f)^n*F^((b*x + a)*c), x)
\[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=\int { {\left (f \sin \left (e x + d\right ) + f\right )}^{n} F^{{\left (b x + a\right )} c} \,d x } \] Input:
integrate(F^(c*(b*x+a))*(f+f*sin(e*x+d))^n,x, algorithm="giac")
Output:
integrate((f*sin(e*x + d) + f)^n*F^((b*x + a)*c), x)
Timed out. \[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=\int F^{c\,\left (a+b\,x\right )}\,{\left (f+f\,\sin \left (d+e\,x\right )\right )}^n \,d x \] Input:
int(F^(c*(a + b*x))*(f + f*sin(d + e*x))^n,x)
Output:
int(F^(c*(a + b*x))*(f + f*sin(d + e*x))^n, x)
\[ \int F^{c (a+b x)} (f+f \sin (d+e x))^n \, dx=\frac {f^{a c} \left (f^{b c x} \left (\sin \left (e x +d \right ) f +f \right )^{n}-\left (\int \frac {f^{b c x} \left (\sin \left (e x +d \right ) f +f \right )^{n} \cos \left (e x +d \right )}{\sin \left (e x +d \right )+1}d x \right ) e n \right )}{\mathrm {log}\left (f \right ) b c} \] Input:
int(F^(c*(b*x+a))*(f+f*sin(e*x+d))^n,x)
Output:
(f**(a*c)*(f**(b*c*x)*(sin(d + e*x)*f + f)**n - int((f**(b*c*x)*(sin(d + e *x)*f + f)**n*cos(d + e*x))/(sin(d + e*x) + 1),x)*e*n))/(log(f)*b*c)