SudokuHint

Double Rectangle Elimination: When Two Rectangles Share a Unit

Double rectangle elimination is an advanced Sudoku technique where two deadly rectangles overlap or are adjacent within the same row, column, or box. The shared candidates between them force an elimination in a corner cell, preventing the puzzle from having multiple solutions. This method relies on the principle of [Sudoku Uniqueness](/blog/sudoku-uniqueness), which assumes a well-formed puzzle has only one solution. By identifying two interlocking rectangles, you can make a powerful logical deduction that simpler techniques miss. Mastering this pattern is key for solving very hard puzzles where standard strategies stall.

By SudokuHint TeamLast updated

Step 1: Understand the Deadly Rectangle

A deadly rectangle, also known as a Unique Rectangle Type 1, is a foundational pattern. It consists of four cells that form the corners of a rectangle, all located in exactly two rows and two columns, and sharing exactly two candidates. These four cells also must occupy only two 3x3 boxes. The deadly scenario occurs when all four cells contain only those two candidates, with no other digits present. This configuration would create two valid solutions, swapping the two digits, which violates the puzzle's uniqueness. Therefore, at least one of these four cells must be resolved by a different digit, breaking the symmetry.

Key insight: A true deadly rectangle has four cells with only the same two candidates, creating a potential swap that would yield two solutions.

Step 2: Recognize the Double Rectangle Pattern

In a double rectangle pattern, two separate deadly rectangles share a common unit—a row, column, or box—and at least one common candidate. Visually, they can appear as two overlapping rectangles or as two rectangles sitting side-by-side. The critical link is that the rectangles are connected through the shared unit, which contains cells from both patterns. This connection creates a logical dependency. For the puzzle to remain unique, both individual deadly rectangle scenarios cannot be allowed to exist simultaneously. The shared candidate becomes the focal point for elimination.

Step 3: Confirm Both Rectangles Are Deadly

You must verify that each of the two rectangles independently meets the criteria for a deadly pattern. Check that each set of four corner cells involves only two rows, two columns, and two boxes. Most importantly, all cells within each rectangle must be bi-value cells, containing only the two candidate digits. If any cell in a rectangle has a third candidate, that rectangle is not 'deadly' and the double rectangle logic does not apply. This careful verification is essential; applying the technique without a true deadly pattern can lead to an incorrect elimination. Understanding Hidden Unique Rectangles can help identify these patterns when some cells have extra candidates.

Step 4: Locate the Shared Unit and Candidate

Identify the row, column, or box that contains cells from both rectangles. This is the shared unit that links the two deadly patterns. Within this unit, determine which candidate digit is common to both rectangles. Often, this shared candidate appears in the overlapping corner cell if the rectangles intersect, or in adjacent cells if they are side-by-side. The logic of the double rectangle hinges on the fate of this shared candidate within the linked unit. Its placement or elimination in one rectangle directly impacts the validity of the other.

Step 5: Execute the Elimination

The elimination rule is this: the shared candidate cannot be placed in the specific corner cell that completes the deadly pattern for *both* rectangles. Typically, this is a cell that belongs to the shared unit and is a corner for both rectangles. Placing the shared candidate there would simultaneously satisfy the deadly condition for both patterns, creating an unresolvable dual-solution scenario. Therefore, you can safely eliminate that candidate from that particular cell. This forces the cell to be solved by the other candidate from its rectangle, or by a different digit altogether, preserving the puzzle's single solution. This is a more specific elimination than a standard Avoidable Rectangles strategy, which deals with preventing a single rectangle from forming.

Step 6: Distinguish from Single Rectangle Elimination

A single deadly rectangle elimination, like a Unique Rectangle Type 1, directly removes one of the two candidates from a cell to break the pattern. The double rectangle technique is more nuanced. It requires the combined threat of two patterns. The elimination is only valid because if the candidate were placed, it would create *two* deadly rectangles at once. The logic does not hold if only one rectangle is present. This makes double rectangle a conditional technique, used when simpler uniqueness methods find no direct target. It's a powerful extension of basic uniqueness principles, allowing solvers to tackle more complex grid interactions.

Key Facts

  • ▪Double rectangle elimination is a Sudoku uniqueness technique that prevents multiple solutions.
  • ▪It involves two separate deadly rectangle patterns that share a row, column, or box.
  • ▪Each rectangle must consist of four bi-value cells with the same two candidates.
  • ▪The shared unit creates a logical link between the two deadly scenarios.
  • ▪A specific candidate, common to both rectangles, cannot occupy a key corner cell in the shared unit.
  • ▪Eliminating that candidate prevents both deadly patterns from forming simultaneously.
  • ▪The technique is only valid when both individual rectangles fully meet deadly pattern criteria.
  • ▪It differs from single rectangle eliminations by depending on the interaction of two threats.
  • ▪Mastering this pattern helps solve extreme puzzles where basic strategies are insufficient.

Frequently Asked Questions

What is a deadly rectangle in Sudoku?

A deadly rectangle is four cells forming a rectangle in two rows and two columns, containing only the same two candidates. This pattern would create two valid solutions, so it must be avoided in a proper puzzle.

How is double rectangle different from a single unique rectangle?

A single unique rectangle deals with one deadly pattern. Double rectangle requires two such patterns that interact via a shared unit. The elimination depends on the combined threat of both.

Can I use double rectangle if the rectangles are in different boxes?

Yes. Each deadly rectangle itself must span only two boxes. The two rectangles can be in entirely different sets of boxes, as long as they share a row, column, or box.

What if a cell in the rectangle has a third candidate?

If any corner cell has a third candidate, that rectangle is not deadly. The double rectangle logic requires both patterns to be fully bi-value with only two candidates.

Does this technique assume the puzzle has a unique solution?

Yes. All uniqueness techniques, including double rectangle, rely on the standard puzzle rule that only one solution exists. They are not used in puzzles that allow multiple solutions.

Is double rectangle a common technique?

It is an advanced, less common pattern. It appears in very hard or extreme Sudoku puzzles after more common techniques like Hidden Unique Rectangles have been applied.