SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Visualizing matrices
with special thanks to Tim Davis and his beautiful matrix collection,
see http://www.cise.ufl.edu/research/sparse/matrices/
Margot Gerritsen
ICME, Stanford
margot.gerritsen@stanford.edu
Matrices are everywhere
Visualizing using spy plots
A small system of equations
w + y = 1
x + y + z = 1
w + x + y + z = 1
x + y + z = 1
Written as a matrix-vector equation
1 1 w 1
1 1 1 x 1
1 1 1 1 y 1
1 1 1 z 1
=
4
1 1
Every nonzero becomes a dot
This is a “spy plot”
Spy plots of two subdomains of the Stanford internet
Spy plot of a matrix occuring in oil reservoir modeling
Spy plots where size of element is reflected in color
Visualizing using graphs
Back to our matrix-vector equation
1 1 w
1
1 1 1 x
1
1 1 1 1 y
1
1 1 1 z
=
We can draw it in different ways
Which is most appealing?
But what if the matrix is bigger?
Alaric Hall, Uni of Leeds
ÁlaFlekkssaga
Bæringssaga
Blómstrvallasaga
DámustasagaokJóns
DínussagaDrambláta
Drauma-Jónssaga
Flóressagakonungsoksonahans
Gibbonssaga
Hectorssaga
HermannssagaokJarlmanns
HringssagaokTryggva
Jónssagaleikara
Kirialaxsaga
Klárisagakeisarasonar
Konráðssagakeisarasonar
Magnússagajarls
Mírmannssaga
Nitidasaga
Rémundarsagakeisarasonar
SálussagaokNikanors
Samsonssagafagra
Sigrgarðssagafrœkna
SigrgarðssagaokValbrands
Sigurðarsagafóts
Sigurðarsagaturnara
Sigurðarsagaþögla
Tiódelssaga
TristramssagaokÍsoddar
Valdimarssaga
ViktorssagaokBlávus
Vilhjálmssagasjóðs
Vilmundarsagaviðutan
ÞjalarJónssaga
Alexanderssaga
AmícussagaokAmílíus
Bevissaga
Bretasögur
ElissagaokRósamundu
Erexsaga
FlóressagaokBlankifúr
Flóventssaga
Ívenssaga
Karlamagnússaga
Möttulssaga
Parcevalssaga
Partalópasaga
Strengleikar
TristramssagaokÍsöndar
Trójumannasaga
Valvensþáttr
Here’s an idea:
Give each node an electrical charge
Make each edge a spring
Drop the whole system on the floor
and let it “wobble” until it finds its
optimal (minimum energy) state
Financial portfolio optimization
Hessian matrix from a quadratic programming problem
Frequency-domain circuit simulation
Linear programming problem
Computational fluid dynamics: shallow-water equations
Linear programming problem
Social network: people and the web pages they like
LCSH Galaxy
Visualizing matrices
with special thanks to Tim Davis and his beautiful matrix collection,
see http://www.cise.ufl.edu/research/sparse/matrices/
Margot Gerritsen
ICME, Stanford
margot.gerritsen@stanford.edu

Weitere ähnliche Inhalte

Andere mochten auch

Machine Intelligence & Physics
Machine Intelligence & PhysicsMachine Intelligence & Physics
Machine Intelligence & Physicspiero scaruffi
 
The Best Kept Secret in Silicon Valley
The Best Kept Secret in Silicon ValleyThe Best Kept Secret in Silicon Valley
The Best Kept Secret in Silicon Valleypiero scaruffi
 
Mindfulness training exercises
Mindfulness training exercisesMindfulness training exercises
Mindfulness training exercisesNataša Pantović
 
Language - An Introduction
Language - An IntroductionLanguage - An Introduction
Language - An Introductionpiero scaruffi
 
Selfies, Surveillance and the Voluntary Panopticon
Selfies, Surveillance and the Voluntary Panopticon Selfies, Surveillance and the Voluntary Panopticon
Selfies, Surveillance and the Voluntary Panopticon piero scaruffi
 
What is Language
What is LanguageWhat is Language
What is Languageamna-shahid
 
Characteristics of human language
Characteristics of human languageCharacteristics of human language
Characteristics of human languageAlan Bessette
 
Branches of linguistics
Branches of linguisticsBranches of linguistics
Branches of linguisticsApurv Verma
 

Andere mochten auch (9)

Machine Intelligence & Physics
Machine Intelligence & PhysicsMachine Intelligence & Physics
Machine Intelligence & Physics
 
Life
LifeLife
Life
 
The Best Kept Secret in Silicon Valley
The Best Kept Secret in Silicon ValleyThe Best Kept Secret in Silicon Valley
The Best Kept Secret in Silicon Valley
 
Mindfulness training exercises
Mindfulness training exercisesMindfulness training exercises
Mindfulness training exercises
 
Language - An Introduction
Language - An IntroductionLanguage - An Introduction
Language - An Introduction
 
Selfies, Surveillance and the Voluntary Panopticon
Selfies, Surveillance and the Voluntary Panopticon Selfies, Surveillance and the Voluntary Panopticon
Selfies, Surveillance and the Voluntary Panopticon
 
What is Language
What is LanguageWhat is Language
What is Language
 
Characteristics of human language
Characteristics of human languageCharacteristics of human language
Characteristics of human language
 
Branches of linguistics
Branches of linguisticsBranches of linguistics
Branches of linguistics
 

Mehr von piero scaruffi

Art & Music in the Sixties
Art & Music in the SixtiesArt & Music in the Sixties
Art & Music in the Sixtiespiero scaruffi
 
When an artificial intelligence makes art, is it still art?
When an artificial intelligence makes art, is it still art?When an artificial intelligence makes art, is it still art?
When an artificial intelligence makes art, is it still art?piero scaruffi
 
Intelligence is not Artificial - Stanford, June 2016
Intelligence is not Artificial - Stanford, June 2016Intelligence is not Artificial - Stanford, June 2016
Intelligence is not Artificial - Stanford, June 2016piero scaruffi
 
Consciousness, Self, Free Will
 Consciousness, Self, Free Will  Consciousness, Self, Free Will
Consciousness, Self, Free Will piero scaruffi
 
Language, Dreams, Emotions
Language, Dreams, EmotionsLanguage, Dreams, Emotions
Language, Dreams, Emotionspiero scaruffi
 
Philosophy of Mind & Cognitive Psychology
Philosophy of Mind & Cognitive PsychologyPhilosophy of Mind & Cognitive Psychology
Philosophy of Mind & Cognitive Psychologypiero scaruffi
 
The Singularity and you
The Singularity and youThe Singularity and you
The Singularity and youpiero scaruffi
 
Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...
Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...
Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...piero scaruffi
 
Tami Spector on "The Molecular Elusive"
Tami Spector on "The Molecular Elusive" Tami Spector on "The Molecular Elusive"
Tami Spector on "The Molecular Elusive" piero scaruffi
 
From Cosmology to Neuroscience to Rock Music and back
From Cosmology to Neuroscience to Rock Music and backFrom Cosmology to Neuroscience to Rock Music and back
From Cosmology to Neuroscience to Rock Music and backpiero scaruffi
 
Five Reasons why the Singularity is not coming any time soon
Five Reasons why the Singularity  is not coming any time soonFive Reasons why the Singularity  is not coming any time soon
Five Reasons why the Singularity is not coming any time soonpiero scaruffi
 
Artificial intelligence and the Singularity - History, Trends and Reality Check
Artificial intelligence and the Singularity - History, Trends and Reality CheckArtificial intelligence and the Singularity - History, Trends and Reality Check
Artificial intelligence and the Singularity - History, Trends and Reality Checkpiero scaruffi
 
History of Thought - Part 6: The Modern Age
History of Thought - Part 6: The Modern AgeHistory of Thought - Part 6: The Modern Age
History of Thought - Part 6: The Modern Agepiero scaruffi
 
History of Thought - Part 5: The Victorian Age
History of Thought - Part 5: The Victorian AgeHistory of Thought - Part 5: The Victorian Age
History of Thought - Part 5: The Victorian Agepiero scaruffi
 
History of Thought - Part 4 from the Renaissance to the Industrial REvolution
History of Thought - Part 4 from the Renaissance to  the Industrial REvolutionHistory of Thought - Part 4 from the Renaissance to  the Industrial REvolution
History of Thought - Part 4 from the Renaissance to the Industrial REvolutionpiero scaruffi
 
History of Thought - Part 3 - From Rome to the Middle Ages
History of Thought - Part 3 - From Rome to the Middle AgesHistory of Thought - Part 3 - From Rome to the Middle Ages
History of Thought - Part 3 - From Rome to the Middle Agespiero scaruffi
 
History of Thought - Part 2 - The Ancient Eastern World
History of Thought - Part 2 - The Ancient Eastern World History of Thought - Part 2 - The Ancient Eastern World
History of Thought - Part 2 - The Ancient Eastern World piero scaruffi
 

Mehr von piero scaruffi (20)

Art & Music in the Sixties
Art & Music in the SixtiesArt & Music in the Sixties
Art & Music in the Sixties
 
A Herstory of Women
A Herstory of WomenA Herstory of Women
A Herstory of Women
 
When an artificial intelligence makes art, is it still art?
When an artificial intelligence makes art, is it still art?When an artificial intelligence makes art, is it still art?
When an artificial intelligence makes art, is it still art?
 
Intelligence is not Artificial - Stanford, June 2016
Intelligence is not Artificial - Stanford, June 2016Intelligence is not Artificial - Stanford, June 2016
Intelligence is not Artificial - Stanford, June 2016
 
temp
temptemp
temp
 
Consciousness, Self, Free Will
 Consciousness, Self, Free Will  Consciousness, Self, Free Will
Consciousness, Self, Free Will
 
Language, Dreams, Emotions
Language, Dreams, EmotionsLanguage, Dreams, Emotions
Language, Dreams, Emotions
 
The Brain
The BrainThe Brain
The Brain
 
Philosophy of Mind & Cognitive Psychology
Philosophy of Mind & Cognitive PsychologyPhilosophy of Mind & Cognitive Psychology
Philosophy of Mind & Cognitive Psychology
 
The Singularity and you
The Singularity and youThe Singularity and you
The Singularity and you
 
Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...
Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...
Birgitta Whaley (Berkeley Quantum Computation) at a LASER http://www.scaruffi...
 
Tami Spector on "The Molecular Elusive"
Tami Spector on "The Molecular Elusive" Tami Spector on "The Molecular Elusive"
Tami Spector on "The Molecular Elusive"
 
From Cosmology to Neuroscience to Rock Music and back
From Cosmology to Neuroscience to Rock Music and backFrom Cosmology to Neuroscience to Rock Music and back
From Cosmology to Neuroscience to Rock Music and back
 
Five Reasons why the Singularity is not coming any time soon
Five Reasons why the Singularity  is not coming any time soonFive Reasons why the Singularity  is not coming any time soon
Five Reasons why the Singularity is not coming any time soon
 
Artificial intelligence and the Singularity - History, Trends and Reality Check
Artificial intelligence and the Singularity - History, Trends and Reality CheckArtificial intelligence and the Singularity - History, Trends and Reality Check
Artificial intelligence and the Singularity - History, Trends and Reality Check
 
History of Thought - Part 6: The Modern Age
History of Thought - Part 6: The Modern AgeHistory of Thought - Part 6: The Modern Age
History of Thought - Part 6: The Modern Age
 
History of Thought - Part 5: The Victorian Age
History of Thought - Part 5: The Victorian AgeHistory of Thought - Part 5: The Victorian Age
History of Thought - Part 5: The Victorian Age
 
History of Thought - Part 4 from the Renaissance to the Industrial REvolution
History of Thought - Part 4 from the Renaissance to  the Industrial REvolutionHistory of Thought - Part 4 from the Renaissance to  the Industrial REvolution
History of Thought - Part 4 from the Renaissance to the Industrial REvolution
 
History of Thought - Part 3 - From Rome to the Middle Ages
History of Thought - Part 3 - From Rome to the Middle AgesHistory of Thought - Part 3 - From Rome to the Middle Ages
History of Thought - Part 3 - From Rome to the Middle Ages
 
History of Thought - Part 2 - The Ancient Eastern World
History of Thought - Part 2 - The Ancient Eastern World History of Thought - Part 2 - The Ancient Eastern World
History of Thought - Part 2 - The Ancient Eastern World
 

Kürzlich hochgeladen

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 

Kürzlich hochgeladen (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 

Visualizing matrices with spy plots and graphs

  • 1. Visualizing matrices with special thanks to Tim Davis and his beautiful matrix collection, see http://www.cise.ufl.edu/research/sparse/matrices/ Margot Gerritsen ICME, Stanford margot.gerritsen@stanford.edu
  • 4. A small system of equations w + y = 1 x + y + z = 1 w + x + y + z = 1 x + y + z = 1
  • 5. Written as a matrix-vector equation 1 1 w 1 1 1 1 x 1 1 1 1 1 y 1 1 1 1 z 1 =
  • 6. 4 1 1 Every nonzero becomes a dot This is a “spy plot”
  • 7. Spy plots of two subdomains of the Stanford internet
  • 8. Spy plot of a matrix occuring in oil reservoir modeling
  • 9. Spy plots where size of element is reflected in color
  • 11. Back to our matrix-vector equation 1 1 w 1 1 1 1 x 1 1 1 1 1 y 1 1 1 1 z =
  • 12.
  • 13. We can draw it in different ways Which is most appealing?
  • 14. But what if the matrix is bigger?
  • 15. Alaric Hall, Uni of Leeds ÁlaFlekkssaga Bæringssaga Blómstrvallasaga DámustasagaokJóns DínussagaDrambláta Drauma-Jónssaga Flóressagakonungsoksonahans Gibbonssaga Hectorssaga HermannssagaokJarlmanns HringssagaokTryggva Jónssagaleikara Kirialaxsaga Klárisagakeisarasonar Konráðssagakeisarasonar Magnússagajarls Mírmannssaga Nitidasaga Rémundarsagakeisarasonar SálussagaokNikanors Samsonssagafagra Sigrgarðssagafrœkna SigrgarðssagaokValbrands Sigurðarsagafóts Sigurðarsagaturnara Sigurðarsagaþögla Tiódelssaga TristramssagaokÍsoddar Valdimarssaga ViktorssagaokBlávus Vilhjálmssagasjóðs Vilmundarsagaviðutan ÞjalarJónssaga Alexanderssaga AmícussagaokAmílíus Bevissaga Bretasögur ElissagaokRósamundu Erexsaga FlóressagaokBlankifúr Flóventssaga Ívenssaga Karlamagnússaga Möttulssaga Parcevalssaga Partalópasaga Strengleikar TristramssagaokÍsöndar Trójumannasaga Valvensþáttr
  • 16. Here’s an idea: Give each node an electrical charge Make each edge a spring Drop the whole system on the floor and let it “wobble” until it finds its optimal (minimum energy) state
  • 17.
  • 18.
  • 20. Hessian matrix from a quadratic programming problem
  • 21.
  • 23.
  • 25.
  • 26. Computational fluid dynamics: shallow-water equations
  • 27.
  • 29.
  • 30. Social network: people and the web pages they like
  • 31.
  • 33. Visualizing matrices with special thanks to Tim Davis and his beautiful matrix collection, see http://www.cise.ufl.edu/research/sparse/matrices/ Margot Gerritsen ICME, Stanford margot.gerritsen@stanford.edu

Hinweis der Redaktion

  1. Say we have 4 equations and 4 unknowns, w, x, y, z. Not every equation involves every unknown, and this gives the set ofequations an interesting structure. A mathematician would see it andmight call it beautiful -- but can you see it?
  2. The coefficients of each equation can be placed in a 4-by-4 matrix,and the 4 equations can be written as the single matrix equationAx=b.Consider the matrix structure -- just the position of the nonzeros.
  3. Say we have 4 equations and 4 unknowns, w, x, y, z. Not every equation involves every unknown, and this gives the set ofequations an interesting structure. A mathematician would see it andmight call it beautiful -- but can you see it?
  4. Say we have 4 equations and 4 unknowns, w, x, y, z. Not every equation involves every unknown, and this gives the set ofequations an interesting structure. A mathematician would see it andmight call it beautiful -- but can you see it?
  5. The coefficients of each equation can be placed in a 4-by-4 matrix,and the 4 equations can be written as the single matrix equationAx=b.Consider the matrix structure -- just the position of the nonzeros.
  6. The nonzeros are now replaced by dots, and the diagonal is numbered1 to 4 for reference.A graph (on the top) can illustrate how the 4 equations and unknowns are related.1 and 3 are related, but 1 and 2 are not. So, draw a circle (a node) foreach equation, and draw an edge between related nodes.The result is the graph at the top of the slide, with nodes 1 to 4 andthe edges between them.But is it beautiful? Is this the right way to draw the graph?
  7. The nonzeros are now replaced by dots, and the diagonal is numbered1 to 4 for reference.A graph (on the top) can illustrate how the 4 equations and unknowns are related.1 and 3 are related, but 1 and 2 are not. So, draw a circle (a node) foreach equation, and draw an edge between related nodes.The result is the graph at the top of the slide, with nodes 1 to 4 andthe edges between them.But is it beautiful? Is this the right way to draw the graph?
  8. The nonzeros are now replaced by dots, and the diagonal is numbered1 to 4 for reference.A graph (on the top) can illustrate how the 4 equations and unknowns are related.1 and 3 are related, but 1 and 2 are not. So, draw a circle (a node) foreach equation, and draw an edge between related nodes.The result is the graph at the top of the slide, with nodes 1 to 4 andthe edges between them.But is it beautiful? Is this the right way to draw the graph?
  9. Say we have 4 equations and 4 unknowns, w, x, y, z. Not every equation involves every unknown, and this gives the set ofequations an interesting structure. A mathematician would see it andmight call it beautiful -- but can you see it?
  10. The coefficients of each equation can be placed in a 4-by-4 matrix,and the 4 equations can be written as the single matrix equationAx=b.Consider the matrix structure -- just the position of the nonzeros.
  11. The nonzeros are now replaced by dots, and the diagonal is numbered1 to 4 for reference.A graph (on the top) can illustrate how the 4 equations and unknowns are related.1 and 3 are related, but 1 and 2 are not. So, draw a circle (a node) foreach equation, and draw an edge between related nodes.The result is the graph at the top of the slide, with nodes 1 to 4 andthe edges between them.But is it beautiful? Is this the right way to draw the graph?
  12. All these are pictures of the same graph. They differ only by where thenodes are drawn. So where is node 1? Where do we draw 2? Is the number3 here, or there, anywhere, or nowhere?For a 4-node graph, just about any node positions will do. We can stillsee the relationships between the 4 nodes in any of the 3 graphs.The graph on the bottom right is best, in one sense. Nodes that arerelated to each other are close to each other, and the graph is symmetric.Nodes 2 and 4 look just the same (only flipped). This is a betterdepiction of the structure, as compared with the other two graphs whichtreat nodes 2 and 4 differently.
  13. But what if the matrix is bigger?Can we just drop them randomly on the page and hope to get a good pictureof the structure of the graph? Ouch. This is not beautiful. Perhaps inan abstract sense, but this picture does not reveal the structure of thisproblem. It's hidden in the random jumbling of the node positions.
  14. To compute aesthetically pleasing positions for the nodes, we use aphysics-based computational rule:Give each node an electrical charge. Make each edge a spring. Drop it onthe floor and let it wobble until it reaches a minimum energy state.
  15. The graph wobbles into a low-energy state.
  16. And it reveals the elegant structure of the graph that was previouslyhidden when the nodes were jumbled randomly on the page.
  17. Here is one. The equations are based on probabilities of different outcomesof future economic events: What if interest rates go up? Or down? Inthis graph, a stock or bond in each possible future outcome is a node. So where is a stock? Or bond? They have no natural position on a 2-dimensional piece of paper.The different branches of this graph reflect different possible outcomes offuture economic events. It's a matrix with over 37,000 equations and37,000 unknowns -- fairly small as matrices go.So a physics-based rule is essential if we have a graph like this one that we want to visualize.But it's also beautiful.
  18. The goal is to compute the best solution to an optimization problem.
  19. This matrix comes from the frequency-domain simulation of a complexsemiconductor circuit. The green lines underneath the fuzz are thecircuit, and the fuzz coming off that describes what happens to the circuit at different frequencies.
  20. This graph is larger, with about 660,000 nodes.
  21. Here is another linear programming problem.
  22. And a close-up.
  23. This elegant mesh represents the fluid flow in a shallow bay of water.It could be used to simulate where pollutants would flow.
  24. In the closeup, you can see the underlying hexagonal mesh. The shallow bayis divided into small triangular wedges, and the relationship betweenadjacent wedges gives a hexagonal mesh. The mesh is regular because the problem being modeled has a natural 2D or 3D structure.
  25. This graph is from a student of mine who now works at Amazon.com.It's a social network, where each node is either a person or a webpage, and an edge is drawn between a person and each web page they like. Not surprisingly, the graph is very irregular.
  26. Say we have 4 equations and 4 unknowns, w, x, y, z. Not every equation involves every unknown, and this gives the set ofequations an interesting structure. A mathematician would see it andmight call it beautiful -- but can you see it?