ARITHMETIC WORKSHEETS

Checking a simple dependency schedule through its longest path

A task that waits for two parallel predecessors cannot start until both finish, so the longer branch sets the join time. This guide rebuilds a four-task schedule and shows why elapsed time and total work are different numbers.

Why the longer branch sets the join time

Imagine a small project in which task A must finish first, tasks B and C then run side by side, and task D needs both B and C before it can begin. The question is how long the whole thing takes from start to finish. Adding every duration answers a different question. When two tasks run at the same time, the one that finishes later is the one D has to wait for, and the shorter one finishes inside that waiting period without costing any extra elapsed time. So the join time is the start of the parallel section plus the larger of the two branch durations. This guide works through that idea with whole-number durations in an arbitrary time unit, which keeps every step checkable on a basic calculator.

Rebuilding the supplied model step by step

Task A takes 2 units. Tasks B and C take 3 and 5 units and start together once A ends. Task D takes 4 units and starts when both are done. Branch B finishes at 2 plus 3, which is 5. Branch C finishes at 2 plus 5, which is 7. D must wait for the later of those two moments, so it starts at 7 and ends at 7 plus 4, which is 11. The first case below shows the join time of 7, and the second adds D to reach 11. The branch that sets the join is C, because it is longer. Branch B has two units of slack, meaning it could run two units later without delaying anything downstream.

Elapsed duration compared with total work

If you add all four durations, 2 plus 3 plus 5 plus 4, you get 14. That figure is the total work, the amount of effort summed across tasks. It is the number you would care about when billing hours or counting person-days, because every task consumes its time whether or not it overlaps with another. The elapsed duration of 11 is the calendar length of the schedule. The gap of 3 equals the duration of the shorter parallel task, B, which runs entirely inside the time C is occupied. A schedule with no parallel tasks has equal elapsed and work totals, and the gap grows as more work is moved into parallel branches.

A second schedule with different numbers

Try a variation to see the pattern hold. Let A take 3 units, B take 2, C take 7 and D take 5. The branches finish at 5 and 10, so the join is at 10 and the full schedule ends at 15. Total work is 3 plus 2 plus 7 plus 5, which is 17, and the difference of 2 is the duration of B once more. Now swap the two branch durations so that B takes 7 and C takes 2. The elapsed time is still 15, because the longer branch is still 7. Only the label of the controlling branch changes, which is why a plan should name the longest path instead of assuming it always runs through the same task.

Finding the controlling path with a calculator

The basic calculator handles one operation at a time, so the approach is to keep a short written list of intermediate results. First compute each branch end by adding the opening task to the branch duration. Compare the two numbers by eye and keep the larger as the join. Then add the final task to the join. For the main example that sequence is 2 plus 5 giving 7, then 7 plus 4 giving 11. Comparing is the step no arithmetic operation performs for you, so write down which branch won. If you compute only the sum of everything, you will get 14 and have no record of which task actually controls the finish date.

Reading slack and what shortening a task really does

Slack explains where improvement effort pays off. Shortening C by one unit, from 5 to 4, brings the join to 6 and the finish to 10, a full unit saved. Shortening B by one unit from 3 to 2 saves nothing, because B was already waiting. Once C has been cut by two units to 3, the two branches tie, and a further cut to either one starts to matter only up to the point where the other branch takes over. That is why effort on a task with slack is wasted for the schedule, even when the task itself becomes faster, and why the longest path deserves attention first.

What the model deliberately leaves out

Everything in this worksheet is idealized. It assumes B and C can truly run at the same time, which needs enough people, machines or space for both. If one person must do both, the tasks become serial and the elapsed time is 2 plus 3 plus 5 plus 4, or 14. The model also ignores handoff delays, rework, waiting for approvals and variation in how long tasks actually take. Real tasks rarely run to their estimates. The arithmetic here is a sanity check on a dependency structure that you supply, and a longest-path count alone does not prove that a resource-constrained plan is feasible.

Three parallel branches and a longer chain

The same rule extends to any number of branches. Suppose task A takes 2 units and three tasks then run in parallel with durations 3, 5 and 4, followed by D at 4 units. The branch ends are 5, 7 and 6, the join is at 7, and the finish is at 11, unchanged from the two-branch case because the new branch is shorter than C. Total work, however, rises to 2 plus 3 plus 5 plus 4 plus 4, or 18. Adding parallel work that fits inside the existing longest branch increases effort without delaying the finish, and that observation is the usual argument for splitting a job across more people. It stops working once a new branch outlasts the old longest one.

Where this kind of check shows up

The idea of a longest chain of dependent tasks appears in project management as the critical path method, developed in the late 1950s for scheduling industrial projects. Build pipelines in software, the order of steps in a recipe, and the sequence of trades on a construction job are all described with the same structure: tasks, durations and dependencies. Tools that draw these networks do the same comparisons you did by hand, only on hundreds of tasks. Practicing on four tasks makes it easier to spot an error in a large chart, for example a join computed from the shorter branch.

Try your own values with the Dependency schedule calculator.

Reproduce the checks

Join time after the longer branch

Open the Basic calculator and enter:

First number
2
Operation
add
Second number
5

Expected output:

Result

7

Both branches finish by this model time.

Final completion time

Open the Basic calculator and enter:

First number
7
Operation
add
Second number
4

Expected output:

Result

11

The final task follows the join.

Total work duration

Open the Basic calculator and enter:

First number
5
Operation
add
Second number
9

Expected output:

Result

14

Summed work is different from elapsed duration.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Related tasks