01 / 21

Decision Trees
& Rollback Analysis

Learn to map complex decisions into tree diagrams and solve them using backward induction to find the optimal strategy.

Finite Mathematics

What Is a Decision Tree?

A decision tree is a visual model that represents a sequence of choices and their possible outcomes. Each branch represents a different path you could take, and each endpoint carries a payoff value.

Decision Node
A square where you choose which branch to take
Chance Node
A circle where nature or probability determines the outcome
Payoff
The final value at each leaf: profit, cost, or utility

Anatomy of a Decision Tree

Decision Option A Option B Chance
\( p = 0.6 \)
\( p = 0.4 \)
\( \$500 \)
\( -\$100 \)
\( p = 0.5 \)
\( p = 0.5 \)
\( \$300 \)
\( \$100 \)
Decision Node Chance Node Payoff

Why Decision Trees Matter

Real decisions involve uncertainty: launching a product might succeed or fail, investing carries risk, and choosing a medical treatment has variable outcomes. Decision trees give you a structured framework to handle all of this.

Clarity
Visualize every possible path and outcome at a glance
Quantification
Assign probabilities and dollar values to compare options objectively
Optimality
Rollback analysis guarantees the mathematically best strategy

The Expected Value Rule

$$ E = \sum_{i=1}^{n} p_i \cdot V_i $$

where \( p_i \) is the probability of outcome \( i \) and \( V_i \) is the payoff for that outcome. All probabilities at a chance node must sum to \( 1 \).

What Is Rollback?

Rollback (also called backward induction) is the process of solving a decision tree from right to left: you start at the payoff leaves and work backward toward the root, collapsing each node into a single value.

1
Start at the rightmost nodes (the leaves with known payoffs).
2
Chance node: Compute the expected value \( E = \sum p_i \cdot V_i \).
3
Decision node: Pick the branch with the maximum expected value.
4
Repeat until you reach the root: that value is your optimal expected payoff.

Decision vs Chance Nodes

Decision Node □ Chance Node ○
Symbol Square Circle
Controller You (the decision-maker) Nature / probability
Branches One per available option One per possible outcome
Labels Action names Probabilities (must sum to 1)
Rollback rule \( \max \) (or \( \min \) for costs) \( E = \sum p_i \cdot V_i \)

How to Solve Any Decision Tree

1
Draw the tree: Map decisions (squares), chance events (circles), and payoffs (leaves) from left to right.
2
Label everything: Write action names on decision branches and probabilities \( p_i \) on chance branches.
3
Assign payoffs: Place dollar amounts (or utility values) at every leaf.
4
Roll back: Starting from the leaves, compute \( E \) at chance nodes and choose \( \max \) at decision nodes.
5
Read the solution: The root value is your optimal expected payoff; the chosen branches trace your optimal strategy.

Example 1: Simple Investment

You can invest or save. If you invest, there is a \( 60\% \) chance of earning \( \$500 \) and a \( 40\% \) chance of losing \( -\$100 \). Saving guarantees \( \$200 \).

Invest Save
\( 0.6 \)
\( 0.4 \)
\( \$500 \)
\( -\$100 \)
\( \$200 \)
\( \text{EV} = \$260 \)
\( \$260 \)

Example 2: Two-Stage Decision

A company decides whether to launch a new product or pass. If they launch and demand is high (\( 0.7 \)), they earn \( \$800\text{K} \). If demand is low (\( 0.3 \)), they can choose to advertise (cost: \( \$100\text{K} \), leading to revenues of \( \$400\text{K} \) or \( \$50\text{K} \) with 50/50 probability) or cut losses at \( -\$200\text{K} \). Passing gives \( \$0 \).

Launch Pass
High \( 0.7 \)
\( \$800\text{K} \)
Low \( 0.3 \)
Advertise Cut
\( -\$200\text{K} \)
\( 0.5 \)
\( 0.5 \)
\( \$300\text{K} \)
\( -\$50\text{K} \)
\( \$0 \)
\( \$125\text{K} \)
\( \$125\text{K} \)
\( \$597.5\text{K} \)
\( \$597.5\text{K} \)

Example 2: Rollback Walkthrough

1
Advertise chance node: \( E = 0.5 \times \$300\text{K} + 0.5 \times (-\$50\text{K}) = \) \( \$125\text{K} \)
2
Low-demand decision node: \( \max(\$125\text{K},\; -\$200\text{K}) = \) \( \$125\text{K} \) (Advertise wins)
3
Demand chance node: \( E = 0.7 \times \$800\text{K} + 0.3 \times \$125\text{K} = \) \( \$597.5\text{K} \)
4
Root decision: \( \max(\$597.5\text{K},\; \$0) = \) \( \$597.5\text{K} \). Optimal: Launch, and if demand is low, Advertise.

Example 3: Three-Option Choice

A farmer chooses among three crops. Each has a good weather (\( p = 0.6 \)) and bad weather (\( p = 0.4 \)) outcome:

Crop Good Weather Bad Weather EV
Corn \( \$90\text{K} \) \( \$20\text{K} \) \( \$62\text{K} \)
Wheat \( \$70\text{K} \) \( \$40\text{K} \) \( \$58\text{K} \)
Soybeans \( \$100\text{K} \) \( \$10\text{K} \) \( \$64\text{K} \)

Multi-Stage Trees

Real problems often have multiple stages of decisions and chance events. The rollback principle is exactly the same: always work from the leaves inward.

Stage 1
Make an initial choice (invest, launch, build)
Stage 2
Observe an uncertain outcome (market, weather, test result)
Stage 3
Make a follow-up decision with new information

Rollback Formulas

Chance Node
\( V_{\text{chance}} = \displaystyle\sum_{i=1}^{n} p_i \cdot V_i \)
Decision Node (Profit)
\( V_{\text{decision}} = \max(V_1, V_2, \ldots, V_n) \)

The value that reaches the root node is called the optimal expected value of the decision problem.

Common Mistakes

✕ Wrong Direction
Solving left-to-right instead of right-to-left. Always start from the leaves.
✕ Probabilities Don't Sum to 1
At any chance node, all branch probabilities must total exactly \( 1.0 \).
✕ Using EV at Decision Nodes
Decision nodes use \( \max \) (or \( \min \)), not expected value. You choose the best option.

Summary of Key Concepts

Concept Definition Key Rule
Decision Node A point where you choose Take the \( \max \) branch
Chance Node A point where nature acts Compute \( \sum p_i V_i \)
Payoff Net value at a leaf Include all costs/revenues
Rollback Solve right-to-left Leaves first, root last
Optimal Strategy Trace chosen branches from root Follow the \( \max \) path

Question 1 of 5

At a chance node with outcomes \( \$200 \) (probability 0.3) and \( \$500 \) (probability 0.7), what is the expected value?

Question 2 of 5

At a decision node, the two branches have expected values of \( \$120 \) and \( \$85 \). What value is assigned to this node during rollback?

Question 3 of 5

Rollback (backward induction) begins at which part of the decision tree?

Question 4 of 5

A chance node has three outcomes: \( \$100 \) with \( p = 0.2 \), \( \$300 \) with \( p = 0.5 \), and \( \$600 \) with \( p = 0.3 \). What is the expected value?

Question 5 of 5

Option A has EV = \( \$450 \). Option B is a guaranteed \( \$400 \). Option C has EV = \( \$430 \). A rational decision-maker using rollback should choose: