I'm not sure I can do any better than the existing descriptions, but here goes. A column X-wing consists of two columns where a digit only occurs twice in each column and makes a box. In this example the digit, 4, only appears in columns 5 and 8 in rows 2 and 7.
- Code: Select all
+-----------+------------------+-----------------+
| 5 4 8 | 2 1 67 | 67 3 9 |
| 9 6 3 | 57-4 47X 8 | 1 24X 257-4 |
| 2 1 7 | 3 9 456 | 46 8 456 |
+-----------+------------------+-----------------+
| 6 37 2 | 1 5 47 | 8 9 347 |
| 4 37 1 | 8 6 9 | 2 5 37 |
| 8 5 9 | 47 2 3 | 467 1 467 |
+-----------+------------------+-----------------+
| 3 8 6 | 57-4 47X 157-4 | 9 24X 12-4 |
| 1 9 4 | 6 3 2 | 5 7 8 |
| 7 2 5 | 9 8 14 | 3 6 14 |
+-----------+------------------+-----------------+
In order for "4" to appear in both columns it must appear in r2c5 and r7c8 or it must appear in r2c8 and r7c5 since it can't appear twice in the same row. If r2c4 were to contain a "4", then neither r2c5 nor r2c8 could contain a "4", therefore r2c4 cannot contain a "4". The same is true for any cell in rows 2 and 7 expect those cells in columns 5 and 8 (r2c9, r7c4, r7c6, and r7c9 cannot contain "4").
In general, let "X" indicate the only places where a digit is located in two columns (the "/"s indicate cells which do not contain the digit). If the "X"s form a box, then the digit can be eliminated from all cells in the rows which contains the "X"s except for those in the two columns. The possible eliminations are indicated with "*". The same thing occurs with row X-wings except that the "/" are in rows and the eliminations are in columns.
- Code: Select all
. . . | . / . | . / .
* * * | * X * | * X *
. . . | . / . | . / .
------+-------+------
. . . | . / . | . / .
. . . | . / . | . / .
. . . | . / . | . / .
------+-------+------
* * * | * X * | * X *
. . . | . / . | . / .
. . . | . / . | . / .