Content code
m1414
Slug (identifier)
the-tree-of-minimum-or-maximum-values
Parent content
Grades
Secondary V
Topic
Mathematics
Tags
graphe
poids
sommets
reliés
arêtes
étape
graphe connexe
degré d'un sommet
Content
Contenu
Corps

Some types of problems, for example those involving networks, often require minimizing or maximizing cost or distance. In these cases it is necessary to find the tree of minimum or maximum value that connects all the vertices of a graph.

Content
Corps

Steps for solving a problem using the tree of minimum value

  1. Rewrite the vertices of the graph, next to the initial graph.

  2. Draw the line segment with the least weight.

  3. Among the remaining edges, repeat the second step until all the vertices of the graph are connected, without obtaining a simple circuit.

  4. Calculate the weight of the resulting tree if necessary.

Steps for solving a problem using the tree of maximum value

  1. Rewrite the vertices of the graph, next to the initial graph.

  2. Draw the line segment with the greatest weight.

  3. Among the remaining edges, repeat the second step until all the vertices of the graph are connected without obtaining a simple circuit.

  4. Calculate the weight of the resulting tree if necessary.

Content
Columns number
2 columns
Format
50% / 50%
First column
Corps

Sidewalk construction

A contractor must connect 5 buildings with concrete sidewalks. He submits a preliminary estimate for the cost of the operation, represented by the weighted graph on the right. The costs are in the thousands of dollars.

We want to minimize the total cost of building the sidewalks by connecting all the buildings.

Second column
Image
Weighted graph
Corps

Solution

Since we want to minimize the costs, we need to determine the tree of minimum value.

Step 1

Rewrite the vertices of the graph, next to the initial graph.

Image
picture
Corps

Step 2
Draw the edge with the lowest weight.

Image
picture
Corps

Step 3
Among the remaining edges, repeat the second step until all the vertices of the graph are connected, without obtaining a simple circuit.

Image
picture
Corps

Since two edges have the same value, we select them both if they do not create a simple circuit. Then, we continue with the next value.

Image
picture
Corps

Since the edge |\overline{ED}| would create a simple circuit, we move on to the next.

After selecting the edge |\overline{AB}|, all vertices are now connected. Therefore we have the tree of minimum value.


Step 4
Calculate the weight of the resulting tree.

We need to add all the values of the selected edges to know the total cost of the work.

|\text{Cost}=7+8+8+10=33 \text{ thousand dollars}=33\ 000| $

Remove audio playback
No