Pipes and Cisterns
Link with Time and Work
Pipes and cisterns are time-and-work problems where:
- An inlet pipe fills the tank, so its work is positive.
- An outlet pipe / leak empties the tank, so its work is negative.
Model and starting condition
First record how much water is in the tank initially. Unless stated otherwise, the filling examples below start with an empty tank; a pipe’s stated solo emptying time refers to a full tank. Use constant flow rates for the same tank, and assume opening another pipe does not change an existing pipe’s rate. Treat an outlet’s stated rate as constant while water is available.
Method (LCM / capacity)
Take tank capacity = LCM of the times, using the same time unit. The capacity units are a convenient scale, not necessarily litres.
Example: Pipe A fills an empty tank in 12 h, and pipe B empties a full tank in 18 h. Capacity = 36 units. A = +3 units/h, B = −2 units/h. Starting empty with both open throughout, the net rate is +1 unit/h, so the tank takes 36 hours to fill.
Formulas
These full-tank filling formulas assume an initially empty tank, both pipes open for the entire interval, and no other flow.
- Two inlets (a, b hours): time = ab/(a + b).
- Inlet a, outlet b (b > a): time to fill = ab/(b − a).
What if the net rate is zero or negative?
Let r = total inlet rate − total outlet rate, measured in tanks per hour, and let x be the fraction of the tank initially filled, with 0 ≤ x ≤ 1.
- If r > 0, time to fill = (1 − x)/r hours, while the same pipes stay open.
- If r = 0, the amount of water does not change. An empty tank cannot fill while these flows remain equal.
- If r < 0 and x > 0, time to empty = x/(−r) hours. An empty tank cannot fill under these flows, and its water content cannot become negative.
For an inlet taking a hours and an outlet taking b hours, b > a gives a positive net rate; b = a gives zero; b < a gives a negative net rate. Do not interpret a zero denominator or a negative calculated filling time as a valid time to fill.
Pipes opened in phases
Use the same A (12 h to fill) and B (18 h to empty). Start with an empty tank. Open A alone for 4 h, then open B as well and keep both open until the tank is full.
- Capacity = 36 units. In the first 4 h, A adds 4 × 3 = 12 units, or 1/3 of the tank.
- Remaining capacity = 36 − 12 = 24 units.
- With both open, net inflow = 3 − 2 = 1 unit/h. The second phase takes 24 ÷ 1 = 24 h.
- Total time from the start = 4 + 24 = 28 h. The 24 h is additional time, not the total.
Leak problems
A pipe normally fills an empty tank in 6 h but takes 8 h because of a leak. Capacity = 24 units. Pipe rate = 4 units/h and effective filling rate = 3 units/h. The leak rate is therefore 1 unit/h, so the leak alone empties the full tank in 24 h.
This uses an ideal constant-leak model: the leak removes the same volume per hour whenever water is available, and the inlet rate is unchanged. If leakage depends on water level or acts only above a hole, those conditions must be included; the simple subtraction is not automatically valid.
Exam tips (RRB NTPC)
- Always mark emptying pipes with a minus sign.
- If pipes are opened at different times, compute work done in each phase separately.
Check yourself
Use the constant-flow model above. These are practice questions created for this lesson.
1. An inlet fills an empty tank in 8 h and an outlet empties a full tank in 8 h. Both remain open from the start in an empty tank. When will it fill?
Show answer
Correct answer: D
Net rate = 1/8 − 1/8 = 0 tanks/h. The initial empty state does not change.
2. A tank is initially half full. An inlet fills the empty tank in 12 h and an outlet empties the full tank in 6 h. If both stay open, how long until it is empty?
Show answer
Correct answer: B
Net rate = 1/12 − 1/6 = −1/12 tank/h. Time to empty = (1/2) ÷ (1/12) = 6 h.
Further reading
NCERT, Class 8 Mathematics, Chapter 11: Direct and Inverse Proportions, section 11.3 and example 7, provides background on how the number of identical pipes relates to filling time. The inlet/outlet and leak examples here use the constant-flow model stated above. Reference checked on 9 October 2026.
Analogy
A tank with an inlet and a leak is like a wallet with salary coming in and expenses going out. If ₹3,000 comes in each day and ₹2,000 goes out, you save only ₹1,000 a day — so reaching ₹36,000 takes 36 days, not 12. This comparison starts with an empty wallet and assumes the same daily amounts throughout.
Quick reference
- Use one tank or a convenient LCM capacity as the total work.
- Inlet rate is positive; outlet or leak rate is negative.
- Net rate = total filling rate − total emptying rate.
- For net rate r > 0 tanks/h and initial filled fraction x, time to fill = (1 − x)/r hours.
- For r < 0 and x > 0, time to empty = x/(−r) hours; zero net flow leaves the amount unchanged.
- At every opening or closing, update the water already present and calculate the next phase separately.
- Units check: capacity units ÷ (capacity units/hour) gives hours.
Sign in to keep your progress. Sign in