SlideShare a Scribd company logo
1 of 36
Showing is not Explaining
Pat Hanrahan
Stanford and Tableau
Tapestry
Euclid’s Algorithm*
*First known algorithm
Greatest Common Divisor
2, 3, 4, 6 divide 12
2, 3, 6, 7 divide 42
6 is the GCD
Euclid’s Algorithm
def gcd(a,b):
while b != 0:
if a > b:
a = a-b
else:
b = b-a
return a
Demonstration
Problems with Animation [Tversky et al.]
 Motion is fleeting and transient
 Cannot simultaneously attend to multiple motions
 People try to parse motion into events, actions and
behaviors
 We strive to infer causality and intention
 Anthropomorphizing: physical motion may cause
confusion or lead to incorrect conclusions
 Difficult to estimate paths and trajectories
Euclid’s Algorithm
def gcd(a,b):
while b != 0:
if a > b:
a = a-b
else:
b = b-a
return a
a=15, b=6
a=15
b=6
Euclid’s Algorithm
def gcd(a,b):
while b != 0:
if a > b:
a = a-b
else:
b = b-a
return a
a=9, b=6
a=15
b=6
Euclid’s Algorithm
def gcd(a,b):
while b != 0:
if a > b:
a = a-b
else:
b = b-a
return a
a=9, b=6
a=3, b=6
a=15
b=6
Euclid’s Algorithm
def gcd(a,b):
while b != 0:
if a > b:
a = a-b
else:
b = b-a
return a
a=9, b=6
a=3, b=6
a=3, b=3
a=15
b=6
Euclid’s Algorithm
def gcd(a,b):
while b != 0:
if a > b:
a = a-b
else:
b = b-a
return a
a=9, b=6
a=3, b=6
a=3, b=3
a=3, b=0
a=15
b=6
?
Why Greatest Common Divisor?
Fact 1
Consider the answer r
a
b
r
Why Greatest Common Divisor?
Fact 1
Consider the answer r
r divides b
a
b
r
Why Greatest Common Divisor?
Fact 1
Consider the answer r
r divides b
Consider b
a
b
r
Why Greatest Common Divisor?
Fact 1
Consider the answer r
r divides b
Consider b
a
b
r
Why Greatest Common Divisor?
Fact 1
Consider the answer r
r divides b
Consider b
r divides a a
b
r
Why Greatest Common Divisor?
Fact 1
Consider the answer r
r divides b
Consider b
r divides a
Therefore, r divides a & b
a
b
r
Why Greatest Common Divisor?
Fact 1
Consider the answer r
r divides b
Consider b
b divides a
Therefore, r divides a & b
Hence, r <= GCD
a
b
r
Why Greatest Common Divisor?
Fact 2
Suppose d divides a
a
Why Greatest Common Divisor?
Fact 2
Suppose d divides a
Suppose d divides b
b
Why Greatest Common Divisor?
Fact 2
suppose d divides a & b
a
b
Why Greatest Common Divisor?
Fact 2
suppose d divides a & b
a
b
r
Why Greatest Common Divisor?
Fact 2
suppose d divides a & b
then d must divide r
a
b
r
Why Greatest Common Divisor?
Fact 2
suppose d divides a & b
then d must divide r
Any divisor d of a & b
must divide r a
b
r
Why Greatest Common Divisor?
Fact 2
suppose d divides a & b
then d must divide r
Any divisor d of a & b
must divide r
Therefore, GCD <= r
a
b
r
Why Greatest Common Divisor?
Fact 1: r <= GCD
Fact 2: GCD <= r
Therefore r = GCD
Cool math reasoning! a
b
r
Recording and Showing
Getting Easier
with
Computers
“Showing is not Explaining”
Thanks to Barbara Tversky
for explaining this maxim to me
Aftermath of Hurricane Katrina
By Emmett Mayer III
Principles
1. Perceiving is hard, graphics design to the
rescue
2. Need to add the invisible forces of cause
and effect, intention and consequences
3. People produce better visuals if they are
told to explain
Software needs to support these principles

More Related Content

Similar to Showing is not Explaining

0.5 Rational Expressions
0.5 Rational Expressions0.5 Rational Expressions
0.5 Rational Expressionssmiller5
 
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdfMATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdfNjabuloManjanja
 
Day 2 review with sat
Day 2 review with satDay 2 review with sat
Day 2 review with satjbianco9910
 
Quadratic And Roots
Quadratic And RootsQuadratic And Roots
Quadratic And RootsPeking
 
Cryptography and Network Security Principles and Practice.docx
Cryptography and Network Security Principles and Practice.docxCryptography and Network Security Principles and Practice.docx
Cryptography and Network Security Principles and Practice.docxAbhinav816839
 
Pythagorean Theorem
Pythagorean TheoremPythagorean Theorem
Pythagorean TheoremJames Mason
 
Chapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdfChapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdfgeorgianabeauty02
 
1.6 Rational Expressions
1.6 Rational Expressions1.6 Rational Expressions
1.6 Rational Expressionssmiller5
 
Deductivereasoning and bicond and algebraic proofs
Deductivereasoning and bicond and algebraic proofsDeductivereasoning and bicond and algebraic proofs
Deductivereasoning and bicond and algebraic proofsjbianco9910
 
Chapter 6 algebraic expressions iii
Chapter 6   algebraic expressions iiiChapter 6   algebraic expressions iii
Chapter 6 algebraic expressions iiiKhusaini Majid
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceAshish Jaiswal
 
Vector Algebra One Shot #BounceBack.pdf
Vector Algebra One Shot #BounceBack.pdfVector Algebra One Shot #BounceBack.pdf
Vector Algebra One Shot #BounceBack.pdfvaibahvgoel3620
 

Similar to Showing is not Explaining (20)

0.5 Rational Expressions
0.5 Rational Expressions0.5 Rational Expressions
0.5 Rational Expressions
 
number theory
number theorynumber theory
number theory
 
GRE - Algebra
GRE - AlgebraGRE - Algebra
GRE - Algebra
 
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdfMATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
 
Day 2 review with sat
Day 2 review with satDay 2 review with sat
Day 2 review with sat
 
Number theory.ppt22
Number theory.ppt22Number theory.ppt22
Number theory.ppt22
 
Number theory
Number theoryNumber theory
Number theory
 
Quadratic And Roots
Quadratic And RootsQuadratic And Roots
Quadratic And Roots
 
Cryptography and Network Security Principles and Practice.docx
Cryptography and Network Security Principles and Practice.docxCryptography and Network Security Principles and Practice.docx
Cryptography and Network Security Principles and Practice.docx
 
Module 1 similarity
Module 1 similarityModule 1 similarity
Module 1 similarity
 
Pythagorean Theorem
Pythagorean TheoremPythagorean Theorem
Pythagorean Theorem
 
Chapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdfChapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdf
 
Module 1 similarity
Module 1 similarityModule 1 similarity
Module 1 similarity
 
Hprec10 2
Hprec10 2Hprec10 2
Hprec10 2
 
1.6 Rational Expressions
1.6 Rational Expressions1.6 Rational Expressions
1.6 Rational Expressions
 
Deductivereasoning and bicond and algebraic proofs
Deductivereasoning and bicond and algebraic proofsDeductivereasoning and bicond and algebraic proofs
Deductivereasoning and bicond and algebraic proofs
 
Chapter 6 algebraic expressions iii
Chapter 6   algebraic expressions iiiChapter 6   algebraic expressions iii
Chapter 6 algebraic expressions iii
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
2 propotion
2 propotion2 propotion
2 propotion
 
Vector Algebra One Shot #BounceBack.pdf
Vector Algebra One Shot #BounceBack.pdfVector Algebra One Shot #BounceBack.pdf
Vector Algebra One Shot #BounceBack.pdf
 

Recently uploaded

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

Showing is not Explaining

Editor's Notes

  1. % python gcd.py 15 6
  2. Why? Because we repeatedly subtracted r from b and got 0.
  3. Why? Because we repeatedly subtracted r from b and got 0.
  4. aconstainsn copies of db contains m copies of dr removed k copies of dthus r must be some integer number of copies of d
  5. Thereforer is a divisor or a and b
  6. New Orlean Times-Picayune (Pik A Yoon)Staff Graphic by Emmett Mayerhttp://www.columbia.edu/itc/journalism/cases/katrina/