The Story of Maths - 1. The Language of the Universe - Subtitles

texts below are from © https://subsaga.com/bbc/documentaries/science/the-story-of-maths/1-the-language-of-the-universe.html


1
00:00:03,400 –> 00:00:07,040
Throughout history, humankind has struggled

2
00:00:07,040 –> 00:00:11,640
to understand the fundamental workings of the material world.

3
00:00:11,640 –> 00:00:16,440
We’ve endeavoured to discover the rules and patterns that determine the qualities

4
00:00:16,440 –> 00:00:22,080
of the objects that surround us, and their complex relationship to us and each other.

5
00:00:23,360 –> 00:00:28,040
Over thousands of years, societies all over the world have found that one discipline

6
00:00:28,040 –> 00:00:31,560
above all others yields certain knowledge

7
00:00:31,560 –> 00:00:35,000
about the underlying realities of the physical world.

8
00:00:35,000 –> 00:00:38,200
That discipline is mathematics.

9
00:00:38,200 –> 00:00:41,760
I’m Marcus Du Sautoy, and I’m a mathematician.

10
00:00:41,760 –> 00:00:46,440
I see myself as a pattern searcher, hunting down the hidden structures

11
00:00:46,440 –> 00:00:51,480
that lie behind the apparent chaos and complexity of the world around us.

12
00:00:52,920 –> 00:00:58,200
In my search for pattern and order, I draw upon the work of the great mathematicians

13
00:00:58,200 –> 00:01:02,480
who’ve gone before me, people belonging to cultures across the globe,

14
00:01:02,480 –> 00:01:06,920
whose innovations created the language the universe is written in.

15
00:01:06,920 –> 00:01:12,640
I want to take you on a journey through time and space, and track the growth of mathematics

16
00:01:12,640 –> 00:01:16,920
from its awakening to the sophisticated subject we know today.

17
00:01:18,040 –> 00:01:21,120
Using computer generated imagery, we will explore

18
00:01:21,120 –> 00:01:24,920
the trailblazing discoveries that allowed the earliest civilisations

19
00:01:24,920 –> 00:01:28,640
to understand the world mathematical.

20
00:01:28,640 –> 00:01:31,600
This is the story of maths.

21
00:01:51,120 –> 00:01:55,080
Our world is made up of patterns and sequences.

22
00:01:55,080 –> 00:01:57,400
They’re all around us.

23
00:01:57,400 –> 00:01:59,880
Day becomes night.

24
00:01:59,880 –> 00:02:04,880
Animals travel across the earth in ever-changing formations.

25
00:02:04,880 –> 00:02:08,840
Landscapes are constantly altering.

26
00:02:08,840 –> 00:02:12,680
One of the reasons mathematics began was because we needed to find a way

27
00:02:12,680 –> 00:02:15,680
of making sense of these natural patterns.

28
00:02:18,680 –> 00:02:23,200
The most basic concepts of maths - space and quantity -

29
00:02:23,200 –> 00:02:27,200
are hard-wired into our brains.

30
00:02:27,200 –> 00:02:30,200
Even animals have a sense of distance and number,

31
00:02:30,200 –> 00:02:36,120
assessing when their pack is outnumbered, and whether to fight or fly,

32
00:02:36,120 –> 00:02:40,840
calculating whether their prey is within striking distance.

33
00:02:40,840 –> 00:02:46,120
Understanding maths is the difference between life and death.

34
00:02:47,240 –> 00:02:50,160
But it was man who took these basic concepts

35
00:02:50,160 –> 00:02:52,760
and started to build upon these foundations.

36
00:02:52,760 –> 00:02:55,880
At some point, humans started to spot patterns,

37
00:02:55,880 –> 00:02:59,680
to make connections, to count and to order the world around them.

38
00:02:59,680 –> 00:03:04,720
With this, a whole new mathematical universe began to emerge.

39
00:03:11,200 –> 00:03:12,960
This is the River Nile.

40
00:03:12,960 –> 00:03:15,800
It’s been the lifeline of Egypt for millennia.

41
00:03:17,200 –> 00:03:20,120
I’ve come here because it’s where some of the first signs

42
00:03:20,120 –> 00:03:23,560
of mathematics as we know it today emerged.

43
00:03:25,440 –> 00:03:30,800
People abandoned nomadic life and began settling here as early as 6000BC.

44
00:03:30,800 –> 00:03:34,880
The conditions were perfect for farming.

45
00:03:38,160 –> 00:03:44,120
The most important event for Egyptian agriculture each year was the flooding of the Nile.

46
00:03:44,120 –> 00:03:49,720
So this was used as a marker to start each new year.

47
00:03:49,720 –> 00:03:54,000
Egyptians did record what was going on over periods of time,

48
00:03:54,000 –> 00:03:56,480
so in order to establish a calendar like this,

49
00:03:56,480 –> 00:03:59,960
you need to count how many days, for example,

50
00:03:59,960 –> 00:04:02,680
happened in-between lunar phases,

51
00:04:02,680 –> 00:04:08,880
or how many days happened in-between two floodings of the Nile.

52
00:04:10,440 –> 00:04:14,200
Recording the patterns for the seasons was essential,

53
00:04:14,200 –> 00:04:18,040
not only to their management of the land, but also their religion.

54
00:04:18,040 –> 00:04:21,200
The ancient Egyptians who settled on the Nile banks

55
00:04:21,200 –> 00:04:25,600
believed it was the river god, Hapy, who flooded the river each year.

56
00:04:25,600 –> 00:04:28,440
And in return for the life-giving water,

57
00:04:28,440 –> 00:04:32,840
the citizens offered a portion of the yield as a thanksgiving.

58
00:04:34,040 –> 00:04:38,920
As settlements grew larger, it became necessary to find ways to administer them.

59
00:04:38,920 –> 00:04:43,200
Areas of land needed to be calculated, crop yields predicted,

60
00:04:43,200 –> 00:04:45,520
taxes charged and collated.

61
00:04:45,520 –> 00:04:49,280
In short, people needed to count and measure.

62
00:04:50,800 –> 00:04:53,800
The Egyptians used their bodies to measure the world,

63
00:04:53,800 –> 00:04:56,840
and it’s how their units of measurements evolved.

64
00:04:56,840 –> 00:04:59,240
A palm was the width of a hand,

65
00:04:59,240 –> 00:05:03,880
a cubit an arm length from elbow to fingertips.

66
00:05:03,880 –> 00:05:07,320
Land cubits, strips of land measuring a cubit by 100,

67
00:05:07,320 –> 00:05:10,680
were used by the pharaoh’s surveyors to calculate areas.

68
00:05:13,880 –> 00:05:17,120
There’s a very strong link between bureaucracy

69
00:05:17,120 –> 00:05:20,360
and the development of mathematics in ancient Egypt.

70
00:05:20,360 –> 00:05:23,320
And we can see this link right from the beginning,

71
00:05:23,320 –> 00:05:25,640
from the invention of the number system,

72
00:05:25,640 –> 00:05:28,440
throughout Egyptian history, really.

73
00:05:28,440 –> 00:05:30,920
For the Old Kingdom, the only evidence we have

74
00:05:30,920 –> 00:05:34,960
are metrological systems, that is measurements for areas, for length.

75
00:05:34,960 –> 00:05:41,520
This points to a bureaucratic need to develop such things.

76
00:05:41,520 –> 00:05:46,760
It was vital to know the area of a farmer’s land so he could be taxed accordingly.

77
00:05:46,760 –> 00:05:51,680
Or if the Nile robbed him of part of his land, so he could request a rebate.

78
00:05:51,680 –> 00:05:54,640
It meant that the pharaoh’s surveyors were often calculating

79
00:05:54,640 –> 00:05:58,200
the area of irregular parcels of land.

80
00:05:58,200 –> 00:06:00,880
It was the need to solve such practical problems

81
00:06:00,880 –> 00:06:05,080
that made them the earliest mathematical innovators.

82
00:06:09,760 –> 00:06:13,760
The Egyptians needed some way to record the results of their calculations.

83
00:06:15,960 –> 00:06:20,560
Amongst all the hieroglyphs that cover the tourist souvenirs scattered around Cairo,

84
00:06:20,560 –> 00:06:25,760
I was on the hunt for those that recorded some of the first numbers in history.

85
00:06:25,760 –> 00:06:29,520
They were difficult to track down.

86
00:06:30,680 –> 00:06:33,480
But I did find them in the end.

87
00:06:36,560 –> 00:06:41,840
The Egyptians were using a decimal system, motivated by the 10 fingers on our hands.

88
00:06:41,840 –> 00:06:44,400
The sign for one was a stroke,

89
00:06:44,400 –> 00:06:50,280
10, a heel bone, 100, a coil of rope, and 1,000, a Lotus plant.

90
00:06:50,280 –> 00:06:52,560
How much is this T-shirt?

91
00:06:52,560 –> 00:06:54,280
Er, 25.

92
00:06:54,280 –> 00:07:00,080

  • 25!
  • Yes!
  • So that would be 2 knee bones and 5 strokes.

93
00:07:00,080 –> 00:07:03,440

  • So you’re not gonna charge me anything up here?
  • Here, one million!

94
00:07:03,440 –> 00:07:05,480

  • One million?
  • My God!

95
00:07:05,480 –> 00:07:07,880
This one million.

96
00:07:07,880 –> 00:07:09,920
One million, yeah, that’s pretty big!

97
00:07:11,280 –> 00:07:16,760
The hieroglyphs are beautiful, but the Egyptian number system was fundamentally flawed.

98
00:07:18,360 –> 00:07:21,880
They had no concept of a place value,

99
00:07:21,880 –> 00:07:24,360
so one stroke could only represent one unit,

100
00:07:24,360 –> 00:07:26,080
not 100 or 1,000.

101
00:07:26,080 –> 00:07:29,120
Although you can write a million with just one character,

102
00:07:29,120 –> 00:07:33,400
rather than the seven that we use, if you want to write a million minus one,

103
00:07:33,400 –> 00:07:36,840
then the poor old Egyptian scribe has got to write nine strokes,

104
00:07:36,840 –> 00:07:40,000
nine heel bones, nine coils of rope, and so on,

105
00:07:40,000 –> 00:07:42,560
a total of 54 characters.

106
00:07:44,960 –> 00:07:50,160
Despite the drawback of this number system, the Egyptians were brilliant problem solvers.

107
00:07:52,160 –> 00:07:56,160
We know this because of the few records that have survived.

108
00:07:56,160 –> 00:07:59,160
The Egyptian scribes used sheets of papyrus

109
00:07:59,160 –> 00:08:02,560
to record their mathematical discoveries.

110
00:08:02,560 –> 00:08:06,360
This delicate material made from reeds decayed over time

111
00:08:06,360 –> 00:08:09,640
and many secrets perished with it.

112
00:08:09,640 –> 00:08:13,760
But there’s one revealing document that has survived.

113
00:08:13,760 –> 00:08:17,600
The Rhind Mathematical Papyrus is the most important document

114
00:08:17,600 –> 00:08:20,400
we have today for Egyptian mathematics.

115
00:08:20,400 –> 00:08:24,600
We get a good overview of what types of problems

116
00:08:24,600 –> 00:08:28,560
the Egyptians would have dealt with in their mathematics.

117
00:08:28,560 –> 00:08:34,040
We also get explicitly stated how multiplications and divisions were carried out.

118
00:08:35,760 –> 00:08:40,040
The papyri show how to multiply two large numbers together.

119
00:08:40,040 –> 00:08:44,560
But to illustrate the method, let’s take two smaller numbers.

120
00:08:44,560 –> 00:08:47,120
Let’s do three times six.

121
00:08:47,120 –> 00:08:50,720
The scribe would take the first number, three, and put it in one column.

122
00:08:53,000 –> 00:08:56,200
In the second column, he would place the number one.

123
00:08:56,200 –> 00:09:00,960
Then he would double the numbers in each column, so three becomes six…

124
00:09:04,520 –> 00:09:06,600
..and six would become 12.

125
00:09:11,000 –> 00:09:14,720
And then in the second column, one would become two,

126
00:09:14,720 –> 00:09:16,280
and two becomes four.

127
00:09:18,960 –> 00:09:21,400
Now, here’s the really clever bit.

128
00:09:21,400 –> 00:09:24,400
The scribe wants to multiply three by six.

129
00:09:24,400 –> 00:09:27,920
So he takes the powers of two in the second column,

130
00:09:27,920 –> 00:09:31,640
which add up to six. That’s two plus four.

131
00:09:31,640 –> 00:09:34,560
Then he moves back to the first column, and just takes

132
00:09:34,560 –> 00:09:37,480
those rows corresponding to the two and the four.

133
00:09:37,480 –> 00:09:39,120
So that’s six and the 12.

134
00:09:39,120 –> 00:09:43,960
He adds those together to get the answer of 18.

135
00:09:43,960 –> 00:09:47,800
But for me, the most striking thing about this method

136
00:09:47,800 –> 00:09:51,760
is that the scribe has effectively written that second number in binary.

137
00:09:51,760 –> 00:09:56,760
Six is one lot of four, one lot of two, and no units.

138
00:09:56,760 –> 00:09:59,360
Which is 1-1-0.

139
00:09:59,360 –> 00:10:03,640
The Egyptians have understood the power of binary over 3,000 years

140
00:10:03,640 –> 00:10:07,600
before the mathematician and philosopher Leibniz would reveal their potential.

141
00:10:07,600 –> 00:10:11,920
Today, the whole technological world depends on the same principles

142
00:10:11,920 –> 00:10:14,800
that were used in ancient Egypt.

143
00:10:16,600 –> 00:10:22,200
The Rhind Papyrus was recorded by a scribe called Ahmes around 1650BC.

144
00:10:22,200 –> 00:10:27,080
Its problems are concerned with finding solutions to everyday situations.

145
00:10:27,080 –> 00:10:30,200
Several of the problems mention bread and beer,

146
00:10:30,200 –> 00:10:33,960
which isn’t surprising as Egyptian workers were paid in food and drink.

147
00:10:33,960 –> 00:10:37,400
One is concerned with how to divide nine loaves

148
00:10:37,400 –> 00:10:41,880
equally between 10 people, without a fight breaking out.

149
00:10:41,880 –> 00:10:44,000
I’ve got nine loaves of bread here.

150
00:10:44,000 –> 00:10:47,800
I’m gonna take five of them and cut them into halves.

151
00:10:48,840 –> 00:10:51,560
Of course, nine people could shave a 10th off their loaf

152
00:10:51,560 –> 00:10:54,960
and give the pile of crumbs to the 10th person.

153
00:10:54,960 –> 00:10:58,800
But the Egyptians developed a far more elegant solution -

154
00:10:58,800 –> 00:11:02,480
take the next four and divide those into thirds.

155
00:11:04,040 –> 00:11:07,560
But two of the thirds I am now going to cut into fifths,

156
00:11:07,560 –> 00:11:10,000
so each piece will be one fifteenth.

157
00:11:12,760 –> 00:11:17,240
Each person then gets one half

158
00:11:17,240 –> 00:11:19,360
and one third

159
00:11:19,360 –> 00:11:23,080
and one fifteenth.

160
00:11:23,080 –> 00:11:26,000
It is through such seemingly practical problems

161
00:11:26,000 –> 00:11:29,560
that we start to see a more abstract mathematics developing.

162
00:11:29,560 –> 00:11:32,280
Suddenly, new numbers are on the scene - fractions -

163
00:11:32,280 –> 00:11:37,680
and it isn’t too long before the Egyptians are exploring the mathematics of these numbers.

164
00:11:39,640 –> 00:11:45,080
Fractions are clearly of practical importance to anyone dividing quantities for trade in the market.

165
00:11:45,080 –> 00:11:51,880
To log these transactions, the Egyptians developed notation which recorded these new numbers.

166
00:11:53,400 –> 00:11:56,560
One of the earliest representations of these fractions

167
00:11:56,560 –> 00:12:00,240
came from a hieroglyph which had great mystical significance.

168
00:12:00,240 –> 00:12:03,880
It’s called the Eye of Horus.

169
00:12:03,880 –> 00:12:09,000
Horus was an Old Kingdom god, depicted as half man, half falcon.

170
00:12:10,920 –> 00:12:15,760
According to legend, Horus’ father was killed by his other son, Seth.

171
00:12:15,760 –> 00:12:18,960
Horus was determined to avenge the murder.

172
00:12:18,960 –> 00:12:21,640
During one particularly fierce battle,

173
00:12:21,640 –> 00:12:26,600
Seth ripped out Horus’ eye, tore it up and scattered it over Egypt.

174
00:12:26,600 –> 00:12:29,800
But the gods were looking favourably on Horus.

175
00:12:29,800 –> 00:12:33,520
They gathered up the scattered pieces and reassembled the eye.

176
00:12:36,520 –> 00:12:40,360
Each part of the eye represented a different fraction.

177
00:12:40,360 –> 00:12:43,280
Each one, half the fraction before.

178
00:12:43,280 –> 00:12:46,880
Although the original eye represented a whole unit,

179
00:12:46,880 –> 00:12:50,680
the reassembled eye is 1/64 short.

180
00:12:50,680 –> 00:12:54,720
Although the Egyptians stopped at 1/64,

181
00:12:54,720 –> 00:12:56,800
implicit in this picture

182
00:12:56,800 –> 00:12:59,520
is the possibility of adding more fractions,

183
00:12:59,520 –> 00:13:04,000
halving them each time, the sum getting closer and closer to one,

184
00:13:04,000 –> 00:13:07,200
but never quite reaching it.

185
00:13:07,200 –> 00:13:11,120
This is the first hint of something called a geometric series,

186
00:13:11,120 –> 00:13:14,640
and it appears at a number of points in the Rhind Papyrus.

187
00:13:14,640 –> 00:13:17,640
But the concept of infinite series would remain hidden

188
00:13:17,640 –> 00:13:21,840
until the mathematicians of Asia discovered it centuries later.

189
00:13:24,920 –> 00:13:29,080
Having worked out a system of numbers, including these new fractions,

190
00:13:29,080 –> 00:13:31,960
it was time for the Egyptians to apply their knowledge

191
00:13:31,960 –> 00:13:35,600
to understanding shapes that they encountered day to day.

192
00:13:35,600 –> 00:13:39,640
These shapes were rarely regular squares or rectangles,

193
00:13:39,640 –> 00:13:44,400
and in the Rhind Papyrus, we find the area of a more organic form, the circle.

194
00:13:44,400 –> 00:13:48,720
What is astounding in the calculation

195
00:13:48,720 –> 00:13:51,680
of the area of the circle is its exactness, really.

196
00:13:51,680 –> 00:13:55,600
How they would have found their method is open to speculation,

197
00:13:55,600 –> 00:13:57,680
because the texts we have

198
00:13:57,680 –> 00:14:01,280
do not show us the methods how they were found.

199
00:14:01,280 –> 00:14:05,360
This calculation is particularly striking because it depends

200
00:14:05,360 –> 00:14:07,320
on seeing how the shape of the circle

201
00:14:07,320 –> 00:14:12,040
can be approximated by shapes that the Egyptians already understood.

202
00:14:12,040 –> 00:14:15,160
The Rhind Papyrus states that a circular field

203
00:14:15,160 –> 00:14:17,720
with a diameter of nine units

204
00:14:17,720 –> 00:14:21,200
is close in area to a square with sides of eight.

205
00:14:21,200 –> 00:14:25,000
But how would this relationship have been discovered?

206
00:14:25,000 –> 00:14:30,400
My favourite theory sees the answer in the ancient game of mancala.

207
00:14:30,400 –> 00:14:34,560
Mancala boards were found carved on the roofs of temples.

208
00:14:34,560 –> 00:14:38,120
Each player starts with an equal number of stones,

209
00:14:38,120 –> 00:14:41,160
and the object of the game is to move them round the board,

210
00:14:41,160 –> 00:14:44,280
capturing your opponent’s counters on the way.

211
00:14:45,240 –> 00:14:49,080
As the players sat around waiting to make their next move,

212
00:14:49,080 –> 00:14:52,600
perhaps one of them realised that sometimes the balls fill the circular holes

213
00:14:52,600 –> 00:14:54,800
of the mancala board in a rather nice way.

214
00:14:54,800 –> 00:14:59,920
He might have gone on to experiment with trying to make larger circles.

215
00:14:59,920 –> 00:15:04,480
Perhaps he noticed that 64 stones, the square of 8,

216
00:15:04,480 –> 00:15:08,280
can be used to make a circle with diameter nine stones.

217
00:15:08,280 –> 00:15:13,800
By rearranging the stones, the circle has been approximated by a square.

218
00:15:13,800 –> 00:15:16,960
And because the area of a circle is pi times the radius squared,

219
00:15:16,960 –> 00:15:21,840
the Egyptian calculation gives us the first accurate value for pi.

220
00:15:21,840 –> 00:15:26,840
The area of the circle is 64. Divide this by the radius squared,

221
00:15:26,840 –> 00:15:30,880
in this case 4.5 squared, and you get a value for pi.

222
00:15:30,880 –> 00:15:35,640
So 64 divided by 4.5 squared is 3.16,

223
00:15:35,640 –> 00:15:38,960
just a little under two hundredths away from its true value.

224
00:15:38,960 –> 00:15:42,120
But the really brilliant thing is, the Egyptians

225
00:15:42,120 –> 00:15:45,320
are using these smaller shapes to capture the larger shape.

226
00:15:49,920 –> 00:15:52,920
But there’s one imposing and majestic symbol of Egyptian

227
00:15:52,920 –> 00:15:55,920
mathematics we haven’t attempted to unravel yet -

228
00:15:55,920 –> 00:15:58,160
the pyramid.

229
00:15:58,160 –> 00:16:03,040
I’ve seen so many pictures that I couldn’t believe I’d be impressed by them.

230
00:16:03,040 –> 00:16:06,560
But meeting them face to face, you understand why they’re called

231
00:16:06,560 –> 00:16:09,040
one of the Seven Wonders of the Ancient World.

232
00:16:09,040 –> 00:16:11,280
They’re simply breathtaking.

233
00:16:11,280 –> 00:16:14,600
And how much more impressive they must have been in their day,

234
00:16:14,600 –> 00:16:19,640
when the sides were as smooth as glass, reflecting the desert sun.

235
00:16:19,640 –> 00:16:25,200
To me it looks like there might be mirror pyramids hiding underneath the desert,

236
00:16:25,200 –> 00:16:29,480
which would complete the shapes to make perfectly symmetrical octahedrons.

237
00:16:29,480 –> 00:16:34,840
Sometimes, in the shimmer of the desert heat, you can almost see these shapes.

238
00:16:36,360 –> 00:16:43,680
It’s the hint of symmetry hidden inside these shapes that makes them so impressive for a mathematician.

239
00:16:43,680 –> 00:16:47,960
The pyramids are just a little short to create these perfect shapes,

240
00:16:47,960 –> 00:16:51,160
but some have suggested another important mathematical concept

241
00:16:51,160 –> 00:16:57,120
might be hidden inside the proportions of the Great Pyramid - the golden ratio.

242
00:16:57,120 –> 00:17:01,880
Two lengths are in the golden ratio, if the relationship of the longest

243
00:17:01,880 –> 00:17:07,160
to the shortest is the same as the sum of the two to the longest side.

244
00:17:07,160 –> 00:17:11,840
Such a ratio has been associated with the perfect proportions one finds

245
00:17:11,840 –> 00:17:15,840
all over the natural world, as well as in the work of artists,

246
00:17:15,840 –> 00:17:18,720
architects and designers for millennia.

247
00:17:22,560 –> 00:17:27,000
Whether the architects of the pyramids were conscious of this important mathematical idea,

248
00:17:27,000 –> 00:17:32,680
or were instinctively drawn to it because of its satisfying aesthetic properties, we’ll never know.

249
00:17:32,680 –> 00:17:37,040
For me, the most impressive thing about the pyramids is the mathematical brilliance

250
00:17:37,040 –> 00:17:40,600
that went into making them, including the first inkling

251
00:17:40,600 –> 00:17:44,640
of one of the great theorems of the ancient world, Pythagoras’ theorem.

252
00:17:46,160 –> 00:17:49,160
In order to get perfect right-angled corners on their buildings

253
00:17:49,160 –> 00:17:54,320
and pyramids, the Egyptians would have used a rope with knots tied in it.

254
00:17:54,320 –> 00:17:58,200
At some point, the Egyptians realised that if they took a triangle with sides

255
00:17:58,200 –> 00:18:05,640
marked with three knots, four knots and five knots, it guaranteed them a perfect right-angle.

256
00:18:05,640 –> 00:18:10,120
This is because three squared, plus four squared, is equal to five squared.

257
00:18:10,120 –> 00:18:12,840
So we’ve got a perfect Pythagorean triangle.

258
00:18:15,160 –> 00:18:20,960
In fact any triangle whose sides satisfy this relationship will give me an 90-degree angle.

259
00:18:20,960 –> 00:18:23,600
But I’m pretty sure that the Egyptians hadn’t got

260
00:18:23,600 –> 00:18:28,480
this sweeping generalisation of their 3, 4, 5 triangle.

261
00:18:28,480 –> 00:18:32,240
We would not expect to find the general proof

262
00:18:32,240 –> 00:18:35,720
because this is not the style of Egyptian mathematics.

263
00:18:35,720 –> 00:18:39,320
Every problem was solved using concrete numbers and then

264
00:18:39,320 –> 00:18:43,760
if a verification would be carried out at the end, it would use the result

265
00:18:43,760 –> 00:18:45,720
and these concrete, given numbers,

266
00:18:45,720 –> 00:18:49,440
there’s no general proof within the Egyptian mathematical texts.

267
00:18:50,960 –> 00:18:54,080
It would be some 2,000 years before the Greeks and Pythagoras

268
00:18:54,080 –> 00:18:59,280
would prove that all right-angled triangles shared certain properties.

269
00:18:59,280 –> 00:19:03,640
This wasn’t the only mathematical idea that the Egyptians would anticipate.

270
00:19:03,640 –> 00:19:10,160
In a 4,000-year-old document called the Moscow papyrus, we find a formula for the volume

271
00:19:10,160 –> 00:19:16,120
of a pyramid with its peak sliced off, which shows the first hint of calculus at work.

272
00:19:16,120 –> 00:19:22,920
For a culture like Egypt that is famous for its pyramids, you would expect problems like this

273
00:19:22,920 –> 00:19:26,560
to have been a regular feature within the mathematical texts.

274
00:19:26,560 –> 00:19:31,280
The calculation of the volume of a truncated pyramid is one of the most

275
00:19:31,280 –> 00:19:36,480
advanced bits, according to our modern standards of mathematics,

276
00:19:36,480 –> 00:19:39,080
that we have from ancient Egypt.

277
00:19:39,080 –> 00:19:43,120
The architects and engineers would certainly have wanted such a formula

278
00:19:43,120 –> 00:19:46,760
to calculate the amount of materials required to build it.

279
00:19:46,760 –> 00:19:49,000
But it’s a mark of the sophistication

280
00:19:49,000 –> 00:19:53,760
of Egyptian mathematics that they were able to produce such a beautiful method.

281
00:19:59,760 –> 00:20:03,760
To understand how they derived their formula, start with a pyramid

282
00:20:03,760 –> 00:20:08,480
built such that the highest point sits directly over one corner.

283
00:20:08,480 –> 00:20:13,080
Three of these can be put together to make a rectangular box,

284
00:20:13,080 –> 00:20:18,240
so the volume of the skewed pyramid is a third the volume of the box.

285
00:20:18,240 –> 00:20:24,280
That is, the height, times the length, times the width, divided by three.

286
00:20:24,280 –> 00:20:29,320
Now comes an argument which shows the very first hints of the calculus at work,

287
00:20:29,320 –> 00:20:35,320
thousands of years before Gottfried Leibniz and Isaac Newton would come up with the theory.

288
00:20:35,320 –> 00:20:39,640
Suppose you could cut the pyramid into slices, you could then slide

289
00:20:39,640 –> 00:20:44,960
the layers across to make the more symmetrical pyramid you see in Giza.

290
00:20:44,960 –> 00:20:49,720
However, the volume of the pyramid has not changed, despite the rearrangement of the layers.

291
00:20:49,720 –> 00:20:52,120
So the same formula works.

292
00:20:55,360 –> 00:20:58,880
The Egyptians were amazing innovators,

293
00:20:58,880 –> 00:21:02,080
and their ability to generate new mathematics was staggering.

294
00:21:02,080 –> 00:21:07,320
For me, they revealed the power of geometry and numbers, and made the first moves

295
00:21:07,320 –> 00:21:11,760
towards some of the exciting mathematical discoveries to come.

296
00:21:11,760 –> 00:21:15,960
But there was another civilisation that had mathematics to rival that of Egypt.

297
00:21:15,960 –> 00:21:20,040
And we know much more about their achievements.

298
00:21:24,280 –> 00:21:27,880
This is Damascus, over 5,000 years old,

299
00:21:27,880 –> 00:21:31,280
and still vibrant and bustling today.

300
00:21:31,280 –> 00:21:36,840
It used to be the most important point on the trade routes, linking old Mesopotamia with Egypt.

301
00:21:36,840 –> 00:21:43,720
The Babylonians controlled much of modern-day Iraq, Iran and Syria, from 1800BC.

302
00:21:43,720 –> 00:21:51,120
In order to expand and run their empire, they became masters of managing and manipulating numbers.

303
00:21:51,120 –> 00:21:53,920
We have law codes for instance that tell us

304
00:21:53,920 –> 00:21:56,200
about the way society is ordered.

305
00:21:56,200 –> 00:22:00,120
The people we know most about are the scribes, the professionally literate

306
00:22:00,120 –> 00:22:05,280
and numerate people who kept the records for the wealthy families and for the temples and palaces.

307
00:22:05,280 –> 00:22:10,320
Scribe schools existed from around 2500BC.

308
00:22:10,320 –> 00:22:17,240
Aspiring scribes were sent there as children, and learned how to read, write and work with numbers.

309
00:22:17,240 –> 00:22:20,120
Scribe records were kept on clay tablets,

310
00:22:20,120 –> 00:22:24,200
which allowed the Babylonians to manage and advance their empire.

311
00:22:24,200 –> 00:22:31,000
However, many of the tablets we have today aren’t official documents, but children’s exercises.

312
00:22:31,000 –> 00:22:37,640
It’s these unlikely relics that give us a rare insight into how the Babylonians approached mathematics.

313
00:22:37,640 –> 00:22:42,440
So, this is a geometrical textbook from about the 18th century BC.

314
00:22:42,440 –> 00:22:44,920
I hope you can see that there are lots of pictures on it.

315
00:22:44,920 –> 00:22:49,160
And underneath each picture is a text that sets a problem about the picture.

316
00:22:49,160 –> 00:22:55,800
So for instance this one here says, I drew a square, 60 units long,

317
00:22:55,800 –> 00:23:01,200
and inside it, I drew four circles - what are their areas?

318
00:23:01,200 –> 00:23:07,240
This little tablet here was written 1,000 years at least later than the tablet here,

319
00:23:07,240 –> 00:23:10,120
but has a very interesting relationship.

320
00:23:10,120 –> 00:23:12,520
It also has four circles on,

321
00:23:12,520 –> 00:23:17,280
in a square, roughly drawn, but this isn’t a textbook, it’s a school exercise.

322
00:23:17,280 –> 00:23:21,400
The adult scribe who’s teaching the student is being given this

323
00:23:21,400 –> 00:23:25,320
as an example of completed homework or something like that.

324
00:23:26,440 –> 00:23:29,560
Like the Egyptians, the Babylonians appeared interested

325
00:23:29,560 –> 00:23:32,920
in solving practical problems to do with measuring and weighing.

326
00:23:32,920 –> 00:23:37,400
The Babylonian solutions to these problems are written like mathematical recipes.

327
00:23:37,400 –> 00:23:43,000
A scribe would simply follow and record a set of instructions to get a result.

328
00:23:43,000 –> 00:23:47,760
Here’s an example of the kind of problem they’d solve.

329
00:23:47,760 –> 00:23:51,760
I’ve got a bundle of cinnamon sticks here, but I’m not gonna weigh them.

330
00:23:51,760 –> 00:23:56,440
Instead, I’m gonna take four times their weight and add them to the scales.

331
00:23:58,040 –> 00:24:04,640
Now I’m gonna add 20 gin. Gin was the ancient Babylonian measure of weight.

332
00:24:04,640 –> 00:24:07,960
I’m gonna take half of everything here and then add it again…

333
00:24:07,960 –> 00:24:10,280
That’s two bundles, and ten gin.

334
00:24:10,280 –> 00:24:16,320
Everything on this side is equal to one mana. One mana was 60 gin.

335
00:24:16,320 –> 00:24:20,280
And here, we have one of the first mathematical equations in history,

336
00:24:20,280 –> 00:24:23,160
everything on this side is equal to one mana.

337
00:24:23,160 –> 00:24:26,200
But how much does the bundle of cinnamon sticks weigh?

338
00:24:26,200 –> 00:24:29,480
Without any algebraic language, they were able to manipulate

339
00:24:29,480 –> 00:24:35,200
the quantities to be able to prove that the cinnamon sticks weighed five gin.

340
00:24:35,200 –> 00:24:40,560
In my mind, it’s this kind of problem which gives mathematics a bit of a bad name.

341
00:24:40,560 –> 00:24:45,040
You can blame those ancient Babylonians for all those tortuous problems you had at school.

342
00:24:45,040 –> 00:24:50,200
But the ancient Babylonian scribes excelled at this kind of problem.

343
00:24:50,200 –> 00:24:57,440
Intriguingly, they weren’t using powers of 10, like the Egyptians, they were using powers of 60.

344
00:25:00,120 –> 00:25:05,320
The Babylonians invented their number system, like the Egyptians, by using their fingers.

345
00:25:05,320 –> 00:25:08,520
But instead of counting through the 10 fingers on their hand,

346
00:25:08,520 –> 00:25:11,480
Babylonians found a more intriguing way to count body parts.

347
00:25:11,480 –> 00:25:14,000
They used the 12 knuckles on one hand,

348
00:25:14,000 –> 00:25:16,400
and the five fingers on the other to be able to count

349
00:25:16,400 –> 00:25:20,520
12 times 5, ie 60 different numbers.

350
00:25:20,520 –> 00:25:25,000
So for example, this number would have been 2 lots of 12, 24,

351
00:25:25,000 –> 00:25:29,120
and then, 1, 2, 3, 4, 5, to make 29.

352
00:25:32,200 –> 00:25:35,920
The number 60 had another powerful property.

353
00:25:35,920 –> 00:25:39,360
It can be perfectly divided in a multitude of ways.

354
00:25:39,360 –> 00:25:41,360
Here are 60 beans.

355
00:25:41,360 –> 00:25:44,800
I can arrange them in 2 rows of 30.

356
00:25:48,760 –> 00:25:51,520
3 rows of 20.

357
00:25:51,520 –> 00:25:53,920
4 rows of 15.

358
00:25:53,920 –> 00:25:56,160
5 rows of 12.

359
00:25:56,160 –> 00:25:59,320
Or 6 rows of 10.

360
00:25:59,320 –> 00:26:04,560
The divisibility of 60 makes it a perfect base in which to do arithmetic.

361
00:26:04,560 –> 00:26:11,000
The base 60 system was so successful, we still use elements of it today.

362
00:26:11,000 –> 00:26:15,080
Every time we want to tell the time, we recognise units of 60 -

363
00:26:15,080 –> 00:26:19,040
60 seconds in a minute, 60 minutes in an hour.

364
00:26:19,040 –> 00:26:24,800
But the most important feature of the Babylonians’ number system was that it recognised place value.

365
00:26:24,800 –> 00:26:30,200
Just as our decimal numbers count how many lots of tens, hundreds and thousands you’re recording,

366
00:26:30,200 –> 00:26:34,320
the position of each Babylonian number records the power of 60.

367
00:26:41,360 –> 00:26:44,440
Instead of inventing new symbols for bigger and bigger numbers,

368
00:26:44,440 –> 00:26:50,440
they would write 1-1-1, so this number would be 3,661.

369
00:26:54,000 –> 00:26:59,680
The catalyst for this discovery was the Babylonians’ desire to chart the course of the night sky.

370
00:27:07,400 –> 00:27:10,840
The Babylonians’ calendar was based on the cycles of the moon.

371
00:27:10,840 –> 00:27:15,200
They needed a way of recording astronomically large numbers.

372
00:27:15,200 –> 00:27:19,560
Month by month, year by year, these cycles were recorded.

373
00:27:19,560 –> 00:27:25,720
From about 800BC, there were complete lists of lunar eclipses.

374
00:27:25,720 –> 00:27:30,480
The Babylonian system of measurement was quite sophisticated at that time.

375
00:27:30,480 –> 00:27:32,840
They had a system of angular measurement,

376
00:27:32,840 –> 00:27:36,960
360 degrees in a full circle, each degree was divided

377
00:27:36,960 –> 00:27:41,920
into 60 minutes, a minute was further divided into 60 seconds.

378
00:27:41,920 –> 00:27:48,560
So they had a regular system for measurement, and it was in perfect harmony with their number system,

379
00:27:48,560 –> 00:27:52,200
so it’s well suited not only for observation but also for calculation.

380
00:27:52,200 –> 00:27:56,360
But in order to calculate and cope with these large numbers,

381
00:27:56,360 –> 00:28:00,720
the Babylonians needed to invent a new symbol.

382
00:28:00,720 –> 00:28:03,760
And in so doing, they prepared the ground for one of the great

383
00:28:03,760 –> 00:28:06,880
breakthroughs in the history of mathematics - zero.

384
00:28:06,880 –> 00:28:11,240
In the early days, the Babylonians, in order to mark an empty place in

385
00:28:11,240 –> 00:28:14,640
the middle of a number, would simply leave a blank space.

386
00:28:14,640 –> 00:28:19,960
So they needed a way of representing nothing in the middle of a number.

387
00:28:19,960 –> 00:28:25,360
So they used a sign, as a sort of breathing marker, a punctuation mark,

388
00:28:25,360 –> 00:28:28,480
and it comes to mean zero in the middle of a number.

389
00:28:28,480 –> 00:28:31,680
This was the first time zero, in any form,

390
00:28:31,680 –> 00:28:35,440
had appeared in the mathematical universe.

391
00:28:35,440 –> 00:28:42,000
But it would be over a 1,000 years before this little place holder would become a number in its own right.

392
00:28:50,600 –> 00:28:53,920
Having established such a sophisticated system of numbers,

393
00:28:53,920 –> 00:28:59,720
they harnessed it to tame the arid and inhospitable land that ran through Mesopotamia.

394
00:29:02,080 –> 00:29:06,400
Babylonian engineers and surveyors found ingenious ways of

395
00:29:06,400 –> 00:29:10,400
accessing water, and channelling it to the crop fields.

396
00:29:10,400 –> 00:29:15,760
Yet again, they used mathematics to come up with solutions.

397
00:29:15,760 –> 00:29:19,200
The Orontes valley in Syria is still an agricultural hub,

398
00:29:19,200 –> 00:29:26,320
and the old methods of irrigation are being exploited today, just as they were thousands of years ago.

399
00:29:26,320 –> 00:29:29,160
Many of the problems in Babylonian mathematics

400
00:29:29,160 –> 00:29:34,360
are concerned with measuring land, and it’s here we see for the first time

401
00:29:34,360 –> 00:29:39,920
the use of quadratic equations, one of the greatest legacies of Babylonian mathematics.

402
00:29:39,920 –> 00:29:43,560
Quadratic equations involve things where the unknown quantity

403
00:29:43,560 –> 00:29:46,920
you’re trying to identify is multiplied by itself.

404
00:29:46,920 –> 00:29:49,880
We call this squaring because it gives the area of a square,

405
00:29:49,880 –> 00:29:53,040
and it’s in the context of calculating the area of land

406
00:29:53,040 –> 00:29:55,960
that these quadratic equations naturally arise.

407
00:30:01,320 –> 00:30:03,280
Here’s a typical problem.

408
00:30:03,280 –> 00:30:06,160
If a field has an area of 55 units

409
00:30:06,160 –> 00:30:10,640
and one side is six units longer than the other,

410
00:30:10,640 –> 00:30:12,560
how long is the shorter side?

411
00:30:14,200 –> 00:30:18,640
The Babylonian solution was to reconfigure the field as a square.

412
00:30:18,640 –> 00:30:21,920
Cut three units off the end

413
00:30:21,920 –> 00:30:24,760
and move this round.

414
00:30:24,760 –> 00:30:29,920
Now, there’s a three-by-three piece missing, so let’s add this in.

415
00:30:29,920 –> 00:30:34,640
The area of the field has increased by nine units.

416
00:30:34,640 –> 00:30:38,040
This makes the new area 64.

417
00:30:38,040 –> 00:30:41,880
So the sides of the square are eight units.

418
00:30:41,880 –> 00:30:45,320
The problem-solver knows that they’ve added three to this side.

419
00:30:45,320 –> 00:30:49,520
So, the original length must be five.

420
00:30:50,520 –> 00:30:55,600
It may not look like it, but this is one of the first quadratic equations in history.

421
00:30:57,400 –> 00:31:02,400
In modern mathematics, I would use the symbolic language of algebra to solve this problem.

422
00:31:02,400 –> 00:31:07,400
The amazing feat of the Babylonians is that they were using these geometric games to find the value,

423
00:31:07,400 –> 00:31:10,200
without any recourse to symbols or formulas.

424
00:31:10,200 –> 00:31:13,920
The Babylonians were enjoying problem-solving for its own sake.

425
00:31:13,920 –> 00:31:17,960
They were falling in love with mathematics.

426
00:31:29,080 –> 00:31:34,080
The Babylonians’ fascination with numbers soon found a place in their leisure time, too.

427
00:31:34,080 –> 00:31:35,960
They were avid game-players.

428
00:31:35,960 –> 00:31:38,760
The Babylonians and their descendants have been playing

429
00:31:38,760 –> 00:31:43,160
a version of backgammon for over 5,000 years.

430
00:31:43,160 –> 00:31:45,840
The Babylonians played board games,

431
00:31:45,840 –> 00:31:52,200
from very posh board games in royal tombs to little bits of board games found in schools,

432
00:31:52,200 –> 00:31:56,280
to board games scratched on the entrances of palaces,

433
00:31:56,280 –> 00:32:00,520
so that the guardsmen must have played when they were bored,

434
00:32:00,520 –> 00:32:03,760
and they used dice to move their counters round.

435
00:32:04,880 –> 00:32:09,800
People who played games were using numbers in their leisure time to try and outwit their opponent,

436
00:32:09,800 –> 00:32:12,680
doing mental arithmetic very fast,

437
00:32:12,680 –> 00:32:17,280
and so they were calculating in their leisure time,

438
00:32:17,280 –> 00:32:21,000
without even thinking about it as being mathematical hard work.

439
00:32:23,320 –> 00:32:24,600
Now’s my chance.

440
00:32:24,600 –> 00:32:30,000
‘I hadn’t played backgammon for ages but I reckoned my maths would give me a fighting chance.’

441
00:32:30,000 –> 00:32:33,560

  • It’s up to you.
  • Six… I need to move something.

442
00:32:33,560 –> 00:32:36,560
‘But it wasn’t as easy as I thought.’

443
00:32:36,560 –> 00:32:38,680
Ah! What the hell was that?

444
00:32:38,680 –> 00:32:42,440

  • Yeah.
  • This is one, this is two.

445
00:32:42,440 –> 00:32:44,200
Now you’re in trouble.

446
00:32:44,200 –> 00:32:47,800

  • So I can’t move anything.
  • You cannot move these.

447
00:32:47,800 –> 00:32:49,200
Oh, gosh.

448
00:32:50,520 –> 00:32:52,320
There you go.

449
00:32:53,320 –> 00:32:54,960
Three and four.

450
00:32:54,960 –> 00:33:00,720
‘Just like the ancient Babylonians, my opponents were masters of tactical mathematics.’

451
00:33:00,720 –> 00:33:02,120
Yeah.

452
00:33:03,120 –> 00:33:05,840
Put it there. Good game.

453
00:33:07,120 –> 00:33:10,080
The Babylonians are recognised as one of the first cultures

454
00:33:10,080 –> 00:33:13,840
to use symmetrical mathematical shapes to make dice,

455
00:33:13,840 –> 00:33:17,440
but there is more heated debate about whether they might also

456
00:33:17,440 –> 00:33:20,920
have been the first to discover the secrets of another important shape.

457
00:33:20,920 –> 00:33:24,040
The right-angled triangle.

458
00:33:27,000 –> 00:33:32,360
We’ve already seen how the Egyptians use a 3-4-5 right-angled triangle.

459
00:33:32,360 –> 00:33:37,600
But what the Babylonians knew about this shape and others like it is much more sophisticated.

460
00:33:37,600 –> 00:33:42,120
This is the most famous and controversial ancient tablet we have.

461
00:33:42,120 –> 00:33:44,480
It’s called Plimpton 322.

462
00:33:45,480 –> 00:33:49,080
Many mathematicians are convinced it shows the Babylonians

463
00:33:49,080 –> 00:33:53,360
could well have known the principle regarding right-angled triangles,

464
00:33:53,360 –> 00:33:57,400
that the square on the diagonal is the sum of the squares on the sides,

465
00:33:57,400 –> 00:34:00,280
and known it centuries before the Greeks claimed it.

466
00:34:01,880 –> 00:34:06,320
This is a copy of arguably the most famous Babylonian tablet,

467
00:34:06,320 –> 00:34:08,040
which is Plimpton 322,

468
00:34:08,040 –> 00:34:12,680
and these numbers here reflect the width or height of a triangle,

469
00:34:12,680 –> 00:34:17,520
this being the diagonal, the other side would be over here,

470
00:34:17,520 –> 00:34:19,880
and the square of this column

471
00:34:19,880 –> 00:34:23,280
plus the square of the number in this column

472
00:34:23,280 –> 00:34:26,360
equals the square of the diagonal.

473
00:34:26,360 –> 00:34:31,120
They are arranged in an order of steadily decreasing angle,

474
00:34:31,120 –> 00:34:34,000
on a very uniform basis, showing that somebody

475
00:34:34,000 –> 00:34:38,600
had a lot of understanding of how the numbers fit together.

476
00:34:44,680 –> 00:34:50,800
Here were 15 perfect Pythagorean triangles, all of whose sides had whole-number lengths.

477
00:34:50,800 –> 00:34:56,160
It’s tempting to think that the Babylonians were the first custodians of Pythagoras’ theorem,

478
00:34:56,160 –> 00:35:01,200
and it’s a conclusion that generations of historians have been seduced by.

479
00:35:01,200 –> 00:35:03,960
But there could be a much simpler explanation

480
00:35:03,960 –> 00:35:07,760
for the sets of three numbers which fulfil Pythagoras’ theorem.

481
00:35:07,760 –> 00:35:12,800
It’s not a systematic explanation of Pythagorean triples, it’s simply

482
00:35:12,800 –> 00:35:17,640
a mathematics teacher doing some quite complicated calculations,

483
00:35:17,640 –> 00:35:21,160
but in order to produce some very simple numbers,

484
00:35:21,160 –> 00:35:26,120
in order to set his students problems about right-angled triangles,

485
00:35:26,120 –> 00:35:31,000
and in that sense it’s about Pythagorean triples only incidentally.

486
00:35:33,480 –> 00:35:39,040
The most valuable clues to what they understood could lie elsewhere.

487
00:35:39,040 –> 00:35:43,360
This small school exercise tablet is nearly 4,000 years old

488
00:35:43,360 –> 00:35:48,800
and reveals just what the Babylonians did know about right-angled triangles.

489
00:35:48,800 –> 00:35:54,360
It uses a principle of Pythagoras’ theorem to find the value of an astounding new number.

490
00:35:57,920 –> 00:36:05,000
Drawn along the diagonal is a really very good approximation to the square root of two,

491
00:36:05,000 –> 00:36:10,880
and so that shows us that it was known and used in school environments.

492
00:36:10,880 –> 00:36:12,880
Why’s this important?

493
00:36:12,880 –> 00:36:18,440
Because the square root of two is what we now call an irrational number,

494
00:36:18,440 –> 00:36:23,960
that is, if we write it out in decimals, or even in sexigesimal places,

495
00:36:23,960 –> 00:36:28,360
it doesn’t end, the numbers go on forever after the decimal point.

496
00:36:29,640 –> 00:36:33,640
The implications of this calculation are far-reaching.

497
00:36:33,640 –> 00:36:37,920
Firstly, it means the Babylonians knew something of Pythagoras’ theorem

498
00:36:37,920 –> 00:36:39,800
1,000 years before Pythagoras.

499
00:36:39,800 –> 00:36:45,560
Secondly, the fact that they can calculate this number to an accuracy of four decimal places

500
00:36:45,560 –> 00:36:50,600
shows an amazing arithmetic facility, as well as a passion for mathematical detail.

501
00:36:52,200 –> 00:36:56,440
The Babylonians’ mathematical dexterity was astounding,

502
00:36:56,440 –> 00:37:03,080
and for nearly 2,000 years they spearheaded intellectual progress in the ancient world.

503
00:37:03,080 –> 00:37:08,280
But when their imperial power began to wane, so did their intellectual vigour.

504
00:37:16,400 –> 00:37:23,280
By 330BC, the Greeks had advanced their imperial reach into old Mesopotamia.

505
00:37:25,200 –> 00:37:31,000
This is Palmyra in central Syria, a once-great city built by the Greeks.

506
00:37:33,800 –> 00:37:41,000
The mathematical expertise needed to build structures with such geometric perfection is impressive.

507
00:37:42,120 –> 00:37:48,320
Just like the Babylonians before them, the Greeks were passionate about mathematics.

508
00:37:50,520 –> 00:37:53,080
The Greeks were clever colonists.

509
00:37:53,080 –> 00:37:56,280
They took the best from the civilisations they invaded

510
00:37:56,280 –> 00:37:58,720
to advance their own power and influence,

511
00:37:58,720 –> 00:38:01,880
but they were soon making contributions themselves.

512
00:38:01,880 –> 00:38:07,080
In my opinion, their greatest innovation was to do with a shift in the mind.

513
00:38:07,080 –> 00:38:11,560
What they initiated would influence humanity for centuries.

514
00:38:11,560 –> 00:38:14,520
They gave us the power of proof.

515
00:38:14,520 –> 00:38:18,200
Somehow they decided that they had to have a deductive system

516
00:38:18,200 –> 00:38:19,640
for their mathematics

517
00:38:19,640 –> 00:38:21,800
and the typical deductive system

518
00:38:21,800 –> 00:38:25,720
was to begin with certain axioms, which you assume are true.

519
00:38:25,720 –> 00:38:29,080
It’s as if you assume a certain theorem is true without proving it.

520
00:38:29,080 –> 00:38:34,600
And then, using logical methods and very careful steps,

521
00:38:34,600 –> 00:38:37,480
from these axioms you prove theorems

522
00:38:37,480 –> 00:38:42,400
and from those theorems you prove more theorems, and it just snowballs.

523
00:38:43,520 –> 00:38:47,000
Proof is what gives mathematics its strength.

524
00:38:47,000 –> 00:38:51,360
It’s the power of proof which means that the discoveries of the Greeks

525
00:38:51,360 –> 00:38:55,480
are as true today as they were 2,000 years ago.

526
00:38:55,480 –> 00:39:01,120
I needed to head west into the heart of the old Greek empire to learn more.

527
00:39:08,720 –> 00:39:14,000
For me, Greek mathematics has always been heroic and romantic.

528
00:39:15,280 –> 00:39:20,240
I’m on my way to Samos, less than a mile from the Turkish coast.

529
00:39:20,240 –> 00:39:25,000
This place has become synonymous with the birth of Greek mathematics,

530
00:39:25,000 –> 00:39:27,920
and it’s down to the legend of one man.

531
00:39:31,000 –> 00:39:33,120
His name is Pythagoras.

532
00:39:33,120 –> 00:39:36,520
The legends that surround his life and work have contributed

533
00:39:36,520 –> 00:39:40,320
to the celebrity status he has gained over the last 2,000 years.

534
00:39:40,320 –> 00:39:44,960
He’s credited, rightly or wrongly, with beginning the transformation

535
00:39:44,960 –> 00:39:50,240
from mathematics as a tool for accounting to the analytic subject we recognise today.

536
00:39:54,160 –> 00:39:57,160
Pythagoras is a controversial figure.

537
00:39:57,160 –> 00:40:00,360
Because he left no mathematical writings, many have questioned

538
00:40:00,360 –> 00:40:04,920
whether he indeed solved any of the theorems attributed to him.

539
00:40:04,920 –> 00:40:07,960
He founded a school in Samos in the sixth century BC,

540
00:40:07,960 –> 00:40:13,440
but his teachings were considered suspect and the Pythagoreans a bizarre sect.

541
00:40:14,960 –> 00:40:19,720
There is good evidence that there were schools of Pythagoreans,

542
00:40:19,720 –> 00:40:22,360
and they may have looked more like sects

543
00:40:22,360 –> 00:40:25,920
than what we associate with philosophical schools,

544
00:40:25,920 –> 00:40:30,920
because they didn’t just share knowledge, they also shared a way of life.

545
00:40:30,920 –> 00:40:36,080
There may have been communal living and they all seemed to have been

546
00:40:36,080 –> 00:40:40,000
involved in the politics of their cities.

547
00:40:40,000 –> 00:40:45,440
One feature that makes them unusual in the ancient world is that they included women.

548
00:40:46,560 –> 00:40:52,280
But Pythagoras is synonymous with understanding something that eluded the Egyptians and the Babylonians -

549
00:40:52,280 –> 00:40:56,040
the properties of right-angled triangles.

550
00:40:56,040 –> 00:40:58,400
What’s known as Pythagoras’ theorem

551
00:40:58,400 –> 00:41:01,360
states that if you take any right-angled triangle,

552
00:41:01,360 –> 00:41:05,320
build squares on all the sides, then the area of the largest square

553
00:41:05,320 –> 00:41:09,320
is equal to the sum of the squares on the two smaller sides.

554
00:41:13,240 –> 00:41:16,680
It’s at this point for me that mathematics is born

555
00:41:16,680 –> 00:41:19,880
and a gulf opens up between the other sciences,

556
00:41:19,880 –> 00:41:24,600
and the proof is as simple as it is devastating in its implications.

557
00:41:24,600 –> 00:41:28,080
Place four copies of the right-angled triangle

558
00:41:28,080 –> 00:41:29,840
on top of this surface.

559
00:41:29,840 –> 00:41:31,720
The square that you now see

560
00:41:31,720 –> 00:41:35,440
has sides equal to the hypotenuse of the triangle.

561
00:41:35,440 –> 00:41:37,600
By sliding these triangles around,

562
00:41:37,600 –> 00:41:40,720
we see how we can break the area of the large square up

563
00:41:40,720 –> 00:41:43,160
into the sum of two smaller squares,

564
00:41:43,160 –> 00:41:47,280
whose sides are given by the two short sides of the triangle.

565
00:41:47,280 –> 00:41:52,040
In other words, the square on the hypotenuse is equal to the sum

566
00:41:52,040 –> 00:41:55,840
of the squares on the other sides. Pythagoras’ theorem.

567
00:41:58,040 –> 00:42:02,400
It illustrates one of the characteristic themes of Greek mathematics -

568
00:42:02,400 –> 00:42:07,600
the appeal to beautiful arguments in geometry rather than a reliance on number.

569
00:42:11,400 –> 00:42:16,000
Pythagoras may have fallen out of favour and many of the discoveries accredited to him

570
00:42:16,000 –> 00:42:21,840
have been contested recently, but there’s one mathematical theory that I’m loath to take away from him.

571
00:42:21,840 –> 00:42:25,840
It’s to do with music and the discovery of the harmonic series.

572
00:42:27,680 –> 00:42:31,480
The story goes that, walking past a blacksmith’s one day,

573
00:42:31,480 –> 00:42:33,800
Pythagoras heard anvils being struck,

574
00:42:33,800 –> 00:42:38,800
and noticed how the notes being produced sounded in perfect harmony.

575
00:42:38,800 –> 00:42:42,240
He believed that there must be some rational explanation

576
00:42:42,240 –> 00:42:46,080
to make sense of why the notes sounded so appealing.

577
00:42:46,080 –> 00:42:48,560
The answer was mathematics.

578
00:42:53,480 –> 00:42:58,120
Experimenting with a stringed instrument, Pythagoras discovered that the intervals between

579
00:42:58,120 –> 00:43:02,400
harmonious musical notes were always represented as whole-number ratios.

580
00:43:05,200 –> 00:43:08,160
And here’s how he might have constructed his theory.

581
00:43:10,720 –> 00:43:13,600
First, play a note on the open string.

582
00:43:13,600 –> 00:43:15,120
MAN PLAYS NOTE

583
00:43:15,120 –> 00:43:17,040
Next, take half the length.

584
00:43:18,960 –> 00:43:22,160
The note almost sounds the same as the first note.

585
00:43:22,160 –> 00:43:27,120
In fact it’s an octave higher, but the relationship is so strong, we give these notes the same name.

586
00:43:27,120 –> 00:43:28,960
Now take a third the length.

587
00:43:31,600 –> 00:43:35,640
We get another note which sounds harmonious next to the first two,

588
00:43:35,640 –> 00:43:41,240
but take a length of string which is not in a whole-number ratio and all we get is dissonance.

589
00:43:46,600 –> 00:43:51,000
According to legend, Pythagoras was so excited by this discovery

590
00:43:51,000 –> 00:43:54,440
that he concluded the whole universe was built from numbers.

591
00:43:54,440 –> 00:44:00,040
But he and his followers were in for a rather unsettling challenge to their world view

592
00:44:00,040 –> 00:44:05,120
and it came about as a result of the theorem which bears Pythagoras’ name.

593
00:44:07,120 –> 00:44:12,400
Legend has it, one of his followers, a mathematician called Hippasus,

594
00:44:12,400 –> 00:44:15,480
set out to find the length of the diagonal

595
00:44:15,480 –> 00:44:19,760
for a right-angled triangle with two sides measuring one unit.

596
00:44:19,760 –> 00:44:25,520
Pythagoras’ theorem implied that the length of the diagonal was a number whose square was two.

597
00:44:25,520 –> 00:44:29,560
The Pythagoreans assumed that the answer would be a fraction,

598
00:44:29,560 –> 00:44:36,000
but when Hippasus tried to express it in this way, no matter how he tried, he couldn’t capture it.

599
00:44:36,000 –> 00:44:38,600
Eventually he realised his mistake.

600
00:44:38,600 –> 00:44:43,320
It was the assumption that the value was a fraction at all which was wrong.

601
00:44:43,320 –> 00:44:49,440
The value of the square root of two was the number that the Babylonians etched into the Yale tablet.

602
00:44:49,440 –> 00:44:53,320
However, they didn’t recognise the special character of this number.

603
00:44:53,320 –> 00:44:55,040
But Hippasus did.

604
00:44:55,040 –> 00:44:57,560
It was an irrational number.

605
00:45:00,880 –> 00:45:04,800
The discovery of this new number, and others like it, is akin to an explorer

606
00:45:04,800 –> 00:45:09,240
discovering a new continent, or a naturalist finding a new species.

607
00:45:09,240 –> 00:45:13,520
But these irrational numbers didn’t fit the Pythagorean world view.

608
00:45:13,520 –> 00:45:19,120
Later Greek commentators tell the story of how Pythagoras swore his sect to secrecy,

609
00:45:19,120 –> 00:45:21,840
but Hippasus let slip the discovery

610
00:45:21,840 –> 00:45:25,600
and was promptly drowned for his attempts to broadcast their research.

611
00:45:27,080 –> 00:45:32,440
But these mathematical discoveries could not be easily suppressed.

612
00:45:32,440 –> 00:45:37,920
Schools of philosophy and science started to flourish all over Greece, building on these foundations.

613
00:45:37,920 –> 00:45:42,360
The most famous of these was the Academy.

614
00:45:42,360 –> 00:45:47,560
Plato founded this school in Athens in 387 BC.

615
00:45:47,560 –> 00:45:54,040
Although we think of him today as a philosopher, he was one of mathematics’ most important patrons.

616
00:45:54,040 –> 00:45:57,720
Plato was enraptured by the Pythagorean world view

617
00:45:57,720 –> 00:46:02,040
and considered mathematics the bedrock of knowledge.

618
00:46:02,040 –> 00:46:07,200
Some people would say that Plato is the most influential figure

619
00:46:07,200 –> 00:46:10,080
for our perception of Greek mathematics.

620
00:46:10,080 –> 00:46:15,120
He argued that mathematics is an important form of knowledge

621
00:46:15,120 –> 00:46:17,600
and does have a connection with reality.

622
00:46:17,600 –> 00:46:23,480
So by knowing mathematics, we know more about reality.

623
00:46:23,480 –> 00:46:29,240
In his dialogue Timaeus, Plato proposes the thesis that geometry is the key to unlocking

624
00:46:29,240 –> 00:46:33,480
the secrets of the universe, a view still held by scientists today.

625
00:46:33,480 –> 00:46:37,480
Indeed, the importance Plato attached to geometry is encapsulated

626
00:46:37,480 –> 00:46:43,960
in the sign that was mounted above the Academy, “Let no-one ignorant of geometry enter here.”

627
00:46:47,520 –> 00:46:53,720
Plato proposed that the universe could be crystallised into five regular symmetrical shapes.

628
00:46:53,720 –> 00:46:56,640
These shapes, which we now call the Platonic solids,

629
00:46:56,640 –> 00:46:59,600
were composed of regular polygons, assembled to create

630
00:46:59,600 –> 00:47:03,080
three-dimensional symmetrical objects.

631
00:47:03,080 –> 00:47:05,720
The tetrahedron represented fire.

632
00:47:05,720 –> 00:47:09,960
The icosahedron, made from 20 triangles, represented water.

633
00:47:09,960 –> 00:47:12,160
The stable cube was Earth.

634
00:47:12,160 –> 00:47:15,880
The eight-faced octahedron was air.

635
00:47:15,880 –> 00:47:19,440
And the fifth Platonic solid, the dodecahedron,

636
00:47:19,440 –> 00:47:22,280
made out of 12 pentagons, was reserved for the shape

637
00:47:22,280 –> 00:47:26,000
that captured Plato’s view of the universe.

638
00:47:29,600 –> 00:47:33,640
Plato’s theory would have a seismic influence and continued to inspire

639
00:47:33,640 –> 00:47:37,400
mathematicians and astronomers for over 1,500 years.

640
00:47:38,360 –> 00:47:41,120
In addition to the breakthroughs made in the Academy,

641
00:47:41,120 –> 00:47:45,040
mathematical triumphs were also emerging from the edge of the Greek empire,

642
00:47:45,040 –> 00:47:51,520
and owed as much to the mathematical heritage of the Egyptians as the Greeks.

643
00:47:51,520 –> 00:47:58,000
Alexandria became a hub of academic excellence under the rule of the Ptolemies in the 3rd century BC,

644
00:47:58,000 –> 00:48:04,320
and its famous library soon gained a reputation to rival Plato’s Academy.

645
00:48:04,320 –> 00:48:11,760
The kings of Alexandria were prepared to invest in the arts and culture,

646
00:48:11,760 –> 00:48:14,960
in technology, mathematics, grammar,

647
00:48:14,960 –> 00:48:19,680
because patronage for cultural pursuits

648
00:48:19,680 –> 00:48:27,000
was one way of showing that you were a more prestigious ruler,

649
00:48:27,000 –> 00:48:30,320
and had a better entitlement to greatness.

650
00:48:32,040 –> 00:48:35,360
The old library and its precious contents were destroyed

651
00:48:35,360 –> 00:48:38,240
But its spirit is alive in a new building.

652
00:48:40,240 –> 00:48:44,120
Today, the library remains a place of discovery and scholarship.

653
00:48:48,600 –> 00:48:51,920
Mathematicians and philosophers flocked to Alexandria,

654
00:48:51,920 –> 00:48:55,080
driven by their thirst for knowledge and the pursuit of excellence.

655
00:48:55,080 –> 00:48:59,040
The patrons of the library were the first professional scientists,

656
00:48:59,040 –> 00:49:02,600
individuals who were paid for their devotion to research.

657
00:49:02,600 –> 00:49:04,720
But of all those early pioneers,

658
00:49:04,720 –> 00:49:08,880
my hero is the enigmatic Greek mathematician Euclid.

659
00:49:12,560 –> 00:49:15,120
We know very little about Euclid’s life,

660
00:49:15,120 –> 00:49:19,360
but his greatest achievements were as a chronicler of mathematics.

661
00:49:19,360 –> 00:49:24,600
Around 300 BC, he wrote the most important text book of all time -

662
00:49:24,600 –> 00:49:27,080
The Elements. In The Elements,

663
00:49:27,080 –> 00:49:31,120
we find the culmination of the mathematical revolution

664
00:49:31,120 –> 00:49:32,960
which had taken place in Greece.

665
00:49:34,880 –> 00:49:39,240
It’s built on a series of mathematical assumptions, called axioms.

666
00:49:39,240 –> 00:49:44,000
For example, a line can be drawn between any two points.

667
00:49:44,000 –> 00:49:48,760
From these axioms, logical deductions are made and mathematical theorems established.

668
00:49:51,880 –> 00:49:56,360
The Elements contains formulas for calculating the volumes of cones

669
00:49:56,360 –> 00:49:59,400
and cylinders, proofs about geometric series,

670
00:49:59,400 –> 00:50:02,160
perfect numbers and primes.

671
00:50:02,160 –> 00:50:06,760
The climax of The Elements is a proof that there are only five Platonic solids.

672
00:50:09,560 –> 00:50:14,280
For me, this last theorem captures the power of mathematics.

673
00:50:14,280 –> 00:50:17,080
It’s one thing to build five symmetrical solids,

674
00:50:17,080 –> 00:50:22,600
quite another to come up with a watertight, logical argument for why there can’t be a sixth.

675
00:50:22,600 –> 00:50:26,600
The Elements unfolds like a wonderful, logical mystery novel.

676
00:50:26,600 –> 00:50:29,720
But this is a story which transcends time.

677
00:50:29,720 –> 00:50:33,560
Scientific theories get knocked down, from one generation to the next,

678
00:50:33,560 –> 00:50:39,920
but the theorems in The Elements are as true today as they were 2,000 years ago.

679
00:50:39,920 –> 00:50:43,480
When you stop and think about it, it’s really amazing.

680
00:50:43,480 –> 00:50:45,160
It’s the same theorems that we teach.

681
00:50:45,160 –> 00:50:49,960
We may teach them in a slightly different way, we may organise them differently,

682
00:50:49,960 –> 00:50:54,200
but it’s Euclidean geometry that is still valid,

683
00:50:54,200 –> 00:50:58,320
and even in higher mathematics, when you go to higher dimensional spaces,

684
00:50:58,320 –> 00:51:00,560
you’re still using Euclidean geometry.

685
00:51:02,080 –> 00:51:06,080
Alexandria must have been an inspiring place for the ancient scholars,

686
00:51:06,080 –> 00:51:12,360
and Euclid’s fame would have attracted even more eager, young intellectuals to the Egyptian port.

687
00:51:12,360 –> 00:51:18,680
One mathematician who particularly enjoyed the intellectual environment in Alexandria was Archimedes.

688
00:51:19,640 –> 00:51:23,200
He would become a mathematical visionary.

689
00:51:23,200 –> 00:51:28,080
The best Greek mathematicians, they were always pushing the limits,

690
00:51:28,080 –> 00:51:29,560
pushing the envelope.

691
00:51:29,560 –> 00:51:32,200
So, Archimedes…

692
00:51:32,200 –> 00:51:35,200
did what he could with polygons,

693
00:51:35,200 –> 00:51:37,520
with solids.

694
00:51:37,520 –> 00:51:40,360
He then moved on to centres of gravity.

695
00:51:40,360 –> 00:51:44,680
He then moved on to the spiral.

696
00:51:44,680 –> 00:51:50,800
This instinct to try and mathematise everything

697
00:51:50,800 –> 00:51:54,440
is something that I see as a legacy.

698
00:51:55,520 –> 00:52:00,280
One of Archimedes’ specialities was weapons of mass destruction.

699
00:52:00,280 –> 00:52:06,360
They were used against the Romans when they invaded his home of Syracuse in 212 BC.

700
00:52:06,360 –> 00:52:10,200
He also designed mirrors, which harnessed the power of the sun,

701
00:52:10,200 –> 00:52:12,760
to set the Roman ships on fire.

702
00:52:12,760 –> 00:52:17,520
But to Archimedes, these endeavours were mere amusements in geometry.

703
00:52:17,520 –> 00:52:20,280
He had loftier ambitions.

704
00:52:23,040 –> 00:52:29,560
Archimedes was enraptured by pure mathematics and believed in studying mathematics for its own sake

705
00:52:29,560 –> 00:52:33,800
and not for the ignoble trade of engineering or the sordid quest for profit.

706
00:52:33,800 –> 00:52:37,840
One of his finest investigations into pure mathematics

707
00:52:37,840 –> 00:52:41,840
was to produce formulas to calculate the areas of regular shapes.

708
00:52:43,760 –> 00:52:49,480
Archimedes’ method was to capture new shapes by using shapes he already understood.

709
00:52:49,480 –> 00:52:52,720
So, for example, to calculate the area of a circle,

710
00:52:52,720 –> 00:52:57,920
he would enclose it inside a triangle, and then by doubling the number of sides on the triangle,

711
00:52:57,920 –> 00:53:02,320
the enclosing shape would get closer and closer to the circle.

712
00:53:02,320 –> 00:53:04,360
Indeed, we sometimes call a circle

713
00:53:04,360 –> 00:53:07,360
a polygon with an infinite number of sides.

714
00:53:07,360 –> 00:53:11,200
But by estimating the area of the circle, Archimedes is, in fact,

715
00:53:11,200 –> 00:53:15,480
getting a value for pi, the most important number in mathematics.

716
00:53:16,480 –> 00:53:22,760
However, it was calculating the volumes of solid objects where Archimedes excelled.

717
00:53:22,760 –> 00:53:25,800
He found a way to calculate the volume of a sphere

718
00:53:25,800 –> 00:53:30,280
by slicing it up and approximating each slice as a cylinder.

719
00:53:30,280 –> 00:53:33,120
He then added up the volumes of the slices

720
00:53:33,120 –> 00:53:36,480
to get an approximate value for the sphere.

721
00:53:36,480 –> 00:53:39,440
But his act of genius was to see what happens

722
00:53:39,440 –> 00:53:42,280
if you make the slices thinner and thinner.

723
00:53:42,280 –> 00:53:47,040
In the limit, the approximation becomes an exact calculation.

724
00:53:51,080 –> 00:53:56,040
But it was Archimedes’ commitment to mathematics that would be his undoing.

725
00:53:58,120 –> 00:54:02,960
Archimedes was contemplating a problem about circles traced in the sand.

726
00:54:02,960 –> 00:54:05,600
When a Roman soldier accosted him,

727
00:54:05,600 –> 00:54:11,640
Archimedes was so engrossed in his problem that he insisted that he be allowed to finish his theorem.

728
00:54:11,640 –> 00:54:16,920
But the Roman soldier was not interested in Archimedes’ problem and killed him on the spot.

729
00:54:16,920 –> 00:54:21,800
Even in death, Archimedes’ devotion to mathematics was unwavering.

730
00:54:43,360 –> 00:54:46,480
By the middle of the 1st century BC,

731
00:54:46,480 –> 00:54:50,520
the Romans had tightened their grip on the old Greek empire.

732
00:54:50,520 –> 00:54:53,320
They were less smitten with the beauty of mathematics

733
00:54:53,320 –> 00:54:56,640
and were more concerned with its practical applications.

734
00:54:56,640 –> 00:55:02,520
This pragmatic attitude signalled the beginning of the end for the great library of Alexandria.

735
00:55:02,520 –> 00:55:06,760
But one mathematician was determined to keep the legacy of the Greeks alive.

736
00:55:06,760 –> 00:55:11,640
Hypatia was exceptional, a female mathematician,

737
00:55:11,640 –> 00:55:14,800
and a pagan in the piously Christian Roman empire.

738
00:55:16,680 –> 00:55:21,560
Hypatia was very prestigious and very influential in her time.

739
00:55:21,560 –> 00:55:27,440
She was a teacher with a lot of students, a lot of followers.

740
00:55:27,440 –> 00:55:31,680
She was politically influential in Alexandria.

741
00:55:31,680 –> 00:55:34,560
So it’s this combination of…

742
00:55:34,560 –> 00:55:40,840
high knowledge and high prestige that may have made her

743
00:55:40,840 –> 00:55:44,400
a figure of hatred for…

744
00:55:44,400 –> 00:55:46,080
the Christian mob.

745
00:55:51,760 –> 00:55:55,800
One morning during Lent, Hypatia was dragged off her chariot

746
00:55:55,800 –> 00:55:59,840
by a zealous Christian mob and taken to a church.

747
00:55:59,840 –> 00:56:03,560
There, she was tortured and brutally murdered.

748
00:56:06,280 –> 00:56:09,880
The dramatic circumstances of her life and death

749
00:56:09,880 –> 00:56:12,000
fascinated later generations.

750
00:56:12,000 –> 00:56:17,680
Sadly, her cult status eclipsed her mathematical achievements.

751
00:56:17,680 –> 00:56:20,720
She was, in fact, a brilliant teacher and theorist,

752
00:56:20,720 –> 00:56:26,440
and her death dealt a final blow to the Greek mathematical heritage of Alexandria.

753
00:56:33,800 –> 00:56:37,680
My travels have taken me on a fascinating journey to uncover

754
00:56:37,680 –> 00:56:42,880
the passion and innovation of the world’s earliest mathematicians.

755
00:56:42,880 –> 00:56:47,920
It’s the breakthroughs made by those early pioneers of Egypt, Babylon and Greece

756
00:56:47,920 –> 00:56:52,320
that are the foundations on which my subject is built today.

757
00:56:52,320 –> 00:56:55,760
But this is just the beginning of my mathematical odyssey.

758
00:56:55,760 –> 00:56:59,400
The next leg of my journey lies east, in the depths of Asia,

759
00:56:59,400 –> 00:57:02,560
where mathematicians scaled even greater heights

760
00:57:02,560 –> 00:57:04,800
in pursuit of knowledge.

761
00:57:04,800 –> 00:57:08,720
With this new era came a new language of algebra and numbers,

762
00:57:08,720 –> 00:57:12,920
better suited to telling the next chapter in the story of maths.

763
00:57:12,920 –> 00:57:16,600
You can learn more about the story of maths

764
00:57:16,600 –> 00:57:19,840
with the Open University at…

765
00:57:36,040 –> 00:57:39,080
Subtitles by Red Bee Media Ltd


Subtitles by © Red Bee Media Ltd

[独立博客文摘 - 卢昌海]欧几里得与《几何原本》

用 “知之甚少” 已不足以形容我们对这位留下《几何原本》 (The Elements) 及其他数种著作, 被尊为 “几何之父” (Father of Geometry) 的伟大先贤的生平了解之贫乏。

而阿基米德之所以出现在对欧几里得生活年代的界定中, 乃是因为他在《论球和圆柱》 (On the Sphere and the Cylinder) 一书中提到过《几何原本》

普罗克洛斯提到过托勒密一世 (Ptolemy I) 跟欧几里得的一段广为流传的对话, 前者问学习几何有无捷径, 欧几里得答曰 “在几何中没有 ‘御道’ (royal road)”。 由于托勒密一世的都城是亚历山大港, 对话被认为发生在亚历山大港——但这虽能说明欧几里得是当时亚历山大港的知名几何学家, 却也并不等同于在亚历山大港教过书。

对欧几里得的生平了解为何会如此贫乏? 在两千多年后的今天恐已很难得到确凿回答了, 有一种猜测认为欧几里得是历史上最早的科学专才之一, 将精力完全投入了数学之中, 从不参与任何政治性或事务性的活动, 而后两者是那个时代的人物青史留名的重要渠道, 因而欧几里得几乎是 “自绝” 于历史。 著名美籍比利时裔现代科学史学家、 科学史作为一门现代学科的创始人乔治·萨顿 (George Sarton) 曾经感慨道, 对欧几里得以及其他某些先贤生平的这种无知 “是寻常而非例外的, 人们记住了暴君和独裁者, 成功的政治人物, 富豪 (起码一部分富豪), 却忘记了自己最大的恩人”。

《几何原本》是经受时光洗礼流传至今的最早的数学专著之一, 不过也被一些人视为是若干更早的数学专著失传的 “罪魁祸首”, 因为在题材上被《几何原本》涵盖到的数学专著在跟这部伟大著作竞争时, 大都落败陨灭了——而且更 “糟糕” 的是, 如我们在后文将会看到的, 《几何原本》在题材上的涵盖面偏偏是相当广的, 并不限于几何。

对尽可能接近原始的版本的追索也从一个侧面显示了欧几里得的厉害: 因为追索所得的 “欧几里得版” 与包括 “赛翁版” 在内的若干其他版本的相互比对, 显示出了后者的诸多缺陷, 比如引进了不必要的公设 (postulate), 忽视了必要的公理 (common notion), 等等。 赛翁等人就像如今那些篡改金庸武侠的导演和编剧一样, 虽有传播之功, 却并没有与原作者同等的造诣, 从而产生出的是更差而不是更好的版本。

漫长的时光抹去了大量线索, 使我们很难用足够确凿的方式判定他们在原创与继承之间的比例分配。 比如上文提到过的美籍比利时裔科学史学家萨顿就对很多先贤的 “……之父” 头衔存有疑虑——其中也包括了对欧几里得 “几何之父” 头衔的疑虑。 瑞典哲学家安德斯·韦德伯格 (Anders Wedberg) 在其三卷本的《哲学史》 (A History of Philosophy) 的开篇也曾表示, 那些被我们视为伟大原创者的哲学家有可能只是记叙先辈成果的有天赋的表述者。

普罗克洛斯曾评价道, 《几何原本》的内容虽部分来自前人, 但欧几里得将很多不严格的证明纳入了严整有序、 无可怀疑的框架。 从数学史的角度讲, 这一评价是中肯的, 《几何原本》的重要性与其说是罗列了大量旧定理或证明了若干新定理, 不如说是示范了公理化体系的巨大威力, 将数学证明的严密性推上了前所未有的高度。 从这一角度讲, 欧几里得与《几何原本》所享的盛誉是实至名归的。 很多距离欧几里得时代不太遥远的古代学者也对《几何原本》做出了很高评价, 而欧几里得除《几何原本》之外流传于世的其他著作也显示出了跟那样的评价相称的水准。

作为一部示范了公理化体系巨大威力的著作, 《几何原本》一开篇——即第 1 卷——就展开公理体系, 不带一个字的多余铺垫, 直接就列出了 23 个定义, 5 条公设和 5 条公理。 这是迥异于柏拉图和亚里士多德, 乃至迥异于一切哲学著作的风格。

《几何原本》对公理和公设的区分跟亚里士多德的著作是明显相似的, 即公设是指单一学科——对《几何原本》而言是几何——独有的 “真理”, 公理则是适用于所有科学的 “真理”。

亚里士多德并且明确指出, 并非所有真命题皆可被证明, 必须将某些明显为真却无法证明的命题作为推理的起点, 这是公理和公设的起源, 也是其之所以必要的根本原因。 一般认为, 亚里士多德的这些观点对欧几里得是有一定影响的。 不过, 亚里士多德虽对公理和公设作出过区分, 却不曾对具体的——即几何领域的——公设做过论述, 《几何原本》所列的公设也因此被某些研究者, 比如前文提到过的希腊数学史专家希斯, 视为是欧几里得的原创。

《几何原本》所列的定义用现代公理体系的要求来衡量, 只是一种形象化的努力, 提供的是直观理解, 作为教学说明不无价值, 细究起来却往往会陷入逻辑困境——之所以如此, 其实跟并非所有真命题皆可被证明相类似, 因为对一个概念的定义势必会用到其它概念, 就像对一个命题的证明势必会用到其它命题一样。 原因既然类似, 解决方法其实也就呼之欲出了, 那就是必须引进一些不加定义的概念, 就像必须引进不加证明的公理和公设一样, 这也正是现代公理体系所走的路子。 在现代公理体系中, 基本概念是不加定义的, 对其的全部限定来自公理体系本身 (当然, 现代公理体系也并不排斥定义, 但那通常是针对次级概念, 所起的作用则是简化叙述)。 《几何原本》没有走这样的路子, 有可能是欧几里得没有意识到形象化定义的缺陷, 但也不排除是出于教学考虑。 事实上, 关于《几何原本》的一个有趣但没有答案的问题乃是: 它究竟是欧几里得写给同行的学术专著, 还是写给学生的授课讲义? 倘是后者, 则对概念作一些逻辑上虽非无懈可击, 但有助于直观理解的形象化描述不失为有益的选择。

在《几何原本》所构建的公理体系中, 另一个可圈可点之处是对定义与存在性做出了一定程度的区分, 从而避免了视所定义的概念为自动存在这一并非显而易见的错误。 对定义与存在性的区分虽然连现代人也时常会稀里糊涂, 历史却相当悠久, 可回溯到欧几里得之前, 从而并非欧几里得的独创。 事实上, 芝诺的悖论 给人的一个重大启示便是: 哪怕最直观的概念, 其存在性也并非不言而喻。 自那以后, 对定义与存在性的区分就引起了像柏拉图和亚里士多德那样的先贤的注意, 比如亚里士多德在《后分析篇》 (Posterior Analytics) 中就明确表示, 定义一个客体不等于宣告它的存在, 后者必须予以证明或作为假设。 欧几里得的命题 1 和命题 46 属于对存在性予以证明, 公设 1 和公设 3 则系将存在性作为假设, 都可纳入亚里士多德的阐述。

说到对定义与存在性的区分, 还有一点值得补充, 那就是欧几里得对存在性的很多证明是所谓的 “构造性证明” (constructive proof), 也就是通过直接给出构造方法来证明存在性。 在数学中, 这是最强有力, 从而也最没有争议的存在性证明。

事实上, 《几何原本》中的 “几何” 一词有可能是后人添加的——比如 1570 年出版的第一个英文版名为《The Elements of Geometry》 (可译为《几何原理》或《几何基础》), 1607 年出版的前 6 卷的中文版名为《几何原本》。 但该书的希腊文书名 “Στοιχεῖα” 其实只对应于 “Elements”, 其含义据普罗克洛斯所言, 乃是证明之起点, 其他定理赖以成立之基础, 类似于字母在语言中的作用 (这个出自普罗克洛斯本人的比喻颇有双关之意, 因为在希腊文里, 字母恰好也是 “Στοιχεῖα”)。 从这一含义来讲, 《几何原本》的希腊文书名只对应于 “原理” 或 “基础”, 起码在字面上不带 “几何” 一词。

亚里士多德在《形而上学》一书中就界定 “Elements” 为几何中其他命题所共同依赖的命题。 考虑到亚里士多德是一位很可能对欧几里得有过重大影响的先贤, 他对 “Elements” 一词的界定很可能意味着 “Elements” 这一书名从一开始就隐含了 “几何” 之意, 而后人将 “几何” 一词显明化, 则或可视为在 “Elements” 一词的本身含义扩张之后对原始含义的回溯。

在《几何原本》的煌煌 13 卷中, 内容分布大体是这样的: 第 14 卷主要为平面几何, 但间杂了数的理论——比如第 2 卷给出了乘法对加法的分配律等, 并求解了若干代数方程; 第 56 卷为比例理论及相似理论, 但同样间杂了数的理论, 且关于数有很深刻的洞见; 第 79 卷以对数学分支的现代分类观之, 是对几何与数的相对比例的的逆转——转入了以数为主的数论范畴, 其中包括了对 素数有无穷多个 等重要命题的证明 (第 9 卷命题 20); 第 10 卷延续了以数为主的局部 “主旋律”, 对 “不可公度量” (incommensurable)——也就是无理数——做了详细讨论; 第 1113 卷重返几何, 但由平面走向立体, 以对包括 “柏拉图正多面体” (Plato solid) 在内的诸多立体几何话题的探讨结束了全书。

第 5 卷所间杂的关于数的 “很深刻的洞见”。 这一卷关于数的介绍, 可以说是继毕达哥拉斯学派发现无理数之后, 希腊数学在数的理论上的再次推进。 这次推进虽未像发现无理数那样发现新类型的数, 却具有很高的系统性, 加深了关于数的理解, 也因此赢得了后世数学家的敬意。 比如科学巨匠艾萨克·牛顿 (Isaac Newton) 的老师艾萨克·巴罗 (Isaac Barrow) 曾将这一卷所构筑的比例理论称为整部《几何原本》中最精妙的发明, 认为 “没什么东西比这一比例学说确立得更牢固, 处理得更精密”。 19 世纪的英国数学家阿瑟·凯莱 (Arthur Cayley) 也表示 “数学中几乎没什么东西比这本奇妙的第 5 卷更美丽”。

用希腊数学史专家希斯的话说, “在欧几里得对相同比值的定义与戴德金的现代无理数理论之间存在着几乎巧合般的严格对应”。 这个跨越两千多年时光的 “严格对应” 正是《几何原本》第 5 卷所间杂的关于数的 “很深刻的洞见”, 那样的洞见当然是美丽的——智慧上的美丽。

《几何原本》中的数的理论在第 7~9 卷得到了进一步发展。 这几卷被科学史学家萨顿称为 “第一部数论专著” (first treatise on the theory of number)。 从这个意义上讲, 欧几里得不仅是最著名的几何学家, 也是第一部数论专著的作者, 堪称 “通吃” 了当时的数学领域。 不过关于《几何原本》中的数, 有一个微妙之处值得一提, 那就是《几何原本》对 “数” (number) 和 “量” (magnitude) 作了一个如今看来并无必要的区分, 其中 “量” 本质上是线段长度, 可以表示无理数[注四], “数” 则由单位长度积聚而成, 本质上是整数, 相互间的比值则是有理数。 这种区分造成了一定的繁琐性, 比如 “数” 的比值与 “量” 的比值本该是统一的, 《几何原本》中的定义——前者为第 7 卷定义 20, 后者为第 5 卷定义 5——却很不相同, 给后世的诠释者带来过不小的困扰, 可以说是《几何原本》的一个缺陷。

与其他各卷相较, 《几何原本》的第 10 卷是命题最多的, 共有 115 个命题, 约占全书命题总数的 1/4。 在这些命题中, 很值得一提的是命题 1, 即 “给定两个不相等的量, 若从较大的量中减去一个大于其一半的量, 再从余量中减去大于其一半的量, 如此连续进行, 则必能得到一个比较小的量更小的量。” 由于 “较小的量” 是任意的, 因此由这一命题所得到的是任意小的量, 这是所谓 “穷竭法” (method of exhaustion) 的基础, 在一定程度上也是微积分思想的萌芽。 “穷竭法” 后来被阿基米德 (Archimedes) 用于计算很多形体的面积和体积, 欧几里得本人也在《几何原本》的第 12 卷中用它证明了一系列重要命题, 比如圆的面积正比于直径的平方, 球的体积正比于直径的立方, 圆锥的体积是与它同底等高的圆柱体积的 1/3, 等等, 是《几何原本》的重要亮点之一。

以时间的延绵而论, 欧几里得的《几何原本》可以跟此前的古希腊原子论及亚里士多德的逻辑鼎足而三, 以体系的恢宏而论, 则远远超过了亚里士多德的逻辑, 更绝非在很长时间里只具抽象意义的古希腊原子论可比。

《几何原本》成了一个巨大典范, 小到以诸如 “证毕” (öπερ ’έδει δεîξαι, 其拉丁文缩写是如今几乎每个中学生都熟悉的 Q.E.D.) 表示证明结束的习惯, 大到以公理化体系作为理论构筑和表述的基本手段, 都被广泛模仿。 在《几何原本》的模仿者中, 包括了科学家——比如牛顿、 哲学家——比如伊曼努尔·康德 (Immanuel Kant)、 神学家——比如托马斯·阿奎纳 (St. Thomas Aquinas), 等等。 至于数学家, 则不仅仅是模仿者, 而且早已程度不等地习惯了以公理化手段为数学理论的 “标配”。

《几何原本》及其后继作品还对许多著名学人的个人成长起到了近乎 “第一推动力” 的作用。 比如爱因斯坦在晚年自述中回忆道: “12 岁时, 我经历了另一种性质完全不同的惊奇: 是在一个学年开始时, 我得到一本关于欧几里得平面几何的小书时经历的。 那本书里有许多断言, 比如三角形的三条高交于一点, 虽然一点也不显而易见, 却可以如此确定地加以证明, 以至于任何怀疑都似乎是不可能的。 这种明晰性和确定性给我留下了难以形容的印象。”

英国哲学家伯特兰·罗素 (Bertrand Russell) 也在自传中回忆道: “11 岁时, 我开始在哥哥的指导下学习欧几里得, 这是我一生最重大的事件之一。 我从未想到过世上竟有如此有滋味的东西。 当我学了第五个命题之后, 哥哥告诉我那被普遍认为是困难的, 但我却一点也没觉得困难。 这是我第一次意识到我也许有一些智慧。”

可以毫不夸张地说, 哪怕《几何原本》的所有内容都出自前人, 将之整理成如此严整有序、 恢宏深邃的逻辑体系——这被史学界公认为是欧几里得的贡献——也足以使欧几里得成为数学史乃至科学史上最伟大的教师, 使《几何原本》成为数学史乃至科学史上最伟大的教科书。


LeetCode - Algorithms - 44. Wildcard Matching

Only mark. It’s an example of dynamic programming.
I don’t know how to solve it, what’s more, I can’t understand the answer of others, so I run code of others on leetcode.

Java

by XN W

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
class Solution {
public boolean isMatch(String s, String p) {
int pl = 0;
for (int i = 0; i < p.length(); i++) {
if (p.charAt(i) != '*') {
pl++;
}
}
if (pl > s.length()) {
return false;
}
if (s.length() == 0 && pl == 0) {
return true;
}
boolean[][] store = new boolean[2][s.length() + 1];
store[0][0] = true;
store[1][0] = false;
for (int ps = 1; ps <= p.length(); ps++) {
if (p.charAt(ps - 1) == '*') {
store[1][0] = store[0][0];
} else {
store[1][0] = false;
}
for (int ss = 1; ss <= s.length(); ss++) {
if (p.charAt(ps - 1) == '?'
|| p.charAt(ps - 1) == s.charAt(ss - 1)) {
store[1][ss] = store[0][ss - 1];
} else if (p.charAt(ps - 1) != '*') {
store[1][ss] = false;
} else {
store[1][ss] = store[0][ss - 1] || store[1][ss - 1]
|| store[0][ss];
}
}
for (int i = 0; i <= s.length(); i++) {
store[0][i] = store[1][i];
}
}
return store[1][s.length()];
}
}

Submission Detail

by XN W

  • 1808 / 1808 test cases passed.
  • Runtime: 7 ms, faster than 100.00% of Java online submissions for Wildcard Matching.
  • Memory Usage: 37.7 MB, less than 93.46% of Java online submissions for Wildcard Matching.

ref

Wildcard Matching

I hate this algorithms!! Seriously!!!

  1. recursive way
  2. DP way

Let's communicate

This material was recommended by William Bill Blair (August 29th, 1940 - February 7th, 2024), a teacher, a volunteer, a Canadian.

© Let’s Communicate – English Speaking

Asking someone to say something again

Pardon?
I’m sorry I didn’t hear / catch what you said.
Would / Could you say that again, please?
Would / Could you repeat what you said, please?
I’m sorry, what did you say?
What was that?
Informal: What was that again …?
very informal: What? ? Eh? Mm?

Checking you have understood

So, …
Does that mean …?
Do you mean …?
If I understand right …
I’m not sure I understand. Does that mean …?

Saying something another way

In other words, …
That means …
What I mean is …
That’s to say …
…., or rather …
What I’m trying to say is …
What I’m driving at / getting at is …

Giving yourself time to think

…. oh / er / um, …
Let me see / think …
…. just a moment, …
…. you see, …
…. you know, …
How shall I put it?
…. now what’s the word … ?

Checking someone has understood you

Do you know what I mean?
…. if you see what I mean.
I hope that’s clear.
Do I make myself clear?

informal:

Are you with me?
Get it?
Right?

Very informal:

Got the message?

Changing the subject

…., by the way, …
…., before I forget, …
…., I nearly forgot, …

You want to add something

I’d like to make another point.
I’d also like to say …

You need help

I don’t understand, I’m sorry.
I’m not sure I understand what you mean.
What’s the meaning of …?
What does the word … mean?
What’s the French / the English word for …?
I didn’t hear what you said.

Can you / Could you / Would you

repeat, please?
say it again, please?
explain it again, please?
spell that word, please?
write it on the board, please?
speak louder / up, please?
speak more slowly, please?

Could you step aside, please? I can’t see the board.

You want to apologize

Sorry, I’m late.
I apologize for being late.
I’m afraid I’ve forgotten my workbook.

Don’t be dumb

I’m afraid I don’t know.
I haven’t a clue.
I’m afraid I haven’t got the faintest / slightest idea.
I’m terribly sorry but I haven’t understood the question.
Sorry I don’t know what you mean.
I’m not sure I can answer.
I’ve no idea (about) what I am expected to do.
I wish I knew.
I must admit I don’t know much about this problem.
I’m sorry but I don’t know what to say.

Showing you’re interested

Uh, uh (↗↘)
I see … (↗↘)
Really? (↗)
Oh, yes. (↗↘)
How interesting!(↗↘)
I know / see what you mean.

Common Phrases

This material was recommended by William Bill Blair (August 29th, 1940 - February 7th, 2024), a teacher, a volunteer, a Canadian.

© 80 Common English Phrases - by Adriana

Common phrases to ask how someone is:

what’s up?
what’s new?
What have you been up to lately?
How’s it going?
How are things?
How’s life?

Common phrases to say how you are:

I’m fine, thanks. How about you?
Pretty good.
Same as always
Not so great.
Could be better
cant complain

Common phrases to say thank you:

I really appreciate it.
I’m really grateful
That’s so kind of you.
I owe you one.
(this means you want/need to do a favor for the other person in the future)

Common phrases to respond to thank you:

No problem.
No worries
Don’t mention it.
My pleasure.
Anytime.

Common phrases to end a conversation politely:

It was nice chatting with you.
Any way, I should get going.

Common phrases to ask for information:

Do you have any idea…?
Would you happen to know…?
(when you’re not sure if the other person has the information.)
I don’t suppose you(would) know…?
(when you’re not sure if the other person has the information.)

Common phrases to say I don’t know:

I have no idea/clue.
I can’t help you there.
(informal) Beats me.
I’m not really sure.
I’ve been wondering that, too.

Common phrases for not having an opinion:

I’ve never given it much thought.
I don’t have strong feelings either way.
It doesn’t make any difference to me.
I have no opinion on the matter.

Common phrases for agreeing:

Exactly.
Absolutely.
That’s so true.
That’s for sure.
I agree 100%.
I couldn’t agree with you more.
(informal) Tell me about it! / You’re telling me!
(informal) I’ll say!
I suppose so.
(use this phrase for weak agreement - you agree, but reluctantly)

Common phrases for disagreeing:

I’m not so sure about that.
That’s not how I see it.
Not necessarily

Common phrases to respond to great news:

That’s great!
How wonderful!
Awesome!

Common phrases to respond to bad news:

Oh no…
That’s terrible.
Poor you.
(Use this to respond to bad situations that are not too serious)
I’m so sorry to hear that.

Common phrases to invite someone somewhere:

Are you free… [Saturday night?]
Are you doing anything … [Saturday night?]
(informal) Do you wann… [see a movie?]
(formal) Would you like to … [join me for dinner?]

Common phrases for food:

I’m starving!(=I’m very hungry)
Let’s grab a bite to eat.
How about eating out tonight? (eat out = eat at a restaurant)
I’ll have…(use this phrase for ordering in a restaurant)

Common phrases for price:

It cost a fortune.
It cost an arm and a leg.
That’s a rip-off. (=overpriced;far more expensive than it should be)
That’s a bit pricey.
That’s quite reasonable.(=it’s a good price)
That’s a good deal.(=a good value for the amount of money)
It was a real bargain.
It was dirt cheap.(=exremely inexpensive)

Common phrases for weather:

It’s a little chilly.
It’s freezing.(=exremely cold)
Make sure to bundle up.(bundle up = put on warm clothes for protection against the cold)

Common phrases for hot weather:

It’s absolutely boiling!(boiling = extremely hot)
It scorching hot outside

Common phrases for being tired:

I’m exhausted.
I’m dead tired.
I’m beat
I can hardly keep my eyes open
I’m gonna hit the sack.(hit the sack = go to bed)

LeetCode - Algorithms - 19. Remove Nth Node From End of List

Java

Hint: Maintain two pointers and update one with a delay of n steps.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
class Solution {
public ListNode removeNthFromEnd(ListNode head, int n) {
ListNode fast = head, slow = head;
for(int i=0;i<n;i++)
fast = fast.next;
if (fast==null)
head = head.next;
else {
while(fast.next!=null) {
fast = fast.next;
slow = slow.next;
}
ListNode p = slow.next;
slow.next = p.next;
p.next = null;
}
return head;
}
}

Submission Detail

  • 208 / 208 test cases passed.
  • Runtime: 6 ms, faster than 98.72% of Java online submissions for Remove Nth Node From End of List.
  • Memory Usage: 38 MB, less than 100.00% of Java online submissions for Remove Nth Node From End of List.

ref

LeetCode - Algorithms - 237. Delete Node in a Linked List

Java

How do I delete a node in a linked list?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
class Solution {
public void deleteNode(ListNode node) {
ListNode temp = node.next;
node.val = temp.val;
node.next = temp.next;
temp = null;
}
}

Submission Detail

  • 41 / 41 test cases passed.
  • Runtime: 0 ms, faster than 100.00% of Java online submissions for Delete Node in a Linked List.
  • Memory Usage: 37.6 MB, less than 100.00% of Java online submissions for Delete Node in a Linked List.

smartphone, social media and screen time

Your smartphone📱is making you👈 stupid, antisocial 🙅 and unhealthy 😷. So why can’t you put it down❔⁉️
https://www.theglobeandmail.com/technology/your-smartphone-is-making-you-stupid/article37511900/


Steve Jobs Was a Low-Tech Parent
https://www.nytimes.com/2014/09/11/fashion/steve-jobs-apple-was-a-low-tech-parent.html

“So, your kids must love the iPad?” I asked Mr. Jobs, trying to change the subject. The company’s first tablet was just hitting the shelves. “They haven’t used it,” he told me. “We limit how much technology our kids use at home.”


Have Smartphones Destroyed a Generation?
https://www.theatlantic.com/magazine/archive/2017/09/has-the-smartphone-destroyed-a-generation/534198/

More comfortable online than out partying, post-Millennials are safer, physically, than adolescents have ever been. But they’re on the brink of a mental-health crisis.


Why an off-the-grid hour at work is so crucial
http://www.bbc.com/capital/story/20190111-why-an-off-the-grid-hour-at-work-is-so-crucial

Work email, checking social media, streaming video – technology can have toxic effects on your productivity and happiness. Here’s how you can kick the habit for an hour a day.

高效率与幸福感的秘诀:每天离线一小时
https://www.bbc.com/ukchina/simp/vert-cul-46997298


“手机里的恶魔”?硅谷父母对电子产品说不
https://cn.nytimes.com/technology/20181030/phones-children-silicon-valley/

“在糖果和可卡因之间,它更接近于可卡因,”安德森如此评价那些屏幕。

“我们以为能控制它,”安德森说。“但它已经超越了我们的控制能力。它直接被传送到了正在发育的大脑的愉悦中枢。这超越了我们作为普通父母的理解能力。”

苹果(Apple)CEO蒂姆·库克(Tim Cook)今年早些时候表示,他不会让自己的侄子上社交网络。比尔·盖茨(Bill Gates)禁止他的孩子在十几岁之前用手机,而梅琳达·盖茨(Melinda Gates)曾写道,她希望他们可以再晚一些给孩子手机。史蒂夫·乔布斯(Steve Jobs)不会让自己年幼的孩子靠近iPad。


如何摆脱对手机屏幕的狂热迷恋?
https://cn.nytimes.com/technology/20180629/peak-screen-revolution/

屏幕贪得无厌。在认知层面上,它是你注意力的贪婪吸血鬼,只要你看它一眼,基本上就会被它俘获。

“你陷入的不只是那件引起你注意的事——短信、推文什么的,”科技研究公司创意策略(Creative Strategies)的分析师卡罗琳娜·米拉内西(Carolina Milanesi)说。只要打开手机,你就会很快地、几乎是无意识地陷入数字世界不可抗拒的光芒之中——在里面沉浸了30分钟后,你会变得昏昏沉沉,头晕目眩。

“只要打开这个难以抗拒的盒子,你就输了,”她说。


How much is harmful?: New guidelines released on screen time for young children
https://www.theglobeandmail.com/life/parenting/misadventures-in-babysitting-new-guidelines-released-on-screen-time-for-young-children/article35168281/


Are Smartphones Making Us Stupid?

https://www.psychologytoday.com/intl/blog/the-athletes-way/201706/are-smartphones-making-us-stupid

The mere presence of your smartphone can reduce cognitive capacity, study finds.


Your Smartphone Is Making You Stupid
https://lifehacker.com/your-smartphone-is-making-you-stupid-1796449887


Social Media Is The New Smoking
https://theroamingmind.com/2017/03/06/social-media-is-the-new-smoking/


The vital time you shouldn’t be on social media
http://www.bbc.com/future/story/20180110-the-vital-time-you-really-shouldnt-be-on-social-media

Social media is having a worrying impact on sleep; we reveal the crucial time to stay away from it.


电子阅读设备是如何“杀死”你的睡眠的
https://cn.nytimes.com/health/20180529/how-nighttime-tablet-and-phone-use-disturbs-sleep/


Half the world’s population will be short-sighted in 30 years, with one in five at risk of BLINDNESS- and experts blame lack of daylight and too much screen time
https://www.dailymail.co.uk/health/article-3452600/Half-world-s-population-short-sighted-30-years-one-five-risk-BLINDNESS-experts-blame-lack-daylight-screen-time.html

LeetCode - Algorithms - 326. Power of Three

Java

1 Integer.Max_Value

1
2
3
4
5
class Solution {
public boolean isPowerOfThree(int n) {
return n>0 && 1162261467%n==0?true:false;
}
}

Submission Detail

  • Runtime: 12 ms, faster than 99.94% of Java online submissions for Power of Three.
  • Memory Usage: 38.1 MB, less than 0.99% of Java online submissions for Power of Three.
  • 21038 / 21038 test cases passed.

2 Logarithm

1
2
3
4
5
6
7
class Solution {
public boolean isPowerOfThree(int n) {
if (n<=0) return false;
double power = Math.log10(n)/Math.log10(3);
return power==Math.ceil(power)?true:false;
}
}

Submission Detail

  • Runtime: 15 ms, faster than 52.50% of Java online submissions for Power of Three.
  • Memory Usage: 37.3 MB, less than 0.99% of Java online submissions for Power of Three.
  • 21038 / 21038 test cases passed.

LeetCode - Algorithms - 28. Implement strStr()

Java

1 KMP algorithm

北京大学信息科学与技术学院《数据结构与算法》 之 KMP模式匹配算法 ©版权所有
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
class Solution {
public int[] nextVector(String P) {
int[] arr = new int[P.length()];
arr[0] = 0;
int k = 0;
for (int i = 1; i < P.length(); i++) {
k = arr[i - 1];

while (k > 0 && P.charAt(i) != P.charAt(k)) {
k = arr[k - 1];
}

if (P.charAt(i) == P.charAt(k))
arr[i] = k + 1;
else
arr[i] = 0;
}
return arr;
}

public int findPat_KMP(String S, String P, int[] N, int startIndex) {
int lastIndex = S.length() - P.length();
if (lastIndex < startIndex)
return -1;
int i = startIndex, j = 0;
for (; i < S.length(); i++) {
while (P.charAt(j) != S.charAt(i) && j > 0)
j = N[j - 1];
if (S.charAt(i) == P.charAt(j))
j++;
if (j == P.length())
return i - j + 1;
}
return -1;
}

public int strStr(String haystack, String needle) {
if (needle.isEmpty()) return 0;
int[] arr = nextVector(needle);
if (needle.isEmpty()) return 0;
return findPat_KMP(haystack,needle,arr,0);
}
}

Submission Detail

  • 74 / 74 test cases passed.
  • Runtime: 9 ms, faster than 26.57% of Java online submissions for Implement strStr().
  • Memory Usage: 38.5 MB, less than 0.98% of Java online submissions for Implement strStr().

2 JDK String indexOf

1
2
3
4
5
6
class Solution {
public int strStr(String haystack, String needle) {
if (needle.isEmpty()) return 0;
return haystack.indexOf(needle);
}
}

Submission Detail

  • 74 / 74 test cases passed.
  • Runtime: 3 ms, faster than 99.58% of Java online submissions for Implement strStr().
  • Memory Usage: 38.1 MB, less than 0.98% of Java online submissions for Implement strStr().