SlideShare a Scribd company logo
Adjacency Matrix and Shortest Path
Construct a graph based on the adjacency matrix that appears below.
Label all nodes with indices consistent with the placement of
numbers within the matrix.
a b c d e
a 0 6 0 5 0
b 6 0 1 0 3
c 0 1 0 4 8
d 5 0 4 0 0
e 0 3 8 0 0
Describe the graph and why it is consistent with the matrix.
As we see here, there will be 5 vertices (nodes) and 8 edges (directional lines)
defining the paths from “a” to “e”. Since the matrices stipulates where the 5 nodes
will be, we are able to place 5 markers with the letter A → E into the doughnuts.
Now it is just a matter of assembling lines to the doughnuts using the matrix
provided. Going from left to right we can assess the line weight and where each line
meets up to each node.
A
D
E
B
C
6 5
1 34
8
0
0
How many simple paths are there from vertex 1 to vertex 5?
Explain. Which is the shortest of those paths?
a b c d e
a 0 6 0 5 0
b 6 0 1 0 3
c 0 1 0 4 8
d 5 0 4 0 0
e 0 3 8 0 0
Simple Paths
A → B → E = 3
A → D → E = 5
A → B → D → E = 6
A → B → C → E = 15
A →D → C → E = 17
A → D → B → C → E = 14
A → B → D → C → E = 18
A → B → C → D → E = 11
As we see in the simple paths, A → B → E = 3
is the shortest route from (A → E).
TreesINSTRUCTIONS
Construct and describe a tree that indicates the following:
A college president has 2 employees who answer directly to him or her, namely a
vice president and provost.
The vice president and provost each have an administrative assistant.
Three deans answer to the provost,
The heads of finance and alumni relations answer to the vice president.
Each dean oversees three department chairpersons,
Each department chair oversees several faculty in each of their respective
departments.
Suppose that the professional correspondences are the same as above, with the
addition that there is also a direct working relationship between the college
president and the head of alumni relations (it is not necessary to draw this). Would
the graph still be a tree? Why or why not?
This will fall under the hierarchical tree graph. I used these many a year when
making re-call rosters for our personnel. This is also known as an inverted tree.
The next slide will assemble this ensemble or orchestrated positions.
Hierarchy Tree
College President
Provost
Administrative
Assistant
Dean 1
Chair
Person 1
Department
Faculty
Chair
Person 2
Department
Faculty
Chair
Person 3
Department
Faculty
Dean 2
Chair
Person 4
Department
Faculty
Chair
Person 5
Department
Faculty
Chair
Person 6
Department
Faculty
Dean 3
Chair
Person 7
Department
Faculty
Chair
Person 8
Department
Faculty
Chair
Person 9
Department
Faculty
Vice President
Administrative
Assistant
Head of Finance
Head of Alumni
Relations
As we see, The tree is assembled and it is definitely an open tree of dissemination of
information through proper channels. If the College President and the Head of Alumni
circumvent the Vice President and Administrative Assistant on the information highway,
they are basically by passing two of the vertices within the dissemination process. It’s like
cutting out a branch and cloning the limb to the main branch. Therefore, “NO” this would
not continue to be a tree in this portion of the graph.

More Related Content

PPTX
Section 1 3 vocabulary
PPTX
Parallel Line
PPTX
Pairs of angles formed by parallel lines cut by a transversal
PPTX
Lesson 1B - Graphs and equality
PDF
Cal 3
PPT
Lesson 2-5
PPT
Lesson 1: distance between two points
PPT
Lesson 2 inclination and slope of a line
Section 1 3 vocabulary
Parallel Line
Pairs of angles formed by parallel lines cut by a transversal
Lesson 1B - Graphs and equality
Cal 3
Lesson 2-5
Lesson 1: distance between two points
Lesson 2 inclination and slope of a line

What's hot (19)

PPTX
Sample SIM math 7 3rd quarter
PPTX
Lesson 7 dominance matrices
PPTX
7 6 Proportional Lengths
PPTX
Parallel Line Properties
PPT
Parallel Lines
PPT
7 6 Proportional Lengths
PPTX
Angles Formed by Parallel Lines Cut by a Transversal
PPT
parabolas
PPTX
Journal 4
PPTX
Math 7 geometry 04 angles, parallel lines, and transversals - grade 7
PPT
Parallel Lines & the Triangle Angle-Sum Theorem
PDF
Maths for IIT
PPTX
Himanshu math ppt
DOCX
from wikipedea
DOCX
Subset of a line
PPT
Math14 lesson 2
PPTX
A Presentation on Axis System (10.01.03.111)
PPTX
Lecture #1 analytic geometry
PPTX
Perpendicular lines
Sample SIM math 7 3rd quarter
Lesson 7 dominance matrices
7 6 Proportional Lengths
Parallel Line Properties
Parallel Lines
7 6 Proportional Lengths
Angles Formed by Parallel Lines Cut by a Transversal
parabolas
Journal 4
Math 7 geometry 04 angles, parallel lines, and transversals - grade 7
Parallel Lines & the Triangle Angle-Sum Theorem
Maths for IIT
Himanshu math ppt
from wikipedea
Subset of a line
Math14 lesson 2
A Presentation on Axis System (10.01.03.111)
Lecture #1 analytic geometry
Perpendicular lines
Ad

Viewers also liked (13)

PPTX
Graph theory
PPT
18 hashing
PPT
2 3 tree
PPT
Graphs - Discrete Math
PPTX
Adjacency list
ZIP
Algorithm Introduction #18 B-Tree
PPT
B-tree & R-tree
PPTX
Data structure - Graph
PPTX
BTree, Data Structures
PPTX
11. Hashing - Data Structures using C++ by Varsha Patil
PPT
Hashing
PPTX
Hashing Technique In Data Structures
Graph theory
18 hashing
2 3 tree
Graphs - Discrete Math
Adjacency list
Algorithm Introduction #18 B-Tree
B-tree & R-tree
Data structure - Graph
BTree, Data Structures
11. Hashing - Data Structures using C++ by Varsha Patil
Hashing
Hashing Technique In Data Structures
Ad

Similar to Phase 3 IP Discrete Mathematics - Vertexes & Hierarchical Trees (20)

PPT
Graph and Trees.pptGraph and Trees.ppt i detailed topic about graph and trees
PPTX
Chapter 12
PPTX
Lesson-4-proves-the-midline-theorem.pptx
PPTX
Verifying the Triangle Proportionality Theorem
PPTX
THE MIDLINE THEOREM-.pptx GRADE 9 MATHEMATICS THIRD QUARTER
PDF
PPT on Graph Theory ( Tree, Cotree, nodes, branches, incidence , tie set and ...
PDF
NAS-Ch2-Network Equations
DOCX
2ASSIGNMENT TITLE HERETyping Template for APA.docx
PPTX
Drawing some kinds of line in triangle
PPT
TechMathI - 4.5 - Altitudes, Medians, and Bisectors
PDF
Module 2 geometric relations
PPT
9 6 proportional parts and parallel lines
PDF
Chapter 1.2
PDF
Algebra-H-Equation-of-a-Straight-Line-v3.pdf
PPT
Geomettry
PPTX
trees-and-graphs_computer_science_for_student.pptx
PDF
26 spanning
PPTX
Math 9 similar triangles intro
PDF
graph theory, DS, Tree, shortest path problem
PPT
Language of Geometry
Graph and Trees.pptGraph and Trees.ppt i detailed topic about graph and trees
Chapter 12
Lesson-4-proves-the-midline-theorem.pptx
Verifying the Triangle Proportionality Theorem
THE MIDLINE THEOREM-.pptx GRADE 9 MATHEMATICS THIRD QUARTER
PPT on Graph Theory ( Tree, Cotree, nodes, branches, incidence , tie set and ...
NAS-Ch2-Network Equations
2ASSIGNMENT TITLE HERETyping Template for APA.docx
Drawing some kinds of line in triangle
TechMathI - 4.5 - Altitudes, Medians, and Bisectors
Module 2 geometric relations
9 6 proportional parts and parallel lines
Chapter 1.2
Algebra-H-Equation-of-a-Straight-Line-v3.pdf
Geomettry
trees-and-graphs_computer_science_for_student.pptx
26 spanning
Math 9 similar triangles intro
graph theory, DS, Tree, shortest path problem
Language of Geometry

More from Mark Simon (13)

DOCX
Introduction To Programming IP5
DOCX
CSS-454 information Security Assurance CAPSTONE
DOCX
City Hall Network Project
DOCX
IT-106 Pseudo-Coding Wk 5
PPTX
Discrete Math IP4 - Automata Theory
PPTX
Discrete Mathematics - Matrices & Matrix IP2
PPTX
Phase 1 ip
DOCX
ENG101- Week 5 Individual Project
DOCX
Mark Simon IT 245 Introduction to Network Management
PPTX
Greenhouse Effect IP3
PPTX
Materials, Semi-conductors and Micro-Chips
PPTX
What you eat phase 1
PPTX
Ip 5 discrete mathematics
Introduction To Programming IP5
CSS-454 information Security Assurance CAPSTONE
City Hall Network Project
IT-106 Pseudo-Coding Wk 5
Discrete Math IP4 - Automata Theory
Discrete Mathematics - Matrices & Matrix IP2
Phase 1 ip
ENG101- Week 5 Individual Project
Mark Simon IT 245 Introduction to Network Management
Greenhouse Effect IP3
Materials, Semi-conductors and Micro-Chips
What you eat phase 1
Ip 5 discrete mathematics

Recently uploaded (20)

PPTX
Impressionism_PostImpressionism_Presentation.pptx
PDF
oil_refinery_presentation_v1 sllfmfls.pdf
PPTX
fundraisepro pitch deck elegant and modern
PDF
Instagram's Product Secrets Unveiled with this PPT
PPTX
Emphasizing It's Not The End 08 06 2025.pptx
PPTX
Tour Presentation Educational Activity.pptx
PPTX
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
PPTX
Introduction to Effective Communication.pptx
PPTX
Human Mind & its character Characteristics
PPTX
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
PPTX
Tablets And Capsule Preformulation Of Paracetamol
PDF
Swiggy’s Playbook: UX, Logistics & Monetization
PDF
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
Hydrogel Based delivery Cancer Treatment
PPTX
Intro to ISO 9001 2015.pptx wareness raising
PPTX
worship songs, in any order, compilation
PPTX
_ISO_Presentation_ISO 9001 and 45001.pptx
DOC
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
DOCX
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
Impressionism_PostImpressionism_Presentation.pptx
oil_refinery_presentation_v1 sllfmfls.pdf
fundraisepro pitch deck elegant and modern
Instagram's Product Secrets Unveiled with this PPT
Emphasizing It's Not The End 08 06 2025.pptx
Tour Presentation Educational Activity.pptx
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
Introduction to Effective Communication.pptx
Human Mind & its character Characteristics
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
Tablets And Capsule Preformulation Of Paracetamol
Swiggy’s Playbook: UX, Logistics & Monetization
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
Hydrogel Based delivery Cancer Treatment
Intro to ISO 9001 2015.pptx wareness raising
worship songs, in any order, compilation
_ISO_Presentation_ISO 9001 and 45001.pptx
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY

Phase 3 IP Discrete Mathematics - Vertexes & Hierarchical Trees

  • 1. Adjacency Matrix and Shortest Path Construct a graph based on the adjacency matrix that appears below. Label all nodes with indices consistent with the placement of numbers within the matrix. a b c d e a 0 6 0 5 0 b 6 0 1 0 3 c 0 1 0 4 8 d 5 0 4 0 0 e 0 3 8 0 0 Describe the graph and why it is consistent with the matrix. As we see here, there will be 5 vertices (nodes) and 8 edges (directional lines) defining the paths from “a” to “e”. Since the matrices stipulates where the 5 nodes will be, we are able to place 5 markers with the letter A → E into the doughnuts. Now it is just a matter of assembling lines to the doughnuts using the matrix provided. Going from left to right we can assess the line weight and where each line meets up to each node. A D E B C 6 5 1 34 8 0 0
  • 2. How many simple paths are there from vertex 1 to vertex 5? Explain. Which is the shortest of those paths? a b c d e a 0 6 0 5 0 b 6 0 1 0 3 c 0 1 0 4 8 d 5 0 4 0 0 e 0 3 8 0 0 Simple Paths A → B → E = 3 A → D → E = 5 A → B → D → E = 6 A → B → C → E = 15 A →D → C → E = 17 A → D → B → C → E = 14 A → B → D → C → E = 18 A → B → C → D → E = 11 As we see in the simple paths, A → B → E = 3 is the shortest route from (A → E).
  • 3. TreesINSTRUCTIONS Construct and describe a tree that indicates the following: A college president has 2 employees who answer directly to him or her, namely a vice president and provost. The vice president and provost each have an administrative assistant. Three deans answer to the provost, The heads of finance and alumni relations answer to the vice president. Each dean oversees three department chairpersons, Each department chair oversees several faculty in each of their respective departments. Suppose that the professional correspondences are the same as above, with the addition that there is also a direct working relationship between the college president and the head of alumni relations (it is not necessary to draw this). Would the graph still be a tree? Why or why not? This will fall under the hierarchical tree graph. I used these many a year when making re-call rosters for our personnel. This is also known as an inverted tree. The next slide will assemble this ensemble or orchestrated positions.
  • 4. Hierarchy Tree College President Provost Administrative Assistant Dean 1 Chair Person 1 Department Faculty Chair Person 2 Department Faculty Chair Person 3 Department Faculty Dean 2 Chair Person 4 Department Faculty Chair Person 5 Department Faculty Chair Person 6 Department Faculty Dean 3 Chair Person 7 Department Faculty Chair Person 8 Department Faculty Chair Person 9 Department Faculty Vice President Administrative Assistant Head of Finance Head of Alumni Relations As we see, The tree is assembled and it is definitely an open tree of dissemination of information through proper channels. If the College President and the Head of Alumni circumvent the Vice President and Administrative Assistant on the information highway, they are basically by passing two of the vertices within the dissemination process. It’s like cutting out a branch and cloning the limb to the main branch. Therefore, “NO” this would not continue to be a tree in this portion of the graph.