SlideShare a Scribd company logo
Maths and the making of the modern world
The maths behind Google and the Ipod
Chris Budd
Mathematics is completely useless
Mathematicians are evil souless geeks
All Mathematicians are mad!
Some common views on maths and mathematicians
The modern world would not exist without maths
With maths you can tell the future and save lives
Maths lies at the heart of art and music
The truth is rather different!
Spot the mathematician, and why are they important?
Maxwell and the discovery of electromagnetic waves
Electromagnetism, radio, WiFi,TV, radar, mobile phones,
microwaves all come from the work of Maxwell!
Linear algebra, graph theory, SVD
Google:
Error correcting codes: Galois theory
Internet: Network theory
Security: Fermat, RSA
Mathematicians really have made the modern world possible
Medical imaging: Radon Transform
Communications: FFT, Shannon
Medical Statistics: Nightingale
A few other examples ….
The key to the modern world is information!
It is important that we store, transmit and search this
information carefully and without making mistakes
Maths helps us to do this…
Pick a number 0,1,2,3,…,7
Q1. Is your number 4,5,6,7?
Q2. Is your number 2,3,6,7?
Q3. Is your number 1,3,5,7?
Answer the following questions truthfully
Storing information by telling the truth
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
Binary numbers
3 Bit Binary Number: x
x represented by three digits a b c eg. 101
a,b,c are 0 or 1
x = 4*a + 2*b + c
eg. 101 = 4+0+1 = 5
011 = 0+2+1 = 3
1, 0 are called bits of information
All information in a computer is made up of bits
Simplest information has ONE BIT
Are you OK?
Usually binary numbers have more than 3 bits
eg. 10011011 has 8 bits
A symbol of 8 bits is called a byte.
You can have 256 such symbols
Letters A,B,C, … are converted into 8 bit ASCII
Other languages eg. Japanese use 32 bit Unicode
Binary numbers 0..7 have 3 bits
Camera takes picture made up of PIXELS
8 BITS per pixel ….. 256 range of intensity = 1 byte
1 000 000 Pixels per Picture
3 colours
Total 3 M Byte per picture
One bite memory
Using binary you can count from 0 to 31 on one hand with
5 bit binary numbers
How does a monster count to 25?
On his fingers!
eg. 10110 = 16 + 4 + 2 = 22
11001 = 16 + 8 + 1 = 25
Sometimes we make mistakes
How to avoid errors.
Mean to send 11100011
Make a mistake on one bit and send
11101011
Can we tell if we have made a mistake?
Answer the following questions.
Either tell the truth or lie at most once
Pick a number between 0 and 7
Q1 Is it 4,5,6,7?
Q2 Is it 2,3,6,7?
Q3 Is it 1,3,5,7?
Q4 Is it 1,2,4,7?
Can we find the liar?
0 0 0 0 0
1 0 0 1 1
2 0 1 0 1
3 0 1 1 0 answer to last question
4 1 0 0 1
5 1 0 1 0
6 1 1 0 0
7 1 1 1 1
If all true there are an: even number of 1s
If one lie there is an: odd number of 1s
Last digit/question is called a parity bit and tells us if we
have made a mistake
Technique was used by ancient scribes when copying biblical texts
Once we spot an error we can either
Discard the whole message
…. OR ….
Ask for the information to be sent again
…. OR ….
We can try to correct it
Error correcting codes.
Used to store the numbers 0,1,2,3,4,5,6,7 and other data
in such a way that any errors can not only be detected but
corrected.
Answer the following questions .. You can
either tell the truth or lie at most once
Choose a number 0,1,2,3,4,5,6,7
Q1 Is the number 4,5,6,7?
Q2 Is the number 2,3,6,7?
Q3 Is the number 1,3,5,7?
Q4 Is the number 1,3,4,6?
Q5 Is the number 1,2,5,6?
Q6 Is the number 2,3,4,5?
0 000 000
1 001 110
2 010 011
3 011 101
4 100 101
5 101 011
6 110 110
7 111 000
Binary number Correcting number
Start with a binary number 110110
Telling the truth doesn’t change the number 110110
Lying once changes the number by one digit 100110
Hamming Distance:
Take two binary numbers. How many digits
do we have to change to turn one into the
other?
0 000 000
1 001 110
2 010 011
3 011 101
4 100 101
5 101 011
6 110 110
7 111 000
All are a Hamming distance of
3 apart
Choose the closest number to
the one you are sent. This
must be correct.
Binary number Correcting number
Error correcting codes.
Extend these ideas using Finite Field Theory (Galois)
These are widely used in
• CDs
• Digital TV and Radio
• Mobile phones
• Satellites
Invented in the 1940s by
Hamming in the Bell Labs
Different types of code are used depending upon
• The Level of noise
• Whether the noise is random or comes in bursts
These are used in IPODs
IPOD also compress the information.
Instead of sending this message
which has lots of vowels in it which
we don’t really need
W cn snd ths mssg nstd whch ds nt
hv ny vwls t ll
Nw try ths fr yrslf
For example
MPEG file also compresses sound waveforms
Decompose into a sum of harmonics. Only store the first few of these
The Maths Behind Google
Google searches for information stored on many web-sites.
Web-sites are linked together by a network showing which web-
site points to which other web-site
It RANKS web-sites in order of the importance of the information
that they contain.
IDEA. A website is important if lots of other websites link to it.
A website is even more important if it is linked to by lots of
important web-sites.
PAGE RANK
Each Web-site has a rank R
Divide R by the number N of web-sites that this web-site links, to get S=R/N
For each web-site, calculate R by adding up the values of S for every web-site that
connects to it.
12
4
9
6
4
4
4
2
2
3
3
9
Now do the same for 1 000 000 0000 more
computers
Need to calculate the unit eigenvector of an extremely
large matrix!
And make many $$$$$$$$$$$$$$$$$

More Related Content

Similar to ModernWorldKCL.ppt

Deepak sh
Deepak shDeepak sh
Deepak sh
Deepak shDeepak sh
Binary.pdf
Binary.pdfBinary.pdf
Binary.pdf
ChrisTalla1
 
Computer_Programming_Fundamentals CHAPTER 2.pptx
Computer_Programming_Fundamentals CHAPTER 2.pptxComputer_Programming_Fundamentals CHAPTER 2.pptx
Computer_Programming_Fundamentals CHAPTER 2.pptx
BernardVelasco1
 
Part Numbering and ID codes: general considerations and check digits
Part Numbering and ID codes: general considerations and check digitsPart Numbering and ID codes: general considerations and check digits
Part Numbering and ID codes: general considerations and check digits
johnhwoodsslideshare
 
Master Minds on Data Science - Arno Siebes
Master Minds on Data Science - Arno SiebesMaster Minds on Data Science - Arno Siebes
Master Minds on Data Science - Arno Siebes
Media Perspectives
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representationekul
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
Kyle
 
2.2 data and information
2.2 data and information2.2 data and information
2.2 data and informationmrmwood
 
Enlish presntation
Enlish presntationEnlish presntation
Enlish presntation
Ayoub BAHTAT
 
Ancestry, Anecdotes & Avanan -DL for Amateurs
Ancestry, Anecdotes & Avanan -DL for Amateurs Ancestry, Anecdotes & Avanan -DL for Amateurs
Ancestry, Anecdotes & Avanan -DL for Amateurs
Natan Katz
 
Mastering python lesson1
Mastering python lesson1Mastering python lesson1
Mastering python lesson1
Ruth Marvin
 
What the f*ck is the internet? - vol. 1
What the f*ck is the internet? - vol. 1What the f*ck is the internet? - vol. 1
What the f*ck is the internet? - vol. 1
Alex Viana
 
Gunning for granny
Gunning for grannyGunning for granny
Gunning for granny
Chris Roberts
 
Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6
Paul Houle
 
Hackers contemplations
Hackers contemplationsHackers contemplations
Hackers contemplations
Chris Roberts
 
Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020
Siddharth Adelkar
 
federal reserve.
federal reserve.federal reserve.
federal reserve.
Sandro Suzart
 
Introduction to Digital Media
Introduction to Digital MediaIntroduction to Digital Media
Introduction to Digital Media
Lifelong Learning
 
Macro 2
Macro 2Macro 2
Macro 2
Gale Pooley
 

Similar to ModernWorldKCL.ppt (20)

Deepak sh
Deepak shDeepak sh
Deepak sh
 
Deepak sh
Deepak shDeepak sh
Deepak sh
 
Binary.pdf
Binary.pdfBinary.pdf
Binary.pdf
 
Computer_Programming_Fundamentals CHAPTER 2.pptx
Computer_Programming_Fundamentals CHAPTER 2.pptxComputer_Programming_Fundamentals CHAPTER 2.pptx
Computer_Programming_Fundamentals CHAPTER 2.pptx
 
Part Numbering and ID codes: general considerations and check digits
Part Numbering and ID codes: general considerations and check digitsPart Numbering and ID codes: general considerations and check digits
Part Numbering and ID codes: general considerations and check digits
 
Master Minds on Data Science - Arno Siebes
Master Minds on Data Science - Arno SiebesMaster Minds on Data Science - Arno Siebes
Master Minds on Data Science - Arno Siebes
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
2.2 data and information
2.2 data and information2.2 data and information
2.2 data and information
 
Enlish presntation
Enlish presntationEnlish presntation
Enlish presntation
 
Ancestry, Anecdotes & Avanan -DL for Amateurs
Ancestry, Anecdotes & Avanan -DL for Amateurs Ancestry, Anecdotes & Avanan -DL for Amateurs
Ancestry, Anecdotes & Avanan -DL for Amateurs
 
Mastering python lesson1
Mastering python lesson1Mastering python lesson1
Mastering python lesson1
 
What the f*ck is the internet? - vol. 1
What the f*ck is the internet? - vol. 1What the f*ck is the internet? - vol. 1
What the f*ck is the internet? - vol. 1
 
Gunning for granny
Gunning for grannyGunning for granny
Gunning for granny
 
Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6
 
Hackers contemplations
Hackers contemplationsHackers contemplations
Hackers contemplations
 
Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020
 
federal reserve.
federal reserve.federal reserve.
federal reserve.
 
Introduction to Digital Media
Introduction to Digital MediaIntroduction to Digital Media
Introduction to Digital Media
 
Macro 2
Macro 2Macro 2
Macro 2
 

Recently uploaded

Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 

Recently uploaded (20)

Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 

ModernWorldKCL.ppt

  • 1. Maths and the making of the modern world The maths behind Google and the Ipod Chris Budd
  • 2. Mathematics is completely useless Mathematicians are evil souless geeks All Mathematicians are mad! Some common views on maths and mathematicians
  • 3. The modern world would not exist without maths With maths you can tell the future and save lives Maths lies at the heart of art and music The truth is rather different!
  • 4. Spot the mathematician, and why are they important? Maxwell and the discovery of electromagnetic waves Electromagnetism, radio, WiFi,TV, radar, mobile phones, microwaves all come from the work of Maxwell!
  • 5. Linear algebra, graph theory, SVD Google: Error correcting codes: Galois theory Internet: Network theory Security: Fermat, RSA Mathematicians really have made the modern world possible Medical imaging: Radon Transform Communications: FFT, Shannon Medical Statistics: Nightingale A few other examples ….
  • 6. The key to the modern world is information!
  • 7. It is important that we store, transmit and search this information carefully and without making mistakes Maths helps us to do this…
  • 8. Pick a number 0,1,2,3,…,7 Q1. Is your number 4,5,6,7? Q2. Is your number 2,3,6,7? Q3. Is your number 1,3,5,7? Answer the following questions truthfully Storing information by telling the truth
  • 9. 0 0 0 0 1 0 0 1 2 0 1 0 3 0 1 1 4 1 0 0 5 1 0 1 6 1 1 0 7 1 1 1 Binary numbers
  • 10. 3 Bit Binary Number: x x represented by three digits a b c eg. 101 a,b,c are 0 or 1 x = 4*a + 2*b + c eg. 101 = 4+0+1 = 5 011 = 0+2+1 = 3
  • 11. 1, 0 are called bits of information All information in a computer is made up of bits Simplest information has ONE BIT Are you OK?
  • 12. Usually binary numbers have more than 3 bits eg. 10011011 has 8 bits A symbol of 8 bits is called a byte. You can have 256 such symbols Letters A,B,C, … are converted into 8 bit ASCII Other languages eg. Japanese use 32 bit Unicode Binary numbers 0..7 have 3 bits
  • 13. Camera takes picture made up of PIXELS 8 BITS per pixel ….. 256 range of intensity = 1 byte 1 000 000 Pixels per Picture 3 colours Total 3 M Byte per picture One bite memory
  • 14. Using binary you can count from 0 to 31 on one hand with 5 bit binary numbers How does a monster count to 25? On his fingers! eg. 10110 = 16 + 4 + 2 = 22 11001 = 16 + 8 + 1 = 25
  • 15. Sometimes we make mistakes How to avoid errors. Mean to send 11100011 Make a mistake on one bit and send 11101011 Can we tell if we have made a mistake?
  • 16. Answer the following questions. Either tell the truth or lie at most once Pick a number between 0 and 7 Q1 Is it 4,5,6,7? Q2 Is it 2,3,6,7? Q3 Is it 1,3,5,7? Q4 Is it 1,2,4,7? Can we find the liar?
  • 17. 0 0 0 0 0 1 0 0 1 1 2 0 1 0 1 3 0 1 1 0 answer to last question 4 1 0 0 1 5 1 0 1 0 6 1 1 0 0 7 1 1 1 1 If all true there are an: even number of 1s If one lie there is an: odd number of 1s Last digit/question is called a parity bit and tells us if we have made a mistake
  • 18. Technique was used by ancient scribes when copying biblical texts
  • 19. Once we spot an error we can either Discard the whole message …. OR …. Ask for the information to be sent again …. OR …. We can try to correct it
  • 20. Error correcting codes. Used to store the numbers 0,1,2,3,4,5,6,7 and other data in such a way that any errors can not only be detected but corrected.
  • 21. Answer the following questions .. You can either tell the truth or lie at most once Choose a number 0,1,2,3,4,5,6,7 Q1 Is the number 4,5,6,7? Q2 Is the number 2,3,6,7? Q3 Is the number 1,3,5,7? Q4 Is the number 1,3,4,6? Q5 Is the number 1,2,5,6? Q6 Is the number 2,3,4,5?
  • 22. 0 000 000 1 001 110 2 010 011 3 011 101 4 100 101 5 101 011 6 110 110 7 111 000 Binary number Correcting number
  • 23. Start with a binary number 110110 Telling the truth doesn’t change the number 110110 Lying once changes the number by one digit 100110 Hamming Distance: Take two binary numbers. How many digits do we have to change to turn one into the other?
  • 24. 0 000 000 1 001 110 2 010 011 3 011 101 4 100 101 5 101 011 6 110 110 7 111 000 All are a Hamming distance of 3 apart Choose the closest number to the one you are sent. This must be correct. Binary number Correcting number
  • 25. Error correcting codes. Extend these ideas using Finite Field Theory (Galois) These are widely used in • CDs • Digital TV and Radio • Mobile phones • Satellites Invented in the 1940s by Hamming in the Bell Labs
  • 26. Different types of code are used depending upon • The Level of noise • Whether the noise is random or comes in bursts
  • 27. These are used in IPODs IPOD also compress the information.
  • 28. Instead of sending this message which has lots of vowels in it which we don’t really need W cn snd ths mssg nstd whch ds nt hv ny vwls t ll Nw try ths fr yrslf For example
  • 29. MPEG file also compresses sound waveforms Decompose into a sum of harmonics. Only store the first few of these
  • 30. The Maths Behind Google Google searches for information stored on many web-sites. Web-sites are linked together by a network showing which web- site points to which other web-site
  • 31. It RANKS web-sites in order of the importance of the information that they contain. IDEA. A website is important if lots of other websites link to it. A website is even more important if it is linked to by lots of important web-sites.
  • 32. PAGE RANK Each Web-site has a rank R Divide R by the number N of web-sites that this web-site links, to get S=R/N For each web-site, calculate R by adding up the values of S for every web-site that connects to it. 12 4 9 6 4 4 4 2 2 3 3 9
  • 33. Now do the same for 1 000 000 0000 more computers Need to calculate the unit eigenvector of an extremely large matrix! And make many $$$$$$$$$$$$$$$$$