SlideShare a Scribd company logo
1 of 38
CST 5 Math
A-maze-ing
Math
Graphs
The Königsberg Conundrum
 In the old city of Konigsberg there
used to be only 5 bridges.
 People could take a round trip of all
the bridges by crossing them only
once.
 Go to page 70 in the text and trace
with your finger the path you would
take.
The Seven Bridges
 Then two more bridges were built.
 People tried but could not do a round
trip and cross each bridge only once.
 Try this using the picture on the next
slide.
Leonard Euler
 This smart guy, Leonard Euler, (pr.
Oiler) was able to show why a round
trip was impossible.
 He used dots to represent the land
and lines to represent the bridges.
The Oiler does it!
 So Lenny showed that no matter
where you started, you could not help
but pass over a bridge two times.
 By doing this he introduced graph
theory which shows how the elements
of a set relate to each other.
First, Some Definitions
 graph
 Informally, a graph is a finite set of dots
called vertices (or nodes) connected by
links called edges (or arcs).
Definitions
 adjacent
 Two vertices are adjacent if they are
connected by an edge.
Definitions
 Degree: The degree (or valence) of
a vertex is the number of edge ends
at that vertex.
 For example, in this graph all of the
vertices have degree two.
Activities
 Book 2, p.18, Q. 1-7, some orally
 P. 19, Q. 9, 10, 14, 15
More Definitions
 complete graph
 A complete graph with n vertices is a
graph with n vertices in which each
vertex is connected to each of the others
(with one edge between each pair of
vertices).
 Here are the first five complete graphs:
Definitions
 connected
 A graph is connected if there is a path
connecting every pair of vertices.

Activities
 P. 79, Q. 1-7
 P. 81, Q. 8-11
Labyrinths
 So, the island in Königsberg and the
bridges created a maze or a labyrinth.
 Labyrinths have existed for thousands of
years.
 According to legend, King Minos created a
labyrinth on the island of Crete.
 At the centre was his son, a half-man half-
bull called a Minotaur (a/k/a Bob).
 If you could get out of the labyrinth before
Bob got you, you survived.
Bob and His Maze
Bob Dies…
 Theseus kills Bob.
 He then escapes.
 He goes home.
Okay
 So that was not actually the maze.
 What did your graph look like?
Activities
 On page 85, do Q. 1-4 orally.
 On page 86, do Q. 6-10
 On Page 87, do Q. 13, 16, 17, 21
Labyrinth Project
 You and a partner will pick a maze.
 Draw the labyrinth.
 Draw a graph of the labyrinth
showing the vertices and the edges.
 This is a C1 task – math
communication – constructs and uses
networks of concepts;
 You will write a short paragraph
about the labyrinth, how it works,
and what you have learned.
Chartres Cathedral Prayer Maze
Brain Maze
Theseus Maze
Circular Maze
Euler Paths and Circuits
 Euler path: A path that travels over
each edge once and only once in a
connected graph.
 Euler Circuit:
 An Euler path
 that is closed.
Special Case
 An Euler path or circuit only exists if a
graph has EXACTLY 2 vertices whose
degrees are odd numbers.
 An Euler path exists when the
degrees of all the vertices are even
numbers.
Euler Circuit:
Degree of Vertices
Drawing Euler Paths
 An Euler path must start at a vertex
having an odd-numbered degree and
end at another vertex with an odd-
numbered degree.
 An Euler circuit can begin at any
vertex and ends at the same vertex.
Hamiltonian Paths
 Hamiltonian Path: A path that passes
through every vertex once and only
once.
 Hamiltonian Circuit: A Hamiltonian
path that finishes at the same vertex.
Distance of a Path
 D(P,Q) is the shortest distance
between two points.
 Each edge/line is considered to have
length one.
Activities
 Page 27, Q. 1-7
Tree Diagrams
 A tree diagram is a
connected graph
without a simple
circuit.
 This can be used in
planning jobs,
electrical circuits
and plumbing.
A
B C D
Directed Graph or Digraphs
 A directed graph is a graph in which
each edge has a direction – called an
arc;
 The arc has only one direction that
can be followed; E.g one way street
 A path or circuit is SIMPLE if it
contains no repeat arcs;
Weighted Graph
 A weighted graph is a graph,
directed or not, in which a weight is
attributed to each edge;
 The weight of a path is the sum of
the weights of the edges that make
up the path;
Activities
 Page 37, Q. 1, 3, 4
 Page 41, Q. 13, 15, 16
Value of a Path
 The value of a path is the total of its
weights.
 It can be a maximum or a minimum.
 To find the minimum, start with the
path of lowest weight, and add
additional edges until all the nodes
are connected.
Networks
 A network is a graph in which every
edge is assigned a weight.
 A weight can indicate time or cost.
 The weight of a path corresponds to
the sum of the weights of the edges
that make up the path.
 A network can be directed or
undirected.
Chromatic Number
 The chromatic number is the
minimum number of colours
necessary to colour all of a graph’s
vertices without any 2 adjacent
vertices being of the same colour.
 It is also applied to maps.
Critical Path
 The critical path corresponds to a
simple path of maximum value.
 Critical paths are used to determine
the minimum amount of time required
to carry out a task comprising several
steps.
 To do this, you must know which steps
are pre-requisites (needed ahead of
time) for other steps, and which steps
can be carried out at the same time.
Activity
 Page 52, Q. 1,2,5
 Page 54, Q. 9, 10, 12, 13, 19

More Related Content

What's hot

What's hot (20)

Adjacency list
Adjacency listAdjacency list
Adjacency list
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphs
 
Isomorphic graph
Isomorphic graphIsomorphic graph
Isomorphic graph
 
Graph data structure and algorithms
Graph data structure and algorithmsGraph data structure and algorithms
Graph data structure and algorithms
 
Graphs
GraphsGraphs
Graphs
 
Application Of Graph Data Structure
Application Of Graph Data StructureApplication Of Graph Data Structure
Application Of Graph Data Structure
 
Graph in data structure
Graph in data structureGraph in data structure
Graph in data structure
 
Graphs in Data Structure
 Graphs in Data Structure Graphs in Data Structure
Graphs in Data Structure
 
Graph isomorphism
Graph isomorphismGraph isomorphism
Graph isomorphism
 
Graph in Data Structure
Graph in Data StructureGraph in Data Structure
Graph in Data Structure
 
Graph Data Structure
Graph Data StructureGraph Data Structure
Graph Data Structure
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
Chap 8 graph
Chap 8 graphChap 8 graph
Chap 8 graph
 
d
dd
d
 
Graph theory 1
Graph theory 1Graph theory 1
Graph theory 1
 
Graph: Euler path and Euler circuit
Graph: Euler path and Euler circuitGraph: Euler path and Euler circuit
Graph: Euler path and Euler circuit
 
Daa chpater 12
Daa chpater 12Daa chpater 12
Daa chpater 12
 
Graph
GraphGraph
Graph
 
Graph theory introduction - Samy
Graph theory  introduction - SamyGraph theory  introduction - Samy
Graph theory introduction - Samy
 

Viewers also liked

CST 504 Standard and Function Form of a Line
CST 504 Standard and Function Form of a LineCST 504 Standard and Function Form of a Line
CST 504 Standard and Function Form of a LineNeil MacIntosh
 
CST 504 Syllabus 2016 2017
CST 504 Syllabus 2016 2017CST 504 Syllabus 2016 2017
CST 504 Syllabus 2016 2017Neil MacIntosh
 
CST 504 Area Probability
CST 504  Area ProbabilityCST 504  Area Probability
CST 504 Area ProbabilityNeil MacIntosh
 
CST 504 Graphing Inequalities
CST 504 Graphing InequalitiesCST 504 Graphing Inequalities
CST 504 Graphing InequalitiesNeil MacIntosh
 
CST 504 Voting Procedure Introduction
CST 504 Voting Procedure IntroductionCST 504 Voting Procedure Introduction
CST 504 Voting Procedure IntroductionNeil MacIntosh
 
CST 504 Linear Equations
CST 504 Linear EquationsCST 504 Linear Equations
CST 504 Linear EquationsNeil MacIntosh
 
CST 504 Transformations ppt
CST 504 Transformations pptCST 504 Transformations ppt
CST 504 Transformations pptNeil MacIntosh
 
CST 504 Distance in the Cartesian Plane
CST 504 Distance in the Cartesian PlaneCST 504 Distance in the Cartesian Plane
CST 504 Distance in the Cartesian PlaneNeil MacIntosh
 

Viewers also liked (11)

CST 504 Standard and Function Form of a Line
CST 504 Standard and Function Form of a LineCST 504 Standard and Function Form of a Line
CST 504 Standard and Function Form of a Line
 
CST 504 Syllabus 2016 2017
CST 504 Syllabus 2016 2017CST 504 Syllabus 2016 2017
CST 504 Syllabus 2016 2017
 
CST 504 Area Probability
CST 504  Area ProbabilityCST 504  Area Probability
CST 504 Area Probability
 
CST 504 Graphing Inequalities
CST 504 Graphing InequalitiesCST 504 Graphing Inequalities
CST 504 Graphing Inequalities
 
CST 504 Voting Procedure Introduction
CST 504 Voting Procedure IntroductionCST 504 Voting Procedure Introduction
CST 504 Voting Procedure Introduction
 
Trigonometry
TrigonometryTrigonometry
Trigonometry
 
CST 504 Linear Equations
CST 504 Linear EquationsCST 504 Linear Equations
CST 504 Linear Equations
 
CST 504 Transformations ppt
CST 504 Transformations pptCST 504 Transformations ppt
CST 504 Transformations ppt
 
CST 504 Venn Diagrams
CST 504 Venn DiagramsCST 504 Venn Diagrams
CST 504 Venn Diagrams
 
PHS Binder Rubric
PHS Binder RubricPHS Binder Rubric
PHS Binder Rubric
 
CST 504 Distance in the Cartesian Plane
CST 504 Distance in the Cartesian PlaneCST 504 Distance in the Cartesian Plane
CST 504 Distance in the Cartesian Plane
 

Similar to CST 504 Graphs

Koningsberg bridge problem
Koningsberg  bridge  problemKoningsberg  bridge  problem
Koningsberg bridge problemSudiksha Joshi
 
Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)Robert Almazan
 
distructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdfdistructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdfansariparveen06
 
koningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptxkoningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptxAlpa Rajput
 
Graph Theory 117 © David Lippman Creative Commons BY-.docx
Graph Theory   117 © David Lippman  Creative Commons BY-.docxGraph Theory   117 © David Lippman  Creative Commons BY-.docx
Graph Theory 117 © David Lippman Creative Commons BY-.docxdurantheseldine
 
Graph Theory 117 © David Lippman Creative Commons BY-
  Graph Theory   117 © David Lippman  Creative Commons BY-  Graph Theory   117 © David Lippman  Creative Commons BY-
Graph Theory 117 © David Lippman Creative Commons BY-maple8qvlisbey
 
burton_discrete_graph theory
burton_discrete_graph theoryburton_discrete_graph theory
burton_discrete_graph theoryguest63f42b
 
burton_discrete_graphtheory
burton_discrete_graphtheoryburton_discrete_graphtheory
burton_discrete_graphtheoryguest5d4128
 
Bridge problem : Discrete Structure
Bridge problem : Discrete Structure Bridge problem : Discrete Structure
Bridge problem : Discrete Structure Mitul Desai
 
Euleria
EuleriaEuleria
Eulerianarca
 
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdfClass01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdfChristianKapsales1
 

Similar to CST 504 Graphs (20)

Koningsberg bridge problem
Koningsberg  bridge  problemKoningsberg  bridge  problem
Koningsberg bridge problem
 
Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)
 
distructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdfdistructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdf
 
koningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptxkoningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptx
 
Graph ds
Graph dsGraph ds
Graph ds
 
Graph Theory 117 © David Lippman Creative Commons BY-.docx
Graph Theory   117 © David Lippman  Creative Commons BY-.docxGraph Theory   117 © David Lippman  Creative Commons BY-.docx
Graph Theory 117 © David Lippman Creative Commons BY-.docx
 
logic.pptx
logic.pptxlogic.pptx
logic.pptx
 
Graph Theory 117 © David Lippman Creative Commons BY-
  Graph Theory   117 © David Lippman  Creative Commons BY-  Graph Theory   117 © David Lippman  Creative Commons BY-
Graph Theory 117 © David Lippman Creative Commons BY-
 
DATA STRUCTURES.pptx
DATA STRUCTURES.pptxDATA STRUCTURES.pptx
DATA STRUCTURES.pptx
 
Unit V - ppt.pptx
Unit V - ppt.pptxUnit V - ppt.pptx
Unit V - ppt.pptx
 
burton_discrete_graph theory
burton_discrete_graph theoryburton_discrete_graph theory
burton_discrete_graph theory
 
burton_discrete_graphtheory
burton_discrete_graphtheoryburton_discrete_graphtheory
burton_discrete_graphtheory
 
Bridge problem : Discrete Structure
Bridge problem : Discrete Structure Bridge problem : Discrete Structure
Bridge problem : Discrete Structure
 
Euleria
EuleriaEuleria
Euleria
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
Graph
GraphGraph
Graph
 
Graph
GraphGraph
Graph
 
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdfClass01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
 
ch10.5.pptx
ch10.5.pptxch10.5.pptx
ch10.5.pptx
 
Programming Exam Help
Programming Exam Help Programming Exam Help
Programming Exam Help
 

More from Neil MacIntosh

More from Neil MacIntosh (20)

Solenoids.ppt
Solenoids.pptSolenoids.ppt
Solenoids.ppt
 
Electromagnets.ppt
Electromagnets.pptElectromagnets.ppt
Electromagnets.ppt
 
Concrete Beam.pptx
Concrete Beam.pptxConcrete Beam.pptx
Concrete Beam.pptx
 
Technical Drawing & Assembly.ppt
Technical Drawing & Assembly.pptTechnical Drawing & Assembly.ppt
Technical Drawing & Assembly.ppt
 
Chapter 13 - Mechanical Engineering.pptx
Chapter 13 - Mechanical Engineering.pptxChapter 13 - Mechanical Engineering.pptx
Chapter 13 - Mechanical Engineering.pptx
 
Physical & Chemical Changes
Physical & Chemical ChangesPhysical & Chemical Changes
Physical & Chemical Changes
 
Compounds & Elements
Compounds & ElementsCompounds & Elements
Compounds & Elements
 
Atomic Theory Overview
Atomic Theory OverviewAtomic Theory Overview
Atomic Theory Overview
 
Moles
MolesMoles
Moles
 
Periodic Table
Periodic TablePeriodic Table
Periodic Table
 
Isotopes
IsotopesIsotopes
Isotopes
 
Atomic Structure Radioactivity
Atomic Structure RadioactivityAtomic Structure Radioactivity
Atomic Structure Radioactivity
 
Bohr Rutherford Atomic Model
Bohr Rutherford Atomic ModelBohr Rutherford Atomic Model
Bohr Rutherford Atomic Model
 
Thompson & Rutherford
Thompson & RutherfordThompson & Rutherford
Thompson & Rutherford
 
Atomic Structure
Atomic StructureAtomic Structure
Atomic Structure
 
Vectors Victor
Vectors VictorVectors Victor
Vectors Victor
 
Unit circle
Unit circleUnit circle
Unit circle
 
Trig cheat sheet
Trig cheat sheetTrig cheat sheet
Trig cheat sheet
 
Trig identities
Trig identitiesTrig identities
Trig identities
 
Trig functions
Trig functionsTrig functions
Trig functions
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

CST 504 Graphs

  • 2. The Königsberg Conundrum  In the old city of Konigsberg there used to be only 5 bridges.  People could take a round trip of all the bridges by crossing them only once.  Go to page 70 in the text and trace with your finger the path you would take.
  • 3. The Seven Bridges  Then two more bridges were built.  People tried but could not do a round trip and cross each bridge only once.  Try this using the picture on the next slide.
  • 4. Leonard Euler  This smart guy, Leonard Euler, (pr. Oiler) was able to show why a round trip was impossible.  He used dots to represent the land and lines to represent the bridges.
  • 5. The Oiler does it!  So Lenny showed that no matter where you started, you could not help but pass over a bridge two times.  By doing this he introduced graph theory which shows how the elements of a set relate to each other.
  • 6. First, Some Definitions  graph  Informally, a graph is a finite set of dots called vertices (or nodes) connected by links called edges (or arcs).
  • 7. Definitions  adjacent  Two vertices are adjacent if they are connected by an edge.
  • 8. Definitions  Degree: The degree (or valence) of a vertex is the number of edge ends at that vertex.  For example, in this graph all of the vertices have degree two.
  • 9. Activities  Book 2, p.18, Q. 1-7, some orally  P. 19, Q. 9, 10, 14, 15
  • 10. More Definitions  complete graph  A complete graph with n vertices is a graph with n vertices in which each vertex is connected to each of the others (with one edge between each pair of vertices).  Here are the first five complete graphs:
  • 11. Definitions  connected  A graph is connected if there is a path connecting every pair of vertices. 
  • 12. Activities  P. 79, Q. 1-7  P. 81, Q. 8-11
  • 13. Labyrinths  So, the island in Königsberg and the bridges created a maze or a labyrinth.  Labyrinths have existed for thousands of years.  According to legend, King Minos created a labyrinth on the island of Crete.  At the centre was his son, a half-man half- bull called a Minotaur (a/k/a Bob).  If you could get out of the labyrinth before Bob got you, you survived.
  • 14. Bob and His Maze
  • 15. Bob Dies…  Theseus kills Bob.  He then escapes.  He goes home.
  • 16. Okay  So that was not actually the maze.  What did your graph look like?
  • 17. Activities  On page 85, do Q. 1-4 orally.  On page 86, do Q. 6-10  On Page 87, do Q. 13, 16, 17, 21
  • 18. Labyrinth Project  You and a partner will pick a maze.  Draw the labyrinth.  Draw a graph of the labyrinth showing the vertices and the edges.  This is a C1 task – math communication – constructs and uses networks of concepts;  You will write a short paragraph about the labyrinth, how it works, and what you have learned.
  • 23. Euler Paths and Circuits  Euler path: A path that travels over each edge once and only once in a connected graph.  Euler Circuit:  An Euler path  that is closed.
  • 24. Special Case  An Euler path or circuit only exists if a graph has EXACTLY 2 vertices whose degrees are odd numbers.  An Euler path exists when the degrees of all the vertices are even numbers.
  • 26. Drawing Euler Paths  An Euler path must start at a vertex having an odd-numbered degree and end at another vertex with an odd- numbered degree.  An Euler circuit can begin at any vertex and ends at the same vertex.
  • 27. Hamiltonian Paths  Hamiltonian Path: A path that passes through every vertex once and only once.  Hamiltonian Circuit: A Hamiltonian path that finishes at the same vertex.
  • 28. Distance of a Path  D(P,Q) is the shortest distance between two points.  Each edge/line is considered to have length one.
  • 30. Tree Diagrams  A tree diagram is a connected graph without a simple circuit.  This can be used in planning jobs, electrical circuits and plumbing. A B C D
  • 31. Directed Graph or Digraphs  A directed graph is a graph in which each edge has a direction – called an arc;  The arc has only one direction that can be followed; E.g one way street  A path or circuit is SIMPLE if it contains no repeat arcs;
  • 32. Weighted Graph  A weighted graph is a graph, directed or not, in which a weight is attributed to each edge;  The weight of a path is the sum of the weights of the edges that make up the path;
  • 33. Activities  Page 37, Q. 1, 3, 4  Page 41, Q. 13, 15, 16
  • 34. Value of a Path  The value of a path is the total of its weights.  It can be a maximum or a minimum.  To find the minimum, start with the path of lowest weight, and add additional edges until all the nodes are connected.
  • 35. Networks  A network is a graph in which every edge is assigned a weight.  A weight can indicate time or cost.  The weight of a path corresponds to the sum of the weights of the edges that make up the path.  A network can be directed or undirected.
  • 36. Chromatic Number  The chromatic number is the minimum number of colours necessary to colour all of a graph’s vertices without any 2 adjacent vertices being of the same colour.  It is also applied to maps.
  • 37. Critical Path  The critical path corresponds to a simple path of maximum value.  Critical paths are used to determine the minimum amount of time required to carry out a task comprising several steps.  To do this, you must know which steps are pre-requisites (needed ahead of time) for other steps, and which steps can be carried out at the same time.
  • 38. Activity  Page 52, Q. 1,2,5  Page 54, Q. 9, 10, 12, 13, 19