Math AI HL - Graph Theory

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:22 PM on 9/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

21 Terms

1
New cards

Complete Graph

Exactly one edge between each pair of vertices

2
New cards

Simple graph

No loops or multiple edges

3
New cards

Connected graph

if there is a path between any pair of vertices

4
New cards

Weighted graph

the edges are assigned numerical values like money or distance

5
New cards

Directed graph

The edges in a directed graph can only be travelled along in the direction indicated

6
New cards

Trail

a walk where no edges are repeated

7
New cards

Path

a walk where no vertices are repeated

8
New cards

Circuit

no edges are repeated + last vertex is the same as the first vertex

9
New cards

Cycle

Last vertex is the same as the first vertex

No vertices are repeated (except the first)

10
New cards

What is a tree

A connected graph that does not contain any cycles

11
New cards

Degree

number of edges in/out of the vertex/node


In degree = number of edges coming into the node

Out degree = number of edges leaving the node


can be even/odd

12
New cards

Strength of connection

Strongly connected = directed graph where every vertex is connected if you follow the directions

Weakly connected = directed graph where all vertices are connected if the directions are ignored

13
New cards

Adjacency Matrix

Shows the number of ways to get from vertex X to vertex Y.


M^n = number of walks of length ‘n’ in the graph.


The column sum of a transition matrix of a directed graph must be

equal to 1 (transition matrix has opposite to-from)

14
New cards

Algorithms for finding minimum spanning tree (summary of each)

Kruskal’s:
- Pick an edge of minimum weight

-Pick the next edge of minimum weight. Check if it creates a cycle, if not then put it on the list. Continue this process until every vertex is added.


Prim’s:
- Pick a vertex at random. Put it on the tree

-Join the tree created to the nearest vertex out of the tree

-Repeat until all vertices are connected


15
New cards

Eulerian Graphs

All vertices must have an even degree

16
New cards

Semi-eulerian

All vertices except two have even degrees

17
New cards

Chinese Postman Problem

A postman wants to visit all edges and return back to t

he origin in the most efficient way (minimum total weight)


EVERY EDGE


  1. Determine the degree of each vertex

  2. If all are even, add together all the weights. This will be the solution.

  3. If there are 2 odd degrees, determine the path of least weight between the two and add this to the total of the weights of all the edges of the graph.


18
New cards

Hamiltonian Cycle

possess a cycle that visits every vertex


19
New cards

Travelling Salesman Problem

EVERY VERTEX


  • must determine lowest upper bound and highest lower bound


20
New cards

Nearest Neighbour Algorithm

FOR UPPER BOUND

  • Pick a starting vertex

  • Pick the vertex of lowest weight not yet visited

  • Repeat until all vertices have been used

  • Add the final edge to return to the starting vertx


21
New cards

Deleted Vertex Algorithm

FOR LOWER BOUND


  • Remove one vertex and all associated edges

  • Construct the minimum spanning tree using P/K

  • Add the 2 shortest edges connected originally to the starting vertex