Pearson Edexcel · A-Level · Mathematics

    Course version: 603/1499/0 · Version from Sept 2017

    Decision Mathematics 2

    Full specification wording

    Dynamic programming - Paper 4D: Decision Mathematics 2: 4.1 Stage variables and State variables. Use of tabulation to solve maximum, minimum, minimax or maximin problems.

    Dynamic programming splits a multi-stage problem into stages you solve in order, usually working backwards from the final stage.

    • Point 2 of 2

    Study notes

    From the teaching notes for this specification point.

    The idea

    Dynamic programming splits a multi-stage problem into stages you solve in order, usually working backwards from the final stage. A stage variable names the step being decided; a state variable records the information carried forward that the next decision depends on. Tabulation lays out, for each stage and each possible state, the value of each choice. For a maximum or minimum problem you compute the best total from a state by combining the immediate return of a choice with the best future value reachable from the resulting state, then select the largest or smallest total. For minimax or maximin problems you instead combine the immediate return with the future value using the appropriate operation: take the maximum of the two for minimax and the minimum of the two for maximin, then choose the option that optimises that combined value.

    What earns the marks

    • Names the stage variable as the step or decision level and the state variable as the information carried forward to later stages.
    • Builds a table with one row per state at each stage and records the value of each available choice.
    • Combines the immediate return with the best future value by addition when the objective is a running total to be maximised or minimised.
    • Combines the immediate return with the future value by taking the larger of the two for minimax and the smaller of the two for maximin.
    • Selects the choice that optimises the combined value and records the corresponding optimal decision for each state.
    • Traces the optimal route and overall value back through the recorded decisions from the final stage.

    Common mistakes and how to put them right

    • Adds the immediate return to the future value in a minimax or maximin problem.

      Put it right: Combine them with the maximum or minimum operation instead.

    • Works forward through the stages when the tabulation requires backward recursion from the final stage.

      Put it right: Start at the last stage and move back.

    • Omits the state variable and treats each stage in isolation.

      Put it right: Carry the state forward so later decisions use the correct information.

    • Records the chosen decision without the value that justified it.

      Put it right: Keep both the optimal value and the decision for each state.

    Exam tips

    • Label the stage and state variables clearly at the top of the table so the examiner can follow your recursion.
    • State explicitly whether you are adding or applying a maximum or minimum operation for each problem type before you tabulate.
    • Show the optimal decision beside every state value so the final route can be traced and checked.
    • Check the final answer by following your recorded decisions from the first stage to the last and confirming the total.

    Try the lesson

    The start of the Dynamic programming - Paper 4D: Decision Mathematics 2: 4.1 Stage variables and State variables. Use of tabulation to solve maximum, minimum, minimax or maximin problems. lesson, made from teaching notes for this specification point.

    Have a go first

    In a dynamic programming formulation of a shortest-route problem, which quantity is the state variable at a given stage?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Dynamic programming - Paper 4D: Decision Mathematics 2: 4.1 Stage variables and State variables. Use of tabulation to solve maximum, minimum, minimax or maximin problems.

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required