• Practice
  • About 14 min
  • 5 practice questions

Pipes closed part-way through the filling

Solve problems in stages when pipes start together and one is closed after some time, or when a pipe is closed a set time before the tank is full.

If something looks wrong, please tell us.

A very common exam pattern opens all the pipes together and closes one of them partway. The tank then fills in two stages at two different rates. The LCM method shines here, because the same units carry from one stage to the next.

The stage method

  1. Fix the capacity as the LCM of all the times, and find each pipe's units per hour.
  2. Stage 1: units filled = (sum of rates of the open pipes) × (time of stage 1).
  3. Remaining units = capacity − units already filled.
  4. Stage 2: time = remaining units ÷ rate of the pipes still open.
  5. Add the stage times if the question asks for the total time.

Worked example 1: closed after some hours

Pipes A and B fill a tank in 12 hours and 18 hours. Both are opened together, and B is closed after 4 hours. How long does the tank take to fill in all? Capacity = LCM(12, 18) = 36 units; A = 3, B = 2 units per hour. In the first 4 hours: 5 × 4 = 20 units. Remaining: 36 − 20 = 16 units, filled by A alone at 3 units per hour: 16 ÷ 3 = 5 1/3 hours = 5 hours 20 minutes. Total = 4 hours + 5 hours 20 minutes = 9 hours 20 minutes.

Worked example 2: when must a pipe be closed?

Pipes A and B fill a tank in 10 hours and 15 hours. Both are opened together. After how many hours should B be closed so that the tank is full in exactly 8 hours? Capacity = 30 units; A = 3, B = 2. A runs for all 8 hours and fills 3 × 8 = 24 units. B must supply the remaining 30 − 24 = 6 units, which takes 6 ÷ 2 = 3 hours. So B is closed after 3 hours.

Worked example 3: an outlet closed midway

An inlet fills a tank in 6 hours and an outlet empties it in 9 hours. Both are opened on an empty tank, and after 6 hours the outlet is closed. When is the tank full? Capacity = 18 units; inlet +3, outlet −2, net +1. In 6 hours the tank gains 6 units. Remaining 12 units at 3 units per hour take 4 hours. Total time = 6 + 4 = 10 hours.

Trap: 'after' versus 'before'

'B is closed after 4 hours' fixes the start of the second stage. 'B is closed 4 hours before the tank is full' fixes the end: B works for (total time − 4) hours. Then set up one equation. Worked example 4: pipes A and B fill a tank in 12 hours and 18 hours; both start together and B is closed 4 hours before the tank is full. Let the total time be T. A gives 3T units, B gives 2(T − 4) units, and together they fill 36 units: 3T + 2T − 8 = 36, so 5T = 44 and T = 8.8 hours = 8 hours 48 minutes. Check: A gives 26.4 units, B works 4.8 hours and gives 9.6 units; 26.4 + 9.6 = 36.

Stage by stage: units filled in each stage add up to the capacity. 'Closed after t hours' fixes when the second stage starts; 'closed t hours before full' means that pipe works for (T − t) hours.

Key takeaways

  • One capacity, many stages: compute units filled stage by stage.
  • To find when to close a pipe, first count what the pipe that runs throughout contributes.
  • For 'before the tank is full', use the unknown total time T in one equation.
  • Read whether the question wants the total time or only the time after the change.

Check your understanding

  1. 1. Pipes A and B fill a tank in 10 hours and 20 hours. Both are opened on an empty tank and B is closed after 4 hours. How long after the start is the tank full?

    1. 8 hours
    2. 4 hours
    3. 6 hours
    4. 10 hours
    Show answer

    Answer: A. Capacity = 20 units; A = 2, B = 1. First 4 hours: 3 × 4 = 12 units. Remaining 8 units by A at 2 per hour: 4 hours. Total = 4 + 4 = 8 hours.

  2. 2. Pipes A and B fill a tank in 15 hours and 10 hours. Both are opened together and A is closed after 3 hours. How many more hours does B take to fill the tank?

    1. 8 hours
    2. 7.5 hours
    3. 6 hours
    4. 5 hours
    Show answer

    Answer: D. Capacity = 30 units; A = 2, B = 3. First 3 hours: 5 × 3 = 15 units. Remaining 15 units by B at 3 per hour: 5 more hours (8 hours in all).

  3. 3. Pipes A and B fill a tank in 16 hours and 24 hours. Both are opened together. After how many hours should B be closed so that the tank is full in exactly 10 hours?

    1. 6 hours
    2. 9 hours
    3. 8 hours
    4. 5 hours
    Show answer

    Answer: B. Capacity = 48 units; A = 3, B = 2. A runs all 10 hours: 30 units. B must give 48 − 30 = 18 units at 2 per hour: 9 hours. So close B after 9 hours.

  4. 4. An inlet fills a tank in 8 hours and an outlet empties it in 12 hours. Both are opened on an empty tank, and the outlet is closed after 12 hours. When is the tank full?

    1. 24 hours after the start
    2. 20 hours after the start
    3. 16 hours after the start
    4. 12 hours after the start
    Show answer

    Answer: C. Capacity = 24 units; inlet +3, outlet −2, net +1. In 12 hours: 12 units. Remaining 12 units by the inlet at 3 per hour: 4 hours. Total = 12 + 4 = 16 hours.

  5. 5. Pipes A and B fill a tank in 20 hours and 30 hours. Both start together, and B is closed 5 hours before the tank is full. How long does the tank take to fill?

    1. 12 hours
    2. 16 hours
    3. 17 hours
    4. 14 hours
    Show answer

    Answer: D. Capacity = 60 units; A = 3, B = 2. Let the total be T. 3T + 2(T − 5) = 60, so 5T = 70 and T = 14 hours. Check: A gives 42 units and B gives 2 × 9 = 18 units; 42 + 18 = 60.

Sign in to keep track of the lessons you finish.

Next lesson → Pipes opened at different times

Privacy · Terms · Refunds · Delivery