Skip to content
Tutorials Center
My learning

Topics

Lesson 28 of 86 ยท Time, Speed, Distance and Work

Time and Work

Learn work rate, combining workers, the efficiency (units per day) method, wages, workers leaving or joining and alternate-day work, with a solver.

If a painter can paint a room in 10 days, how much of the room is painted each day? One tenth. That single idea, work done per day, is the whole of the topic. Work problems ask how long a group takes, who finishes first, how a payment should be split, or what happens when someone leaves halfway. They look varied, but all of them reduce to adding up rates.

You will learn two equivalent methods: the fraction method (a worker who takes n days does 1/n of the job per day) and the efficiency method (pick a total number of work units and give each worker a whole-number speed). The second method is the one test-takers prefer, because it replaces fractions with small integers. Both are checked below with code.

The core idea: rate

If a worker finishes a job alone in n days, the worker's rate is 1/n of the job per day. Rates of people working together simply add:

Together rate = 1/a + 1/b + 1/c + ..., and time together = 1 / (together rate).

For two workers, a shortcut avoids adding fractions: time together = ab / (a + b).

Example 1. A can do a job in 12 days and B in 18 days. Together: 1/12 + 1/18 = 3/36 + 2/36 = 5/36 per day, so the time is 36/5 = 7.2 days. The shortcut agrees: (12 x 18) / 30 = 7.2.

The efficiency method

Instead of working with fractions of a job, choose a total work equal to the LCM of the days. Then each worker's speed is total / days, which is an integer.

For Example 1 the LCM of 12 and 18 is 36. So the job is 36 units. A does 36 / 12 = 3 units per day and B does 36 / 18 = 2 units per day. Together they do 5 units per day, and the job takes 36 / 5 = 7.2 days.

flowchart LR
    A["Days alone: A = 12, B = 18"] --> B["Total work = LCM = 36 units"]
    B --> C["A = 3 units/day<br/>B = 2 units/day"]
    C --> D["Together = 5 units/day"]
    D --> E["Time = 36 / 5 = 7.2 days"]

The LCM turns every worker's rate into a whole number of units per day.

Choosing the LCM works because it is the smallest number that all the days divide. If you ever pick a different total (say 72), the answer is the same, since the total cancels in the end.

A solver for any group

The script below applies the efficiency method to any list of days. It also splits a wage by work done and computes a man-days example. Change the arrays to test your own problem.

JS Combine workers with the efficiency method

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Wages: pay in proportion to work

Workers who join a job together are normally paid in proportion to the work each one did, not in proportion to their days alone.

Example 2. A, B and C can finish a job alone in 10, 15 and 30 days. They work together and are paid 3,000 in total. Take the total work as 30 units. Their speeds are 3, 2 and 1 units per day. If everyone works for the same number of days, the work shares are in the ratio 3 : 2 : 1, so the payments are 1,500, 1,000 and 500. Together they need 30 / 6 = 5 days. Note that the payment ratio is the ratio of efficiencies, which is the inverse of the ratio of days alone (1/10 : 1/15 : 1/30 = 3 : 2 : 1).

If one of them works fewer days, multiply each speed by that person's days worked before taking the ratio.

Leaving and joining

When people join or leave, write the total work as a number of units, subtract what has been done step by step, and divide what remains by the new combined speed.

Example 3 (a worker leaves before the end). A can finish a job in 10 days and B in 15 days. They start together, but B leaves 5 days before the job is completed. How long does the whole job take?

Total work 30 units; A does 3 per day and B does 2 per day. Suppose the job lasts x days. A works x days and B works x - 5 days: 3x + 2(x - 5) = 30, so 5x = 40 and x = 8 days. Check: A does 24 units, B does 2 x 3 = 6 units, total 30.

Example 4 (a worker joins later). A alone needs 12 days and B alone needs 18 days. A starts, and B joins after 4 days. A has done 3 x 4 = 12 units, leaving 24. Together they do 5 per day, which takes 4.8 days. The total time is 4 + 4.8 = 8.8 days.

Man-days and efficiency comparisons

When all the workers are identical, the work equals men x days (x hours per day). This quantity is called a man-day (or man-hour). If 12 men build a wall in 20 days, the work is 240 man-days. With 15 men, the time is 240 / 15 = 16 days. More men means fewer days: the two quantities are inversely proportional (Proportion and Variation covers that idea).

For efficiency comparisons, a statement such as "A is twice as efficient as B" means A's rate is double B's, so A takes half as many days. If together they finish in 12 days, give A 2 units and B 1 unit per day. The total is 3 x 12 = 36 units, so A alone needs 36 / 2 = 18 days and B alone needs 36 days.

Alternate days

Sometimes workers take turns. Treat each pair of days as one cycle.

Example 5. A (12 days alone) and B (18 days alone) work on alternate days, A first. With 36 units, A does 3 and B does 2, so each two-day cycle completes 5 units. After 7 cycles (14 days) the work done is 35 units. On day 15 it is A's turn and only 1 unit remains. A does 3 units per day, so the last unit takes 1/3 of a day. Total time: 14 and 1/3 days.

This script simulates the schedule and the joining example, so you can verify the cycle method.

JS Alternate days and late joiners

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Common mistakes

  • Adding days instead of adding rates. Two workers taking 12 and 18 days do not take 30 days together.
  • Splitting wages by days alone. Use the work each person completed.
  • Forgetting that someone who leaves "5 days before the end" has worked 5 days fewer than the whole job.
  • Ignoring that an alternate-day job may finish partway through a day.

Check your understanding

Quick check ยท 5 questions

of 5 answered You scored / 5 ยท perfect!

  1. 1. A can do a job in 15 days and B in 10 days. How long will they take together?

    Take 30 units: A does 2 per day and B does 3 per day, so together 5 per day. The time is 30 / 5 = 6 days.
  2. 2. 12 men can complete a road in 20 days. How many days will 8 men need?

    The work is 12 x 20 = 240 man-days. With 8 men the time is 240 / 8 = 30 days.
  3. 3. A is three times as efficient as B, and together they finish a job in 12 days. How long does A take alone?

    Rates are 3 and 1, total 4 units per day, so the job is 48 units. A alone needs 48 / 3 = 16 days (and B needs 48 days).
  4. 4. A and B can do a job in 12 and 24 days. They are paid 1,800 in total for working together until it is done. What is A's share?

    Speeds are 2 and 1 units per day, so the work is shared 2 : 1 and A gets 2/3 of 1,800 = 1,200.
  5. 5. A finishes a job in 20 days and B in 30 days. They start together, and A leaves after 6 days. How many days does B need to finish the rest?

    With 60 units, A does 3 and B does 2 per day. In 6 days they do 30 units. The remaining 30 units take B 30 / 2 = 15 days.

Summary

  • A worker who needs n days does 1/n of the job per day; rates add.
  • Efficiency method: take the LCM of the days as the total, find each worker's units per day, then divide.
  • Wages follow the work done, which is efficiency times days worked.
  • For leaving and joining, track units completed and divide what remains by the new combined speed.
  • Work = men x days x hours when workers are identical; alternate-day jobs are solved by cycles.

Next: Pipes and Cisterns, where the workers become taps that fill and drain a tank.