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

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? 

This question was previously asked in
SSC CGL 2023 (Tier-II) Paper 1 Previous Year Paper (26-Oct-2023) (Shift-1)
The correct answer is \(20\frac{3}{4}\)

The problem describes a scenario involving an inlet pipe filling a tank and an outlet pipe draining it, with both pipes working alternately for one hour each, starting with the inlet pipe. We need to find the total time taken to fill the tank.

Calculating Pipe Rates

First, let's determine the filling rate of the inlet pipe and the draining rate of the outlet pipe.

  • The inlet pipe fills the tank in \(4\frac{1}{2}\) hours.
    • Convert the mixed number to an improper fraction: \(4\frac{1}{2} = \frac{(4 \times 2) + 1}{2} = \frac{8+1}{2} = \frac{9}{2}\) hours.
    • The rate of the inlet pipe is the reciprocal of the time taken: Rate\(_\text{inlet}\) = \(1 \div \frac{9}{2} = \frac{2}{9}\) tank per hour.
  • The outlet pipe drains the tank in \(7\frac{1}{5}\) hours.
    • Convert the mixed number to an improper fraction: \(7\frac{1}{5} = \frac{(7 \times 5) + 1}{5} = \frac{35+1}{5} = \frac{36}{5}\) hours.
    • The rate of the outlet pipe is the reciprocal of the time taken: Rate\(_\text{outlet}\) = \(1 \div \frac{36}{5} = \frac{5}{36}\) tank per hour. Since this is a draining pipe, its effect is negative.

Work Done in One Cycle

The pipes work alternately for one hour each, starting with the inlet pipe. One cycle consists of 1 hour of the inlet pipe working followed by 1 hour of the outlet pipe working. A full cycle takes 2 hours.

In the first hour (inlet pipe): Amount filled = \(1 \times \text{Rate}_\text{inlet} = 1 \times \frac{2}{9} = \frac{2}{9}\) tank.

In the second hour (outlet pipe): Amount drained = \(1 \times \text{Rate}_\text{outlet} = 1 \times \frac{5}{36} = \frac{5}{36}\) tank.

Net amount filled in one 2-hour cycle = Amount filled - Amount drained \( = \frac{2}{9} - \frac{5}{36} \).

To subtract these fractions, we find a common denominator, which is 36.

\(\frac{2}{9} = \frac{2 \times 4}{9 \times 4} = \frac{8}{36}\)

Net amount filled in one cycle = \(\frac{8}{36} - \frac{5}{36} = \frac{8-5}{36} = \frac{3}{36} = \frac{1}{12}\) tank.

So, in every 2-hour cycle, \(\frac{1}{12}\) of the tank is filled.

Calculating Time to Fill the Tank

The pipes work alternately until the tank is completely filled. Since the inlet pipe is the one filling the tank, it will be the pipe that finishes the job in its turn. The outlet pipe will not drain a full tank.

We need to find the number of full 2-hour cycles that occur before the tank is almost full, such that the remaining amount can be filled by the inlet pipe in its turn.

Let's find how many cycles fill the tank to a point where the remaining capacity is less than or equal to the amount the inlet pipe can fill in one hour (\(\frac{2}{9}\)).

Let N be the number of full cycles. After N cycles (2N hours), the amount filled is \(N \times \frac{1}{12} = \frac{N}{12}\).

Consider the amount filled after a certain number of cycles:

  • After 9 cycles (18 hours): Amount filled = \(9 \times \frac{1}{12} = \frac{9}{12} = \frac{3}{4}\). Remaining capacity = \(1 - \frac{3}{4} = \frac{1}{4}\). In the 19th hour, the inlet pipe works. The inlet pipe fills \(\frac{2}{9}\) in one hour. Since \(\frac{1}{4} > \frac{2}{9}\) (because \(\frac{9}{36} > \frac{8}{36}\)), the inlet pipe cannot fill the remaining \(\frac{1}{4}\) in one hour. So, more than 9 cycles are needed before the final filling stage.
  • After 10 cycles (20 hours): Amount filled = \(10 \times \frac{1}{12} = \frac{10}{12} = \frac{5}{6}\). Remaining capacity = \(1 - \frac{5}{6} = \frac{1}{6}\). In the 21st hour, the inlet pipe works. The inlet pipe fills \(\frac{2}{9}\) in one hour. Since \(\frac{1}{6} < \frac{2}{9}\) (because \(\frac{3}{18} < \frac{4}{18}\)), the inlet pipe can fill the remaining \(\frac{1}{6}\) in less than one hour. This means that after 10 full cycles, the next turn of the inlet pipe will finish filling the tank.

So, 10 full cycles occur, taking \(10 \times 2 = 20\) hours. After these 20 hours, the tank is \(\frac{5}{6}\) full.

The remaining amount to be filled is \(1 - \frac{5}{6} = \frac{1}{6}\) of the tank.

This remaining \(\frac{1}{6}\) of the tank is filled by the inlet pipe in the next turn (which is the 21st hour).

Time taken by the inlet pipe to fill the remaining \(\frac{1}{6}\) tank = \(\frac{\text{Remaining capacity}}{\text{Rate}_\text{inlet}} = \frac{1/6}{2/9}\) hours.

Time taken = \(\frac{1}{6} \div \frac{2}{9} = \frac{1}{6} \times \frac{9}{2} = \frac{9}{12} = \frac{3}{4}\) hours.

The total time taken to fill the tank is the time for 10 full cycles plus the time taken by the inlet pipe to fill the remaining amount.

Total time = 20 hours + \(\frac{3}{4}\) hours = \(20\frac{3}{4}\) hours.

Therefore, the tank will be completely filled in \(20\frac{3}{4}\) hours.

Pipe Time to Fill/Drain Rate per Hour
Inlet \(4\frac{1}{2}\) hrs = \(\frac{9}{2}\) hrs \(\frac{2}{9}\) tank/hr
Outlet \(7\frac{1}{5}\) hrs = \(\frac{36}{5}\) hrs \(\frac{5}{36}\) tank/hr

Interval Pipe Active Duration Change in Tank Level Total Tank Filled
Hour 1 Inlet 1 hour \(+\frac{2}{9}\) \(\frac{2}{9}\)
Hour 2 Outlet 1 hour \(-\frac{5}{36}\) \(\frac{2}{9} - \frac{5}{36} = \frac{8}{36} - \frac{5}{36} = \frac{3}{36} = \frac{1}{12}\)
Cycle 1 (Hrs 1-2) Inlet & Outlet 2 hours \(+\frac{1}{12}\) \(\frac{1}{12}\)
Cycle 2 (Hrs 3-4) Inlet & Outlet 2 hours \(+\frac{1}{12}\) \(\frac{2}{12}\)
... ... ... ... ...
Cycle 10 (Hrs 19-20) Inlet & Outlet 2 hours \(+\frac{1}{12}\) \(10 \times \frac{1}{12} = \frac{10}{12} = \frac{5}{6}\)
Hour 21 Inlet \(\frac{3}{4}\) hour \(+\frac{2}{9} \times \frac{3}{4} = +\frac{6}{36} = +\frac{1}{6}\) \(\frac{5}{6} + \frac{1}{6} = 1\)
Total \(20\frac{3}{4}\) hours 1 (Full Tank)

Revision Table: Pipe and Tank Concepts

Understanding the basic concepts is key to solving pipe and tank problems.

  • Rate of work: If a pipe fills or drains a tank in 'T' hours, its rate is \(1/T\) of the tank per hour.
  • Inlet pipe: Has a positive work rate (fills the tank).
  • Outlet pipe: Has a negative work rate (drains the tank).
  • Combined rate: When multiple pipes work together, their rates are added (inlet rates are positive, outlet rates are negative).
  • Alternating work: When pipes work alternately, calculate the net work done in one cycle (one turn of each pipe) and the duration of one cycle.
  • Finishing pipe: In alternating problems involving filling and draining, the filling pipe usually finishes the job. Calculate cycles up to a point where the remaining work can be completed by the filling pipe in its turn.

Additional Information: Time and Work Analogy

Pipe and tank problems are similar to time and work problems. Filling a tank is like completing a job, and the pipes are like workers. An inlet pipe is like a worker doing positive work, and an outlet pipe is like a worker doing negative work (undoing the work).

  • Rate = Work / Time.
  • Work = Rate \(\times\) Time.
  • Time = Work / Rate.

In this problem, the 'work' is filling 1 full tank. The 'rates' are the fractions of the tank filled or drained per hour.

When pipes work alternately, we look at the progress made over a full cycle (inlet + outlet) to find the combined effect, as the net change repeats with each cycle.

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

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

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

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

  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
3733 Attempts
4.2(832)
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