The Human-and-Math Method
Solve the human problem first, then let the math optimize it.
- Difficulty
- Advanced
- Time to result
- ~ongoing to results
- Steps
- 6
- Confidence
- 90%
DoorDash's founding methodology for tackling a logistics problem that traditional operations research couldn't model, because demand, supply, and merchant behavior are all unpredictable human variables. Rather than starting with algorithms, the founders and engineers spent two years personally doing deliveries and customer service to convert unstructured 'atoms' of the physical world into structured data. Only once they deeply understood human behavior did they layer in routing, dispatch, and pricing math. The framework argues that in human-driven marketplaces, premature optimization on unproven assumptions produces brittle systems, while grounding technology in lived operational reality produces durable, adaptable models.
Origin
DoorDash's founders consulted professors at Stanford and Berkeley about the underlying math and learned the problem (unlike the traveling salesman problem) was fundamentally unsolved because none of the variables were forecastable, so they chose to first understand the human side by doing deliveries themselves.
Core principles
- 01Understand the atoms (human behavior) before you model the bits (algorithms).
- 02Everyone, including engineers, should do the frontline work.
- 03Structured data must come from direct observation, not assumption.
- 04Math is layered on top of validated human/operational understanding, not the other way around.
How to run it
- 1
Do the Work Yourself
Have founders and engineers personally perform every delivery, alongside customer service, for an extended period to build first-hand understanding of merchants, Dashers, and consumers before automating anything.
Pro tip Rotate technical staff through operations so engineering decisions stay grounded in reality.
- 2
Break Down Every Step
Decompose a core transaction (e.g., a delivery) into 5-10 macro steps, then further decompose each into its lowest level of detail to expose every variable that must eventually be modeled.
- 3
Turn Atoms into Data
Convert unstructured, on-the-ground observations (parking availability, alley entrances, kitchen capacity) into structured information the business can act on.
- 4
Manufacture the Outcome
For each stakeholder group (consumer, merchant, Dasher) set an explicit, testable hypothesis, such as a price, that determines whether the model can work.
- 5
Layer in the Math
Once the human and operational picture is understood, apply routing, dispatch, and pricing algorithms to optimize outcomes.
Watch out Applying sophisticated math to a system you don't understand operationally produces brittle, inaccurate models.
- 6
Stay in the Loop
Maintain ongoing frontline exposure, such as daily customer service, so the math keeps adapting as human behavior and expectations evolve.
Pro tip Customer expectations only move upward, so treat frontline contact as a permanent input, not a launch-phase activity.
In the wild
For the first two years of DoorDash, all co-founders and engineers performed deliveries daily and handled customer service between coding sessions, deliberately prioritizing understanding of merchants, Dashers, and consumers over writing sophisticated software.
→ This grounded the eventual dispatch, routing, and merchant-integration systems in real operational constraints, giving DoorDash systems that worked in practice rather than only in theory.
A Palo Alto macaron store manager showed the founders a notebook full of delivery orders she had to turn away because she was a one-person shop with no fulfillment capacity.
→ This single human observation, not a market analysis, became the concrete trigger for DoorDash to focus specifically on the delivery problem.
Common mistakes
Building Algorithms Before Understanding Behavior
Teams that jump straight to sophisticated routing or matching algorithms without first observing real merchant, driver, and customer behavior risk optimizing for assumptions that don't hold in the physical world.
Treating Customer Service as a Cost Center, Not Data
Ignoring frontline customer service interactions discards one of the richest, fastest sources of disconfirming evidence about what's actually happening in the system.
Is it for you?
Best for
Founders building two- or three-sided marketplaces involving unpredictable human behavior on multiple sides.
Not ideal for
Purely software/digital products where all variables are already structured and forecastable.
From the transcript
“DoorDash really is a marriage between a math problem and a human problem.”
“We almost have to first collect all of the information about the atoms first.”
“We actually started by solving the human side.”
From the episode
Tony Xu - A Human and Math Problem - [Founder’s Field Guide, EP. 28]
Tony Xu