We have to evaluate the definite integral
I=∫−4π4π(1+excosx)(sin4x+cos4x)dx.
Put
f(x)=(1+excosx)(sin4x+cos4x)1.
First we examine f(−x):
f(−x)=(1+e−xcosx)(sin4(−x)+cos4(−x))1=(1+e−xcosx)(sin4x+cos4x)1,
because sin(−x)=−sinx and cos(−x)=cosx, while the fourth powers eliminate the signs.
Now we add f(x) and f(−x):
f(x)+f(−x)=sin4x+cos4x1[1+excosx1+1+e−xcosx1].
Inside the brackets we simplify the sum of two fractions. Let a=xcosx. Then
1+ea1+1+e−a1=(1+ea)(1+e−a)1+e−a+1+ea=2+ea+e−a2+ea+e−a=1.
Hence
f(x)+f(−x)=sin4x+cos4x1.
The integral I can now be written as
I=∫−4π4πf(x)dx=21∫−4π4π[f(x)+f(−x)]dx=21∫−4π4πsin4x+cos4xdx.
Because sin4x+cos4x1 is an even function, the integral over the symmetric limits doubles when we restrict to the positive side:
∫−4π4πsin4x+cos4xdx=2∫04πsin4x+cos4xdx.
Therefore
I=∫04πsin4x+cos4xdx.
We now tackle the simpler integral
J=∫04πsin4x+cos4xdx.
First, simplify the denominator. Using sin2x+cos2x=1,
sin4x+cos4x=(sin2x+cos2x)2−2sin2xcos2x=1−2sin2xcos2x=1−21sin22x(since sin2x=2sinxcosx).
A more convenient form arises from the multiple-angle formulae:
sin4x=83−4cos2x+cos4x,cos4x=83+4cos2x+cos4x,
so
sin4x+cos4x=86+2cos4x=43+cos4x.
Thus
sin4x+cos4x1=3+cos4x4,
and the integral becomes
J=∫04π3+cos4x4dx.
Introduce the substitution
y=4x⟹dy=4dx,dx=4dy.
When x=0, y=0; when x=4π, y=π. Therefore
J=∫0π3+cosy4⋅4dy=∫0π3+cosydy.
Now we recall the standard definite integral (valid for a>∣b∣):
∫0πa+bcosydy=a2−b2π.
Here a=3 and b=1, and indeed 3>1, so we can apply the formula directly:
∫0π3+cosydy=32−12π=9−1π=8π=22π.
Hence
J=22π.
But we have already shown that I=J, so
I=22π.
Hence, the correct answer is Option B.