D1: Graph Theory + Definitions

0.0(0)
studied byStudied by 11 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/40

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

41 Terms

1
New cards

graph

a mathematical model that consists of arcs/edges and nodes/vertices

2
New cards

network

a weighted graph i.e. a graph with numbers associated to its edges

3
New cards

vertex set

list of all the vertices in a given graph

4
New cards

edge set

a list of all the edges in a given graph

5
New cards

subgraph

A part of the original graph (vertices and edges also belong to original graph)

6
New cards

degree/valency/order of a vertex

number of edges incident to it

7
New cards

pendant

a node of degree one

8
New cards

isolated

a node of degree zero

9
New cards

walk

a route through a graph along edges from one vertex to the next

10
New cards

path

a walk with no repeated vertices

11
New cards

trail

a walk with no repeated edges

12
New cards

cycle

a walk in which the end vertex is the same as the start vertex and no other vertex is visited more than once (or a trail that starts and ends at the same vertex)

13
New cards

Hamiltonian cycle

A cycle that visits every vertex of a graph

14
New cards

two vertices are connected if...

...there is a path between them

15
New cards

a graph is connected if...

...all its vertices are connected

16
New cards

connected components

subgraphs that are connected

17
New cards

loop

an edge that starts and finishes at the same vertex

18
New cards

how does a loop affect the degree of a vertex

the vertex the loop originates from has a degree of 2 and not 1 due to it. this is because the loop is incident at the vertex twice.

19
New cards

simple graph

a graph with no loops or multiple edges between vertices

<p>a graph with no loops or multiple edges between vertices</p>
20
New cards

directed graph (digraph)

a graph with a direction associated with the edges

21
New cards

Euler's handshaking lemma

in any undirected graph, the sum of the degrees of the vertices is equal to 2x the number of edges. As a consequence, the sum of the degrees must always be even.

<p>in any undirected graph, the sum of the degrees of the vertices is equal to 2x the number of edges. As a consequence, the sum of the degrees must always be even.</p>
22
New cards

how is euler's handshaking lemma used?

to determine whether a graph can exist - if the sum of the degrees is odd, that implies the number of edges is not an integer which is impossible

23
New cards

in any undirected graph there must be...

an even amount of vertices with an odd degree

<p>an even amount of vertices with an odd degree</p>
24
New cards

tree

a simple connected graph with no loops or circuits

25
New cards

spanning tree

a tree which includes all the vertices of the graph

26
New cards

complete graph

a graph where every vertex is directly connected by a single edge to each and every other vertex

27
New cards

how is a complete graph denoted?

Kₙ where n is the number of vertices in the graph

28
New cards

isomorphic graphs

graphs that show the same information but are drawn differently

29
New cards

what makes two graphs isomorphic?

- they have the same number of vertices with the same degree

- the vertices are connected in the same way

- the vertices may have different labels as they are not the same graph but still an equivalence

30
New cards

adjacency matrix

a matrix that provides information about the connections between the vertices in a graph

31
New cards

what should each entry be for the adjacency matrix of an unweighted graph?

the number of arcs joining two points

32
New cards

describe how a loop from point A to A is depicted in an adjacency matrix for an undirected graph

it counts as two arcs as they can go in either direction ∴ the entry would be 2

(it is a similar principle to how e.g. AB could be 1 ∴ BA would also be 1)

33
New cards

distance matrix

the matrix associated with a weighted graph

34
New cards

what should each entry be for a distance matrix?

the weight of the arc joining two nodes

35
New cards

what if there are multiple arcs joining two vertices in a weighted graph? what should the entry be in the distance matrix + why?

the smallest weight; this is because when an algorithm is applied to the matrix to e.g. find the shortest route, the least value is desired.

36
New cards

minimum spanning tree (MST)

a spanning tree such that the total length of its edges is as small as possible

37
New cards

what is another name for a minimum spanning tree?

minimum connector

38
New cards

Eulerian circuit

A trail that starts and ends at the same vertex and traverse every arc no more than once

39
New cards

Semi-eulerian circuit

A trail that traverses every arc no more than once, but doesn’t start and end at the same vertex

40
New cards

Traits of a Eulerian graph

  • all vertices are even

  • connected

  • contains a Eulerian circuit

41
New cards

Traits of a semi-Eulerian graph

  • exactly two vertices are odd

  • connected

  • contains a semi-Eulerian circuit