Skip to content
SPM Tuition
Mathematics · Networks in graph theory

Finding efficient routes in a weighted network

You can trace a route, but you are not sure you have found the shortest one.

To find the shortest route, list every route from the start to the end, add the weights, and choose the smallest total. In a small network, this listing is the whole method.

This lesson follows distinguishing directed, weighted and simple graphs in the SPM Mathematics networks chapter.

How do you list routes without missing one?

Start at the beginning and follow one branch to the end. Then go back to the last choice and try the next branch.

Never use the same vertex twice in one route. Each finished route is written as a string of letters.

Worked example: five stops

Stops A to E are joined by roads with distances in km: AB 4, AC 2, BC 1, BD 5, CD 8, CE 10 and DE 2. Find the shortest route from A to E.

Route Working Total (km)
A C E 2 + 10 12
A C D E 2 + 8 + 2 12
A C B D E 2 + 1 + 5 + 2 10
A B D E 4 + 5 + 2 11
A B C E 4 + 1 + 10 15
A B C D E 4 + 1 + 8 + 2 15
A B D C E 4 + 5 + 8 + 10 27

The shortest route is A C B D E, with a total of 10 km.

The mistake that costs marks

The common slip is to choose the route with the fewest stops. A C E has only two roads, but it is 12 km. The route A C B D E has four roads and is shorter.

Wrong Right
Choice A C E A C B D E
Reason Fewest roads Smallest total distance
Total 12 km 10 km

Another slip is to stop after the first route you find. Write every route before you compare.

Check yourself

Vertices P, Q, R and S have edges PQ 3, PR 7, QR 2, QS 6 and RS 3. Find the shortest route from P to S.

Answer

P Q S: 3 + 6 = 9.

P R S: 7 + 3 = 10.

P Q R S: 3 + 2 + 3 = 8.

P R Q S: 7 + 2 + 6 = 15.

The shortest route is P Q R S, with a total of 8.

What to study next

Test all four lessons in the networks practice set. The algebra step-repair trainer gives you practice at checking each line of arithmetic, which every route total needs. Log slips in the mistake log and paper-error review.

If you want a teacher to check your route lists, see online one-to-one Mathematics tuition.

Common questions

How do I find the shortest route in a small network?

List every route from the start to the end that does not revisit a vertex, add the weights along each, and choose the smallest total. In a small network this always works.

Is the route with the fewest edges always the shortest?

No. A route with more edges can have smaller weights and a smaller total. Always add the weights, and never count edges alone.

What does efficient mean here?

It depends on what the weights represent. If they are distances or times, smaller is better. The question will say whether you want the shortest distance, least time or lowest cost.

How do I show my working?

Write each route as a string of letters with the weights added beneath it, then state the shortest route and its total. Listing all routes is the working.

If your route answers are close but not always the shortest, a one-to-one Mathematics teacher can check your listing on your own networks and show which route you skipped.

  • Online one-to-one lessons for your child with an experienced teacher.
  • Your first class is a one-hour trial, from RM50. The fee is agreed before you book.
  • Happy with the teacher? Continue with lessons of about 1.5 hours. If not, ask for another teacher.