- Given function
f(x)=asin(2π[x])+[2−x]
where [t] denotes the greatest integer function.
We are told that
limx→−1f(x)
exists. First, we use this to determine a.
- Check left-hand and right-hand limits at x=−1
Since the floor function changes value at integers, examine intervals around −1.
For x→−1−:
Then x∈(−2,−1), so
[x]=−2
Hence,
sin(2π[x])=sin(2π(−2))=sin(−π)=0.
Also, for x∈(−2,−1),
2−x∈(3,4)⟹[2−x]=3.
So,
f(x)=a⋅0+3=3.
Thus,
limx→−1−f(x)=3.
For x→−1+:
Then x∈[−1,0), so
[x]=−1
Hence,
sin(2π[x])=sin(2−π)=−1.
Also, for x∈(−1,0),
2−x∈(2,3)⟹[2−x]=2.
So,
f(x)=a(−1)+2=2−a.
Thus,
limx→−1+f(x)=2−a.
Since the limit exists,
3=2−a
which gives
a=−1.
- Now compute f(x) on [0,4]
Substitute a=−1:
f(x)=−sin(2π[x])+[2−x].
Break the interval [0,4] into subintervals where floor values remain constant:
[0,1), [1,2), [2,3), [3,4).
- Evaluate on each interval
On x∈[0,1):
[x]=0⟹−sin(2π⋅0)=0.
Also,
2−x∈(1,2]⟹[2−x]=1 for x∈(0,1),
and endpoint values do not affect the integral.
So,
f(x)=1.
Contribution:
∫01f(x)dx=∫011dx=1.
On x∈[1,2):
[x]=1⟹−sin(2π)=−1.
Also,
2−x∈(0,1]⟹[2−x]=0 for x∈(1,2).
So,
f(x)=−1.
Contribution:
∫12f(x)dx=∫12(−1)dx=−1.
On x∈[2,3):
[x]=2⟹−sin(π)=0.
Also,
2−x∈(−1,0]⟹[2−x]=−1 for x∈(2,3).
So,
f(x)=−1.
Contribution:
∫23f(x)dx=∫23(−1)dx=−1.
On x∈[3,4):
[x]=3⟹−sin(23π)=1.
Also,
2−x∈(−2,−1]⟹[2−x]=−2 for x∈(3,4).
So,
f(x)=1+(−2)=−1.
Contribution:
∫34f(x)dx=∫34(−1)dx=−1.
- Add all contributions
∫04f(x)dx=1+(−1)+(−1)+(−1)=−2.
- Check options
The value is
−2
So the correct option is B.
- Comparison with stored answer
Stored correct answer: B
Our derived answer: B
Hence, they agree.