Shortcut Trick
Let the total work be 20 units (LCM of 20 and 20). Combined efficiency of A + B = 20 ÷ 20 = 1 unit/day.
Let B's efficiency be 'b'. A's efficiency = (1 − b).
Total work = (A + B) × (t − 5) + B × 5 = 20, but B finishes the remaining in 18 days.
Work done by B in last 18 days = 18b. Work done by A+B before A left = 20 − 18b.
Time taken by A+B = (20 − 18b) ÷ 1 days. Total time = (20 − 18b) + 5 = 20 − 18b + 5.
Equation: 18b = 5 × (Efficiency of B) is wrong. Let's use: (A+B) worked for (T−5) days, B worked alone for 5 days. Total T = 18 + (T−5) → T = 23. B's efficiency = 5/18 units/day. Total days = 20 ÷ (5/18) = 72 days.
∴ The correct answer is 72 days.
Alternate Method
| Person | Days | Total Work | Efficiency |
|---|
| A + B | 20 | 20x | x |
Given: A leaves 5 days before completion. B finishes the remaining work in 18 days.
Let the total time to complete the work be T days.
A worked for (T − 5) days and B worked for T days.
⇒ (A + B) worked together for (T − 5) days.
⇒ B worked alone for the last 5 days. But the question says B finishes the remaining in 18 days.
⇒ This means the work left by A (which A would have done in 5 days) was completed by B in (18 − 5) = 13 days? No.
⇒ Work done by A in 5 days = Work done by B in (18 − 5) days is incorrect logic.
⇒ Correct Logic: (A + B) × 20 = (A + B) × (T − 5) + B × 5. Given B's solo time for remaining part is 18.
⇒ Work left when A left = 5 days of A's work + 5 days of B's work.
⇒ B takes 18 days to finish this: 18 × B = 5 × (A + B).
⇒ 18B = 5A + 5B ⇒ 13B = 5A ⇒ A/B = 13/5.
⇒ Efficiency: A = 13, B = 5. Total efficiency = 18.
⇒ Total Work = 18 × 20 = 360 units.
⇒ Time taken by B = 360 ÷ 5 = 72 days.
∴ The correct answer is 72 days.
Additional Information
Efficiency and Time Relationship
Efficiency is inversely proportional to the time taken to complete the work. If the ratio of efficiency is x:y, the ratio of time taken is y:x.
Work Equating Method
Total Work = Efficiency × Time. When a person leaves, the remaining work is equated to the product of the efficiency of remaining people and the extra time taken.