UPSC CSAT 2026 Q34: Two Painted Rods Matching Puzzle — Solved
Two identical straight rods are painted in five distinct colours so that each of them gets divided into five equal parts along the length. In one of them, the portions are marked P1, P2, P3, P4 and P5 (not necessarily in that order) whereas in the other, they are marked Q1, Q2, Q3, Q4 and Q5 (not necessarily in that order). When the rods are kept parallel to each other side by side, P1 and Q3 match, P4 matches Q1 or Q2, and Q4 matches P3 or P5. If Q3 and Q5 are adjacent, which of the following is/are possible?
I. Q3 is marked at the middle portion of the straight rod.
II. P2 is marked at one of the extreme portions of the straight rod.
Select the answer using the code given below.
- I only
- II only
- Both I and II
- Neither I nor II
Answer: (c) Both I and II
Solution
-
Set up the grid. Number the five portions of each rod 1 to 5, from left to right. The rods lie side by side, so portion 1 of the P-rod sits beside portion 1 of the Q-rod, portion 2 beside portion 2, and so on. "X matches Y" means X and Y have the same position number.
-
List the conditions. - C1: P1 and Q3 are in the same position. - C2: P4 is in the same position as Q1 or as Q2. - C3: Q4 is in the same position as P3 or as P5. - C4: Q3 and Q5 are next to each other on the Q-rod.
-
Read the question type. It asks what is possible. One valid arrangement is enough to prove a statement possible. A statement is impossible only if every arrangement breaks it.
-
Test Statement I: put Q3 in the middle (position 3). - By C1, P1 is also at position 3. - By C4, Q5 must be at position 2 or 4. Take Q5 at position 2. - Q-positions still free: 1, 4, 5 for Q1, Q2, Q4. - P-positions still free: 1, 2, 4, 5 for P2, P3, P4, P5. - Put Q1 at position 1 and P4 at position 1. C2 holds (P4 matches Q1). - Put Q4 at position 4 and P3 at position 4. C3 holds (Q4 matches P3). - Q2 goes to position 5, the only Q-position left. - P2 and P5 fill positions 2 and 5 in either order.
-
Write one full arrangement.
| Position | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| P-rod | P4 | P5 | P1 | P3 | P2 |
| Q-rod | Q1 | Q5 | Q3 | Q4 | Q2 |
- Check every condition. - C1: P1 and Q3 are both at 3. ✓ - C2: P4 and Q1 are both at 1. ✓ - C3: Q4 and P3 are both at 4. ✓ - C4: Q5 is at 2 and Q3 is at 3, so they are adjacent. ✓
Every condition holds and Q3 is in the middle. Statement I is possible.
-
Test Statement II: P2 at an end. The same table has P2 at position 5, which is an end portion. All four conditions were already checked. Statement II is possible.
-
Check that neither statement is forced. This step is not needed for the answer. It shows why "possible" is the right word. - Swap P2 and P5 in the table: P-rod = P4, P2, P1, P3, P5. All conditions still hold, and now P2 is at position 2, not at an end. - Another valid arrangement: Q-rod = Q3, Q5, Q4, Q1, Q2 and P-rod = P1, P2, P3, P4, P5. Check: P1–Q3 at 1, P4–Q1 at 4, Q4–P3 at 3, Q3–Q5 at 1–2. Here Q3 is at an end, not in the middle. - So both statements can be true but neither must be true. Each one still counts as possible.
-
Answer: Both Statement I and Statement II are possible.
Option-wise explanation
- a: incorrect — This option says P2 can never be at an end. But the arrangement P4, P5, P1, P3, P2 over Q1, Q5, Q3, Q4, Q2 meets every condition and has P2 at position 5. The trap is building one arrangement with P2 inside, such as at position 2, and stopping without trying to swap P2 and P5.
- b: incorrect — This option says Q3 can never be in the middle. Put Q3 and P1 at position 3 with Q5 at 2 and the rest fits easily: P4–Q1 at 1, P3–Q4 at 4, Q2 at 5. The trap is assuming that Q3 needs Q5 beside it and therefore cannot sit in the middle, when the middle position has two neighbours.
- c: correct — A single arrangement, P-rod P4, P5, P1, P3, P2 over Q-rod Q1, Q5, Q3, Q4, Q2, meets all four conditions. In it Q3 is at the middle and P2 is at an end, so both statements are possible.
- d: incorrect — This option comes from reading "possible" as "must be true". Neither statement is forced, because Q3 can sit at position 1 and P2 can sit at position 2. But a statement only needs one valid arrangement to count as possible, and each one has one.
How to eliminate
Spot the word "possible". You only need to build one arrangement that works, not every case. Write five boxes for each rod. Start with the statement you are testing: put Q3 and P1 at position 3 and Q5 next to them at position 2. Place the two remaining pairs, P4 with Q1 and P3 with Q4, in two free columns, positions 1 and 4. Q2 takes the last Q box. Then put P2 in the end box, position 5, and P5 at position 2. One table now shows both statements are possible, so the answer is "both" and you have no need to look for cases where they fail. Do not try to list every arrangement, which wastes time on a "possible" question. About 60–90 seconds once you see that one example settles it. Attempt it in the first round: the work is short and the result is certain.
Know more
Possible vs must-be-true in arrangement puzzles
Arrangement questions ask one of three things, and each needs a different amount of work.
| Question asks | What you must show | Effort |
|---|---|---|
| Is X possible? | One valid arrangement with X | Build one example |
| Must X be true? | No valid arrangement without X | Find one without X (then X is not forced) or prove all cases |
| Is X impossible? | Every valid arrangement breaks X | Prove by cases or contradiction |
Method for matching-rod or two-row puzzles
- Number the positions and turn each "matches" into "same position number".
- Combine the paired items into column blocks (P1/Q3, P4/Q1-or-Q2, Q4/P3-or-P5).
- Place the most restricted item first. Here that is the Q3/Q5 adjacency together with P1.
- For a "possible" statement, force the statement into the grid first, then fill the rest.
Worked variant. Two rods have four parts each. P1 matches Q2, and Q2 and Q4 are adjacent. Is "Q2 at an end" possible? Put Q2 and P1 at position 1 and Q4 at position 2. The rest fills freely, so yes. Must P1 be at an end? No: Q2 and P1 at position 2 with Q4 at position 3 is also valid. So "P1 at an end" is possible but not necessary.