Download presentation
Presentation is loading. Please wait.
Published byDorcas White Modified over 9 years ago
1
the Further Mathematics network www.fmnetwork.org.uk
2
the Further Mathematics network www.fmnetwork.org.uk Google and Simultaneous Equations Let Maths take you Further…
3
Google – The World’s Favourite Search Engine Why? Simple clean design, fast searches,it puts the “good stuff” at the top Some Figures Google indexes billions of pages It has several hundred million queries per day with many, many thousands per second It runs on tens of thousands of Linux computers It makes up half of the multi billion dollar per year search engine business
4
Page Ranking Google has to do three things a) Crawl the web to find all the publicly accessible websites b) Arrange the data it finds so that it can be searched quickly c) Rank the websites in order of importance, so that the most important can be presented to the user first The rest of this presentation focuses on c) above.
5
The Mathematics Web site 3 Web site 2 Web site 1 Suppose the entire world wide web consisted of only three websites. An arrow between two websites in the diagram on the left represents a link between those two websites. For example there is a link from website 2 to website 3. We can represent this as a directed graph, see the diagram on the right. 2 3 1 WebsiteLinked to from 13 21,3 32
6
The Mathematics 2 3 1 The goal is to assign a rank to each website. The rank should be a measure of interest. Let x 1 be the rank of website 1 Let x 2 be the rank of website 2 Let x 3 be the rank of website 3 We’ll also insist that the ranks are normalised, i.e. x 1 + x 2 + x 3 = 1 First attempt is to base the rank on the number of incoming links. Website i Incoming Links Rank, x i 110.25 220.50 310.25
7
The Mathematics 2 3 1 However, a good ranking system should surely take into account the importance of the website that the links are coming from. A link from www.bbc.co.uk should be worth more than a link from www.barometerworld.co.uk. www.bbc.co.ukwww.barometerworld.co.uk This was Google’s big idea. We need to think of the ranks as representing voting power… For example website 3 has voting power of x 3. Since it links to websites 1 and 2, it will vote 0.5x 3 to website 1 and 0.5x 3 to website 2. Website 1 has voting power of x 1. Since it only links to website 2, it will vote x 1 to website 2. Website 2 has voting power of x 2. Since it only links to website 3, it will vote x 2 to website 3. But the total of each website’s vote is its rank. This gives the following equations……
8
The Mathematics 2 3 1 But this can be written as a matrix equation…. The solution of this with x 1 + x 2 + x 3 = 1 is x 1 = 0.2, x 2 = 0.4, x 3 = 0.4
9
Eigenvalues and Eigenvectors 2 3 1 The ranks x 1, x 2, x 3 are a solution of So the ranks as a column vector are an eigenvector of the matrix with eigenvalue 1 (chosen so that the ranks add up to 1). You might know this as a fixed point of the matrix. How does Google calculate this so quickly? We need to find a quick way to calculate this vector, and hence the ranks.
10
Iterative Computation 2 3 1 Let Starting with the vector We look at the sequence of vectors Tx, T 2 x, T 3 x, T 4 x,….. The limit of this sequence is the eigenvector of ranks….
11
Adding Websites 2 3 1 Let 4 Site 1234 1 0010 2 1011 3 0100 4 0000 gives ranks 0.2, 0.4, 0.4, 0 respectively
12
Adding Websites 2 3 1 Let 4 Site 1234 1 0010 2 1011 3 0100 4 0100 gives ranks 1/9, 4/9, 2/9, 2/9 respectively
13
Adding Websites 2 3 1 Let 4 Site 12345 1 00100 2 10100 3 01000 4 01000 5 01000 gives ranks 0, 0, 0, 0, 0, the problem of dangling nodes! Google have a way of getting around this. 5
14
Adding Websites 2 3 1 Let 4 Site 12345 1 00100 2 10111 3 01000 4 01000 5 01000 gives ranks 0.08 0.46, 0.15, 0.15, 0.15 respectively 5
15
In Summary Google uses simultaneous equations in an extremely inventive way to do its page ranking. This made it the market leader in search engines! YOU knew enough mathematics to come up with this idea when you were very young! What is the next big idea in applications of mathematics?.............
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.