An X-Wing is one digit in four cells. In two rows the digit has only two possible places, and both rows have them in the same two columns. The two rows will use up the digit in both columns, so every other cell of those columns loses it.
Why it works
Call the rows A and B and the columns 1 and 2. If the digit in row A sits in column 1, row B cannot use column 1 and takes column 2. If row A takes column 2, row B takes column 1. Both columns get their digit from these rows either way. You still do not know which of the two diagonals is right, and you do not need to.
The pattern can be turned by ninety degrees. Two columns whose only places are in the same two rows clear the rest of those rows.
How to find an X-Wing
- Pick a digit that is still missing from at least three rows and make sure its candidates are complete.
- Go through the rows and write down those where the digit has exactly two places, with their columns.
- Look for two rows with the same two columns.
- Search both columns for other cells with the digit. If there are none, the X-Wing is real but gives you nothing.
- Erase the digit there and check both columns and their boxes for a new single.
- Repeat from the second step with columns in place of rows.
Try the digits one by one. An X-Wing never mixes two digits, so the rest of the notes can be ignored while you look.
The common mistake
The two places must be the only ones in their row. If a row has a third place for the digit, the argument fails, even when four candidates make a neat rectangle. The rule about exactly two applies to the rows you start from. The columns may contain as many as they like, since those extra ones are what you erase.
People also erase in the wrong direction. When you counted in rows, you erase in columns. When you counted in columns, you erase in rows.
Where the four corners lie
An X-Wing worth looking for has its corners in four different boxes. If two corners share a box, pointing pairs and box/line reductions already remove the same candidates, so finish those first.
Practice
Choose a digit, count its places and name the two lines before you look. The three boards are new.
X-Wings turn up in our Evil puzzles. Three lines in place of two make a Swordfish. For a puzzle of your own, the solver marks the X-Wing when it is the next step.
Questions
Does an X-Wing place a digit?
It only erases candidates. The digit you place comes from the single that may appear afterwards.
How many candidates can an X-Wing remove?
Each of the two columns has seven cells outside the two rows, so fourteen is the ceiling. Real ones remove a few.
Is it still an X-Wing with three places in a row?
No. A third place in one of the two rows breaks it. If the extra places share a box with a corner there is a separate technique, the finned X-Wing, which our solver does not use.
When should I look for one?
When singles, pointing pairs, box/line reductions, pairs and triples give nothing more. Our solver tries them in that order too.