Forward and backward scanning
Work out when every task in a project can and must begin with forward and backward scanning in Year 12 General Mathematics for Queensland (QCAA). A builder on the Sunshine Coast or a school running a stall at a Gold Coast fun run needs to know the soonest each job can begin and how long it can safely wait.
You will scan forwards through an activity network to find the earliest starting time of every activity and the minimum completion time, then scan backwards to find each latest starting time. You will practise with tables, diagrams and real schedules, building the skills needed to find the critical path and float times next.
Theory
When can each job in a project start? This Year 12 General Mathematics guide for Queensland students shows how a forward scan gives the earliest starting time (EST) of every activity and the minimum completion time, and how a backward scan gives the latest starting time (LST), with full worked examples.
Once a project is drawn as an activity network, two passes through it tell us when each activity can start. The earliest starting time (EST) of an activity is the soonest it can begin, once all of its immediate predecessors are finished. The latest starting time (LST) is the latest it can begin without making the whole project finish later.
A forward scan works through the network from the start event to the finish event and finds every EST. Activities leaving the start event have an EST of \(0\). The forward scan also gives the minimum completion time: the earliest time the whole project can be finished.
A backward scan then works from the finish event back to the start and finds every LST. It begins with the minimum completion time, so an activity that ends at the finish event has LST \(=\) minimum completion time \(-\) its duration.
| Activity | Duration (days) | EST | LST |
|---|---|---|---|
| \(A\) | \(5\) | \(0\) | \(0\) |
| \(B\) | \(3\) | \(0\) | \(0\) |
| \(C\) | \(2\) | \(5\) | \(5\) |
| \(D\) | \(4\) | \(3\) | \(3\) |
| \(E\) | \(3\) | \(7\) | \(7\) |
| \(F\) | \(6\) | \(3\) | \(4\) |
| \(G\) | \(2\) | \(10\) | \(10\) |
Forward scan. For an activity with no immediate predecessor, EST \(= 0\). Otherwise:
Backward scan. For an activity that nothing follows:
Otherwise:
Forward scan (EST)
- Give every activity that leaves the start event an EST of \(0\).
- Work towards the finish. For each activity, add EST + duration for each of its immediate predecessors.
- The activity's EST is the largest of these totals.
- At the finish, the largest EST + duration of the finishing activities is the minimum completion time.
Backward scan (LST)
- Start from the minimum completion time. For each activity that ends at the finish event, LST \(=\) minimum completion time \(-\) duration.
- Work back towards the start. For each activity, find the smallest LST of the activities that immediately follow it.
- Subtract the activity's own duration to get its LST.
- Record the results in a table with columns for duration, EST and LST.
Work from left to right. Where two arrows meet, take the larger total.
| \(\text{EST}(A)\) | \(=\) | \(0\) |
| \(\text{EST}(B)\) | \(=\) | \(0 + 4\) |
| \(\) | \(=\) | \(4\) |
| \(\text{EST}(C)\) | \(=\) | \(0 + 4\) |
| \(\) | \(=\) | \(4\) |
| \(\text{EST}(D)\) | \(=\) | \(4 + 3\) |
| \(\) | \(=\) | \(7\) |
| \(\text{EST}(E)\) | \(=\) | \(\text{largest of } \{4 + 6,\ 7 + 2\}\) |
| \(\) | \(=\) | \(\text{largest of } \{10,\ 9\}\) |
| \(\) | \(=\) | \(10\) |
| \(\text{EST}(F)\) | \(=\) | \(4 + 3\) |
| \(\) | \(=\) | \(7\) |
| \(\text{EST}(G)\) | \(=\) | \(\text{largest of } \{10 + 5,\ 7 + 7\}\) |
| \(\) | \(=\) | \(\text{largest of } \{15,\ 14\}\) |
| \(\) | \(=\) | \(15\) |
| \(\text{minimum completion time}\) | \(=\) | \(15 + 2\) |
| \(\) | \(=\) | \(17\) |
The ESTs are \(A\): \(0\), \(B\): \(4\), \(C\): \(4\), \(D\): \(7\), \(E\): \(10\), \(F\): \(7\), \(G\): \(15\). The minimum completion time is 17 days. \(E\) must wait for \(C\), which finishes on day \(10\), even though \(D\) is done by day \(9\).
Start at the finish and work back. Where an activity has two successors, use the smaller LST.
| \(\text{LST}(G)\) | \(=\) | \(17 - 2\) |
| \(\) | \(=\) | \(15\) |
| \(\text{LST}(F)\) | \(=\) | \(15 - 7\) |
| \(\) | \(=\) | \(8\) |
| \(\text{LST}(E)\) | \(=\) | \(15 - 5\) |
| \(\) | \(=\) | \(10\) |
| \(\text{LST}(D)\) | \(=\) | \(10 - 2\) |
| \(\) | \(=\) | \(8\) |
| \(\text{LST}(C)\) | \(=\) | \(10 - 6\) |
| \(\) | \(=\) | \(4\) |
| \(\text{LST}(B)\) | \(=\) | \(\text{smallest of } \{8,\ 8\} - 3\) |
| \(\) | \(=\) | \(8 - 3\) |
| \(\) | \(=\) | \(5\) |
| \(\text{LST}(A)\) | \(=\) | \(\text{smallest of } \{5,\ 4\} - 4\) |
| \(\) | \(=\) | \(4 - 4\) |
| \(\) | \(=\) | \(0\) |
| Activity | Duration (days) | EST | LST |
|---|---|---|---|
| \(A\) | \(4\) | \(0\) | \(0\) |
| \(B\) | \(3\) | \(4\) | \(5\) |
| \(C\) | \(6\) | \(4\) | \(4\) |
| \(D\) | \(2\) | \(7\) | \(8\) |
| \(E\) | \(5\) | \(10\) | \(10\) |
| \(F\) | \(7\) | \(7\) | \(8\) |
| \(G\) | \(2\) | \(15\) | \(15\) |
\(B\) is followed by \(D\) and \(F\), which both have LST \(8\), so \(B\) must start by day \(5\). \(A\) is followed by \(B\) and \(C\); the smaller LST is \(4\), so LST\((A) = 0\).
| Activity | Immediate predecessor(s) | Duration (weeks) |
|---|---|---|
| \(A\) | – | \(3\) |
| \(B\) | – | \(6\) |
| \(C\) | A | \(5\) |
| \(D\) | A | \(2\) |
| \(E\) | B | \(4\) |
| \(F\) | C, E | \(3\) |
| \(G\) | D | \(7\) |
| \(H\) | F | \(2\) |
| \(I\) | G, H | \(1\) |
Forward scan first, then backward from the minimum completion time.
Forward scan:
| \(\text{EST}(A),\ \text{EST}(B)\) | \(=\) | \(0\) |
| \(\text{EST}(C)\) | \(=\) | \(0 + 3\) |
| \(\) | \(=\) | \(3\) |
| \(\text{EST}(D)\) | \(=\) | \(0 + 3\) |
| \(\) | \(=\) | \(3\) |
| \(\text{EST}(E)\) | \(=\) | \(0 + 6\) |
| \(\) | \(=\) | \(6\) |
| \(\text{EST}(F)\) | \(=\) | \(\text{largest of } \{3 + 5,\ 6 + 4\}\) |
| \(\) | \(=\) | \(\text{largest of } \{8,\ 10\}\) |
| \(\) | \(=\) | \(10\) |
| \(\text{EST}(G)\) | \(=\) | \(3 + 2\) |
| \(\) | \(=\) | \(5\) |
| \(\text{EST}(H)\) | \(=\) | \(10 + 3\) |
| \(\) | \(=\) | \(13\) |
| \(\text{EST}(I)\) | \(=\) | \(\text{largest of } \{5 + 7,\ 13 + 2\}\) |
| \(\) | \(=\) | \(\text{largest of } \{12,\ 15\}\) |
| \(\) | \(=\) | \(15\) |
| \(\text{minimum completion time}\) | \(=\) | \(15 + 1\) |
| \(\) | \(=\) | \(16\) |
Backward scan:
| \(\text{LST}(I)\) | \(=\) | \(16 - 1\) |
| \(\) | \(=\) | \(15\) |
| \(\text{LST}(H)\) | \(=\) | \(15 - 2\) |
| \(\) | \(=\) | \(13\) |
| \(\text{LST}(G)\) | \(=\) | \(15 - 7\) |
| \(\) | \(=\) | \(8\) |
| \(\text{LST}(F)\) | \(=\) | \(13 - 3\) |
| \(\) | \(=\) | \(10\) |
| \(\text{LST}(E)\) | \(=\) | \(10 - 4\) |
| \(\) | \(=\) | \(6\) |
| \(\text{LST}(D)\) | \(=\) | \(8 - 2\) |
| \(\) | \(=\) | \(6\) |
| \(\text{LST}(C)\) | \(=\) | \(10 - 5\) |
| \(\) | \(=\) | \(5\) |
| \(\text{LST}(B)\) | \(=\) | \(6 - 6\) |
| \(\) | \(=\) | \(0\) |
| \(\text{LST}(A)\) | \(=\) | \(\text{smallest of } \{5,\ 6\} - 3\) |
| \(\) | \(=\) | \(5 - 3\) |
| \(\) | \(=\) | \(2\) |
| Activity | Duration (weeks) | EST | LST |
|---|---|---|---|
| \(A\) | \(3\) | \(0\) | \(2\) |
| \(B\) | \(6\) | \(0\) | \(0\) |
| \(C\) | \(5\) | \(3\) | \(5\) |
| \(D\) | \(2\) | \(3\) | \(6\) |
| \(E\) | \(4\) | \(6\) | \(6\) |
| \(F\) | \(3\) | \(10\) | \(10\) |
| \(G\) | \(7\) | \(5\) | \(8\) |
| \(H\) | \(2\) | \(13\) | \(13\) |
| \(I\) | \(1\) | \(15\) | \(15\) |
The minimum completion time is 16 weeks. \(F\) waits for \(E\) (finishing at week \(10\)) rather than \(C\) (week \(8\)), and \(D\) can start as late as week \(6\).
| Activity | Description | Immediate predecessor(s) | Duration (h) |
|---|---|---|---|
| \(A\) | Buy the food | – | \(3\) |
| \(B\) | Collect the trailer barbecue | – | \(2\) |
| \(C\) | Prepare the salads | A | \(4\) |
| \(D\) | Set up the marquee | B | \(3\) |
| \(E\) | Clean and test the barbecue | B | \(5\) |
| \(F\) | Lay out the serving tables | C, D | \(2\) |
| \(G\) | Final food safety check | E, F | \(1\) |
(i) Forward scan, then backward scan.
| \(\text{EST}(A),\ \text{EST}(B)\) | \(=\) | \(0\) |
| \(\text{EST}(C)\) | \(=\) | \(0 + 3\) |
| \(\) | \(=\) | \(3\) |
| \(\text{EST}(D)\) | \(=\) | \(0 + 2\) |
| \(\) | \(=\) | \(2\) |
| \(\text{EST}(E)\) | \(=\) | \(0 + 2\) |
| \(\) | \(=\) | \(2\) |
| \(\text{EST}(F)\) | \(=\) | \(\text{largest of } \{3 + 4,\ 2 + 3\}\) |
| \(\) | \(=\) | \(\text{largest of } \{7,\ 5\}\) |
| \(\) | \(=\) | \(7\) |
| \(\text{EST}(G)\) | \(=\) | \(\text{largest of } \{2 + 5,\ 7 + 2\}\) |
| \(\) | \(=\) | \(\text{largest of } \{7,\ 9\}\) |
| \(\) | \(=\) | \(9\) |
| \(\text{minimum completion time}\) | \(=\) | \(9 + 1\) |
| \(\) | \(=\) | \(10\) |
| \(\text{LST}(G)\) | \(=\) | \(10 - 1\) |
| \(\) | \(=\) | \(9\) |
| \(\text{LST}(F)\) | \(=\) | \(9 - 2\) |
| \(\) | \(=\) | \(7\) |
| \(\text{LST}(E)\) | \(=\) | \(9 - 5\) |
| \(\) | \(=\) | \(4\) |
| \(\text{LST}(D)\) | \(=\) | \(7 - 3\) |
| \(\) | \(=\) | \(4\) |
| \(\text{LST}(C)\) | \(=\) | \(7 - 4\) |
| \(\) | \(=\) | \(3\) |
| \(\text{LST}(B)\) | \(=\) | \(\text{smallest of } \{4,\ 4\} - 2\) |
| \(\) | \(=\) | \(4 - 2\) |
| \(\) | \(=\) | \(2\) |
| \(\text{LST}(A)\) | \(=\) | \(3 - 3\) |
| \(\) | \(=\) | \(0\) |
| Activity | Duration (h) | EST | LST |
|---|---|---|---|
| \(A\) | \(3\) | \(0\) | \(0\) |
| \(B\) | \(2\) | \(0\) | \(2\) |
| \(C\) | \(4\) | \(3\) | \(3\) |
| \(D\) | \(3\) | \(2\) | \(4\) |
| \(E\) | \(5\) | \(2\) | \(4\) |
| \(F\) | \(2\) | \(7\) | \(7\) |
| \(G\) | \(1\) | \(9\) | \(9\) |
(ii) The minimum completion time is \(10\) hours after 06:00:
| \(\text{ready time}\) | \(=\) | \(06{:}00 + 10\ \text{h}\) |
| \(\) | \(=\) | \(16{:}00\) |
(iii) LST\((E) = 4\) hours after the start:
| \(\text{latest start of } E\) | \(=\) | \(06{:}00 + 4\ \text{h}\) |
| \(\) | \(=\) | \(10{:}00\) |
(ii) The stall can be ready by 16:00. (iii) Cleaning can start as late as 10:00, two hours after its earliest start, without delaying the stall.
Common pitfalls
Frequently asked questions
What is the earliest starting time (EST) of an activity?
It is the soonest the activity can start, once all of its immediate predecessors have finished. Activities with no predecessors have an EST of 0.
What is the latest starting time (LST) of an activity?
It is the latest the activity can start without making the whole project take longer than its minimum completion time.
Why do we take the largest value in a forward scan?
An activity cannot start until every one of its immediate predecessors is finished, so it has to wait for the one that finishes last, which is the largest value of EST plus duration.
Why do we take the smallest value in a backward scan?
An activity must be finished before any of the activities that follow it needs to start. The one that must start first, with the smallest LST, sets the deadline.
Where does the backward scan start?
At the finish, using the minimum completion time from the forward scan. An activity that ends at the finish has LST equal to the minimum completion time minus its duration.
Can the EST and LST of an activity be equal?
Yes. When they are equal the activity cannot be delayed at all. These activities form the critical path, which is studied next.