All Exams Test series for 1 year @ ₹349 only
Question

There are two inlet pipes A and B connected to a tank. A and B can fill the tank in 32 h and 28 h, respectively. If both the pipes are opened alternately for 1 h, starting with A, then in how much time (in hours, to nearest integer) will the tank be filled?

This question was previously asked in
SSC CGL 2022 Tier-II (Paper 2 JSO) Previous Year Paper (04-Mar-2023)
The correct answer is

30

Solving the Pipe Filling Tank Alternately Problem

This problem involves two pipes, A and B, filling a tank at different rates and working alternately for one hour each. We need to find the total time taken to fill the tank.

Understanding Work Rate

The work rate of a pipe is the fraction of the tank it can fill in one hour. If a pipe can fill a tank in $T$ hours, its work rate is $1/T$ tank per hour.

  • Pipe A fills the tank in 32 hours.
  • Pipe B fills the tank in 28 hours.

So, their individual work rates are:

  • Rate of A = $\frac{1}{32}$ tank/hour
  • Rate of B = $\frac{1}{28}$ tank/hour

Work Done in One Cycle

The pipes work alternately for 1 hour each, starting with A. A complete cycle consists of Pipe A working for 1 hour and then Pipe B working for 1 hour. The duration of one cycle is $1 + 1 = 2$ hours.

In the first hour (starting with A), Pipe A fills $\frac{1}{32}$ of the tank.

In the second hour (Pipe B's turn), Pipe B fills $\frac{1}{28}$ of the tank.

Total work done in one cycle (2 hours) = Work done by A in 1 hour + Work done by B in 1 hour

Work done in one cycle = $\frac{1}{32} + \frac{1}{28}$

To add these fractions, we find a common denominator, which is the Least Common Multiple (LCM) of 32 and 28. LCM(32, 28) = 224.

$\frac{1}{32} = \frac{1 \times 7}{32 \times 7} = \frac{7}{224}$

$\frac{1}{28} = \frac{1 \times 8}{28 \times 8} = \frac{8}{224}$

Work done in one cycle = $\frac{7}{224} + \frac{8}{224} = \frac{7+8}{224} = \frac{15}{224}$

So, in every 2-hour cycle, $\frac{15}{224}$ of the tank is filled.

Calculating Full Cycles

We need to find how many full cycles are required to fill most of the tank without exceeding the total capacity (which is 1 whole tank). Let $N$ be the number of full cycles.

$N \times \frac{15}{224} < 1$

$N < \frac{224}{15}$

$\frac{224}{15} \approx 14.93$

We can complete 14 full cycles.

Time taken for 14 cycles = $14 \text{ cycles} \times 2 \text{ hours/cycle} = 28$ hours.

Amount of tank filled after 14 cycles = $14 \times \frac{15}{224} = \frac{210}{224}$

Handling the Remaining Work

After 28 hours, the fraction of the tank filled is $\frac{210}{224}$.

Remaining fraction to be filled = $1 - \frac{210}{224} = \frac{224 - 210}{224} = \frac{14}{224}$.

After 14 full cycles, it is Pipe A's turn to work (since A started). Pipe A works for the next hour (the 29th hour).

In 1 hour, Pipe A fills $\frac{1}{32}$ of the tank. We can express this with the common denominator: $\frac{1}{32} = \frac{7}{224}$.

Amount of tank filled by A in the 29th hour = $\frac{7}{224}$.

Total tank filled after 29 hours = Amount filled after 14 cycles + Amount filled by A in the 29th hour

$\text{Total filled} = \frac{210}{224} + \frac{7}{224} = \frac{217}{224}$

Remaining fraction to be filled after 29 hours = $1 - \frac{217}{224} = \frac{224 - 217}{224} = \frac{7}{224}$.

Now, it is Pipe B's turn to work (the 30th hour onwards if needed).

Pipe B fills $\frac{1}{28}$ of the tank in 1 hour. B's rate is $\frac{1}{28} = \frac{8}{224}$ tank per hour.

We need to fill $\frac{7}{224}$ of the tank. Since B's rate ($\frac{8}{224}$) is greater than the remaining amount ($\frac{7}{224}$), B will take less than 1 hour to finish the job.

Time taken by Pipe B to fill the remaining $\frac{7}{224}$ of the tank = $\frac{\text{Remaining work}}{\text{Rate of B}}$

$\text{Time by B} = \frac{\frac{7}{224}}{\frac{8}{224}} = \frac{7}{8}$ hours.

Total Time to Fill the Tank

Total time = Time for 14 full cycles + Time taken by A in the 29th hour + Time taken by B for the remaining work

$\text{Total time} = 28 \text{ hours} + 1 \text{ hour} + \frac{7}{8} \text{ hours}$

$\text{Total time} = 29 + \frac{7}{8} \text{ hours}$

$\frac{7}{8} = 0.875$

Total time = $29 + 0.875 = 29.875$ hours.

Rounding to the Nearest Integer

The question asks for the time in hours, rounded to the nearest integer. $29.875$ rounded to the nearest integer is 30.

Therefore, the tank will be filled in approximately 30 hours.

Activity Duration Work Done Total Work Done
Cycle 1 (A then B) 2 h $\frac{15}{224}$ $\frac{15}{224}$
... ... ... ...
Cycle 14 (A then B) 2 h $\frac{15}{224}$ $14 \times \frac{15}{224} = \frac{210}{224}$
Pipe A (after 14 cycles) 1 h $\frac{1}{32} = \frac{7}{224}$ $\frac{210}{224} + \frac{7}{224} = \frac{217}{224}$
Pipe B (for remaining work) $\frac{7}{8}$ h $\frac{7}{224}$ $\frac{217}{224} + \frac{7}{224} = \frac{224}{224} = 1$
Total Time $28 + 1 + \frac{7}{8} = 29\frac{7}{8} = 29.875$ h

Revision Table: Key Concepts for Pipe and Cistern Problems

Concept Explanation Formula/Relation
Work Rate The amount of work done (or tank filled/emptied) per unit of time. Rate = $\frac{1}{\text{Time Taken}}$
Time Taken The total time required to complete the work. Time = $\frac{1}{\text{Rate}}$ or Time = $\frac{\text{Total Work}}{\text{Combined Rate}}$
Work Done Fraction of total work completed in a given time. Work Done = Rate $\times$ Time
Pipes Working Together If pipes A and B work together, their rates add up. Combined Rate = Rate of A + Rate of B
Pipes Working Alternately The work is done in turns. Calculate work done in one cycle (one turn of each pipe) and the time taken for one cycle. Work per Cycle = Rate of A $\times$ Time A works + Rate of B $\times$ Time B works

Additional Information: Alternate Work Problems

Problems involving pipes or people working alternately are common in time and work. The key steps are:

  • Calculate the individual work rates.
  • Identify the pattern or cycle of work.
  • Calculate the total work done in one complete cycle and the time taken for one cycle.
  • Determine how many full cycles are needed to complete most of the work without exceeding the total amount.
  • Calculate the work done and time taken for these full cycles.
  • Calculate the remaining work.
  • Determine which worker/pipe starts after the full cycles and calculate the time they take to complete the remaining work (or part of it if it takes more than their turn time).
  • Continue this process hour by hour if necessary until the tank is filled or work is complete.
  • Sum up the time taken for full cycles and the subsequent hours/fractions of hours.

This method systematically breaks down the problem into manageable steps, especially useful when the total time is not an exact number of cycles.

Was this answer helpful?

Similar Questions

  1. An inlet pipe can fill an empty tank in 140 hours while an outlet pipe drains a completely-filled tank in 63 hours. If 8 inlet pipes and y outlet pipes are opened simultaneously, when the tank is empty, then the tank gets completely filled in 105 hours. Find the value of y.

  2. Two pipes A and B can fill an empty tank in 10 hours and 16 hours respectively. They are opened alternately for 1 hour each, opening pipe B first, in how many hours, will the empty tank be filled?

  3. Pipes A and B can fill a tank in 12 hours and 16 hours respectively and pipe C can empty the full tank in 24 hours. All three pipes are opened together, but after 4 hours pipe B is closed. In how many hours, the empty tank will be completely filled?

  4. Pipes A, B and C can fill a tank in 20, 30 and 60 hours, respectively. Pipes A, B and C are opened at 7 a.m., 8 a.m., and 9 a.m., respectively, on the same day. When will the tank be full?

  5. An inlet pipe can fill an empty tank in \(4\frac{1}{2}\) hours while an outlet pipe drains a completely filled tank in \(7\frac{1}{5}\) hours. The tank is initially empty. and the two pipes are alternately opened for an hour each, till the tank is completely filled, starting with the inlet pipe. In how many hours will the tank be completely filled? 

  6. Two pipes S1 and S2 alone can fill an empty tank in 15 hours and 20 hours respectively. Pipe S3 alone can empty that completely filled tank in 40 hours. Firstly both pipes S1 and S2 are opened and after 2 hour pipe S3 is also opened. In how much time tank will be completely filled after S3 is opened?  

  7. A pipe can fill a tank in 30 hours. Due to a leakage at the bottom, it is filled in 50 hours. How much time will the leakage take to empty the completely filled tank?

  8. Pipe A and pipe B running together can fill a cistern in 6 minutes. If B takes 5 minutes more than A to fill it, then the time in which A and B will fill that cistern separately will be, respectively, __________ .

  9. There are 3 taps A, B, and C in a tank. These can fill the tank in 10 hours, 20 hours and 25 hours, respectively. At first, all three taps are opened simultaneously. After 2 hours, tap C is closed and A and B keep running. After 4 hours from the beginning, tap B is also closed. The remaining tank is filled by tap A alone. Find the percentage of work done by tap A itself.

  10. There are two water taps in a tank which can fill the empty tank in 12 hours and 18 hours respectively. It is seen that there is a leakage point at the bottom of the tank which can empty the completely filled tank in 36 hours. If both the water taps are opened at the same time to fill the empty tank and leakage point was repaired after 1 hour, then in how much time the empty tank will be completely filled?


Important Questions from Pipe and Cistern

  1. A pipe can fill a cistern in 20 minutes where as the cistern when full can be emptied by a leak in 28 minutes. When both are opened, The time taken to fill the cistern is:

  2. ‘A’ pipe can empty a tank in 20 minutes. The second pipe ‘B’ has a diameter twice as that of ‘A’. If both A & B pipe are attached to the tank how much time will be required to empty the tank?

  3. Pipes A and B can empty a full tank in 16 hours and 24 hours, respectively. Pipe C alone can fill the empty tank in 4 hours. If A, B and C are opened together, the tank will be 35% full after :

  4. Pipes A and B can fill a tank in 36 minutes and 45 minutes, respectively. Both these pipes were opened simultaneously. After 20 minutes, a leak at the bottom of the tank was spotted which was immediately sealed. The tank was full in another 15 minutes. The leak alone can empty the full tank in:

  5. A cistern has a leak which would empty it in 6 hours. A tap is turned on which admits 10 litres of water per minute into the cistern. When it is full it is now emptied in 10 hours. What is the capacity (in litres) of the cistern?

Need Expert Advice?
Upcoming Exams
SSC JHT
September 08, 2026
SSC Stenographer
September 09, 2026
SSC Selection Post
September 16, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2500 Tests 6 Tests Free
3769 Attempts
4.2(833)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App