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. 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, __________ .

  2. 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.

  3. 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?

  4. Pipes A and B can fill a tank in 43.2 minutes and 108 minutes, respectively. Pipe C can empty it at 3 litres/minute. When all the three pipes are opened together, they fill the tank in 54 minutes. The capacity (in litres) of the tank is:

  5. Pipes A and B can fill a tank in 10 hours and 40 hours respectively. C is an outlet pipe attached to the tank. If all the three pipes are opened simultaneously, it takes 80 minutes more time than A and B together takes to fill the tank. If A and B kept open for 7 hours and closed and then C opened. How much time will C take to empty the tank :

  6. Two pipes A and B can fill a cistern in \(12\frac{1}{2}\)  hours and 25 hours, respectively. The pipes were opened simultaneously, and it was found that, due to leakage in the bottom, it took one hour 40 minutes more to fill the cistern. If the cistern is full, in how much time (in hours) will the leak alone empty 70% of the cistern?

  7. 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?

  8. Pipes A and B can fill a tank in 16 hours and 24 hours, respectively, and pipe C alone can empty the full tank in x hours. All the pipes were opened together at 10:30 AM, but C was closed at 2:30 PM. If the tank was full at 8:30 PM on the same day, then what is the value of x?

  9. Pipes A and B are filling pipes while pipe C is an emptying pipe. A and B can fill a tank in 72 and 90 minutes respectively. When all the three pipes are opened together, the tank gets filled in 2 hours. A and B are opened together for 12 minutes, then closed and C is opened. The tank will be empty after:

  10. A tank is filled in 4 hours by three pipes A, B and C. The pipe C is \(1\frac{1}{2}\)  times as fast as B and B is 3 times as fast as A. How many hours will pipe A alone take to fill the tank?


Important Questions from Pipe and Cistern

  1. Two pipes A and B can independently fill a tank completely in 20 and 30 minutes respectively. If both the pipes are opened simultaneously, how much time will they take to fill the tank completely?

  2. The compound interest on Rs. 64,000 for 3 years, compounded annually at 7.5% p.a. is

  3. A water tank can be emptied in 40 minutes by a pipe of d 'diameter, so how long will it take for a 2d diameter pipe to be emptied?

  4. A pipe can fill a tank in 4 hours, while a leak which is at one-fourth of the height of the tank from bottom can empty upto that part in 2 hours. If both are operated simultaneously and initially the tank is full, then when it will be one-fourth full?

  5. Two pipes X and Y can fill an empty tank in 16 hours and 20 hours respectively. Pipe Z alone can empty the completely filled tank in 25 hours. Firstly both pipes X and Y are opened and after 6 hours pipe Z is also opened. What will be the total time (in hours) taken to completely fill the tank?

Need Expert Advice?
Upcoming Exams
SSC CGL
September 30, 2026
UPSSSC PET
October 23, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2503 Tests 6 Tests Free
5390 Attempts
4.2(868)
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