\(\int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx\) [102]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [A] (verified)
Fricas [B] (verification not implemented)
Sympy [F(-1)]
Maxima [B] (verification not implemented)
Giac [C] (verification not implemented)
Mupad [B] (verification not implemented)
Reduce [F]

Optimal result

Integrand size = 26, antiderivative size = 169 \[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=\frac {F^{c (a+b x)} (b c \cos (d+e x) \log (F)+e \sin (d+e x))}{8 \left (e^2+b^2 c^2 \log ^2(F)\right )}-\frac {F^{c (a+b x)} (b c \cos (3 d+3 e x) \log (F)+3 e \sin (3 d+3 e x))}{16 \left (9 e^2+b^2 c^2 \log ^2(F)\right )}-\frac {F^{c (a+b x)} (b c \cos (5 d+5 e x) \log (F)+5 e \sin (5 d+5 e x))}{16 \left (25 e^2+b^2 c^2 \log ^2(F)\right )} \] Output:

F^(c*(b*x+a))*(b*c*cos(e*x+d)*ln(F)+e*sin(e*x+d))/(8*e^2+8*b^2*c^2*ln(F)^2 
)-F^(c*(b*x+a))*(b*c*cos(3*e*x+3*d)*ln(F)+3*e*sin(3*e*x+3*d))/(144*e^2+16* 
b^2*c^2*ln(F)^2)-F^(c*(b*x+a))*(b*c*cos(5*e*x+5*d)*ln(F)+5*e*sin(5*e*x+5*d 
))/(400*e^2+16*b^2*c^2*ln(F)^2)
 

Mathematica [A] (verified)

Time = 0.74 (sec) , antiderivative size = 145, normalized size of antiderivative = 0.86 \[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=\frac {1}{16} F^{c (a+b x)} \left (\frac {2 (b c \cos (d+e x) \log (F)+e \sin (d+e x))}{e^2+b^2 c^2 \log ^2(F)}-\frac {b c \cos (3 (d+e x)) \log (F)+3 e \sin (3 (d+e x))}{9 e^2+b^2 c^2 \log ^2(F)}-\frac {b c \cos (5 (d+e x)) \log (F)+5 e \sin (5 (d+e x))}{25 e^2+b^2 c^2 \log ^2(F)}\right ) \] Input:

Integrate[F^(c*(a + b*x))*Cos[d + e*x]^3*Sin[d + e*x]^2,x]
 

Output:

(F^(c*(a + b*x))*((2*(b*c*Cos[d + e*x]*Log[F] + e*Sin[d + e*x]))/(e^2 + b^ 
2*c^2*Log[F]^2) - (b*c*Cos[3*(d + e*x)]*Log[F] + 3*e*Sin[3*(d + e*x)])/(9* 
e^2 + b^2*c^2*Log[F]^2) - (b*c*Cos[5*(d + e*x)]*Log[F] + 5*e*Sin[5*(d + e* 
x)])/(25*e^2 + b^2*c^2*Log[F]^2)))/16
 

Rubi [A] (verified)

Time = 0.40 (sec) , antiderivative size = 252, normalized size of antiderivative = 1.49, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {4972, 2009}

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 \sin ^2(d+e x) \cos ^3(d+e x) F^{c (a+b x)} \, dx\)

\(\Big \downarrow \) 4972

\(\displaystyle \int \left (\frac {1}{8} \cos (d+e x) F^{c (a+b x)}-\frac {1}{16} \cos (3 d+3 e x) F^{c (a+b x)}-\frac {1}{16} \cos (5 d+5 e x) F^{c (a+b x)}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {e \sin (d+e x) F^{c (a+b x)}}{8 \left (b^2 c^2 \log ^2(F)+e^2\right )}-\frac {3 e \sin (3 d+3 e x) F^{c (a+b x)}}{16 \left (b^2 c^2 \log ^2(F)+9 e^2\right )}-\frac {5 e \sin (5 d+5 e x) F^{c (a+b x)}}{16 \left (b^2 c^2 \log ^2(F)+25 e^2\right )}+\frac {b c \log (F) \cos (d+e x) F^{c (a+b x)}}{8 \left (b^2 c^2 \log ^2(F)+e^2\right )}-\frac {b c \log (F) \cos (3 d+3 e x) F^{c (a+b x)}}{16 \left (b^2 c^2 \log ^2(F)+9 e^2\right )}-\frac {b c \log (F) \cos (5 d+5 e x) F^{c (a+b x)}}{16 \left (b^2 c^2 \log ^2(F)+25 e^2\right )}\)

Input:

Int[F^(c*(a + b*x))*Cos[d + e*x]^3*Sin[d + e*x]^2,x]
 

Output:

(b*c*F^(c*(a + b*x))*Cos[d + e*x]*Log[F])/(8*(e^2 + b^2*c^2*Log[F]^2)) - ( 
b*c*F^(c*(a + b*x))*Cos[3*d + 3*e*x]*Log[F])/(16*(9*e^2 + b^2*c^2*Log[F]^2 
)) - (b*c*F^(c*(a + b*x))*Cos[5*d + 5*e*x]*Log[F])/(16*(25*e^2 + b^2*c^2*L 
og[F]^2)) + (e*F^(c*(a + b*x))*Sin[d + e*x])/(8*(e^2 + b^2*c^2*Log[F]^2)) 
- (3*e*F^(c*(a + b*x))*Sin[3*d + 3*e*x])/(16*(9*e^2 + b^2*c^2*Log[F]^2)) - 
 (5*e*F^(c*(a + b*x))*Sin[5*d + 5*e*x])/(16*(25*e^2 + b^2*c^2*Log[F]^2))
 

Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 4972
Int[Cos[(f_.) + (g_.)*(x_)]^(n_.)*(F_)^((c_.)*((a_.) + (b_.)*(x_)))*Sin[(d_ 
.) + (e_.)*(x_)]^(m_.), x_Symbol] :> Int[ExpandTrigReduce[F^(c*(a + b*x)), 
Sin[d + e*x]^m*Cos[f + g*x]^n, x], x] /; FreeQ[{F, a, b, c, d, e, f, g}, x] 
 && IGtQ[m, 0] && IGtQ[n, 0]
 
Maple [A] (verified)

Time = 3.43 (sec) , antiderivative size = 241, normalized size of antiderivative = 1.43

method result size
risch \(\frac {F^{c \left (b x +a \right )} b c \ln \left (F \right ) \cos \left (e x +d \right )}{8 e^{2}+8 b^{2} c^{2} \ln \left (F \right )^{2}}+\frac {F^{c \left (b x +a \right )} e \sin \left (e x +d \right )}{8 e^{2}+8 b^{2} c^{2} \ln \left (F \right )^{2}}-\frac {F^{c \left (b x +a \right )} b c \ln \left (F \right ) \cos \left (5 e x +5 d \right )}{16 \left (b^{2} c^{2} \ln \left (F \right )^{2}+25 e^{2}\right )}-\frac {5 e \,F^{c \left (b x +a \right )} \sin \left (5 e x +5 d \right )}{16 \left (b^{2} c^{2} \ln \left (F \right )^{2}+25 e^{2}\right )}-\frac {F^{c \left (b x +a \right )} b c \ln \left (F \right ) \cos \left (3 e x +3 d \right )}{16 \left (9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right )}-\frac {3 e \,F^{c \left (b x +a \right )} \sin \left (3 e x +3 d \right )}{16 \left (9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right )}\) \(241\)
parallelrisch \(-\frac {\left (\left (5 \ln \left (F \right )^{4} b^{4} c^{4} e +50 \ln \left (F \right )^{2} b^{2} c^{2} e^{3}+45 e^{5}\right ) \sin \left (5 e x +5 d \right )+\left (\ln \left (F \right )^{5} b^{5} c^{5}+10 \ln \left (F \right )^{3} b^{3} c^{3} e^{2}+9 \ln \left (F \right ) b c \,e^{4}\right ) \cos \left (5 e x +5 d \right )+\left (\left (3 b^{2} c^{2} \ln \left (F \right )^{2} e +3 e^{3}\right ) \sin \left (3 e x +3 d \right )+b c \ln \left (F \right ) \left (e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right ) \cos \left (3 e x +3 d \right )-2 \left (9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right ) \left (b c \cos \left (e x +d \right ) \ln \left (F \right )+e \sin \left (e x +d \right )\right )\right ) \left (b^{2} c^{2} \ln \left (F \right )^{2}+25 e^{2}\right )\right ) F^{c \left (b x +a \right )}}{16 \ln \left (F \right )^{6} b^{6} c^{6}+560 \ln \left (F \right )^{4} b^{4} c^{4} e^{2}+4144 \ln \left (F \right )^{2} b^{2} c^{2} e^{4}+3600 e^{6}}\) \(269\)
default \(-\frac {F^{a c} \left (\frac {\frac {b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )}}{9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}+\frac {6 e \,{\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {3 e x}{2}+\frac {3 d}{2}\right )}{9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}-\frac {b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {3 e x}{2}+\frac {3 d}{2}\right )^{2}}{9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}}{1+\tan \left (\frac {3 e x}{2}+\frac {3 d}{2}\right )^{2}}+\frac {\frac {b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )}}{b^{2} c^{2} \ln \left (F \right )^{2}+25 e^{2}}+\frac {10 e \,{\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {5 e x}{2}+\frac {5 d}{2}\right )}{b^{2} c^{2} \ln \left (F \right )^{2}+25 e^{2}}-\frac {b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {5 e x}{2}+\frac {5 d}{2}\right )^{2}}{b^{2} c^{2} \ln \left (F \right )^{2}+25 e^{2}}}{1+\tan \left (\frac {5 e x}{2}+\frac {5 d}{2}\right )^{2}}+\frac {-\frac {4 e \,{\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {e x}{2}+\frac {d}{2}\right )}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}-\frac {2 b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )}}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}+\frac {2 b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {e x}{2}+\frac {d}{2}\right )^{2}}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}}{1+\tan \left (\frac {e x}{2}+\frac {d}{2}\right )^{2}}\right )}{16}\) \(391\)
orering \(\text {Expression too large to display}\) \(1889\)

Input:

int(F^(c*(b*x+a))*cos(e*x+d)^3*sin(e*x+d)^2,x,method=_RETURNVERBOSE)
 

Output:

1/8/(e^2+b^2*c^2*ln(F)^2)*F^(c*(b*x+a))*b*c*ln(F)*cos(e*x+d)+1/8/(e^2+b^2* 
c^2*ln(F)^2)*e*F^(c*(b*x+a))*sin(e*x+d)-1/16/(b^2*c^2*ln(F)^2+25*e^2)*F^(c 
*(b*x+a))*b*c*ln(F)*cos(5*e*x+5*d)-5/16/(b^2*c^2*ln(F)^2+25*e^2)*e*F^(c*(b 
*x+a))*sin(5*e*x+5*d)-1/16/(9*e^2+b^2*c^2*ln(F)^2)*F^(c*(b*x+a))*b*c*ln(F) 
*cos(3*e*x+3*d)-3/16/(9*e^2+b^2*c^2*ln(F)^2)*e*F^(c*(b*x+a))*sin(3*e*x+3*d 
)
 

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 343 vs. \(2 (163) = 326\).

Time = 0.25 (sec) , antiderivative size = 343, normalized size of antiderivative = 2.03 \[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=-\frac {{\left ({\left (b^{5} c^{5} \cos \left (e x + d\right )^{5} - b^{5} c^{5} \cos \left (e x + d\right )^{3}\right )} \log \left (F\right )^{5} + 2 \, {\left (5 \, b^{3} c^{3} e^{2} \cos \left (e x + d\right )^{5} - 3 \, b^{3} c^{3} e^{2} \cos \left (e x + d\right )^{3} - 3 \, b^{3} c^{3} e^{2} \cos \left (e x + d\right )\right )} \log \left (F\right )^{3} + {\left (9 \, b c e^{4} \cos \left (e x + d\right )^{5} - 5 \, b c e^{4} \cos \left (e x + d\right )^{3} - 30 \, b c e^{4} \cos \left (e x + d\right )\right )} \log \left (F\right ) + {\left (45 \, e^{5} \cos \left (e x + d\right )^{4} - 15 \, e^{5} \cos \left (e x + d\right )^{2} - 30 \, e^{5} + {\left (5 \, b^{4} c^{4} e \cos \left (e x + d\right )^{4} - 3 \, b^{4} c^{4} e \cos \left (e x + d\right )^{2}\right )} \log \left (F\right )^{4} + 2 \, {\left (25 \, b^{2} c^{2} e^{3} \cos \left (e x + d\right )^{4} - 9 \, b^{2} c^{2} e^{3} \cos \left (e x + d\right )^{2} - 3 \, b^{2} c^{2} e^{3}\right )} \log \left (F\right )^{2}\right )} \sin \left (e x + d\right )\right )} F^{b c x + a c}}{b^{6} c^{6} \log \left (F\right )^{6} + 35 \, b^{4} c^{4} e^{2} \log \left (F\right )^{4} + 259 \, b^{2} c^{2} e^{4} \log \left (F\right )^{2} + 225 \, e^{6}} \] Input:

integrate(F^(c*(b*x+a))*cos(e*x+d)^3*sin(e*x+d)^2,x, algorithm="fricas")
 

Output:

-((b^5*c^5*cos(e*x + d)^5 - b^5*c^5*cos(e*x + d)^3)*log(F)^5 + 2*(5*b^3*c^ 
3*e^2*cos(e*x + d)^5 - 3*b^3*c^3*e^2*cos(e*x + d)^3 - 3*b^3*c^3*e^2*cos(e* 
x + d))*log(F)^3 + (9*b*c*e^4*cos(e*x + d)^5 - 5*b*c*e^4*cos(e*x + d)^3 - 
30*b*c*e^4*cos(e*x + d))*log(F) + (45*e^5*cos(e*x + d)^4 - 15*e^5*cos(e*x 
+ d)^2 - 30*e^5 + (5*b^4*c^4*e*cos(e*x + d)^4 - 3*b^4*c^4*e*cos(e*x + d)^2 
)*log(F)^4 + 2*(25*b^2*c^2*e^3*cos(e*x + d)^4 - 9*b^2*c^2*e^3*cos(e*x + d) 
^2 - 3*b^2*c^2*e^3)*log(F)^2)*sin(e*x + d))*F^(b*c*x + a*c)/(b^6*c^6*log(F 
)^6 + 35*b^4*c^4*e^2*log(F)^4 + 259*b^2*c^2*e^4*log(F)^2 + 225*e^6)
 

Sympy [F(-1)]

Timed out. \[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=\text {Timed out} \] Input:

integrate(F**(c*(b*x+a))*cos(e*x+d)**3*sin(e*x+d)**2,x)
                                                                                    
                                                                                    
 

Output:

Timed out
 

Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 1798 vs. \(2 (163) = 326\).

Time = 0.13 (sec) , antiderivative size = 1798, normalized size of antiderivative = 10.64 \[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=\text {Too large to display} \] Input:

integrate(F^(c*(b*x+a))*cos(e*x+d)^3*sin(e*x+d)^2,x, algorithm="maxima")
 

Output:

-1/32*((F^(a*c)*b^5*c^5*cos(5*d)*log(F)^5 + 5*F^(a*c)*b^4*c^4*e*log(F)^4*s 
in(5*d) + 10*F^(a*c)*b^3*c^3*e^2*cos(5*d)*log(F)^3 + 50*F^(a*c)*b^2*c^2*e^ 
3*log(F)^2*sin(5*d) + 9*F^(a*c)*b*c*e^4*cos(5*d)*log(F) + 45*F^(a*c)*e^5*s 
in(5*d))*F^(b*c*x)*cos(5*e*x) + (F^(a*c)*b^5*c^5*cos(5*d)*log(F)^5 - 5*F^( 
a*c)*b^4*c^4*e*log(F)^4*sin(5*d) + 10*F^(a*c)*b^3*c^3*e^2*cos(5*d)*log(F)^ 
3 - 50*F^(a*c)*b^2*c^2*e^3*log(F)^2*sin(5*d) + 9*F^(a*c)*b*c*e^4*cos(5*d)* 
log(F) - 45*F^(a*c)*e^5*sin(5*d))*F^(b*c*x)*cos(5*e*x + 10*d) + (F^(a*c)*b 
^5*c^5*cos(5*d)*log(F)^5 - 3*F^(a*c)*b^4*c^4*e*log(F)^4*sin(5*d) + 26*F^(a 
*c)*b^3*c^3*e^2*cos(5*d)*log(F)^3 - 78*F^(a*c)*b^2*c^2*e^3*log(F)^2*sin(5* 
d) + 25*F^(a*c)*b*c*e^4*cos(5*d)*log(F) - 75*F^(a*c)*e^5*sin(5*d))*F^(b*c* 
x)*cos(3*e*x + 8*d) + (F^(a*c)*b^5*c^5*cos(5*d)*log(F)^5 + 3*F^(a*c)*b^4*c 
^4*e*log(F)^4*sin(5*d) + 26*F^(a*c)*b^3*c^3*e^2*cos(5*d)*log(F)^3 + 78*F^( 
a*c)*b^2*c^2*e^3*log(F)^2*sin(5*d) + 25*F^(a*c)*b*c*e^4*cos(5*d)*log(F) + 
75*F^(a*c)*e^5*sin(5*d))*F^(b*c*x)*cos(3*e*x - 2*d) - 2*(F^(a*c)*b^5*c^5*c 
os(5*d)*log(F)^5 - F^(a*c)*b^4*c^4*e*log(F)^4*sin(5*d) + 34*F^(a*c)*b^3*c^ 
3*e^2*cos(5*d)*log(F)^3 - 34*F^(a*c)*b^2*c^2*e^3*log(F)^2*sin(5*d) + 225*F 
^(a*c)*b*c*e^4*cos(5*d)*log(F) - 225*F^(a*c)*e^5*sin(5*d))*F^(b*c*x)*cos(e 
*x + 6*d) - 2*(F^(a*c)*b^5*c^5*cos(5*d)*log(F)^5 + F^(a*c)*b^4*c^4*e*log(F 
)^4*sin(5*d) + 34*F^(a*c)*b^3*c^3*e^2*cos(5*d)*log(F)^3 + 34*F^(a*c)*b^2*c 
^2*e^3*log(F)^2*sin(5*d) + 225*F^(a*c)*b*c*e^4*cos(5*d)*log(F) + 225*F^...
 

Giac [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.20 (sec) , antiderivative size = 1909, normalized size of antiderivative = 11.30 \[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=\text {Too large to display} \] Input:

integrate(F^(c*(b*x+a))*cos(e*x+d)^3*sin(e*x+d)^2,x, algorithm="giac")
 

Output:

-1/16*(2*b*c*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 + 5*e*x + 5*d)*log(abs(F))/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*s 
gn(F) - pi*b*c + 10*e)^2) + (pi*b*c*sgn(F) - pi*b*c + 10*e)*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 + 5*e*x + 5*d)/( 
4*b^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c + 10*e)^2))*e^(b*c*x*log 
(abs(F)) + a*c*log(abs(F))) - 1/16*(2*b*c*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 + 3*e*x + 3*d)*log(abs(F))/(4*b^2* 
c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c + 6*e)^2) + (pi*b*c*sgn(F) - p 
i*b*c + 6*e)*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 + 3*e*x + 3*d)/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b 
*c + 6*e)^2))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F))) + 1/8*(2*b*c*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 + e*x + d 
)*log(abs(F))/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c + 2*e)^2) 
 + (pi*b*c*sgn(F) - pi*b*c + 2*e)*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 + e*x + d)/(4*b^2*c^2*log(abs(F))^2 + (pi* 
b*c*sgn(F) - pi*b*c + 2*e)^2))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F))) + 1 
/8*(2*b*c*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 - e*x - d)*log(abs(F))/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - 
 pi*b*c - 2*e)^2) + (pi*b*c*sgn(F) - pi*b*c - 2*e)*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 - e*x - d)/(4*b^2*c^2*...
 

Mupad [B] (verification not implemented)

Time = 16.41 (sec) , antiderivative size = 290, normalized size of antiderivative = 1.72 \[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=-\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (e\,x\right )+\sin \left (e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (d\right )+\sin \left (d\right )\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{16\,\left (e-b\,c\,\ln \left (F\right )\,1{}\mathrm {i}\right )}+\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (3\,e\,x\right )-\sin \left (3\,e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (3\,d\right )-\sin \left (3\,d\right )\,1{}\mathrm {i}\right )}{32\,\left (-b\,c\,\ln \left (F\right )+e\,3{}\mathrm {i}\right )}+\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (3\,e\,x\right )+\sin \left (3\,e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (3\,d\right )+\sin \left (3\,d\right )\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{32\,\left (3\,e-b\,c\,\ln \left (F\right )\,1{}\mathrm {i}\right )}+\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (5\,e\,x\right )-\sin \left (5\,e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (5\,d\right )-\sin \left (5\,d\right )\,1{}\mathrm {i}\right )}{32\,\left (-b\,c\,\ln \left (F\right )+e\,5{}\mathrm {i}\right )}+\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (5\,e\,x\right )+\sin \left (5\,e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (5\,d\right )+\sin \left (5\,d\right )\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{32\,\left (5\,e-b\,c\,\ln \left (F\right )\,1{}\mathrm {i}\right )}-\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (e\,x\right )-\sin \left (e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (d\right )-\sin \left (d\right )\,1{}\mathrm {i}\right )}{16\,\left (-b\,c\,\ln \left (F\right )+e\,1{}\mathrm {i}\right )} \] Input:

int(F^(c*(a + b*x))*cos(d + e*x)^3*sin(d + e*x)^2,x)
 

Output:

(F^(c*(a + b*x))*(cos(3*e*x) - sin(3*e*x)*1i)*(cos(3*d) - sin(3*d)*1i))/(3 
2*(e*3i - b*c*log(F))) - (F^(c*(a + b*x))*(cos(e*x) + sin(e*x)*1i)*(cos(d) 
 + sin(d)*1i)*1i)/(16*(e - b*c*log(F)*1i)) + (F^(c*(a + b*x))*(cos(3*e*x) 
+ sin(3*e*x)*1i)*(cos(3*d) + sin(3*d)*1i)*1i)/(32*(3*e - b*c*log(F)*1i)) + 
 (F^(c*(a + b*x))*(cos(5*e*x) - sin(5*e*x)*1i)*(cos(5*d) - sin(5*d)*1i))/( 
32*(e*5i - b*c*log(F))) + (F^(c*(a + b*x))*(cos(5*e*x) + sin(5*e*x)*1i)*(c 
os(5*d) + sin(5*d)*1i)*1i)/(32*(5*e - b*c*log(F)*1i)) - (F^(c*(a + b*x))*( 
cos(e*x) - sin(e*x)*1i)*(cos(d) - sin(d)*1i))/(16*(e*1i - b*c*log(F)))
 

Reduce [F]

\[ \int F^{c (a+b x)} \cos ^3(d+e x) \sin ^2(d+e x) \, dx=f^{a c} \left (\int f^{b c x} \cos \left (e x +d \right )^{3} \sin \left (e x +d \right )^{2}d x \right ) \] Input:

int(F^(c*(b*x+a))*cos(e*x+d)^3*sin(e*x+d)^2,x)
 

Output:

f**(a*c)*int(f**(b*c*x)*cos(d + e*x)**3*sin(d + e*x)**2,x)