We are given that f(x)+f(x+k)=n for all x∈R, where k>0 and n is a positive integer.
Establish the periodicity:
Replacing x with x+k: f(x+k)+f(x+2k)=n.
Subtracting from the original equation: f(x)−f(x+2k)=0, so f(x+2k)=f(x).
Therefore f is periodic with period 2k.
Key integral property:
Over one period of length 2k:
∫02kf(x)dx=∫0kf(x)dx+∫0kf(x+k)dx=∫0k[f(x)+f(x+k)]dx=∫0kndx=nk
Compute I1:
I1=∫04nkf(x)dx
Since f has period 2k, the interval [0,4nk] contains 2k4nk=2n complete periods.
I1=2n⋅nk=2n2k
Compute I2:
I2=∫−k3kf(x)dx
The interval length is 4k=2⋅2k, which is 2 complete periods.
I2=2⋅nk=2nk
Check each option:
We have I1=2n2k and I2=2nk.
Option C: I1+nI2=2n2k+n⋅2nk=2n2k+2n2k=4n2k ✓
The correct answer is Option C: I1+nI2=4n2k.