4.5 Test file Number [79] 4-Trig-functions/4.1-Sine/4.1.7-d-trig-^m-a+b-c-sin-^n-^p
4.5.1 Mathematica
Integral number [399]
[C] time = 0.351766 (sec), size = 394 ,normalized size = 15.76
[In]
Integrate[Cos[c + d*x]^4/(a + b*Sin[c + d*x]^3)^2,x]
[Out]
((-I)*RootSum[(-I)*b + (3*I)*b*#1^2 + 8*a*#1^3 - (3*I)*b*#1^4 + I*b*#1^6 & , (2*b*ArcTan[Sin[c + d*x]/(Cos[c +
d*x] - #1)] - I*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] + (4*I)*a*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 + 2
*a*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 + 12*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 - (6*I)*b*Log[1 -
2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (4*I)*a*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^3 - 2*a*Log[1 - 2*Cos[c
+ d*x]*#1 + #1^2]*#1^3 + 2*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 - I*b*Log[1 - 2*Cos[c + d*x]*#1 + #
1^2]*#1^4)/(b*#1 - (4*I)*a*#1^2 - 2*b*#1^3 + b*#1^5) & ] + (24*Cos[c + d*x]*(a + b*Sin[c + d*x]))/(4*a + 3*b*S
in[c + d*x] - b*Sin[3*(c + d*x)]))/(18*a*b*d)
Integral number [400]
[C] time = 0.245492 (sec), size = 273 ,normalized size = 10.92
[In]
Integrate[Cos[c + d*x]^2/(a + b*Sin[c + d*x]^3)^2,x]
[Out]
((-I)*RootSum[(-I)*b + (3*I)*b*#1^2 + 8*a*#1^3 - (3*I)*b*#1^4 + I*b*#1^6 & , (2*ArcTan[Sin[c + d*x]/(Cos[c + d
*x] - #1)] - I*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] + 12*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 - (6*I)*Lo
g[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 + 2*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 - I*Log[1 - 2*Cos[c + d
*x]*#1 + #1^2]*#1^4)/(b*#1 - (4*I)*a*#1^2 - 2*b*#1^3 + b*#1^5) & ] + (12*Sin[2*(c + d*x)])/(4*a + 3*b*Sin[c +
d*x] - b*Sin[3*(c + d*x)]))/(18*a*d)
Integral number [401]
[C] time = 0.459565 (sec), size = 502 ,normalized size = 31.38
[In]
Integrate[(a + b*Sin[c + d*x]^3)^(-2),x]
[Out]
((I*RootSum[(-I)*b + (3*I)*b*#1^2 + 8*a*#1^3 - (3*I)*b*#1^4 + I*b*#1^6 & , (2*b^2*ArcTan[Sin[c + d*x]/(Cos[c +
d*x] - #1)] - I*b^2*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] + (4*I)*a*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1
+ 2*a*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 - 24*a^2*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + 12*b^2*
ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + (12*I)*a^2*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (6*I)*b^2*
Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (4*I)*a*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^3 - 2*a*b*Log[1
- 2*Cos[c + d*x]*#1 + #1^2]*#1^3 + 2*b^2*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 - I*b^2*Log[1 - 2*Cos[
c + d*x]*#1 + #1^2]*#1^4)/(b*#1 - (4*I)*a*#1^2 - 2*b*#1^3 + b*#1^5) & ])/(a^2 - b^2) - (12*b*Cos[c + d*x]*(-3*
a + a*Cos[2*(c + d*x)] + 2*b*Sin[c + d*x]))/((a - b)*(a + b)*(4*a + 3*b*Sin[c + d*x] - b*Sin[3*(c + d*x)])))/(
18*a*d)
Integral number [402]
[C] time = 1.59132 (sec), size = 845 ,normalized size = 33.8
[In]
Integrate[Sec[c + d*x]^2/(a + b*Sin[c + d*x]^3)^2,x]
[Out]
(((-I)*b*RootSum[(-I)*b + (3*I)*b*#1^2 + 8*a*#1^3 - (3*I)*b*#1^4 + I*b*#1^6 & , (16*a^2*b*ArcTan[Sin[c + d*x]/
(Cos[c + d*x] - #1)] + 2*b^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)] - (8*I)*a^2*b*Log[1 - 2*Cos[c + d*x]*#1
+ #1^2] - I*b^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] + (20*I)*a^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 + (
16*I)*a*b^2*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 + 10*a^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 + 8*a*b^
2*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 - 120*a^2*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + 12*b^3*ArcT
an[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + (60*I)*a^2*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (6*I)*b^3*Lo
g[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (20*I)*a^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^3 - (16*I)*a*b^2
*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^3 - 10*a^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^3 - 8*a*b^2*Log[1
- 2*Cos[c + d*x]*#1 + #1^2]*#1^3 + 16*a^2*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 + 2*b^3*ArcTan[Sin[
c + d*x]/(Cos[c + d*x] - #1)]*#1^4 - (8*I)*a^2*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^4 - I*b^3*Log[1 - 2*Cos[
c + d*x]*#1 + #1^2]*#1^4)/(b*#1 - (4*I)*a*#1^2 - 2*b*#1^3 + b*#1^5) & ])/(a*(a^2 - b^2)^2) + (18*Sin[(c + d*x)
/2])/((a + b)^2*(Cos[(c + d*x)/2] - Sin[(c + d*x)/2])) + (18*Sin[(c + d*x)/2])/((a - b)^2*(Cos[(c + d*x)/2] +
Sin[(c + d*x)/2])) + (12*b*Cos[c + d*x]*(-2*a^3 - 7*a*b^2 + 3*a*b^2*Cos[2*(c + d*x)] + 2*b*(2*a^2 + b^2)*Sin[c
+ d*x]))/(a*(a - b)^2*(a + b)^2*(4*a + 3*b*Sin[c + d*x] - b*Sin[3*(c + d*x)])))/(18*d)
Integral number [403]
[C] time = 1.70294 (sec), size = 1158 ,normalized size = 46.32
[In]
Integrate[Sec[c + d*x]^4/(a + b*Sin[c + d*x]^3)^2,x]
[Out]
((4*I)*b^2*RootSum[(-I)*b + (3*I)*b*#1^2 + 8*a*#1^3 - (3*I)*b*#1^4 + I*b*#1^6 & , (14*a^4*ArcTan[Sin[c + d*x]/
(Cos[c + d*x] - #1)] + 74*a^2*b^2*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)] + 2*b^4*ArcTan[Sin[c + d*x]/(Cos[c
+ d*x] - #1)] - (7*I)*a^4*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] - (37*I)*a^2*b^2*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]
- I*b^4*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] + (144*I)*a^3*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 + (36*I
)*a*b^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 + 72*a^3*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 + 18*a*b^3
*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 - 180*a^4*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 - 372*a^2*b^2*Ar
cTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + 12*b^4*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + (90*I)*a^
4*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 + (186*I)*a^2*b^2*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (6*I)*b^4*
Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (144*I)*a^3*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^3 - (36*I)*
a*b^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^3 - 72*a^3*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^3 - 18*a*b
^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^3 + 14*a^4*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 + 74*a^2*b^2*
ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 + 2*b^4*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 - (7*I)*a^
4*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^4 - (37*I)*a^2*b^2*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^4 - I*b^4*Log[1
- 2*Cos[c + d*x]*#1 + #1^2]*#1^4)/(b*#1 - (4*I)*a*#1^2 - 2*b*#1^3 + b*#1^5) & ] + (3*Sec[c + d*x]^3*(48*a^5*b
+ 568*a^3*b^3 + 14*a*b^5 + (78*a^5*b + 606*a^3*b^3 + 81*a*b^5)*Cos[2*(c + d*x)] + 18*a*b^3*(4*a^2 + b^2)*Cos[
4*(c + d*x)] + 2*a^5*b*Cos[6*(c + d*x)] - 30*a^3*b^3*Cos[6*(c + d*x)] - 17*a*b^5*Cos[6*(c + d*x)] + 48*a^6*Sin
[c + d*x] - 244*a^4*b^2*Sin[c + d*x] + 20*a^2*b^4*Sin[c + d*x] - 4*b^6*Sin[c + d*x] + 16*a^6*Sin[3*(c + d*x)]
- 194*a^4*b^2*Sin[3*(c + d*x)] - 86*a^2*b^4*Sin[3*(c + d*x)] - 6*b^6*Sin[3*(c + d*x)] - 14*a^4*b^2*Sin[5*(c +
d*x)] - 74*a^2*b^4*Sin[5*(c + d*x)] - 2*b^6*Sin[5*(c + d*x)]))/(4*a + 3*b*Sin[c + d*x] - b*Sin[3*(c + d*x)]))/
(72*a*(a^2 - b^2)^3*d)
4.5.2 Maple
Integral number [399]
[B] time = 0.244 (sec), size = 550 ,normalized size = 22.
[In]
int(cos(d*x+c)^4/(a+b*sin(d*x+c)^3)^2,x)
[Out]
-2/3/d/(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/2*d*x+1/2*c)^2*a+a)/a
*tan(1/2*d*x+1/2*c)^5+2/3/d/(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/
2*d*x+1/2*c)^2*a+a)/b*tan(1/2*d*x+1/2*c)^4+8/3/d/(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*
d*x+1/2*c)^3+3*tan(1/2*d*x+1/2*c)^2*a+a)/a*tan(1/2*d*x+1/2*c)^3+4/3/d/(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/
2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/2*d*x+1/2*c)^2*a+a)/b*tan(1/2*d*x+1/2*c)^2+2/3/d/(tan(1/2*d*x+1/2*c)
^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/2*d*x+1/2*c)^2*a+a)/a*tan(1/2*d*x+1/2*c)+2/3/d/
(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/2*d*x+1/2*c)^2*a+a)/b+2/9/d/
a/b*sum((_R^4*b+_R^3*a+_R*a+b)/(_R^5*a+2*_R^3*a+4*_R^2*b+_R*a)*ln(tan(1/2*d*x+1/2*c)-_R),_R=RootOf(_Z^6*a+3*_Z
^4*a+8*_Z^3*b+3*_Z^2*a+a))
Integral number [400]
[B] time = 0.247 (sec), size = 236 ,normalized size = 9.44
[In]
int(cos(d*x+c)^2/(a+b*sin(d*x+c)^3)^2,x)
[Out]
-2/3/d/(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/2*d*x+1/2*c)^2*a+a)/a
*tan(1/2*d*x+1/2*c)^5+2/3/d/(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/
2*d*x+1/2*c)^2*a+a)/a*tan(1/2*d*x+1/2*c)+2/9/d/a*sum((_R^4+1)/(_R^5*a+2*_R^3*a+4*_R^2*b+_R*a)*ln(tan(1/2*d*x+1
/2*c)-_R),_R=RootOf(_Z^6*a+3*_Z^4*a+8*_Z^3*b+3*_Z^2*a+a))
Integral number [401]
[B] time = 0.198 (sec), size = 658 ,normalized size = 41.12
[In]
int(1/(a+b*sin(d*x+c)^3)^2,x)
[Out]
2/3/d/(tan(1/2*d*x+1/2*c)^6*a+3*tan(1/2*d*x+1/2*c)^4*a+8*b*tan(1/2*d*x+1/2*c)^3+3*tan(1/2*d*x+1/2*c)^2*a+a)*b^
2/a/(a^2-b^2)*tan(1/2*d*x+1/2*c)^5-2/3/d/(tan(1/2*d*x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