What is a Markov decision process, what are its components, and what objective does an agent optimise?
Reinforcement learning, Markov decision processes
Level L1 Beginner. Length Short. Nature Th Theoretical.
What's being asked
Whether you can name the parts of an MDP and say what "Markov" means, before any algorithm.
Key idea
An MDP is a tuple in which depends only on the current state and action. The agent chooses a policy to maximise the expected discounted return .
Steps
- List the components: states , actions , transition probabilities , reward function (or ), and discount factor .
- State the Markov property: . The current state summarises the whole history.
- Define a policy (deterministic or stochastic) and the return .
- State the objective: find that maximises in every state.
- Give a one-line example: a robot on a grid, where states are cells, actions are moves, and the reward is at the goal and elsewhere.
Common mistakes
- Saying the Markov property means the future is independent of the past. It is independent of the past given the present state.
- Forgetting the policy and the discount factor, the two things that turn the tuple into an optimisation problem.
- Mixing up the reward (one step) and the return (the discounted sum).
How long your answer should be
4–6 sentences, with the tuple written out.
Last checked on 4 December 2026.
Read this
- Sutton and Barto, Reinforcement Learning: An Introduction (2nd ed.), Chapter 3: Free PDF. Sections 3.1–3.5 (pp. 47–62): the agent–environment loop, the Markov property, returns and value functions, defined carefully with small examples.
- David Silver, UCL RL Course, Lecture 2: Markov Decision Processes: Slides 3–5 and 24–27: the Markov property, the tuple (S, A, P, R, γ) and policies, built up from Markov chains to MDPs.
- NPTEL: Reinforcement Learning (IIT Madras, Prof. Balaraman Ravindran): Week 3, Returns, Value Functions and MDPs, and Week 4, MDP Modelling, which define the components of an MDP and the objective being optimised.
Previous in Reinforcement learning: Why do we use a discount factor in reinforcement learning?
Next in Reinforcement learning: What is the difference between on-policy and off-policy learning, and why might you want to learn off-policy?