Let g(x)=f(x)−x2, then
g(x+1)−g(x)=f(x+1)−f(x)−(x+1)2+x2=(2x+1)−(x2+2x+1−x2)=2x+1−(2x+1)=0.
Thus, g(x) is a periodic function with 1 as its period. On the other hand, as is given ∣f(x)∣≤1 when x∈[0,1], so
∣g(x)∣=∣f(x)−x2∣≤∣f(x)∣+x2≤1+x2≤2,
when x∈[0,1].
Therefore, the periodic function g(x) satisfies ∣g(x)∣≤2 (x∈R), thus arriving at
∣f(x)∣=∣g(x)+x2∣≤∣g(x)∣+x2≤2+x2(x∈R),
as desired.