This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
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 rank of each page can 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 is filled with 1 if node has a link to node , 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 where 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 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:
By the construction the sum of all non-negative elements inside each matrix column is equal to unity. The numerical coefficient 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 construction via Eq.(1) within a simple network is given in the article CheiRank.
For the actual matrix, Google uses a damping factor around 0.85. The term gives a surfer probability to jump randomly on any page. The matrix 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
For there is only one maximal eigenvalue with the corresponding right eigenvector which has non-negative elements which can be viewed as stationary probability distribution. These probabilities ordered by their decreasing values give the PageRank vector with the PageRank used by Google search to rank webpages. Usually one has for the World Wide Web that with . The number of nodes with a given PageRank value scales as with the exponent . The left eigenvector at has constant matrix elements. With all eigenvalues move as except the maximal eigenvalue , which remains unchanged. The PageRank vector varies with but other eigenvectors with remain unchanged due to their orthogonality to the constant left vector at . The gap between and other eigenvalue is gives a rapid convergence of a random initial vector to the PageRank approximately after 50 multiplications on matrix.
At the matrix has generally many degenerate eigenvalues (see e.g. ). Examples of the eigenvalue spectrum of the Google matrix of various directed networks is shown in Fig.3 from  and Fig.4 from.
The Google matrix can be also constructed for the Ulam networks generated by the Ulam method  for dynamical maps. The spectral properties of such matrices are discussed in [9,10,11,12,13,15]. In a number of cases the spectrum is described by the fractal Weyl law [10,12].
The Google matrix can be constructed also for other directed networks, e.g. for the procedure call network of the Linux Kernel software introduced in . In this case the spectrum of is described by the fractal Weyl law with the fractal dimension (see Fig.5 from ). Numerical analysis shows that the eigenstates of matrix are localized (see Fig.6 from ). Arnoldi iteration method allows to compute many eigenvalues and eigenvectors for matrices of rather large size .
Other examples of matrix include the Google matrix of brain  and business process management , see also. Applications of Google matrix analysis to DNA sequences is described in . Such a Google matrix approach allows also to analyze entanglement of cultures via ranking of multilingual Wikipedia articles abouts persons 
- PageRank, CheiRank
- Arnoldi iteration
- Markov chain, Transfer operator, Perron–Frobenius theorem
- Web search engines
- Ermann L.; Chepelianskii A.D; Shepelyansky D.L. (2011). "Towards two-dimensional search engines". arXiv: . Bibcode:2012JPhA...45A5101E. doi:10.1088/1751-8113/45/27/275101.
- Langville, Amity N; Meyer, Carl (2006). Google's PageRank and Beyond. Princeton University Press. ISBN 0-691-12202-4.
- Austin, David (2008). "How Google Finds Your Needle in the Web's Haystack". AMS Feature Columns.
- Law, Edith (2008-10-09). "PageRank Lecture 12" (PDF).
- Frahm K.M.; Georgeot B.; Shepelyansky D.L. (2011-11-01). "Universal emergence of PageRank". Journal of Physics A: Mathematical and Theoretical. IOP Publishing Ltd. 44 (46): 465101. arXiv: . Bibcode:2011JPhA...44T5101F. doi:10.1088/1751-8113/44/46/465101.
- Donato, Debora; Laura, Luigi; Leonardi, Stefano; Millozzi, Stefano (2004-03-30). "Large scale properties of the Webgraph" (PDF). The European Physical Journal B. Springer-Verlag. 38: 239–243. Bibcode:2004EPJB...38..239D. CiteSeerX . doi:10.1140/epjb/e2004-00056-6.
- Pandurangan, Gopal; Ranghavan, Prabhakar; Upfal, Eli (2005). "Using PageRank to Characterize Web Structure" (PDF). Internet Mathematics. pp. 1–20.
- Georgeot Bertrand; Giraud Olivier; Shepelyansky Dima L. (2010-05-25). "Spectral properties of the Google matrix of the World Wide Web and other directed networks". Physical Review E. Statistical, nonlinear, and soft matter physics. p. 056109. arXiv: . Bibcode:2010PhRvE..81e6109G. doi:10.1103/PhysRevE.81.056109.
- Ermann L.; Chepelianskii A.D.; Shepelyansky D.L. (2010-12-21). "Fractal Weyl law for Linux Kernel Architecture". The European Physical Journal B. Springer-Verlag. pp. 115–120. arXiv: . Bibcode:2011EPJB...79..115E. doi:10.1140/epjb/e2010-10774-7.
-  Serra-Capizzano, Stefano (2005). "Jordan Canonical Form of the Google Matrix: a Potential Contribution to the PageRank Computation". SIAM J. Matrix. Anal. Appl. v.27, p.305.
-  Ulam, Stanislaw (1960). "A Collection of mathematical problems, Interscience tracs in pure and applied mathematics". Interscience, New York p.73.
-  Froyland G.; Padberg K. (2009). "Almost-invariant sets and invariant manifolds — Connecting probabilistic and geometric descriptions of coherent structures in flows". Physica D v.238, p.1507.
-  Shepelyansky D.L.; Zhirov O.V. (2010). "Google matrix, dynamical attractors and Ulam networks". Phys. Rev. E v.81, p.036213.
-  Ermann L.; Shepelyansky D.L. (2010). "Google matrix and Ulam networks of intermittency maps". Phys. Rev. E v.81, p.036221.
-  Ermann L.; Shepelyansky D.L. (2010). "Ulam method and fractal Weyl law for Perron-Frobenius operators". Eur. Phys. J. B v.75, p.299.
-  Frahm K.M.; Shepelyansky D.L. (2010). "Ulam method for the Chirikov standard map". Eur. Phys. J. B v.76, p.57.
-  Chepelianskii, Alexei D. (2010). "Towards physical laws for software architecture". arXiv: . Bibcode:2010arXiv1003.5455C.
-  Shepelyansky D.L.; Zhirov O.V. (2010). "Towards Google matrix of brain". Phys. Lett. A v.374, p.3206.
-  Abel M.; Shepelyansky D.L. (2011). "Google matrix of business process management". Eur. Phys. J. B v.84, p.493. arXiv: . Bibcode:2011EPJB...84..493A. doi:10.1140/epjb/e2010-10710-y.
-  Kandiah V.; Shepelyansky D.L. (2013). "Google matrix analysis of DNA sequences". PLOS ONE v.8(5): e61519.
-  Eom Y.-H.; Shepelyansky D.L. (2013). "Highlighting entanglement of cultures via ranking of multilingual Wikipedia articles". PLOS ONE v.8(10): e74554.
-  Brin S.; Page L. (1998). "The anatomy of a large-scale hypertextual Web search engine". Computer Networks and ISDN Systems v.30, p.107.
-  Franceschet, Massimo (2010). "PageRank: Standing on the shoulders of giants". arXiv: . Bibcode:2010arXiv1002.2858F.
-  Vigna, Sebastiano (2010). "Spectral Ranking" (PDF).