During a recent campaign for office, a candidate made a tour of a country which we assume lies in a plane. On the first day of the tour he went east, on the second day he went north, on the third day west, on the fourth day south, on the fifth day east, etc. If the candidate went n2/2 miles on the nth day of this tour, how many miles was he from his starting point at the end of the 40th day?
解析
Solution
On the first day, the candidate moves [4(0)+1]2/2east,[4(0)+2]2/2north,[4(0)+3]2/2west,[4(0)+4]2/2south, and so on. The east/west displacement is thus 212−32+52…+372−392=∑i=092(4i+1)2−∑i=092(4i+3)2. Applying difference of squares, we see that
i=0∑92(4i+1)2−(4i+3)2=i=0∑92(4i+1+4i+3)(4i+1−(4i+3))=i=0∑9−(8i+4).
Similarly, the north/south displacement is
i=0∑92(4i+2)2−i=0∑92(4i+4)2=i=0∑9−(8i+6).
Since ∑i=09i=29(10)=45, the two distances evaluate to 8(45)+10⋅4=400 and 8(45)+10⋅6=420. By the Pythagorean Theorem, the answer is 4002+4202=29⋅20=580.