Content code
m1413
Slug (identifier)
graphs
Parent content
Grades
Secondary V
Topic
Mathematics
Content
Contenu
Links
Content
Corps

A graph is a set of links connecting elements together.

Links are represented by lines called edges or by arcs.

The elements are represented by points called vertices. These elements can be places, people, tasks, etc.

Corps

In the graphic representation of a graph:

  • Vertices are usually identified by a lowercase letter, uppercase letter, number, or word.

  • Edges are usually named using the letters indicating its endpoints in any order.

Content
Corps

Here is an example of a graph reflecting a specific situation. The vertices represent islands and the edges represent bridges.

Image
Image
Title
Real situation
Image
Image
Title
Graph
Title (level 2)
The Complete and Connected Graph
Title slug (identifier)
complete-and-connected-graph
Contenu
Content
Corps

A complete graph is when each vertex is directly connected to all the other vertices.

Content
Columns number
2 columns
Format
50% / 50%
First column
Image
Complete Graph.
Title
Complete Graph
Second column
Image
Incomplete Graph.
Title
Incomplete Graph
Content
Corps

A graph is connected when any vertex can be connected to any other vertex by an edge or a series of edges. The connected graph is a one-piece graph.

Content
Image
Image
Title (level 2)
The Order of a Graph
Title slug (identifier)
order-graph
Contenu
Content
Corps

The order of a graph corresponds to the number of vertices contained in a graph.

Content
Columns number
2 columns
Format
50% / 50%
First column
Image
The order of the following graph is 5.
Title
The order of the following graph is 5.
Second column
Image
The order of the following graph is 4.
Title
The order of the following graph is 4.
Title (level 2)
The Degree of a Vertex
Title slug (identifier)
degree-vertex
Contenu
Content
Corps

The number of times a vertex is touched by an edge is the degree of the vertex.

If more than one edge connects two vertices, the edges are parallel.

A loop is an edge connecting a vertex to itself. It counts as one edge, but for 2 degrees.

Content
Image
Image
Corps

The degree of the vertex C = 4
The degree of the vertex B = 2
The degree of the vertex A = 2
The degree of the vertex E = 2
The degree of the vertex D = 2

The number of edges in the graph is 6.

Content
Corps

The sum of the degrees of all vertices in a graph is always twice the number of edges in the graph. In the previous example, there are 6 edges and the sum of the degrees of all the vertices is 12.

Title (level 2)
Optimization Using Graphs
Title slug (identifier)
optimization
Contenu
Corps

Graphs are a useful way to represent certain situations. With a graph, it is possible to optimize or resolve situations which, at first glance, appear very complex. The following are some optimization methods using graphs.

Links
Remove audio playback
No