Why do we use a discount factor γ<1 in reinforcement learning?

Reinforcement learning, Markov decision processes
Level L1 Beginner. Length One-liner. Nature Th Theoretical.

What's being asked

Whether you know both the mathematical reason and the modelling reason for discounting.

Key idea

With rewards bounded by Rmax⁡, ∣Gt∣≤∑k≥0γkRmax⁡=Rmax⁡1−γ, so the return stays finite in tasks that never end. γ also sets an effective horizon of about 11−γ steps and expresses a preference for sooner reward.

Steps

  1. Say that it keeps the infinite sum of rewards finite, by the geometric-series bound Rmax⁡/(1−γ).
  2. Say that it sets the planning horizon: γ=0.99 looks roughly 100 steps ahead; γ=0 is purely greedy.
  3. If asked for more: γ<1 makes the Bellman operator a contraction, which is why value iteration converges.

Common mistakes

How long your answer should be

One sentence; add the horizon 1/(1−γ) if asked to expand.

Last checked on 4 December 2026.

Read this

Previous in Reinforcement learning: What is the exploration–exploitation dilemma, and why can a purely greedy agent get stuck choosing a poor action?
Next in Reinforcement learning: What is a Markov decision process, what are its components, and what objective does an agent optimise?