Rectangles · Solving guide

Rectangles: the square only one number can reach

The usual way into a Rectangles board is to take each number, list the shapes it could make, and wait for one to run out of options. Sometimes none does. Every number still has two or three shapes and the board looks stuck. It is not. Every empty square has to end up inside some rectangle, so the question can be turned round: for a particular empty square, which rectangles could possibly cover it? When the answer is only one, you can draw it. Here is a board where that is the only way in, and where one square in a corner settles the whole thing.

Turn the question round

A finished Rectangles board splits the grid into rectangles. Each one holds exactly one printed number, and that number is its area. Nothing is left over, so every empty square belongs to exactly one number's rectangle.

The earlier Rectangles guide works from the numbers outwards: list each number's shapes, throw out any that run off the grid or swallow a second number, and draw a rectangle when only one shape is left. That is still the first thing to try. This guide is about what to do when it gives you nothing.

The other direction is to pick an empty square and ask which legal rectangles, from any number on the board, would cover it. Corners and edges are the best squares to ask about, because fewer shapes can reach them. If exactly one rectangle on the whole board covers the square, that rectangle must be in the solution, because something has to cover the square and nothing else can.

The board

Five by five, twenty-five squares, six numbers. There is a 2 in the top-left corner, an 8 in row 2 column 2, a 3 on the right edge in row 3, a second 8 in row 4 column 4, and a 2 in each of row 5 column 3 and the bottom-right corner. The areas add up to 25, as they must, and the board has exactly one solution.

Try the usual method first. The top-left 2 can lie across or hang down. The first 8 has four legal shapes, the second 8 has two, the 3 has three, and the two 2s on the bottom row have three and two. No number is down to a single shape, so the number-first method has nothing to draw.

A five by five Rectangles grid with columns numbered 1 to 5 across the top and rows 1 to 5 down the left side. Six numbers are printed and no rectangles are drawn. Row 1 has a 2 in column 1. Row 2 has an 8 in column 2. Row 3 has a 3 in column 5. Row 4 has an 8 in column 4. Row 5 has a 2 in column 3 and a 2 in column 5. The bottom-left corner, row 5 column 1, is empty.
The board before anything is drawn. No number has only one legal shape yet.

Who can reach the corner?

Look at the bottom-left corner, row 5 column 1. It is empty, so some rectangle has to cover it. Go through the numbers one at a time.

A 2 is two squares in a line, so it can only ever reach the square next to it. The 2 in row 5 column 3 can reach column 2 but not column 1, and the other two 2s are nowhere near. The 3 is on the far edge.

The second 8, in row 4 column 4, is the interesting one. To get from column 4 to column 1 it needs to be four squares wide, so it would be a two by four. To reach row 5 as well, that two by four would sit over rows 4 and 5, columns 1 to 4, and it would contain the 2 in row 5 column 3. A rectangle can hold only one number, so that shape is illegal.

That leaves the first 8. Of its four legal shapes, only one reaches the corner: four rows tall and two columns wide, covering rows 2 to 5 of columns 1 and 2. It is the only rectangle on the board that covers the corner, so it is the first one to draw.

The same board with the bottom-left corner, row 5 column 1, tinted. A green dashed outline marks a rectangle four rows tall and two columns wide, covering rows 2 to 5 of columns 1 and 2, around the 8 in row 2 column 2. It is the only legal rectangle that covers the corner. A red dashed outline marks a rectangle two rows tall and four columns wide over rows 4 and 5, columns 1 to 4: the other 8 would need it to reach the corner, but it contains the 2 in row 5 column 3 as well, so it is illegal. The 2 in row 5 column 3 can only reach one square to its left, column 2.
Green is the only legal rectangle that covers the tinted corner. The red shape would hold two numbers.

The mistake: waiting for a number to run out

The trap here is to keep cycling through the numbers, recounting their shapes, hoping one will drop to a single option. On this board none will, however many times you look, because nothing has been drawn to take any space away.

The second trap is small but costs time: assuming the 2 next to the corner will fill it. It is the nearest number, which makes it feel like the natural owner. A 2 cannot stretch two squares, though, and the corner ends up belonging to an 8 whose printed number is three rows away.

On a timed board, when a scan of the numbers finds nothing, switch to the squares. Start with the corners, then the edges, and for each one name every rectangle that could cover it.

One forced rectangle, then the rest

With the first 8 drawn, go back to the numbers. They have less room now.

The top-left 2 can no longer hang down, because the square below it is taken, so it lies across row 1 in columns 1 and 2. The second 8 loses its two by four shape, which would overlap the first 8, and has to stand four tall in columns 3 and 4, rows 1 to 4. That in turn boxes in the 2 in row 5 column 3: the square to its left and the square above it are both taken, so it lies across to column 4.

The board with four rectangles drawn. The 8 from row 2 column 2 covers rows 2 to 5 of columns 1 and 2. The 2 in the top-left corner now covers row 1, columns 1 and 2, because the square below it is taken. The other 8 covers rows 1 to 4 of columns 3 and 4, because its two by four shape would overlap the first 8. The 2 in row 5 column 3 covers columns 3 and 4 of row 5, because the squares to its left and above are both taken. All of column 5 is still empty, with the 3 and the last 2 in it.
After the first 8, the top-left 2, the second 8 and the bottom-row 2 each have one shape left.

The finished board

Only column 5 is left, with the 3 in row 3 and the 2 in row 5. The bottom-right 2 cannot lie across any more, because row 5 column 4 is taken, so it stands up over rows 4 and 5. The 3 then has only rows 1 to 3 of column 5 left, which is exactly three squares.

Six rectangles, one number in each, every square covered once. Only the first move needed the square-first check. After that, the ordinary number-first method did everything, which is how this usually goes: the square-first question gets you unstuck, and then you switch back.

The finished Rectangles board. The 2 in row 1 covers row 1, columns 1 and 2. The first 8 covers rows 2 to 5 of columns 1 and 2. The second 8 covers rows 1 to 4 of columns 3 and 4. The 3 covers rows 1 to 3 of column 5. The 2 in row 5 column 3 covers row 5, columns 3 and 4. The 2 in the bottom-right corner covers rows 4 and 5 of column 5. Every square is covered once.
The only solution. Every rectangle holds one number and matches its area.

Where to practise it

Rectangles is a timed Just for fun game with boards in the Library at several sizes. Easy boards rarely need this check, because a number usually runs out of shapes early. On larger boards, the first time you find yourself stuck with nothing drawn, pick a corner and ask who can reach it.

Put it into practice

Try an Easy Rectangles Library puzzle and look for one deduction from this guide.

Play a Rectangles board

Sign in or create an account to save your progress.

More to explore

Four Colour · Solving guide

Four Colour: start where three colours already meet

On a Four Colour board, a region that touches three different fixed colours has only one colour left. Colour it and the next region often corners itself the same way. An original five by five board where one such region settles four of the five open regions, checked by trying every possible colouring.

Read the guide →

Colour Fields · Solving guide

Colour Fields: a full field fences itself in

In Colour Fields, the moment a field reaches its number every square touching it has to take the other colour. An original five by five board where a 1, a 2, two 4s and a 7 each close in turn, checked by trying every possible colouring.

Read the guide →

Pairs · Solving guide

Pairs: a placed domino crosses out its copies

When a Pairs board stops giving you forced cells, look at the dominoes already placed. Each pair appears once, so every other place its digits touch is dead, and that can leave a cell with one partner. A worked example, checked against the game's solver.

Read the guide →

HubbardGames guide

Per-game standings: where you rank in one game

Tap a game's icon on the Board and you get a table for that game alone: today's field with results and hints, and an all-time table ranked on average points per day finished. Where it lives, what each column means, what it leaves out, and four invented Bridges days where the fastest player comes third.

Read the guide →