ArticleslgStudy

science

Google matrix

Google matrix is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Google matrix rather than just read about it. In short: A Google matrix is a particular stochastic matrix that is used by Google's PageRank algorithm. The matrix represents a graph with edges representing links between pages.

Google matrix — main illustration
Google matrix — illustration

Key takeaways

  • Google matrix belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Google matrix to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Google matrix from memory before moving on to harder problems.

Reference excerpt

A Google matrix is a particular stochastic matrix that is used by Google's PageRank algorithm. The matrix represents a graph with edges representing links between pages. The PageRank of each page can then be generated iteratively from the Google matrix using the power method. However, in order for the power method to converge, the matrix must be stochastic, irreducible and aperiodic.

Adjacency matrix A and Markov matrix S In order to generate the Google matrix G, we must first generate an adjacency matrix A which represents the relations between pages or nodes. Assuming there are N pages, we can fill out A by doing the following:

A matrix element A i , j {\displaystyle A_{i,j}} is filled with 1 if node j {\displaystyle j} has a link to node i {\displaystyle i} , and 0 otherwise; this is the adjacency matrix of links. A related matrix S corresponding to the transitions in a Markov chain of given network is constructed from A by dividing the elements of column "j" by a number of k j = Σ i = 1 N A i , j {\displaystyle k_{j}=\Sigma _{i=1}^{N}A_{i,j}} where k j {\displaystyle k_{j}} is the total number of outgoing links from node j to all other nodes. The columns having zero matrix elements, corresponding to dangling nodes, are replaced by a constant value 1/N. Such a procedure adds a link from every sink, dangling state a {\displaystyle a} to every other node. Now by the construction the sum of all elements in any column of matrix S is equal to unity. In this way the matrix S is mathematically well defined and it belongs to the class of Markov chains and the class of Perron-Frobenius operators. That makes S suitable for the PageRank algorithm.

Construction of Google matrix G

Then the final Google matrix G can be expressed via S as:

G i j = α S i j + ( 1 − α ) 1 N ( 1 ) {\displaystyle G_{ij}=\alpha S_{ij}+(1-\alpha ){\frac {1}{N}}\;\;\;\;\;\;\;\;\;\;\;(1)}

By the construction the sum of all non-negative elements inside each matrix column is equal to unity. The numerical coefficient α {\displaystyle \alpha } is known as a damping factor. Usually S is a sparse matrix and for modern directed networks it has only about ten nonzero elements in a line or column, thus only about 10N multiplications are needed to multiply a vector by matrix G.

Examples of Google matrix An example of the matrix S {\displaystyle S} construction via Eq.(1) within a simple network is given in the article CheiRank. For the actual matrix, Google uses a damping factor α {\displaystyle \alpha } around 0.85. The term ( 1 − α ) {\displaystyle (1-\alpha )} gives a surfer probability to jump randomly on any page. The matrix G {\displaystyle G} belongs to the class of Perron-Frobenius operators of Markov chains. The examples of Google matrix structure are shown in Fig.1 for Wikipedia articles hyperlink network in 2009 at small scale and in Fig.2 for University of Cambridge network in 2006 at large scale.

Spectrum and eigenstates of G matrix

… excerpt ends here. Continue reading the full article.

Illustrations

Google matrix: Fig. 1. Google matrix of Wikipedia articles network, written in the bases of PageRank index; fragment of top 200 X 200 matrix elements is shown, total size N=3282257 (from [1]).
Fig. 1. Google matrix of Wikipedia articles network, written in the bases of PageRank index; fragment of top 200 X 200 matrix elements is shown, total size N=3282257 (from [1]).
Google matrix: Fig. 2. Google matrix of Cambridge University network (2006), coarse-grained matrix elements are written in the bases of PageRank index, total size N=212710 is shown (from [1]).
Fig. 2. Google matrix of Cambridge University network (2006), coarse-grained matrix elements are written in the bases of PageRank index, total size N=212710 is shown (from [1]).
Google matrix: Fig. 3. The spectrum of eigenvalues of the Google matrix of University of Cambridge from Fig.2 at 

  
    
      
        α
        =
        1
      
    
    {\displaystyle \alpha =1}
  
, blue points show eigenvalues of isolated subspaces, red points show eigenvalues of core component (from [5]).
Fig. 3. The spectrum of eigenvalues of the Google matrix of University of Cambridge from Fig.2 at α = 1 {\displaystyle \alpha =1} , blue points show eigenvalues of isolated subspaces, red points show eigenvalues of core component (from [5]).
Google matrix: Fig. 4. Distribution of eigenvalues 
  
    
      
        
          λ
          
            i
          
        
      
    
    {\displaystyle \lambda _{i}}
  
 of Google matrices in the complex plane at 
  
    
      
        α
        =
        1
      
    
    {\displaystyle \alpha =1}
  
 for dictionary networks: Roget (A, N=1022), ODLIS (B, N=2909) and FOLDOC (C, N=13356); UK university WWW networks: University of Wales (Cardiff) (D, N=2778), Birmingham City University (E, N=10631), Keele University (Staffordshire) (F, N=11437), Nottingham Trent University (G, N=12660), Liverpool John Moores University (H, N=13578)(data for universities are for 2002) (from [8]).
Fig. 4. Distribution of eigenvalues λ i {\displaystyle \lambda _{i}} of Google matrices in the complex plane at α = 1 {\displaystyle \alpha =1} for dictionary networks: Roget (A, N=1022), ODLIS (B, N=2909) and FOLDOC (C, N=13356); UK university WWW networks: University of Wales (Cardiff) (D, N=2778), Birmingham City University (E, N=10631), Keele University (Staffordshire) (F, N=11437), Nottingham Trent University (G, N=12660), Liverpool John Moores University (H, N=13578)(data for universities are for 2002) (from [8]).
Google matrix: Fig. 5. Distribution of eigenvalues 
  
    
      
        λ
      
    
    {\displaystyle \lambda }
  
 in the complex plane for the Google matrix 
  
    
      
        G
      
    
    {\displaystyle G}
  
 of the Linux Kernel version 2.6.32 with matrix size 
  
    
      
        N
        =
        285509
      
    
    {\displaystyle N=285509}
  
 at 
  
    
      
        α
        =
        0.85
      
    
    {\displaystyle \alpha =0.85}
  
, unit circle is shown by solid curve (from [9]).
Fig. 5. Distribution of eigenvalues λ {\displaystyle \lambda } in the complex plane for the Google matrix G {\displaystyle G} of the Linux Kernel version 2.6.32 with matrix size N = 285509 {\displaystyle N=285509} at α = 0.85 {\displaystyle \alpha =0.85} , unit circle is shown by solid curve (from [9]).

Worked examples

Example 1 — a first encounter with Google matrix

Start with the simplest possible case. Write down what Google matrix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Google matrix before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Google matrix ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Google matrix

In research
Google matrix appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Google matrix in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Google matrix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Google Search, Link analysis, Markov models, so understanding it makes those chapters shorter.
In everyday life
Look for Google matrix outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Google matrix” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Google matrix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Google matrix means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Google matrix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Google matrix in simple terms?

A Google matrix is a particular stochastic matrix that is used by Google's PageRank algorithm. The matrix represents a graph with edges representing links between pages.

Why does Google matrix matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Google matrix?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Google matrix.

Tags

  • Google Search
  • Link analysis
  • Markov models

Keep exploring