SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Destaque

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
 

Destaque (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
 

Mais de 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
 

Mais de 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
 

Último

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

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

Notas do Editor

  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?