Types of Graphs

Concept sheet | Mathematics

Trees

Definition

Trees are connected graphs without a simple cycle, i.e., a chain cannot be established in graphs which start and end at the same point without passing through the same edge twice.

Example
image
avatar
image
avatar

Trees are also used in probability for counting problems.

Example

Example of a tree in a probability situation

Tree.
avatar

Trees can also be used to determine the lowest common multiple (LCM) of a group of numbers.

Be careful!

Here are some examples that are NOT trees

Tree.
avatar

It’s not connected!

Tree.
avatar

BCDB is a simple chain!

The Weighted Graph

Definition

A weighted graph is a graph where each of the edges has a value. The valued graph can either be directed or not.

We calculate the value of a chain (or a cycle) by adding the values of the edges in it.

Example
image
avatar

The Directed Graph

Definition

A directed graph is a graph where the edges have a direction (→). Chains and cycles must respect the direction of the arrows.

Important!

The name of an edge takes into account its direction. AB ≠ BA

Edge.
avatar
Example
image
avatar
Find out more!

Occasionally, a coloured graph may be encountered. This concept is used when solving chromatic number problems.