Solving Tips

Sudoku Hidden Pairs Technique: Discovering Hidden Candidate Combinations

2025-01-24 · 7 min read

Hidden Pairs is a highly practical intermediate Sudoku technique. Unlike Naked Pairs, Hidden Pairs focuses on number distribution rather than cell candidates. The core concept is: when two candidates appear only in the same two cells within a unit (row, column, or box), those two cells must contain these two numbers, allowing you to eliminate all other candidates from those cells.

Core Principle:
If two candidates (e.g., 5 and 8) appear only in two specific cells within a row, column, or box, these two numbers must occupy those two cells. Even if these cells contain other candidates, those other candidates must be eliminated because the cells can only contain the two "hidden" numbers.

Before reading this article, we recommend understanding the Sudoku row, column, and box naming conventions, which will help you follow the analysis examples below.

Example 1: Hidden Pair in a Column

Let's examine the first example, where we discover a Hidden Pair in column F.

Sudoku Hidden Pair Example - Column Analysis
Figure 1: In column F, candidates 5 and 8 only appear in F1 and F3, so F1 and F3 must be 5 and 8

Analysis Process

1 Observe number distribution: Examining column F (the 6th column), we find that candidates 5 and 8 only appear in cells F1 and F3.
2 Understand the principle: Since numbers 5 and 8 must be placed somewhere in column F, and only F1 and F3 contain these candidates, F1 and F3 must contain 5 and 8 (one gets 5, the other gets 8).
3 Execute elimination: Since F1 and F3 can only contain 5 or 8, all other candidates in these two cells can be eliminated. As shown in the diagram, F1 and F3 also contain candidates 1, 2, 4, 6, and 9, which all need to be removed.
Conclusion:
In column F, candidates 5 and 8 only appear in F1 and F3, therefore the candidates in these two cells are reduced to {5, 8}, eliminating all other candidates such as 1, 2, 4, 6, 9.

Example 2: Hidden Pair in a Box

Next, let's look at another example where we discover a Hidden Pair in box 5.

Sudoku Hidden Pair Example - Box Analysis
Figure 2: In box 5, candidates 1 and 6 only appear in D6 and F6, so D6 and F6 must be 1 and 6

Analysis Process

1 Observe number distribution: Examining box 5 (the middle 3×3 region), we find that candidates 1 and 6 only appear in cells D6 and F6.
2 Understand the principle: Since numbers 1 and 6 must be placed somewhere in box 5, and only D6 and F6 contain these candidates, D6 and F6 must contain 1 and 6.
3 Execute elimination: Since D6 and F6 can only contain 1 or 6, all other candidates in these two cells can be eliminated. As shown in the diagram, both cells also contain candidates 3, 7, and 9 (marked in yellow), which all need to be removed.
Conclusion:
In box 5, candidates 1 and 6 only appear in D6 and F6, therefore the candidates in these two cells are reduced to {1, 6}, eliminating all other candidates such as 3, 7, 9.

Hidden Pairs vs Naked Pairs

Let's compare these two pair techniques:

Comparison Naked Pairs Hidden Pairs
Focus Cell candidates Number distribution in unit
Identification Two cells with identical candidates containing only 2 numbers Two numbers appearing only in the same two cells
Elimination Target Remove these two numbers from other cells in the unit Remove other candidates from these two cells themselves
Why "Hidden" The candidate pair is "naked" and visible The number pair is "hidden" among other candidates
Difficulty Easier (look at cells) Harder (need to track number distribution)
Why "Hidden"?
Because the pairing relationship between these two numbers is "hidden" among other candidates. On the surface, these two cells might have candidates {1,5,6,8,9} and {1,4,5,6,8}, appearing unrelated. But careful analysis reveals that numbers 5 and 8 only appear in these two cells, exposing their pairing relationship.

How to Find Hidden Pairs?

Finding Hidden Pairs requires a systematic approach:

1 Select a unit: Choose a row, column, or box to analyze.
2 Track candidate distribution: For each candidate (1-9) in that unit, identify which cells contain it.
3 Find pairs: Look for two numbers that appear in exactly the same two cells.
4 Confirm and eliminate: Once a Hidden Pair is confirmed, eliminate all other candidates from those two cells.
Important Notes:
  • Must be two numbers appearing in exactly the same two cells
  • If number 5 appears in F1, F3, F5, while number 8 only appears in F1, F3, they do not form a Hidden Pair
  • These two cells may have many other candidates - don't be confused
  • Hidden Pairs are harder to spot than Naked Pairs and require patient analysis

Technique Summary

Key points for applying the Hidden Pairs technique:

  • Perspective: Observe from the numbers' perspective, not the cells' perspective
  • Identification criteria: Two numbers appearing only in the same two cells within a unit
  • Elimination target: Remove other candidates from these two cells (not from other cells)
  • Analysis method: Systematically track each candidate's distribution within the unit
  • Practical value: Can significantly simplify complex cell candidates and break through solving bottlenecks

Advanced: Hidden Triples

Hidden Pairs can be extended to Hidden Triples: when three candidates appear only in the same three cells within a unit, those three cells must contain these three numbers, allowing elimination of all other candidates from those cells. For example, if numbers 2, 5, and 7 only appear in cells A1, A3, and A7, the candidates in these three cells can only be combinations of 2, 5, and 7.

Practice Now:
Start a Sudoku game and try using the Hidden Pairs technique to simplify complex candidates! In the game, select a row, column, or box, systematically analyze each number's distribution, and see if you can find hidden pairs.