UPSC CSAT 2023 Q50: LCM of Traffic Signal Cycles — Solved
There are three traffic signals. Each signal changes colour from green to red and then from red to green. The first signal takes 25 seconds, the second signal takes 39 seconds and the third signal takes 60 seconds to change the colour from green to red. The durations for green and red colours are same. At 2:00 p.m, they together turn green. At what time will they change to green next, simultaneously?
- 4:00 p.m.
- 4:10 p.m.
- 4:20 p.m.
- 4:30 p.m.
Answer: (b) 4:10 p.m.
Solution
-
Read what 25, 39 and 60 seconds mean. Each is the time a signal takes to go from green to red, so it is how long the signal stays green. The question says green and red last equally long. So each signal stays red for the same time again.
-
Find each signal's full cycle (green → red → green). - Signal 1: 25 + 25 = 50 seconds - Signal 2: 39 + 39 = 78 seconds - Signal 3: 60 + 60 = 120 seconds
-
State the condition. A signal turns green again only at whole multiples of its full cycle after 2:00 p.m. All three turn green together at the first time that is a multiple of 50, 78 and 120 seconds. That time is LCM(50, 78, 120).
-
Prime-factorise each cycle. - 50 = 2 × 5² - 78 = 2 × 3 × 13 - 120 = 2³ × 3 × 5
-
Take the highest power of each prime. LCM = 2³ × 3 × 5² × 13 = 8 × 3 × 25 × 13 = 600 × 13 = 7800 seconds.
-
Convert to hours and minutes. 7800 ÷ 60 = 130 minutes = 2 hours 10 minutes.
-
Check. 7800 ÷ 50 = 156, 7800 ÷ 78 = 100, 7800 ÷ 120 = 65. All are whole numbers, so every signal has finished a whole number of full cycles and is green.
-
Why not LCM(25, 39, 60)? That LCM is 2² × 3 × 5² × 13 = 3900 seconds (65 minutes, i.e. 3:05 p.m.). At 3900 seconds, signal 3 has made 3900 ÷ 60 = 65 colour changes. 65 is odd, so it is red, not green. Using the half-cycle gives a moment when the signals change together, not a moment when they are all green.
-
Add to the start time. 2:00 p.m. + 2 hours 10 minutes = 4:10 p.m.
Answer: 4:10 p.m.
Option-wise explanation
- a: incorrect — 4:00 p.m. is 7200 seconds after the start. 7200 ÷ 78 is about 92.3, not a whole number, so signal 2 is not at the start of a green phase. The value looks attractive only because 2 hours is a round figure.
- b: correct — The full cycles are 50, 78 and 120 seconds, and LCM(50, 78, 120) = 7800 seconds = 2 h 10 min. 2:00 p.m. + 2 h 10 min = 4:10 p.m.
- c: incorrect — 4:20 p.m. is 8400 seconds after the start. 8400 ÷ 78 is about 107.7, so signal 2 is out of step. 8400 is not a multiple of 13, so it cannot be a multiple of 78.
- d: incorrect — 4:30 p.m. is 9000 seconds after the start. 9000 is a multiple of 50 and 120 but not of 78 (9000 ÷ 78 is about 115.4). The trap is checking only the 'easy' signals and not the 39-second one.
How to eliminate
Use divisibility by 13 to settle it. Signal 2's full cycle is 78 = 6 × 13 seconds, so the answer, in seconds, must be a multiple of 13. The options are 120, 130, 140 and 150 minutes after 2:00 p.m. Minutes × 60 gives seconds, and 60 has no factor of 13, so the number of minutes itself must be a multiple of 13. Only 130 = 10 × 13 works. Quick confirmation: 130 min = 7800 s, and 7800 ÷ 50 = 156 and 7800 ÷ 120 = 65, both whole. Watch for the half-cycle trap: LCM(25, 39, 60) = 3900 s gives 3:05 p.m., which is not an option. If you get it, you have forgotten to double the times. About 45–60 seconds once you double the times and look for the factor 13. Attempt it in the first round.
Know more
Events that repeat together: use the LCM of the full cycle.
If events repeat every p, q and r units, they next happen together after LCM(p, q, r). The trick is to choose the right period. Ask: after how long does each thing return to the exact same state?
For a signal with equal green and red phases, the time to change colour is only half the cycle. It returns to green only after a full cycle of 2 × (phase time). If the phases are unequal (green g, red r), the cycle is g + r.
| Given | Cycle to use |
|---|---|
| Time between any colour changes (equal phases), t | 2t |
| Green g and red r (unequal) | g + r |
| Bells ring every t | t |
| Lights blink every t seconds | t |
Worked variant. Two signals stay green for 20 s and 45 s, each with an equal red phase. Both turn green at 9:00 a.m. Cycles: 40 s and 90 s. 40 = 2³ × 5, 90 = 2 × 3² × 5. LCM = 2³ × 3² × 5 = 360 s = 6 min. Next common green: 9:06 a.m. Using LCM(20, 45) = 180 s instead gives 9:03 a.m. At that moment signal 1 has made 9 colour changes (odd), so it is red. That is the wrong answer.
Exam habits: convert everything to one unit (seconds). Find the LCM by taking the highest power of each prime. Before choosing an option, check it against the awkward prime (here 13).