Further Mathematics · Pearson Edexcel 9FM0 · Option D2 · Topic 4

Dynamic programming

Dynamic programming: solving multi-stage problems by working backwards through stages and states.

  • 1 sub-topic
  • Taught in Year 13
  • 12 practice questions
  • 1 animated lesson

What the specification says

Every sub-topic Pearson Edexcel can examine in this topic, with its reference number from the official specification. The Y12 and Y13 tags show when each sub-topic is usually taught.

  1. 4.1Dynamic programmingY13

Try 2 questions

Easy and hard questions from this topic, each with a worked solutions and the mark for every step. All 12 questions in this topic, free, no account needed.

Dynamic programming

Not needed for Year 12Easy

Bellman's principle · Year 13 · 1 mark

  1. What is Bellman's principle of optimality?
    (1)

Show worked solutionHide worked solution
  1. This is why dynamic programming can work backwards from the final stage, keeping only the best option from each state.BB: Any part of an optimal path is itself an optimal path

Total1

  • MMethod mark: for a correct method, even with a slip.
  • AAccuracy mark: for a correct answer from a correct method.
  • BIndependent mark: for a correct fact or result on its own, with no method needed.
How did it go?

Report a problem with this question

Dynamic programming

Not needed for Year 12Hard

Dynamic programming · Year 13 · 6 marks

A journey goes from SS to TT through one of AA, BB, CC and then one of DD, EE, FF. The values on the possible stages are: SS to AA: 6; SS to BB: 9; SS to CC: 10; AA to DD: 5; AA to EE: 5; AA to FF: 2; BB to DD: 2; BB to EE: 11; BB to FF: 6; CC to DD: 5; CC to FF: 4; DD to TT: 9; EE to TT: 11; FF to TT: 4.
  1. Use dynamic programming, working backwards from TT, to find the route that minimises the total value. Show your stages, states and values.
    (6)

Check your answer before you look at the solution

Show worked solutionHide worked solution
  1. Stage 1 (states D, E, F): D 9, E 11, F 4.
  2. For each state take the least action value + value of the next state.Stage 2 (states A, B, C): A 6, B 10, C 8.
  3. Stage 3 (state S): 12.
  4. SAFT, total=12SAFT, \ \text{total} = 12

Total6

  • MMethod mark: for a correct method, even with a slip.
  • AAccuracy mark: for a correct answer from a correct method.
  • BIndependent mark: for a correct fact or result on its own, with no method needed.
How did it go?

Report a problem with this question