SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Divyansh Verma
SAU/AM(M)/2014/14
South Asian University
Email : itsmedv91@gmail.com
LINEAR ALGEBRA
BEHIND
GOOGLE SEARCH
Contents
• Search Engine : Google
• Magic Behind Google Success
• PageRank Algorithm
• PageRank - How it works ?
• Importance of Linear Algebra in Page Ranking Algorithm
• References
Search Engine : Google
What is a search engine?
A web search engine is a software system that is designed to
search for information on the World Wide Web.
Eg : Google, Bing, Yahoo, Ask, etc.
Why Google?
• It is the most popular search engine.
• It is very simple, fast and precise.
• Adaptive to growing internet.
Magic Behind Google Success
When Google went online in 1990’s, one thing that set it apart from
other search engines was its search result listings which always
delivered “good stuff”.
Search Engines like Google have to do three basic things :
1. Look the web and locate all web pages with public access.
2. Indexing of searched data for more efficient search.
3. Rate the importance of each page in the database, so when the
user does a search, the more important pages are presented first.
Big part of the MAGIC behind Google success is its PageRank
Algorithm.
PageRank Algorithm
PageRank Algorithm, developed by Google’s founders, Larry
Page and Sergey Brin, when they were graduate students at
Stanford University.
PageRank is a link analysis algorithm that ranks the relative
importance of all web pages within a network.
Three features for determining PageRank :
• Outgoing Links - the number of links found in a page
• Incoming Links - the number of times other pages have cited
this page
• Rank - A value representing the page's relative importance in
the network.
PageRank – How it Works ?
Mathematical Model of Internet
1. Represent Internet as Graph
2. Represent Graph as Stochastic Matrix
3. Make stochastic matrix more convenient ⇒ Google Matrix
4. Find Dominant eigenvector of Google Matrix ⇒ PageRank
Internet as a Graph
Link from one web page to another web page.
Web graph : Web pages = nodes, Links = edges
PageRank – How it Works ?
Web graph as a Matrix
Links = nonzero elements in matrix
Every page ‘i’ has li≥1 outlinks. Sij = 1/li if page I has link to page j
0 otherwise
S is a Sparse Matrix, as most of the entries are zero.
Probability that surfer moves from page i to page j.
1
2
3
4
5
S =
0 1/2 0 1/2 0
0 0 1/3 1/3 1/3
0 0 0 1 0
0 0 0 0 1
1 0 0 0 0
PageRank – How it Works ?
Google Matrix
Convex Combination of two Stochastic Matrix gives a Google
Stochastic Matrix which is reducible and more convenient.
G = αS + (1 − α)S1vT
where 0≤ α ≤1 is damping factor,
S1 is a matrix whose all entries are 1,
vT is vector that models teleportation corresponding to webpage vi
Eigen Values of G are 1 > α λ2(S) ≥ α λ3(S) ≥ . . .
Unique dominant left eigenvector : πTG = πT, π ≥ 0
Links Teleportation
PageRank – How it Works ?
PageRank
Dominant Eigen Vector πT gives PageRank corresponding webpage i
πTG = πT, π ≥ 0
πi is the PageRank Corresponding to webpage i
How Google Ranks Web pages
• Model : Internet → Web Graph → Stochastic Matrix G
• Computation : Dominant eigenvector of G for PageRank πi
• Display : πi > πk , then page i may* be displayed before page k
*depending on hypertext analysis
Importance of Linear Algebra
Using techniques of Linear Algebra, one can compute a unique
solution for PageRank Problem.
It gives importance of all webpages in terms of PageRank
Eigenvector corresponding to each webpage.
No other successful technique other than Linear Algebra is
available to solve this problem.
References
https://www.rose-hulman.edu/~bryan/googleFinalVersionFixed.pdf
http://www.math.cornell.edu/~mec/Winter2009/RalucaRemus/Lecture3/lecture3.html
http://www.cs.princeton.edu/~chazelle/courses/BIB/pagerank.html
http://blog.kleinproject.org/?p=280
THANK
YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...Edureka!
 
Applications of linear algebra in computer science
Applications of linear algebra in computer scienceApplications of linear algebra in computer science
Applications of linear algebra in computer scienceArnob Khan
 
Mathematics For Artificial Intelligence
Mathematics For Artificial IntelligenceMathematics For Artificial Intelligence
Mathematics For Artificial IntelligenceSuraj Kumar Jana
 
Graph theory and its applications
Graph theory and its applicationsGraph theory and its applications
Graph theory and its applicationsManikanta satyala
 
Real life application of Enginneering mathematics
Real life application of Enginneering mathematicsReal life application of Enginneering mathematics
Real life application of Enginneering mathematicsNasrin Rinky
 
Applications of Linear Algebra in Computer Sciences
Applications of Linear Algebra in Computer SciencesApplications of Linear Algebra in Computer Sciences
Applications of Linear Algebra in Computer SciencesAmir Sharif Chishti
 
Application of Engineering Mathematics
Application of Engineering MathematicsApplication of Engineering Mathematics
Application of Engineering MathematicsSelf employed
 
Applications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma MachineApplications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma MachineVandanaPrajapati10
 
page ranking algorithm
page ranking algorithmpage ranking algorithm
page ranking algorithmJaved Khan
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
PageRank Algorithm In data mining
PageRank Algorithm In data miningPageRank Algorithm In data mining
PageRank Algorithm In data miningMai Mustafa
 
Calculus in real life
Calculus in real lifeCalculus in real life
Calculus in real lifeashikul akash
 
Engineering mathematics presentation
Engineering mathematics presentationEngineering mathematics presentation
Engineering mathematics presentationAfzal Hossen
 
Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3DigiGurukul
 
PageRank and Markov Chain
PageRank and Markov ChainPageRank and Markov Chain
PageRank and Markov ChainGenioAladino
 
Application of discrete mathematics in IT
Application of discrete mathematics in ITApplication of discrete mathematics in IT
Application of discrete mathematics in ITShahidAbbas52
 

Was ist angesagt? (20)

Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
 
graph theory
graph theory graph theory
graph theory
 
Applications of linear algebra in computer science
Applications of linear algebra in computer scienceApplications of linear algebra in computer science
Applications of linear algebra in computer science
 
Mathematics For Artificial Intelligence
Mathematics For Artificial IntelligenceMathematics For Artificial Intelligence
Mathematics For Artificial Intelligence
 
Graph theory and its applications
Graph theory and its applicationsGraph theory and its applications
Graph theory and its applications
 
Real life application of Enginneering mathematics
Real life application of Enginneering mathematicsReal life application of Enginneering mathematics
Real life application of Enginneering mathematics
 
Applications of Linear Algebra in Computer Sciences
Applications of Linear Algebra in Computer SciencesApplications of Linear Algebra in Computer Sciences
Applications of Linear Algebra in Computer Sciences
 
Application of Engineering Mathematics
Application of Engineering MathematicsApplication of Engineering Mathematics
Application of Engineering Mathematics
 
Applications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma MachineApplications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma Machine
 
page ranking algorithm
page ranking algorithmpage ranking algorithm
page ranking algorithm
 
Graph theory presentation
Graph theory presentationGraph theory presentation
Graph theory presentation
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
PageRank Algorithm In data mining
PageRank Algorithm In data miningPageRank Algorithm In data mining
PageRank Algorithm In data mining
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
Calculus in real life
Calculus in real lifeCalculus in real life
Calculus in real life
 
Engineering mathematics presentation
Engineering mathematics presentationEngineering mathematics presentation
Engineering mathematics presentation
 
Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3
 
PageRank and Markov Chain
PageRank and Markov ChainPageRank and Markov Chain
PageRank and Markov Chain
 
Application of discrete mathematics in IT
Application of discrete mathematics in ITApplication of discrete mathematics in IT
Application of discrete mathematics in IT
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 

Andere mochten auch (20)

HTML
HTMLHTML
HTML
 
Types of Error in Mechanical Measurement & Metrology (MMM)
Types of Error in Mechanical Measurement & Metrology (MMM)Types of Error in Mechanical Measurement & Metrology (MMM)
Types of Error in Mechanical Measurement & Metrology (MMM)
 
Biometrics
BiometricsBiometrics
Biometrics
 
Robot Configuration - 1
Robot Configuration - 1Robot Configuration - 1
Robot Configuration - 1
 
Robot Configuration - 2
Robot Configuration - 2Robot Configuration - 2
Robot Configuration - 2
 
FPDE presentation
FPDE presentationFPDE presentation
FPDE presentation
 
Html5
Html5Html5
Html5
 
Mechanical measurement
Mechanical measurementMechanical measurement
Mechanical measurement
 
Html5
Html5Html5
Html5
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 
Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02
 
Metrology and Measurements unit 2
Metrology and Measurements unit 2Metrology and Measurements unit 2
Metrology and Measurements unit 2
 
Measurement of force, torque and strain
Measurement of force, torque and strainMeasurement of force, torque and strain
Measurement of force, torque and strain
 
India
IndiaIndia
India
 
Automation and robotics
Automation and roboticsAutomation and robotics
Automation and robotics
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Robots & Automation
Robots & AutomationRobots & Automation
Robots & Automation
 
Metrology
MetrologyMetrology
Metrology
 
Thermocouple gauge & pirani gauge
Thermocouple gauge & pirani gauge  Thermocouple gauge & pirani gauge
Thermocouple gauge & pirani gauge
 

Ähnlich wie LINEAR ALGEBRA BEHIND GOOGLE SEARCH (20)

Page rank by university of michagain.ppt
Page rank by university of michagain.pptPage rank by university of michagain.ppt
Page rank by university of michagain.ppt
 
PageRank Algorithm
PageRank AlgorithmPageRank Algorithm
PageRank Algorithm
 
I04015559
I04015559I04015559
I04015559
 
Page Rank Link Farm Detection
Page Rank Link Farm DetectionPage Rank Link Farm Detection
Page Rank Link Farm Detection
 
Search engine page rank demystification
Search engine page rank demystificationSearch engine page rank demystification
Search engine page rank demystification
 
Dm page rank
Dm page rankDm page rank
Dm page rank
 
Seo and page rank algorithm
Seo and page rank algorithmSeo and page rank algorithm
Seo and page rank algorithm
 
Ranking Web Pages
Ranking Web PagesRanking Web Pages
Ranking Web Pages
 
Macran
MacranMacran
Macran
 
Google page rank
Google page rankGoogle page rank
Google page rank
 
Pagerank
PagerankPagerank
Pagerank
 
Page Rank
Page RankPage Rank
Page Rank
 
Web mining
Web miningWeb mining
Web mining
 
PageRank & Searching
PageRank & SearchingPageRank & Searching
PageRank & Searching
 
Markov chain and its Application
Markov chain and its Application Markov chain and its Application
Markov chain and its Application
 
Google page rank
Google page rankGoogle page rank
Google page rank
 
PageRank_algorithm_Nfaoui_El_Habib
PageRank_algorithm_Nfaoui_El_HabibPageRank_algorithm_Nfaoui_El_Habib
PageRank_algorithm_Nfaoui_El_Habib
 
Q3
Q3Q3
Q3
 
Incremental Page Rank Computation on Evolving Graphs : NOTES
Incremental Page Rank Computation on Evolving Graphs : NOTESIncremental Page Rank Computation on Evolving Graphs : NOTES
Incremental Page Rank Computation on Evolving Graphs : NOTES
 
Link analysis for web search
Link analysis for web searchLink analysis for web search
Link analysis for web search
 

Kürzlich hochgeladen

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Kürzlich hochgeladen (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

LINEAR ALGEBRA BEHIND GOOGLE SEARCH

  • 1. Divyansh Verma SAU/AM(M)/2014/14 South Asian University Email : itsmedv91@gmail.com LINEAR ALGEBRA BEHIND GOOGLE SEARCH
  • 2. Contents • Search Engine : Google • Magic Behind Google Success • PageRank Algorithm • PageRank - How it works ? • Importance of Linear Algebra in Page Ranking Algorithm • References
  • 3. Search Engine : Google What is a search engine? A web search engine is a software system that is designed to search for information on the World Wide Web. Eg : Google, Bing, Yahoo, Ask, etc. Why Google? • It is the most popular search engine. • It is very simple, fast and precise. • Adaptive to growing internet.
  • 4. Magic Behind Google Success When Google went online in 1990’s, one thing that set it apart from other search engines was its search result listings which always delivered “good stuff”. Search Engines like Google have to do three basic things : 1. Look the web and locate all web pages with public access. 2. Indexing of searched data for more efficient search. 3. Rate the importance of each page in the database, so when the user does a search, the more important pages are presented first. Big part of the MAGIC behind Google success is its PageRank Algorithm.
  • 5. PageRank Algorithm PageRank Algorithm, developed by Google’s founders, Larry Page and Sergey Brin, when they were graduate students at Stanford University. PageRank is a link analysis algorithm that ranks the relative importance of all web pages within a network. Three features for determining PageRank : • Outgoing Links - the number of links found in a page • Incoming Links - the number of times other pages have cited this page • Rank - A value representing the page's relative importance in the network.
  • 6. PageRank – How it Works ? Mathematical Model of Internet 1. Represent Internet as Graph 2. Represent Graph as Stochastic Matrix 3. Make stochastic matrix more convenient ⇒ Google Matrix 4. Find Dominant eigenvector of Google Matrix ⇒ PageRank Internet as a Graph Link from one web page to another web page. Web graph : Web pages = nodes, Links = edges
  • 7. PageRank – How it Works ? Web graph as a Matrix Links = nonzero elements in matrix Every page ‘i’ has li≥1 outlinks. Sij = 1/li if page I has link to page j 0 otherwise S is a Sparse Matrix, as most of the entries are zero. Probability that surfer moves from page i to page j. 1 2 3 4 5 S = 0 1/2 0 1/2 0 0 0 1/3 1/3 1/3 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0
  • 8. PageRank – How it Works ? Google Matrix Convex Combination of two Stochastic Matrix gives a Google Stochastic Matrix which is reducible and more convenient. G = αS + (1 − α)S1vT where 0≤ α ≤1 is damping factor, S1 is a matrix whose all entries are 1, vT is vector that models teleportation corresponding to webpage vi Eigen Values of G are 1 > α λ2(S) ≥ α λ3(S) ≥ . . . Unique dominant left eigenvector : πTG = πT, π ≥ 0 Links Teleportation
  • 9. PageRank – How it Works ? PageRank Dominant Eigen Vector πT gives PageRank corresponding webpage i πTG = πT, π ≥ 0 πi is the PageRank Corresponding to webpage i How Google Ranks Web pages • Model : Internet → Web Graph → Stochastic Matrix G • Computation : Dominant eigenvector of G for PageRank πi • Display : πi > πk , then page i may* be displayed before page k *depending on hypertext analysis
  • 10. Importance of Linear Algebra Using techniques of Linear Algebra, one can compute a unique solution for PageRank Problem. It gives importance of all webpages in terms of PageRank Eigenvector corresponding to each webpage. No other successful technique other than Linear Algebra is available to solve this problem.