f:[0,1]→R
f(x)=4x+24x
S=f(401)+f(402)+…+f(4039)−f(21)
Plan: (1) find f(1−x)
(2) add f(x)+f(1−x)
(3) pair terms k and 40−k
graph of y=f(x),x∈[0,1]
41−x=4⋅4−x=4x4
f(1−x)=41−x+241−x
f(1−x)=4/4x+24/4x
=4+2⋅4x4
f(1−x)=2(2+4x)4
f(1−x)=4x+22
f(x)+f(1−x)=4x+24x+4x+22
=4x+24x+2=1
f(t)+f(1−t)=1
f(21)=41/2+241/2=2+22=21
f(40k)+f(4040−k)=1
(1,39), (2,38), …, (19,21)⇒19 pairs
k=20:f(4020)=f(21)
∑k=139f(40k)=19⋅1+f(21)=19+f(21)
S=19+f(21)−f(21)
S=19