Professional Documents
Culture Documents
Lecture 41
Lecture 41
Lecture 41
P = NP?
I will have extra office
hours after class today
(1-3pm).
To be eligible to present
Monday, your team must
send an email with your
URL before midnight
DNA Helix Photomosaic from cover of tonight.
Nature, 15 Feb 2001 (made by Eric Lander)
simulating
1000
universe
logn n
800
nlogn n^2
pegboard puzzle
600
2n < n!
400
n^3 2^n
insertsort
200 quicksort
50000
simulating universe
40000 nlogn n^2
30000
10000
insertsort
quicksort
0
Lecture 41: P = NP?
1 2 3 4 5 6 11 7 8 9 10 11 12 13 14
Orders of Growth
1200000
Pegboar
1000000 logn n d puzzle
800000
400000 “tractable”
n^3 2^n
200000
simulating
universe
I do0 nothing that a man of unlimited funds, superb
physical1 endurance,
2 3 4 5 and 6 7maximum
8 9 10scientific
11 12 13 14 15 16 17 18 19
knowledge could not do.
– Batman (may be able to solve intractable problems,
but computer scientists can only solve tractable ones
CS 200 Spring 2003 12
Intractable Problemslog-log scale
1E+30
time
1E+28
n! 2n
1E+26
since
“Big 1E+24
Bang” 1E+22
1E+20
1E+18
1E+16
1E+14 P
1E+12
2022
1E+10
today
1E+08 n2
1E+06 n log n
10000
100
(Picture from
UVa Graduation
2001)
TCCAGAATAA
TCCAGAATAA
TACCCGTGATCCA
TACCCGTGATCCA ACCAGAATACCCGTGATCCAGAATAA
n = 26
ACCAGAATACC ACCAGAATACC
TCCAGAATAA
TCCAGAATAA
TACCCGTGATCCA
TACCCGTGATCCA ACCAGAATACCCGTGATCCAGAATAA
1E+24
2 n
since
“Big
problem (best
1E+22
1E+20 Bang”
known solutions
1E+18
1E+16
1E+12
≈ 20 Million) 1E+10
1E+08
1E+06
10000
100
1
2 4 8 16 32 64
Venter Collins
President Clinton announces Human Genome Sequence
essentially complete, June 26, 2000