Trolley Problem: The Ethics of Choosing Who Lives

simulator beginner ~10 min
Loading simulation...
5 saved, 1 lost — the classic utilitarian dilemma

In the classic trolley problem, pulling the lever diverts the trolley to kill 1 person instead of 5. Most people say they would pull, but introducing physical contact (the footbridge variant) reverses preferences.

Formula

Net utility = lives_on_main_track - lives_on_spur_track
Utilitarian action threshold: pull if people_on_track > people_on_spur

The Original Trolley Problem

Philippa Foot introduced the trolley problem in 1967 to illustrate the doctrine of double effect. A runaway trolley is heading toward five people tied to the tracks. You stand next to a lever that can divert the trolley onto a side track where only one person is tied. Do you pull the lever? Most people say yes — saving five at the cost of one seems like simple arithmetic. But the moral calculus is far more complex than it appears.

Why It Matters

The trolley problem isn't just an abstract puzzle — it has real-world implications for autonomous vehicle programming, medical triage, and military decision-making. When a self-driving car must choose between hitting a pedestrian or swerving into a wall, it faces a trolley problem in milliseconds. The simulation above lets you explore how different configurations change the moral landscape.

The Utilitarian Calculation

From a strictly utilitarian perspective, the answer is straightforward: pull the lever whenever the main track has more people than the spur. The simulation calculates net utility across thousands of randomized scenarios to show how often action produces better outcomes than inaction. But utilitarianism struggles with the footbridge variant, where most people refuse to push one person to their death — even though the math is identical.

Beyond Numbers

The trolley problem reveals that human moral reasoning is not purely computational. We care about the difference between doing and allowing, between intended and foreseen consequences, between personal force and impersonal switches. These distinctions may not survive logical scrutiny, but they are deeply embedded in our moral psychology — and any ethical theory must account for them.

FAQ

What is the trolley problem?

The trolley problem is a thought experiment in ethics: a runaway trolley will kill five people on a track unless you pull a lever to divert it onto a spur where it will kill one person. It tests whether it is moral to actively cause one death to prevent five.

Why is the trolley problem important in philosophy?

It exposes the tension between consequentialist ethics (maximize lives saved) and deontological ethics (never use a person as a means). It also reveals inconsistencies in our moral intuitions across variants like the footbridge version.

What is the difference between the trolley problem and the footbridge variant?

In the footbridge variant, you must push a large person off a bridge to stop the trolley. Although the outcome is identical (1 dies, 5 live), most people refuse to push — suggesting our moral judgments are sensitive to physical directness, not just outcomes.

How do utilitarians solve the trolley problem?

Utilitarians say you should always pull the lever (or push the person) because saving five lives produces greater total utility than saving one. The moral weight lies entirely in consequences, not in the nature of the action itself.

Sources

Embed

<iframe src="https://homo-deus.com/lab/philosophy/trolley-problem/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub