Mathster Maths topics Free worksheets Coverage Mathster for schools

Maths topics › A level Further Maths › D2, dynamic and programming

Use dynamic programming to solve minimax and maximin problems (A level only)

A level Further Maths · D2, dynamic and programming

A question

A hiker crosses a mountain range from \(S\) to \(T\). The number on each arc is the greatest height climbed, in hundreds of metres, on that section. The hiker wants a route whose highest climb is as small as possible.
Use dynamic programming, working backwards from \(T\). Complete the table (stage, state, action, destination, value), mark with * the best action for each state, and state the route and its value.

Free worksheet

10 questions on this objective, ready to print.

Download the worksheet (PDF)

We use this address to send you the answers, and for news only if you tick the box.

Worked solution

The working

  1. For each arc out of a vertex, the value is max(arc value, value at the next vertex); keep the smallest of these.
  2. (a) \(20\).   (b) The value at \(S\): \(20\).   (c) \(SADGT\).

Mathster is maths homework, practice and assessment for schools, with animated worked solutions. Try Mathster free for 60 days →

Objectives from the AS and A level subject content for further mathematics (Department for Education). Contains public sector information licensed under the Open Government Licence v3.0.