This is one foundational lesson in the twelve-lesson course.

The question to explore

Invite a few helpers

When does more help save time?

Compare four workers with five. Here, the fifth adds coordination cost without removing a batch. Before adding AI helpers, ask which tasks can actually happen at the same time.

Local teaching illustration / No AI model call / About 10 minutes / No account needed

Try the experiment

First step: Start with one worker and read the estimated time and cost.

Predict first: Will moving from 4 workers to 5 always finish the work sooner?

Toy assumptions: 8 independent tasks of 10 units each, 6 serial units, plus 2 coordination units per additional worker. Because 8 tasks split into batches of at most the worker count, 4, 5, 6 and 7 workers all require 2 batches while adding coordination overhead. These are not measured performance or prices.

Workers: 1
Elapsed time: 86 toy units
Total cost: 86 toy units
Speedup: 1.00×
Task work: 80
Coordination: 0
86
86
Serial setup: 6 toy units6u
Batch 1: 1 task in parallel10u (1 active)
Batch 2: 1 task in parallel10u (1 active)
Batch 3: 1 task in parallel10u (1 active)
Batch 4: 1 task in parallel10u (1 active)
Batch 5: 1 task in parallel10u (1 active)
Batch 6: 1 task in parallel10u (1 active)
Batch 7: 1 task in parallel10u (1 active)
Batch 8: 1 task in parallel10u (1 active)
Merge gate: +0 toy units1.00×

Change a control to explore the example when JavaScript is enabled.

  1. Start with one worker and read the estimated time and cost.
  2. Move Workers to 4, then 5. Compare time and cost; the extra worker does not remove a task batch in this case.
  3. Try 8 workers. Explain why the calculated speedup is less than eightfold and why total cost has increased.

The idea

Independent jobs can overlap. Jobs that depend on an unfinished decision still have to wait. More helpers do not remove those dependencies.

This calculation assumes eight jobs taking ten units each, six units that cannot overlap, and two extra coordination units per additional worker. These are made-up units, not measured AI performance. Finishing sooner and doing less total work are different goals.

Worked example: run it yourself

The simulator’s formula in eight lines. It prints the time, total cost and speedup for 1, 2, 4, 5 and 8 workers, so you can see the fifth worker make the job slower.

Save it as schedule.js and run node schedule.js in a terminal (Node.js 18 or later), or paste it into your browser’s developer console. Download schedule.js

function schedule(workers) {
  const batches = Math.ceil(8 / workers);
  const coordination = 2 * (workers - 1);
  const time = 6 + batches * 10 + coordination;
  const cost = 80 + 6 + coordination;
  return `workers ${workers}: ${batches} batches, time ${time}, cost ${cost}, speedup ${(86 / time).toFixed(2)}x`;
}
for (const workers of [1, 2, 4, 5, 8]) console.log(schedule(workers));

Output, as printed by Node.js 25.3.0 on 3 December 2026:

workers 1: 8 batches, time 86, cost 86, speedup 1.00x
workers 2: 4 batches, time 48, cost 88, speedup 1.79x
workers 4: 2 batches, time 32, cost 92, speedup 2.69x
workers 5: 2 batches, time 34, cost 94, speedup 2.53x
workers 8: 1 batches, time 30, cost 100, speedup 2.87x

Try it

Predict the time for 3 workers, then run console.log(schedule(3)). Which worker count from 1 to 8 gives the shortest time, and which gives the lowest cost?

Check your answer

workers 3: 3 batches, time 40, cost 90, speedup 2.15x. The shortest time is 8 workers (30 units); the lowest cost is 1 worker (86 units). No count wins both, so you choose by which matters more.

Take this with you

What changed?

Faster completion and less total effort are different outcomes.

Try explaining it.

Could two helpers write consecutive chapters independently if chapter two depends on an unresolved choice in chapter one?

Open a possible explanation

They could explore alternatives, but a consistent final version needs that choice to be settled or shared. Adding workers does not remove the dependency.

Choose a next step

Continue the course in order, or open the course map.