ABOUT THE SPEAKER
Scott Rickard - Mathematician
Scott Rickard is passionate about mathematics, music -- and educating the next generation of scientists and mathematicians.

Why you should listen

Scott Rickard is a professor at University College Dublin. His interest in both music and math led him to try and solve an interesting math problem: a musical score with no pattern. He has degrees in Mathematics, Computer Science, and Electrical Engineering from MIT, and MA and PhD degrees in Applied and Computational Mathematics from Princeton.

At University College Dublin, he founded the Complex & Adaptive Systems Laboratory, where biologists, geologists, mathematicians, computer scientists, social scientists and economists work on problems that matter to people. He is also the founder of ScienceWithMe!, an online community dedicated to engaging youth through science and math.

More profile about the speaker
Scott Rickard | Speaker | TED.com
TEDxMIA

Scott Rickard: The beautiful math behind the world's ugliest music

Scott Rickard: The beautiful math behind the ugliest music

Filmed:
4,270,382 views

Scott Rickard set out to engineer the ugliest possible piece of music, devoid of repetition, using a mathematical concept known as the Costas Array. In this talk, he shares the math behind musical beauty (and its opposite). (Filmed at TEDxMIA.)
- Mathematician
Scott Rickard is passionate about mathematics, music -- and educating the next generation of scientists and mathematicians. Full bio

Double-click the English transcript below to play the video.

00:10
So what makes品牌 a piece of music音樂 beautiful美麗?
0
500
2301
是什麼讓音樂很優美?
00:13
Well, most musicologists音樂學家 would argue爭論
1
3398
2321
大部分的音樂學家會說
00:15
that repetition重複 is a key aspect方面 of beauty美女,
2
5743
2569
優美的一個關鍵面向,是重覆,
00:18
the idea理念 that we take a melody旋律,
a motif主題, a musical音樂 idea理念,
3
8336
3009
想法是,我們先有一個弦律、
一個母題、一個音樂想法,
00:21
we repeat重複 it, we set up
the expectation期望 for repetition重複,
4
11369
3263
我們會重覆它,
建立出對於重覆的期待,
00:24
and then we either realize實現 it
or we break打破 the repetition重複.
5
14656
2847
接著我們可以實現重覆
或是打破重覆。
00:27
And that's a key component零件 of beauty美女.
6
17527
2087
那就是優美的關鍵成份。
00:29
So if repetition重複 and patterns模式
are key to beauty美女,
7
19638
3504
所以,如果優美的關鍵
在於重覆和模式,
00:33
then what would the absence缺席
of patterns模式 sound聲音 like,
8
23166
2412
那麼沒有模式時,如果我們譜寫出
00:35
if we wrote a piece of music音樂
that had no repetition重複 whatsoever任何 in it?
9
25602
4397
內容沒有任何重覆的音樂,
這音樂聽起來會是什麼樣子的?
00:40
That's actually其實 an interesting有趣
mathematical數學的 question.
10
30948
2500
那其實是個有趣的數學問題。
00:43
Is it possible可能 to write a piece of music音樂
that has no repetition重複 whatsoever任何?
11
33472
3573
有沒有可能譜寫出
沒有任何重覆的音樂?
00:47
It's not random隨機 -- random隨機 is easy簡單.
12
37069
1714
並不是指隨機——隨機很簡單。
00:48
Repetition-free無重複, it turns
out, is extremely非常 difficult,
13
38807
2647
結果發現,沒有重覆是極為困難的,
00:51
and the only reason原因
that we can actually其實 do it
14
41478
2192
我們能夠真正做到的唯一理由,
00:53
is because of a man
who was hunting狩獵 for submarines潛艇.
15
43694
3444
是因為有一個人在獵尋潛水艇。
00:57
It turns out, a guy who was trying
to develop發展 the world's世界 perfect完善 sonar聲納 ping
16
47162
4210
結果是,試圖開發出世界上
最完美的聲納脈衝信號的人,
01:01
solved解決了 the problem問題 of writing寫作
pattern-free無模式 music音樂.
17
51396
2966
也發現了要如何譜寫出
沒有規律可循的音樂。
01:04
And that's what the topic話題
of the talk is today今天.
18
54386
2199
那就是今天的演說主題。
01:10
So, recall召回 that in sonar聲納,
19
60613
2252
所以,想想看聲納,
01:12
you have a ship that sends發送
out some sound聲音 in the water,
20
62889
2877
會有一艘船,
在水中發送出一些聲音,
01:15
and it listens監聽 for it -- an echo迴聲.
21
65790
1823
接著再收聽回音。
01:17
The sound聲音 goes down, it echoes迴聲
back, it goes down, echoes迴聲 back.
22
67637
3009
聲音被向下送出,反彈回來,
向下送出,反彈回來。
聲音返回的時間就能告訴你距離:
01:20
The time it takes the sound聲音 to come back
tells告訴 you how far away it is:
23
70670
3369
如果回音的音調較高,
01:24
if it comes at a higher更高 pitch瀝青,
24
74063
1442
就表示探測的東西在朝你移動;
01:25
it's because the thing
is moving移動 toward you;
25
75529
2078
如果回音的音調較低,
它就是在遠離你。
01:27
if it comes back at a lower降低 pitch瀝青,
it's moving移動 away from you.
26
77631
2938
所以,你要如何設計
一個完美的聲納脈衝信號?
01:30
So how would you design設計
a perfect完善 sonar聲納 ping?
27
80593
2121
01:32
Well, in the 1960s, a guy
by the name名稱 of John約翰 CostasCostas
28
82738
3481
在六十年代,有個人叫約翰柯斯塔斯,
01:36
was working加工 on the Navy's海軍 extremely非常
expensive昂貴 sonar聲納 system系統.
29
86243
3836
他在為海軍做極昂貴的聲納系統。
01:40
It wasn't working加工, because the ping
they were using運用 was inappropriate不當.
30
90103
3662
那個系統無法運作,
因為他們使用的脈衝信號並不適當。
01:43
It was a ping much
like the following以下 here.
31
93789
2306
這個脈衝信號比較像是下面的這種。
01:46
You can think of this as the notes筆記
and this is time.
32
96119
4069
可以把它想成是音符,這是時間。
01:50
(Piano鋼琴 notes筆記 play high to low)
33
100644
1730
(鋼琴從高音彈到低音)
01:52
So that was the sonar聲納 ping
they were using運用, a down chirp嘰嘰喳喳.
34
102398
3214
那就是他們在用的脈衝信號,
向下的線性調頻。
01:55
It turns out that's a really bad ping.
35
105636
1845
結果發現這是很糟的脈衝信號。
01:57
Why? Because it looks容貌
like shifts轉變 of itself本身.
36
107505
2942
為什麼?因為它看起來
就像把自己不斷移動。
02:00
The relationship關係 between之間 the first
two notes筆記 is the same相同 as the second第二 two,
37
110471
3863
前兩個音符之間的關係
和接下來兩個音符之間的關係一樣,
02:04
and so forth向前.
38
114358
1165
以此類推。
02:05
So he designed設計 a different不同
kind of sonar聲納 ping,
39
115547
2484
所以他設計了不同類的
聲納脈衝信號,
02:08
one that looks容貌 random隨機.
40
118055
1458
這種信號看來是隨機的。
02:09
These look like a random隨機 pattern模式
of dots, but they're not.
41
119537
2951
這些點看起來是隨機的模式,
但並不是。
02:12
If you look very carefully小心,
42
122512
1302
如果你非常仔細看,
02:13
you may可能 notice注意 that, in fact事實,
the relationship關係 between之間 each pair of dots
43
123838
3795
你可能會注意到,事實上,
每一組兩個點之間的關係
02:17
is distinct不同.
44
127657
1168
都是獨特的。
02:18
Nothing is ever repeated重複.
45
128849
1500
沒有任何重覆性。
02:20
The first two notes筆記
and every一切 other pair of notes筆記
46
130373
2697
前兩個音符之間的關係,
和任何一組兩個
音符之間的關係都不同。
02:23
have a different不同 relationship關係.
47
133094
1627
02:26
So the fact事實 that we know
about these patterns模式 is unusual異常.
48
136025
3271
所以,我們知道這些模式是不尋常的。
02:29
John約翰 CostasCostas is the inventor發明者
of these patterns模式.
49
139320
2191
約翰柯斯塔斯是這些模式的發明者。
02:31
This is a picture圖片 from 2006,
shortly不久 before his death死亡.
50
141535
2572
這張照片是 2006 年
他死前不久時拍攝的。
02:34
He was the sonar聲納 engineer工程師
working加工 for the Navy海軍.
51
144131
2909
他是位聲納工程師,為海軍工作。
02:37
He was thinking思維 about these patterns模式,
52
147064
2392
他在思考這些模式,
02:39
and he was, by hand, able能夠 to come
up with them to size尺寸 12 --
53
149480
2859
他用手算的方式,
能夠做到的大小是 12,
02:42
12 by 12.
54
152363
1292
12 乘 12。
02:43
He couldn't不能 go any further進一步
and thought maybe they don't exist存在
55
153679
2921
他無法再進一步,
且他認為也許不可能做到
02:46
in any size尺寸 bigger than 12.
56
156624
1314
比 12 還大。
02:47
So he wrote a letter
to the mathematician數學家 in the middle中間,
57
157962
2623
所以他寫了一封信給
照片中間的這位數學家,
02:50
a young年輕 mathematician數學家 in California加州
at the time, Solomon所羅門 Golomb葛魯.
58
160609
3071
所羅門格倫布,
當時是位住在加州的年輕數學家。
02:53
It turns out that Solomon所羅門 Golomb葛魯
59
163704
1555
結果,所羅門格倫布
02:55
was one of the most gifted天才 discrete離散的
mathematicians數學家 of our time.
60
165283
3923
竟然是我們這個時代
最有才的離散數學家之一。
02:59
John約翰 asked Solomon所羅門 if he could tell him
the right reference參考
61
169230
3077
約翰問所羅門,能不能告訴他
這些模式的正確參考位置。
03:02
to where these patterns模式 were.
62
172331
1525
03:03
There was no reference參考.
63
173880
1161
結果找不到。
03:05
Nobody沒有人 had ever thought
about a repetition重複,
64
175065
2376
以前從來沒有人有想出過
一種沒有重覆、沒有模式的結構。
03:07
a pattern-free無模式 structure結構體 before.
65
177465
1821
03:09
So, Solomon所羅門 Golomb葛魯 spent花費 the summer夏季
thinking思維 about the problem問題.
66
179873
3120
所以,所羅門格倫布花了
一個夏天來思考這個問題。
03:13
And he relied on the mathematics數學
of this gentleman紳士 here,
67
183017
3130
他依賴的就是這邊這位先生的數學,
03:16
Évaristevariste Galois伽羅瓦.
68
186171
1174
埃瓦里斯特伽羅瓦。
03:17
Now, Galois伽羅瓦 is a very
famous著名 mathematician數學家.
69
187369
2059
伽羅瓦是非常有名的數學家。
03:19
He's famous著名 because he invented發明
a whole整個 branch of mathematics數學
70
189452
3133
他很有名是因為
他發明了一整個數學分枝,
03:22
which哪一個 bears his name名稱,
called Galois伽羅瓦 field領域 theory理論.
71
192609
2547
用他的名字命名,叫伽羅瓦域理論。
03:25
It's the mathematics數學 of prime主要 numbers數字.
72
195180
3288
這是質數的數學。
03:28
He's also famous著名
because of the way that he died死亡.
73
198901
2724
他還有另一個出名的原因,
是他的死亡方式。
03:32
The story故事 is that he stood站在 up
for the honor榮譽 of a young年輕 woman女人.
74
202256
3025
據說是他為了一位
年輕女子的名譽挺身而出。
03:35
He was challenged挑戰 to a duel決鬥,
and he accepted公認.
75
205305
2788
有人挑戰他,
要求單挑,而他接受了。
03:38
And shortly不久 before the duel決鬥 occurred發生,
76
208983
2078
就在單挑開始前不久,
03:41
he wrote down all
of his mathematical數學的 ideas思路,
77
211085
2058
他寫下了所有他的數學點子,
03:43
sent發送 letters to all of his friends朋友,
saying "Please, please" --
78
213167
2931
發信給他所有的朋友,
說「拜託,拜託」,
時間是兩百年前,
03:46
this was 200 years年份 ago --
79
216122
1205
「拜託,拜託,要確保
這些內容最後一定要被刊出。」
03:47
"Please, please, see that these things
get published發表 eventually終於."
80
217351
3198
03:50
He then fought戰鬥 the duel決鬥,
was shot射擊 and died死亡 at age年齡 20.
81
220573
3141
接著他就去單挑了,
結果是中槍身亡,享年二十歲。
03:54
The mathematics數學 that runs運行
your cell細胞 phones手機, the internet互聯網,
82
224317
2682
讓你的手機、網路能夠運作的數學,
03:57
that allows允許 us to communicate通信, DVDsDVD光盤,
83
227023
3442
讓我們能夠溝通、DVD 背後的數學,
04:00
all comes from the mind心神
of Évaristevariste Galois伽羅瓦,
84
230489
2828
都來自埃瓦里斯特·伽羅瓦的腦袋,
04:03
a mathematician數學家 who died死亡 20 years年份 young年輕.
85
233341
2727
這位數學家死的時候僅僅二十歲。
04:06
When you talk about
the legacy遺產 that you leave離開 ...
86
236092
2363
如果要說你留下來的遺產的話……
04:08
Of course課程, he couldn't不能 have
even anticipated預期
87
238479
2072
當然,他當時不可能預期到
04:10
the way that his mathematics數學
would be used.
88
240575
2081
他的數學會被怎麼用。
謝天謝地,他的數學最終被刊出了。
04:12
Thankfully感激地, his mathematics數學
was eventually終於 published發表.
89
242680
2525
所羅門格倫布發現,
就是需要這種數學
04:15
Solomon所羅門 Golomb葛魯 realized實現 that that was
exactly究竟 the mathematics數學 needed需要
90
245229
3601
04:18
to solve解決 the problem問題 of creating創建
a pattern-free無模式 structure結構體.
91
248854
3388
才能解決這個要創造出
沒有規律可循的結構問題。
04:22
So he sent發送 a letter back to John約翰 saying,
92
252266
2719
所以他回信給約翰,說:
04:25
"It turns out you can generate生成
these patterns模式 using運用 prime主要 number theory理論."
93
255009
3504
「結果發現,你可以用質數理論
來產生出這些模式。」
約翰馬上去做,
並為海軍解決了聲納問題。
04:28
And John約翰 went about and solved解決了
the sonar聲納 problem問題 for the Navy海軍.
94
258537
5231
04:34
So what do these patterns模式 look like again?
95
264735
2012
所以,這些模式看起來像什麼樣子?
04:36
Here's這裡的 a pattern模式 here.
96
266771
1182
這裡有一個模式。
04:37
This is an 88-by--通過-88-sized尺寸 CostasCostas array排列.
97
267977
4338
這是一個 88 乘 88 的柯斯塔斯陣列。
04:42
It's generated產生 in a very simple簡單 way.
98
272802
2179
產生的方式非常簡單。
04:45
Elementary初級 school學校 mathematics數學
is sufficient足夠 to solve解決 this problem問題.
99
275005
4203
小學數學就足以解這個問題。
04:49
It's generated產生 by repeatedly反复
multiplying乘以 by the number three:
100
279232
3623
它的產生方式就是不斷重覆乘以 3:
04:52
1, 3, 9, 27, 81, 243 ...
101
282879
4997
1、3、9、27、81、243……
04:57
When I get to a number that's larger
than 89 which哪一個 happens發生 to be prime主要,
102
287900
3480
當我得到比 89 大的數字時,
而 89 剛好是質數,
05:01
I keep taking服用 89s away
until直到 I get back below下面.
103
291404
2853
我就要不斷減掉 89,
直到數字低於 89 為止。
05:04
And this will eventually終於 fill
the entire整個 grid, 88 by 88.
104
294281
3842
這麼做下去,最終就會把
88 乘 88 的整個格子填滿。
05:08
There happen發生 to be 88 notes筆記 on the piano鋼琴.
105
298147
3133
那剛好就是鋼琴上的 88 個音符。
05:11
So today今天, we are going to have
the world世界 premiere首映
106
301304
2669
所以,今天我們要做一場世界首演,
05:13
of the world's世界 first
pattern-free無模式 piano鋼琴 sonata奏鳴曲.
107
303997
4091
全世界第一首
沒有規律可循的鋼琴奏鳴曲。
05:19
So, back to the question of music音樂:
108
309846
2142
回到音樂的問題:
05:22
What makes品牌 music音樂 beautiful美麗?
109
312012
1468
是什麼讓音樂很優美?
05:23
Let's think about one of the most
beautiful美麗 pieces ever written書面,
110
313504
3032
咱們來想想看史上
最優美的作品之一,
05:26
Beethoven's貝多芬 Fifth第五 Symphony交響樂
and the famous著名 "daDA na na na!" motif主題.
111
316560
4623
貝多芬的第五號交響曲,
以及著名的「答哪哪哪」主題。
05:31
That motif主題 occurs發生 hundreds數以百計
of times in the symphony交響樂 --
112
321207
3467
在這首交響樂中,
那個主題出現了數百次,
05:34
hundreds數以百計 of times
in the first movement運動 alone單獨
113
324698
2148
光在第一樂章就有數百次了,
在其他樂章也都有出現。
05:36
and also in all the other
movements運動 as well.
114
326870
2097
所以,若要讓音樂優美,
建立這種重覆性是很重要的。
05:38
So the setting設置 up of this repetition重複
is so important重要 for beauty美女.
115
328991
4231
05:43
If we think about random隨機 music音樂
as being存在 just random隨機 notes筆記 here,
116
333246
3793
如果我們把隨機音樂
想成隨機的音符,
05:47
and over here, somehow不知何故, Beethoven's貝多芬 Fifth第五
in some kind of pattern模式,
117
337063
3175
把貝多芬的第五號交響曲
看成某種特定模式,
05:50
if we wrote completely全然 pattern-free無模式 music音樂,
118
340262
2111
如果我們譜寫完全
沒有規律可循的音樂,
05:52
it would be way out on the tail尾巴.
119
342397
1626
它就會在遠遠的尾端。
05:54
In fact事實, the end結束 of the tail尾巴 of music音樂
would be these pattern-free無模式 structures結構.
120
344047
3754
事實上,音樂的尾端
會是這些沒有模式的結構。
05:57
This music音樂 that we saw before,
those stars明星 on the grid,
121
347825
3821
我們之前看到的這些音樂,
格子上的那些星星,
06:01
is far, far, far from random隨機.
122
351670
3348
和隨機差得很遠很遠。
06:05
It's perfectly完美 pattern-free無模式.
123
355042
1820
它完全是沒有規律可循的。
06:07
It turns out that musicologists音樂學家 --
124
357310
3136
結果發現,音樂學家——
06:10
a famous著名 composer作曲家 by the name名稱
of Arnold阿諾德 Schoenberg舍恩伯格 --
125
360470
2725
一位叫做阿諾荀白克的著名作曲家——
06:13
thought of this in the 1930s,
'40s and '50s.
126
363219
3324
在三十、四十,及五十年代
都有想過這件事。
06:16
His goal目標 as a composer作曲家 was to write music音樂
127
366567
3132
身為作曲家,
他的目標是要譜寫出一種音樂,
06:19
that would free自由 music音樂
from tonal調 structure結構體.
128
369723
2557
讓音樂不受音調結構的限制。
06:22
He called it the "emancipation解放
of the dissonance不和諧."
129
372304
2355
他稱之為「不和諧的解放」。
06:24
He created創建 these structures結構
called "tone rows."
130
374683
2199
他創造出一些叫做「音調列」的結構。
06:26
This is a tone row there.
131
376906
1234
那裡是一個音調列。
06:28
It sounds聲音 a lot like a CostasCostas array排列.
132
378164
1900
它聽起來很像柯斯塔斯陣列。
06:30
Unfortunately不幸, he died死亡 10 years年份
before CostasCostas solved解決了 the problem問題
133
380088
3632
不幸的是,他在柯斯塔斯
解決如何用數學來創造
06:33
of how you can mathematically數學
create創建 these structures結構.
134
383744
2560
這些結構的問題前十年就過世了。
06:37
Today今天, we're going to hear the world世界
premiere首映 of the perfect完善 ping.
135
387320
4782
今天,我們會聽到
完美脈衝信號的世界首演。
06:42
This is an 88-by--通過-88-sized尺寸 CostasCostas array排列,
136
392126
3977
這是個 88 乘 88 的柯斯塔斯陣列,
06:46
mapped映射 to notes筆記 on the piano鋼琴,
137
396127
1595
對映到鋼琴上的音符,
06:47
played發揮 using運用 a structure結構體 called
a Golomb葛魯 ruler統治者 for the rhythm韻律,
138
397746
3473
用一種叫哥隆尺的節奏結構來演奏,
06:51
which哪一個 means手段 the starting開始
time of each pair of notes筆記
139
401243
2525
這表示,每一組兩個音符的開始時間
06:53
is distinct不同 as well.
140
403792
1573
也都是獨一無二的。
06:55
This is mathematically數學 almost幾乎 impossible不可能.
141
405389
2709
在數學上,這幾乎是不可能。
06:58
Actually其實, computationally計算,
it would be impossible不可能 to create創建.
142
408122
2811
更正,其實是在「計算上」,
是不可能創造出來的。
07:00
Because of the mathematics數學
that was developed發達 200 years年份 ago,
143
410957
3431
因為這種數學是在
兩百年前發展出來的,
07:04
through通過 another另一個 mathematician數學家
recently最近 and an engineer工程師,
144
414412
2662
透過另一位近期的數學家
及一位工程師,
我們才能夠真正譜出這曲子,
或建造這個結構,
07:07
we were able能夠 to actually其實 compose撰寫
this, or construct構造 this,
145
417098
2910
07:10
using運用 multiplication乘法 by the number three.
146
420032
2598
用的是 3 的乘法。
07:12
The point when you hear this music音樂
147
422654
2400
各位聽這段音樂時的重點
07:15
is not that it's supposed應該 to be beautiful美麗.
148
425078
2458
不要認為它應該要很優美。
07:17
This is supposed應該 to be
the world's世界 ugliest最醜 piece of music音樂.
149
427560
3932
這應該是世界上最難聽的音樂。
07:22
In fact事實, it's music音樂
that only a mathematician數學家 could write.
150
432101
3205
事實上,這是只有數學家
才寫得出來的音樂。
07:25
(Laughter笑聲)
151
435330
1023
(笑聲)
07:26
When you're listening to this
piece of music音樂, I implore懇求 you:
152
436377
2823
當各位聽這段音樂時,我懇求各位:
07:29
try and find some repetition重複.
153
439224
1683
試著去找出一些重覆性。
07:30
Try and find something that you enjoy請享用,
154
440931
2466
試著去找出一些你享受的點,
07:33
and then revel陶醉 in the fact事實
that you won't慣於 find it.
155
443421
2986
然後沉醉在你完全
找不到的這個事實中。
07:36
(Laughter笑聲)
156
446431
1342
(笑聲)
07:37
So without further進一步 ado忙亂, Michael邁克爾 LinvilleLinville,
157
447797
2611
廢話少說,麥可林維爾,
07:40
the [Dean院長] of Chamber商會 Music音樂
at the New World世界 Symphony交響樂,
158
450432
2812
新世界交響曲室內樂團的團長,
07:43
will perform演出 the world世界 premiere首映
of the perfect完善 ping.
159
453268
3357
會演出完美脈衝信號的世界首演。
07:47
(Music音樂)
160
457686
5272
(音樂)
09:29
(Music音樂 ends結束)
161
559312
2000
(音樂終了)
09:34
(Scott斯科特 Rickard裡卡德, off-screen關屏) Thank you.
162
564687
1858
(史考特瑞卡德,鋼琴演奏者)
謝謝。
09:36
(Applause掌聲)
163
566569
4900
(掌聲)
Translated by Lilian Chiu
Reviewed by Yanyan Hong

▲Back to top

ABOUT THE SPEAKER
Scott Rickard - Mathematician
Scott Rickard is passionate about mathematics, music -- and educating the next generation of scientists and mathematicians.

Why you should listen

Scott Rickard is a professor at University College Dublin. His interest in both music and math led him to try and solve an interesting math problem: a musical score with no pattern. He has degrees in Mathematics, Computer Science, and Electrical Engineering from MIT, and MA and PhD degrees in Applied and Computational Mathematics from Princeton.

At University College Dublin, he founded the Complex & Adaptive Systems Laboratory, where biologists, geologists, mathematicians, computer scientists, social scientists and economists work on problems that matter to people. He is also the founder of ScienceWithMe!, an online community dedicated to engaging youth through science and math.

More profile about the speaker
Scott Rickard | Speaker | TED.com