Integrand size = 26, antiderivative size = 615 \[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\frac {15 d^2 \sqrt {c+d x} \cos (a+b x)}{32 b^3}-\frac {(c+d x)^{5/2} \cos (a+b x)}{8 b}+\frac {5 d^2 \sqrt {c+d x} \cos (3 a+3 b x)}{576 b^3}-\frac {(c+d x)^{5/2} \cos (3 a+3 b x)}{48 b}-\frac {3 d^2 \sqrt {c+d x} \cos (5 a+5 b x)}{1600 b^3}+\frac {(c+d x)^{5/2} \cos (5 a+5 b x)}{80 b}-\frac {15 d^{5/2} \sqrt {\frac {\pi }{2}} \cos \left (a-\frac {b c}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {b} \sqrt {\frac {2}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{32 b^{7/2}}-\frac {5 d^{5/2} \sqrt {\frac {\pi }{6}} \cos \left (3 a-\frac {3 b c}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {b} \sqrt {\frac {6}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{576 b^{7/2}}+\frac {3 d^{5/2} \sqrt {\frac {\pi }{10}} \cos \left (5 a-\frac {5 b c}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {b} \sqrt {\frac {10}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{1600 b^{7/2}}-\frac {3 d^{5/2} \sqrt {\frac {\pi }{10}} \operatorname {FresnelS}\left (\frac {\sqrt {b} \sqrt {\frac {10}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right ) \sin \left (5 a-\frac {5 b c}{d}\right )}{1600 b^{7/2}}+\frac {5 d^{5/2} \sqrt {\frac {\pi }{6}} \operatorname {FresnelS}\left (\frac {\sqrt {b} \sqrt {\frac {6}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right ) \sin \left (3 a-\frac {3 b c}{d}\right )}{576 b^{7/2}}+\frac {15 d^{5/2} \sqrt {\frac {\pi }{2}} \operatorname {FresnelS}\left (\frac {\sqrt {b} \sqrt {\frac {2}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right ) \sin \left (a-\frac {b c}{d}\right )}{32 b^{7/2}}+\frac {5 d (c+d x)^{3/2} \sin (a+b x)}{16 b^2}+\frac {5 d (c+d x)^{3/2} \sin (3 a+3 b x)}{288 b^2}-\frac {d (c+d x)^{3/2} \sin (5 a+5 b x)}{160 b^2} \] Output:
15/32*d^2*(d*x+c)^(1/2)*cos(b*x+a)/b^3-1/8*(d*x+c)^(5/2)*cos(b*x+a)/b+5/57 6*d^2*(d*x+c)^(1/2)*cos(3*b*x+3*a)/b^3-1/48*(d*x+c)^(5/2)*cos(3*b*x+3*a)/b -3/1600*d^2*(d*x+c)^(1/2)*cos(5*b*x+5*a)/b^3+1/80*(d*x+c)^(5/2)*cos(5*b*x+ 5*a)/b-15/64*d^(5/2)*2^(1/2)*Pi^(1/2)*cos(a-b*c/d)*FresnelC(b^(1/2)*2^(1/2 )/Pi^(1/2)*(d*x+c)^(1/2)/d^(1/2))/b^(7/2)-5/3456*d^(5/2)*6^(1/2)*Pi^(1/2)* cos(3*a-3*b*c/d)*FresnelC(b^(1/2)*6^(1/2)/Pi^(1/2)*(d*x+c)^(1/2)/d^(1/2))/ b^(7/2)+3/16000*d^(5/2)*10^(1/2)*Pi^(1/2)*cos(5*a-5*b*c/d)*FresnelC(b^(1/2 )*10^(1/2)/Pi^(1/2)*(d*x+c)^(1/2)/d^(1/2))/b^(7/2)-3/16000*d^(5/2)*10^(1/2 )*Pi^(1/2)*FresnelS(b^(1/2)*10^(1/2)/Pi^(1/2)*(d*x+c)^(1/2)/d^(1/2))*sin(5 *a-5*b*c/d)/b^(7/2)+5/3456*d^(5/2)*6^(1/2)*Pi^(1/2)*FresnelS(b^(1/2)*6^(1/ 2)/Pi^(1/2)*(d*x+c)^(1/2)/d^(1/2))*sin(3*a-3*b*c/d)/b^(7/2)+15/64*d^(5/2)* 2^(1/2)*Pi^(1/2)*FresnelS(b^(1/2)*2^(1/2)/Pi^(1/2)*(d*x+c)^(1/2)/d^(1/2))* sin(a-b*c/d)/b^(7/2)+5/16*d*(d*x+c)^(3/2)*sin(b*x+a)/b^2+5/288*d*(d*x+c)^( 3/2)*sin(3*b*x+3*a)/b^2-1/160*d*(d*x+c)^(3/2)*sin(5*b*x+5*a)/b^2
Result contains complex when optimal does not.
Time = 13.10 (sec) , antiderivative size = 2177, normalized size of antiderivative = 3.54 \[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\text {Result too large to show} \] Input:
Integrate[(c + d*x)^(5/2)*Cos[a + b*x]^2*Sin[a + b*x]^3,x]
Output:
(c*Sqrt[d]*(-12*Sqrt[b]*Sqrt[d]*E^(((3*I)*b*c)/d)*Sqrt[c + d*x]*(-I + 2*b* x + E^((6*I)*(a + b*x))*(I + 2*b*x)) - (1 - I)*(2*b*c + I*d)*E^(((3*I)*b*( 2*c + d*x))/d)*Sqrt[6*Pi]*Erf[((1 + I)*Sqrt[3/2]*Sqrt[b]*Sqrt[c + d*x])/Sq rt[d]] + (1 + I)*((2*I)*b*c + d)*E^((3*I)*(2*a + b*x))*Sqrt[6*Pi]*Erfi[((1 + I)*Sqrt[3/2]*Sqrt[b]*Sqrt[c + d*x])/Sqrt[d]]))/(1152*b^(5/2)*E^(((3*I)* (a*d + b*(c + d*x)))/d)) - (c*Sqrt[d]*(-20*Sqrt[b]*Sqrt[d]*E^(((5*I)*b*c)/ d)*Sqrt[c + d*x]*(-3*I + 10*b*x + E^((10*I)*(a + b*x))*(3*I + 10*b*x)) - ( 1 - I)*(10*b*c + (3*I)*d)*E^(((5*I)*b*(2*c + d*x))/d)*Sqrt[10*Pi]*Erf[((1 + I)*Sqrt[5/2]*Sqrt[b]*Sqrt[c + d*x])/Sqrt[d]] + (1 + I)*((10*I)*b*c + 3*d )*E^((5*I)*(2*a + b*x))*Sqrt[10*Pi]*Erfi[((1 + I)*Sqrt[5/2]*Sqrt[b]*Sqrt[c + d*x])/Sqrt[d]]))/(16000*b^(5/2)*E^(((5*I)*(a*d + b*(c + d*x)))/d)) + (( I/16)*c^2*d*(-(E^((2*I)*a)*Sqrt[((-I)*b*(c + d*x))/d]*Gamma[3/2, ((-I)*b*( c + d*x))/d]) + E^(((2*I)*b*c)/d)*Sqrt[(I*b*(c + d*x))/d]*Gamma[3/2, (I*b* (c + d*x))/d]))/(b^2*E^((I*(b*c + a*d))/d)*Sqrt[c + d*x]) + (c^2*(-1/6*(E^ ((3*I)*(a - (b*c)/d))*Sqrt[c + d*x]*Gamma[3/2, ((-3*I)*b*(c + d*x))/d])/(S qrt[3]*b*Sqrt[((-I)*b*(c + d*x))/d]) - (Sqrt[c + d*x]*Gamma[3/2, ((3*I)*b* (c + d*x))/d])/(6*Sqrt[3]*b*E^((3*I)*(a - (b*c)/d))*Sqrt[(I*b*(c + d*x))/d ])))/16 - (c^2*(-1/10*(E^((5*I)*(a - (b*c)/d))*Sqrt[c + d*x]*Gamma[3/2, (( -5*I)*b*(c + d*x))/d])/(Sqrt[5]*b*Sqrt[((-I)*b*(c + d*x))/d]) - (Sqrt[c + d*x]*Gamma[3/2, ((5*I)*b*(c + d*x))/d])/(10*Sqrt[5]*b*E^((5*I)*(a - (b*...
Time = 1.62 (sec) , antiderivative size = 615, 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.077, Rules used = {4906, 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 (c+d x)^{5/2} \sin ^3(a+b x) \cos ^2(a+b x) \, dx\) |
\(\Big \downarrow \) 4906 |
\(\displaystyle \int \left (\frac {1}{8} (c+d x)^{5/2} \sin (a+b x)+\frac {1}{16} (c+d x)^{5/2} \sin (3 a+3 b x)-\frac {1}{16} (c+d x)^{5/2} \sin (5 a+5 b x)\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {15 \sqrt {\frac {\pi }{2}} d^{5/2} \cos \left (a-\frac {b c}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {b} \sqrt {\frac {2}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{32 b^{7/2}}-\frac {5 \sqrt {\frac {\pi }{6}} d^{5/2} \cos \left (3 a-\frac {3 b c}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {b} \sqrt {\frac {6}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{576 b^{7/2}}+\frac {3 \sqrt {\frac {\pi }{10}} d^{5/2} \cos \left (5 a-\frac {5 b c}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {b} \sqrt {\frac {10}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{1600 b^{7/2}}-\frac {3 \sqrt {\frac {\pi }{10}} d^{5/2} \sin \left (5 a-\frac {5 b c}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {b} \sqrt {\frac {10}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{1600 b^{7/2}}+\frac {5 \sqrt {\frac {\pi }{6}} d^{5/2} \sin \left (3 a-\frac {3 b c}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {b} \sqrt {\frac {6}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{576 b^{7/2}}+\frac {15 \sqrt {\frac {\pi }{2}} d^{5/2} \sin \left (a-\frac {b c}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {b} \sqrt {\frac {2}{\pi }} \sqrt {c+d x}}{\sqrt {d}}\right )}{32 b^{7/2}}+\frac {15 d^2 \sqrt {c+d x} \cos (a+b x)}{32 b^3}+\frac {5 d^2 \sqrt {c+d x} \cos (3 a+3 b x)}{576 b^3}-\frac {3 d^2 \sqrt {c+d x} \cos (5 a+5 b x)}{1600 b^3}+\frac {5 d (c+d x)^{3/2} \sin (a+b x)}{16 b^2}+\frac {5 d (c+d x)^{3/2} \sin (3 a+3 b x)}{288 b^2}-\frac {d (c+d x)^{3/2} \sin (5 a+5 b x)}{160 b^2}-\frac {(c+d x)^{5/2} \cos (a+b x)}{8 b}-\frac {(c+d x)^{5/2} \cos (3 a+3 b x)}{48 b}+\frac {(c+d x)^{5/2} \cos (5 a+5 b x)}{80 b}\) |
Input:
Int[(c + d*x)^(5/2)*Cos[a + b*x]^2*Sin[a + b*x]^3,x]
Output:
(15*d^2*Sqrt[c + d*x]*Cos[a + b*x])/(32*b^3) - ((c + d*x)^(5/2)*Cos[a + b* x])/(8*b) + (5*d^2*Sqrt[c + d*x]*Cos[3*a + 3*b*x])/(576*b^3) - ((c + d*x)^ (5/2)*Cos[3*a + 3*b*x])/(48*b) - (3*d^2*Sqrt[c + d*x]*Cos[5*a + 5*b*x])/(1 600*b^3) + ((c + d*x)^(5/2)*Cos[5*a + 5*b*x])/(80*b) - (15*d^(5/2)*Sqrt[Pi /2]*Cos[a - (b*c)/d]*FresnelC[(Sqrt[b]*Sqrt[2/Pi]*Sqrt[c + d*x])/Sqrt[d]]) /(32*b^(7/2)) - (5*d^(5/2)*Sqrt[Pi/6]*Cos[3*a - (3*b*c)/d]*FresnelC[(Sqrt[ b]*Sqrt[6/Pi]*Sqrt[c + d*x])/Sqrt[d]])/(576*b^(7/2)) + (3*d^(5/2)*Sqrt[Pi/ 10]*Cos[5*a - (5*b*c)/d]*FresnelC[(Sqrt[b]*Sqrt[10/Pi]*Sqrt[c + d*x])/Sqrt [d]])/(1600*b^(7/2)) - (3*d^(5/2)*Sqrt[Pi/10]*FresnelS[(Sqrt[b]*Sqrt[10/Pi ]*Sqrt[c + d*x])/Sqrt[d]]*Sin[5*a - (5*b*c)/d])/(1600*b^(7/2)) + (5*d^(5/2 )*Sqrt[Pi/6]*FresnelS[(Sqrt[b]*Sqrt[6/Pi]*Sqrt[c + d*x])/Sqrt[d]]*Sin[3*a - (3*b*c)/d])/(576*b^(7/2)) + (15*d^(5/2)*Sqrt[Pi/2]*FresnelS[(Sqrt[b]*Sqr t[2/Pi]*Sqrt[c + d*x])/Sqrt[d]]*Sin[a - (b*c)/d])/(32*b^(7/2)) + (5*d*(c + d*x)^(3/2)*Sin[a + b*x])/(16*b^2) + (5*d*(c + d*x)^(3/2)*Sin[3*a + 3*b*x] )/(288*b^2) - (d*(c + d*x)^(3/2)*Sin[5*a + 5*b*x])/(160*b^2)
Int[Cos[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sin[(a_.) + (b _.)*(x_)]^(n_.), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin[a + b*x ]^n*Cos[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && IG tQ[p, 0]
Time = 9.49 (sec) , antiderivative size = 719, normalized size of antiderivative = 1.17
method | result | size |
derivativedivides | \(\frac {-\frac {d \left (d x +c \right )^{\frac {5}{2}} \cos \left (\frac {b \left (d x +c \right )}{d}+\frac {a d -c b}{d}\right )}{8 b}+\frac {5 d \left (\frac {d \left (d x +c \right )^{\frac {3}{2}} \sin \left (\frac {b \left (d x +c \right )}{d}+\frac {a d -c b}{d}\right )}{2 b}-\frac {3 d \left (-\frac {d \sqrt {d x +c}\, \cos \left (\frac {b \left (d x +c \right )}{d}+\frac {a d -c b}{d}\right )}{2 b}+\frac {d \sqrt {2}\, \sqrt {\pi }\, \left (\cos \left (\frac {a d -c b}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )-\sin \left (\frac {a d -c b}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )\right )}{4 b \sqrt {\frac {b}{d}}}\right )}{2 b}\right )}{8 b}-\frac {d \left (d x +c \right )^{\frac {5}{2}} \cos \left (\frac {3 b \left (d x +c \right )}{d}+\frac {3 a d -3 c b}{d}\right )}{48 b}+\frac {5 d \left (\frac {d \left (d x +c \right )^{\frac {3}{2}} \sin \left (\frac {3 b \left (d x +c \right )}{d}+\frac {3 a d -3 c b}{d}\right )}{6 b}-\frac {d \left (-\frac {d \sqrt {d x +c}\, \cos \left (\frac {3 b \left (d x +c \right )}{d}+\frac {3 a d -3 c b}{d}\right )}{6 b}+\frac {d \sqrt {2}\, \sqrt {\pi }\, \sqrt {3}\, \left (\cos \left (\frac {3 a d -3 c b}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {3}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )-\sin \left (\frac {3 a d -3 c b}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {3}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )\right )}{36 b \sqrt {\frac {b}{d}}}\right )}{2 b}\right )}{48 b}+\frac {d \left (d x +c \right )^{\frac {5}{2}} \cos \left (\frac {5 b \left (d x +c \right )}{d}+\frac {5 a d -5 c b}{d}\right )}{80 b}-\frac {d \left (\frac {d \left (d x +c \right )^{\frac {3}{2}} \sin \left (\frac {5 b \left (d x +c \right )}{d}+\frac {5 a d -5 c b}{d}\right )}{10 b}-\frac {3 d \left (-\frac {d \sqrt {d x +c}\, \cos \left (\frac {5 b \left (d x +c \right )}{d}+\frac {5 a d -5 c b}{d}\right )}{10 b}+\frac {d \sqrt {2}\, \sqrt {\pi }\, \sqrt {5}\, \left (\cos \left (\frac {5 a d -5 c b}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {5}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )-\sin \left (\frac {5 a d -5 c b}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {5}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )\right )}{100 b \sqrt {\frac {b}{d}}}\right )}{10 b}\right )}{16 b}}{d}\) | \(719\) |
default | \(\frac {-\frac {d \left (d x +c \right )^{\frac {5}{2}} \cos \left (\frac {b \left (d x +c \right )}{d}+\frac {a d -c b}{d}\right )}{8 b}+\frac {5 d \left (\frac {d \left (d x +c \right )^{\frac {3}{2}} \sin \left (\frac {b \left (d x +c \right )}{d}+\frac {a d -c b}{d}\right )}{2 b}-\frac {3 d \left (-\frac {d \sqrt {d x +c}\, \cos \left (\frac {b \left (d x +c \right )}{d}+\frac {a d -c b}{d}\right )}{2 b}+\frac {d \sqrt {2}\, \sqrt {\pi }\, \left (\cos \left (\frac {a d -c b}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )-\sin \left (\frac {a d -c b}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )\right )}{4 b \sqrt {\frac {b}{d}}}\right )}{2 b}\right )}{8 b}-\frac {d \left (d x +c \right )^{\frac {5}{2}} \cos \left (\frac {3 b \left (d x +c \right )}{d}+\frac {3 a d -3 c b}{d}\right )}{48 b}+\frac {5 d \left (\frac {d \left (d x +c \right )^{\frac {3}{2}} \sin \left (\frac {3 b \left (d x +c \right )}{d}+\frac {3 a d -3 c b}{d}\right )}{6 b}-\frac {d \left (-\frac {d \sqrt {d x +c}\, \cos \left (\frac {3 b \left (d x +c \right )}{d}+\frac {3 a d -3 c b}{d}\right )}{6 b}+\frac {d \sqrt {2}\, \sqrt {\pi }\, \sqrt {3}\, \left (\cos \left (\frac {3 a d -3 c b}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {3}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )-\sin \left (\frac {3 a d -3 c b}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {3}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )\right )}{36 b \sqrt {\frac {b}{d}}}\right )}{2 b}\right )}{48 b}+\frac {d \left (d x +c \right )^{\frac {5}{2}} \cos \left (\frac {5 b \left (d x +c \right )}{d}+\frac {5 a d -5 c b}{d}\right )}{80 b}-\frac {d \left (\frac {d \left (d x +c \right )^{\frac {3}{2}} \sin \left (\frac {5 b \left (d x +c \right )}{d}+\frac {5 a d -5 c b}{d}\right )}{10 b}-\frac {3 d \left (-\frac {d \sqrt {d x +c}\, \cos \left (\frac {5 b \left (d x +c \right )}{d}+\frac {5 a d -5 c b}{d}\right )}{10 b}+\frac {d \sqrt {2}\, \sqrt {\pi }\, \sqrt {5}\, \left (\cos \left (\frac {5 a d -5 c b}{d}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {5}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )-\sin \left (\frac {5 a d -5 c b}{d}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {5}\, b \sqrt {d x +c}}{\sqrt {\pi }\, \sqrt {\frac {b}{d}}\, d}\right )\right )}{100 b \sqrt {\frac {b}{d}}}\right )}{10 b}\right )}{16 b}}{d}\) | \(719\) |
Input:
int((d*x+c)^(5/2)*cos(b*x+a)^2*sin(b*x+a)^3,x,method=_RETURNVERBOSE)
Output:
2/d*(-1/16/b*d*(d*x+c)^(5/2)*cos(b/d*(d*x+c)+(a*d-b*c)/d)+5/16/b*d*(1/2/b* d*(d*x+c)^(3/2)*sin(b/d*(d*x+c)+(a*d-b*c)/d)-3/2/b*d*(-1/2/b*d*(d*x+c)^(1/ 2)*cos(b/d*(d*x+c)+(a*d-b*c)/d)+1/4/b*d*2^(1/2)*Pi^(1/2)/(b/d)^(1/2)*(cos( (a*d-b*c)/d)*FresnelC(2^(1/2)/Pi^(1/2)/(b/d)^(1/2)*b*(d*x+c)^(1/2)/d)-sin( (a*d-b*c)/d)*FresnelS(2^(1/2)/Pi^(1/2)/(b/d)^(1/2)*b*(d*x+c)^(1/2)/d))))-1 /96/b*d*(d*x+c)^(5/2)*cos(3*b/d*(d*x+c)+3*(a*d-b*c)/d)+5/96/b*d*(1/6/b*d*( d*x+c)^(3/2)*sin(3*b/d*(d*x+c)+3*(a*d-b*c)/d)-1/2/b*d*(-1/6/b*d*(d*x+c)^(1 /2)*cos(3*b/d*(d*x+c)+3*(a*d-b*c)/d)+1/36/b*d*2^(1/2)*Pi^(1/2)*3^(1/2)/(b/ d)^(1/2)*(cos(3*(a*d-b*c)/d)*FresnelC(2^(1/2)/Pi^(1/2)*3^(1/2)/(b/d)^(1/2) *b*(d*x+c)^(1/2)/d)-sin(3*(a*d-b*c)/d)*FresnelS(2^(1/2)/Pi^(1/2)*3^(1/2)/( b/d)^(1/2)*b*(d*x+c)^(1/2)/d))))+1/160/b*d*(d*x+c)^(5/2)*cos(5*b/d*(d*x+c) +5*(a*d-b*c)/d)-1/32/b*d*(1/10/b*d*(d*x+c)^(3/2)*sin(5*b/d*(d*x+c)+5*(a*d- b*c)/d)-3/10/b*d*(-1/10/b*d*(d*x+c)^(1/2)*cos(5*b/d*(d*x+c)+5*(a*d-b*c)/d) +1/100/b*d*2^(1/2)*Pi^(1/2)*5^(1/2)/(b/d)^(1/2)*(cos(5*(a*d-b*c)/d)*Fresne lC(2^(1/2)/Pi^(1/2)*5^(1/2)/(b/d)^(1/2)*b*(d*x+c)^(1/2)/d)-sin(5*(a*d-b*c) /d)*FresnelS(2^(1/2)/Pi^(1/2)*5^(1/2)/(b/d)^(1/2)*b*(d*x+c)^(1/2)/d)))))
Time = 0.11 (sec) , antiderivative size = 521, normalized size of antiderivative = 0.85 \[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\frac {81 \, \sqrt {10} \pi d^{3} \sqrt {\frac {b}{\pi d}} \cos \left (-\frac {5 \, {\left (b c - a d\right )}}{d}\right ) \operatorname {C}\left (\sqrt {10} \sqrt {d x + c} \sqrt {\frac {b}{\pi d}}\right ) - 625 \, \sqrt {6} \pi d^{3} \sqrt {\frac {b}{\pi d}} \cos \left (-\frac {3 \, {\left (b c - a d\right )}}{d}\right ) \operatorname {C}\left (\sqrt {6} \sqrt {d x + c} \sqrt {\frac {b}{\pi d}}\right ) - 101250 \, \sqrt {2} \pi d^{3} \sqrt {\frac {b}{\pi d}} \cos \left (-\frac {b c - a d}{d}\right ) \operatorname {C}\left (\sqrt {2} \sqrt {d x + c} \sqrt {\frac {b}{\pi d}}\right ) + 101250 \, \sqrt {2} \pi d^{3} \sqrt {\frac {b}{\pi d}} \operatorname {S}\left (\sqrt {2} \sqrt {d x + c} \sqrt {\frac {b}{\pi d}}\right ) \sin \left (-\frac {b c - a d}{d}\right ) + 625 \, \sqrt {6} \pi d^{3} \sqrt {\frac {b}{\pi d}} \operatorname {S}\left (\sqrt {6} \sqrt {d x + c} \sqrt {\frac {b}{\pi d}}\right ) \sin \left (-\frac {3 \, {\left (b c - a d\right )}}{d}\right ) - 81 \, \sqrt {10} \pi d^{3} \sqrt {\frac {b}{\pi d}} \operatorname {S}\left (\sqrt {10} \sqrt {d x + c} \sqrt {\frac {b}{\pi d}}\right ) \sin \left (-\frac {5 \, {\left (b c - a d\right )}}{d}\right ) + 480 \, {\left (9 \, {\left (20 \, b^{3} d^{2} x^{2} + 40 \, b^{3} c d x + 20 \, b^{3} c^{2} - 3 \, b d^{2}\right )} \cos \left (b x + a\right )^{5} + 390 \, b d^{2} \cos \left (b x + a\right ) - 5 \, {\left (60 \, b^{3} d^{2} x^{2} + 120 \, b^{3} c d x + 60 \, b^{3} c^{2} - 13 \, b d^{2}\right )} \cos \left (b x + a\right )^{3} + 10 \, {\left (26 \, b^{2} d^{2} x - 9 \, {\left (b^{2} d^{2} x + b^{2} c d\right )} \cos \left (b x + a\right )^{4} + 26 \, b^{2} c d + 13 \, {\left (b^{2} d^{2} x + b^{2} c d\right )} \cos \left (b x + a\right )^{2}\right )} \sin \left (b x + a\right )\right )} \sqrt {d x + c}}{432000 \, b^{4}} \] Input:
integrate((d*x+c)^(5/2)*cos(b*x+a)^2*sin(b*x+a)^3,x, algorithm="fricas")
Output:
1/432000*(81*sqrt(10)*pi*d^3*sqrt(b/(pi*d))*cos(-5*(b*c - a*d)/d)*fresnel_ cos(sqrt(10)*sqrt(d*x + c)*sqrt(b/(pi*d))) - 625*sqrt(6)*pi*d^3*sqrt(b/(pi *d))*cos(-3*(b*c - a*d)/d)*fresnel_cos(sqrt(6)*sqrt(d*x + c)*sqrt(b/(pi*d) )) - 101250*sqrt(2)*pi*d^3*sqrt(b/(pi*d))*cos(-(b*c - a*d)/d)*fresnel_cos( sqrt(2)*sqrt(d*x + c)*sqrt(b/(pi*d))) + 101250*sqrt(2)*pi*d^3*sqrt(b/(pi*d ))*fresnel_sin(sqrt(2)*sqrt(d*x + c)*sqrt(b/(pi*d)))*sin(-(b*c - a*d)/d) + 625*sqrt(6)*pi*d^3*sqrt(b/(pi*d))*fresnel_sin(sqrt(6)*sqrt(d*x + c)*sqrt( b/(pi*d)))*sin(-3*(b*c - a*d)/d) - 81*sqrt(10)*pi*d^3*sqrt(b/(pi*d))*fresn el_sin(sqrt(10)*sqrt(d*x + c)*sqrt(b/(pi*d)))*sin(-5*(b*c - a*d)/d) + 480* (9*(20*b^3*d^2*x^2 + 40*b^3*c*d*x + 20*b^3*c^2 - 3*b*d^2)*cos(b*x + a)^5 + 390*b*d^2*cos(b*x + a) - 5*(60*b^3*d^2*x^2 + 120*b^3*c*d*x + 60*b^3*c^2 - 13*b*d^2)*cos(b*x + a)^3 + 10*(26*b^2*d^2*x - 9*(b^2*d^2*x + b^2*c*d)*cos (b*x + a)^4 + 26*b^2*c*d + 13*(b^2*d^2*x + b^2*c*d)*cos(b*x + a)^2)*sin(b* x + a))*sqrt(d*x + c))/b^4
Timed out. \[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\text {Timed out} \] Input:
integrate((d*x+c)**(5/2)*cos(b*x+a)**2*sin(b*x+a)**3,x)
Output:
Timed out
Result contains complex when optimal does not.
Time = 0.20 (sec) , antiderivative size = 826, normalized size of antiderivative = 1.34 \[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\text {Too large to display} \] Input:
integrate((d*x+c)^(5/2)*cos(b*x+a)^2*sin(b*x+a)^3,x, algorithm="maxima")
Output:
-1/1728000*sqrt(2)*(5400*sqrt(2)*(d*x + c)^(3/2)*b^4*sin(5*((d*x + c)*b - b*c + a*d)/d)/d - 15000*sqrt(2)*(d*x + c)^(3/2)*b^4*sin(3*((d*x + c)*b - b *c + a*d)/d)/d - 270000*sqrt(2)*(d*x + c)^(3/2)*b^4*sin(((d*x + c)*b - b*c + a*d)/d)/d - 540*(20*sqrt(2)*(d*x + c)^(5/2)*b^5/d^2 - 3*sqrt(2)*sqrt(d* x + c)*b^3)*cos(5*((d*x + c)*b - b*c + a*d)/d) + 1500*(12*sqrt(2)*(d*x + c )^(5/2)*b^5/d^2 - 5*sqrt(2)*sqrt(d*x + c)*b^3)*cos(3*((d*x + c)*b - b*c + a*d)/d) + 27000*(4*sqrt(2)*(d*x + c)^(5/2)*b^5/d^2 - 15*sqrt(2)*sqrt(d*x + c)*b^3)*cos(((d*x + c)*b - b*c + a*d)/d) - 81*(-(I - 1)*25^(1/4)*sqrt(pi) *b^2*d*(b^2/d^2)^(1/4)*cos(-5*(b*c - a*d)/d) - (I + 1)*25^(1/4)*sqrt(pi)*b ^2*d*(b^2/d^2)^(1/4)*sin(-5*(b*c - a*d)/d))*erf(sqrt(d*x + c)*sqrt(5*I*b/d )) - 625*((I - 1)*9^(1/4)*sqrt(pi)*b^2*d*(b^2/d^2)^(1/4)*cos(-3*(b*c - a*d )/d) + (I + 1)*9^(1/4)*sqrt(pi)*b^2*d*(b^2/d^2)^(1/4)*sin(-3*(b*c - a*d)/d ))*erf(sqrt(d*x + c)*sqrt(3*I*b/d)) - 101250*((I - 1)*sqrt(pi)*b^2*d*(b^2/ d^2)^(1/4)*cos(-(b*c - a*d)/d) + (I + 1)*sqrt(pi)*b^2*d*(b^2/d^2)^(1/4)*si n(-(b*c - a*d)/d))*erf(sqrt(d*x + c)*sqrt(I*b/d)) - 101250*(-(I + 1)*sqrt( pi)*b^2*d*(b^2/d^2)^(1/4)*cos(-(b*c - a*d)/d) - (I - 1)*sqrt(pi)*b^2*d*(b^ 2/d^2)^(1/4)*sin(-(b*c - a*d)/d))*erf(sqrt(d*x + c)*sqrt(-I*b/d)) - 625*(- (I + 1)*9^(1/4)*sqrt(pi)*b^2*d*(b^2/d^2)^(1/4)*cos(-3*(b*c - a*d)/d) - (I - 1)*9^(1/4)*sqrt(pi)*b^2*d*(b^2/d^2)^(1/4)*sin(-3*(b*c - a*d)/d))*erf(sqr t(d*x + c)*sqrt(-3*I*b/d)) - 81*((I + 1)*25^(1/4)*sqrt(pi)*b^2*d*(b^2/d...
Result contains complex when optimal does not.
Time = 1.58 (sec) , antiderivative size = 3673, normalized size of antiderivative = 5.97 \[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\text {Too large to display} \] Input:
integrate((d*x+c)^(5/2)*cos(b*x+a)^2*sin(b*x+a)^3,x, algorithm="giac")
Output:
1/864000*(1800*(30*sqrt(2)*sqrt(pi)*d*erf(1/2*I*sqrt(2)*sqrt(b*d)*sqrt(d*x + c)*(-I*b*d/sqrt(b^2*d^2) + 1)/d)*e^((I*b*c - I*a*d)/d)/(sqrt(b*d)*(-I*b *d/sqrt(b^2*d^2) + 1)) + 5*sqrt(6)*sqrt(pi)*d*erf(-1/2*I*sqrt(6)*sqrt(b*d) *sqrt(d*x + c)*(I*b*d/sqrt(b^2*d^2) + 1)/d)*e^(-3*(I*b*c - I*a*d)/d)/(sqrt (b*d)*(I*b*d/sqrt(b^2*d^2) + 1)) - 3*sqrt(10)*sqrt(pi)*d*erf(-1/2*I*sqrt(1 0)*sqrt(b*d)*sqrt(d*x + c)*(I*b*d/sqrt(b^2*d^2) + 1)/d)*e^(-5*(I*b*c - I*a *d)/d)/(sqrt(b*d)*(I*b*d/sqrt(b^2*d^2) + 1)) + 30*sqrt(2)*sqrt(pi)*d*erf(- 1/2*I*sqrt(2)*sqrt(b*d)*sqrt(d*x + c)*(I*b*d/sqrt(b^2*d^2) + 1)/d)*e^((-I* b*c + I*a*d)/d)/(sqrt(b*d)*(I*b*d/sqrt(b^2*d^2) + 1)) + 5*sqrt(6)*sqrt(pi) *d*erf(1/2*I*sqrt(6)*sqrt(b*d)*sqrt(d*x + c)*(-I*b*d/sqrt(b^2*d^2) + 1)/d) *e^(-3*(-I*b*c + I*a*d)/d)/(sqrt(b*d)*(-I*b*d/sqrt(b^2*d^2) + 1)) - 3*sqrt (10)*sqrt(pi)*d*erf(1/2*I*sqrt(10)*sqrt(b*d)*sqrt(d*x + c)*(-I*b*d/sqrt(b^ 2*d^2) + 1)/d)*e^(-5*(-I*b*c + I*a*d)/d)/(sqrt(b*d)*(-I*b*d/sqrt(b^2*d^2) + 1)))*c^3 - d^3*(6750*(sqrt(2)*sqrt(pi)*(8*b^3*c^3 + 12*I*b^2*c^2*d - 18* b*c*d^2 - 15*I*d^3)*d*erf(1/2*I*sqrt(2)*sqrt(b*d)*sqrt(d*x + c)*(-I*b*d/sq rt(b^2*d^2) + 1)/d)*e^((I*b*c - I*a*d)/d)/(sqrt(b*d)*(-I*b*d/sqrt(b^2*d^2) + 1)*b^3) - 2*I*(4*I*(d*x + c)^(5/2)*b^2*d - 12*I*(d*x + c)^(3/2)*b^2*c*d + 12*I*sqrt(d*x + c)*b^2*c^2*d + 10*(d*x + c)^(3/2)*b*d^2 - 18*sqrt(d*x + c)*b*c*d^2 - 15*I*sqrt(d*x + c)*d^3)*e^((-I*(d*x + c)*b + I*b*c - I*a*d)/ d)/b^3)/d^3 + 125*(sqrt(6)*sqrt(pi)*(72*b^3*c^3 - 36*I*b^2*c^2*d - 18*b...
Timed out. \[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\int {\cos \left (a+b\,x\right )}^2\,{\sin \left (a+b\,x\right )}^3\,{\left (c+d\,x\right )}^{5/2} \,d x \] Input:
int(cos(a + b*x)^2*sin(a + b*x)^3*(c + d*x)^(5/2),x)
Output:
int(cos(a + b*x)^2*sin(a + b*x)^3*(c + d*x)^(5/2), x)
\[ \int (c+d x)^{5/2} \cos ^2(a+b x) \sin ^3(a+b x) \, dx=\left (\int \sqrt {d x +c}\, \cos \left (b x +a \right )^{2} \sin \left (b x +a \right )^{3} x^{2}d x \right ) d^{2}+2 \left (\int \sqrt {d x +c}\, \cos \left (b x +a \right )^{2} \sin \left (b x +a \right )^{3} x d x \right ) c d +\left (\int \sqrt {d x +c}\, \cos \left (b x +a \right )^{2} \sin \left (b x +a \right )^{3}d x \right ) c^{2} \] Input:
int((d*x+c)^(5/2)*cos(b*x+a)^2*sin(b*x+a)^3,x)
Output:
int(sqrt(c + d*x)*cos(a + b*x)**2*sin(a + b*x)**3*x**2,x)*d**2 + 2*int(sqr t(c + d*x)*cos(a + b*x)**2*sin(a + b*x)**3*x,x)*c*d + int(sqrt(c + d*x)*co s(a + b*x)**2*sin(a + b*x)**3,x)*c**2