Constructing squares of given area
Can you draw a square whose area is exactly square units, or square units, when the side length is not a whole number at all? On a dot grid you can — without ever measuring a single "messy" length with a ruler. Pick two whole numbers and , walk steps one way and steps the other along the grid, turn a quarter-turn, and repeat four times. The tilted shape you trace closes into a perfect square, and its area works out to exactly square units — a direct visual use of the Baudhayana–Pythagoras theorem. This article builds that construction step by step, verifies it by counting area two different ways, and shows how to pick and to hit any target whole-number area you're asked for.
Joining dots units across and units up on a grid, turned by four times, builds a tilted square of side and area exactly .
The core idea
Take a square dot grid — dots spaced unit apart in rows and columns, like graph paper. Pick any dot as a starting point and draw a segment to another dot that is units away horizontally and units away vertically. That segment is the hypotenuse of a right triangle with legs and , so by the Baudhayana–Pythagoras theorem its length is
where: and are the whole-number horizontal and vertical grid steps, and is the length of the tilted (slanted) segment. Now repeat that same step vector three more times, turning at each corner. Four equal, perpendicular sides close up into a tilted square — tilted because its sides run diagonally across the grid rather than along the rows and columns. Its side length is , and because area does not care whether a square is "upright" or tilted, its area is exactly
where: the right-hand side is a whole number as long as and are whole numbers, even though the side length itself is usually irrational. The figure below shows the tilted square built with , enclosed inside an upright square so you can see how the area is checked.
Reading the picture: enclose the tilted square in the smallest upright square that contains it, then subtract the four leftover corner right triangles. That "enclose and subtract" idea is exactly the derivation below.
The goal of this derivation is to prove, algebraically and not just by eyeballing a picture, that a tilted square built from grid steps (horizontal) and (vertical) really does have area square units, by enclosing it in an upright square of side and subtracting the four corner triangles that stick out.
Step 1. Draw the tilted square's first side from one dot to another that is units right and units up. Extend the grid lines through the four corners of the tilted square so they form an upright square around it. Because each side of the tilted square has horizontal reach and vertical reach , the enclosing upright square has side length , so its area is .
Step 2. Look at the four leftover corners. Each one is a right triangle with legs and — the same and as the tilted square's step. There are four of these triangles, one in each corner of the enclosing square, and together they exactly fill the gap between the enclosing square and the tilted square inside it.
Step 3. Find the area of one corner triangle: a right triangle with legs and has area . Four identical corner triangles together have area .
Step 4. Subtract the corners from the whole enclosing square to isolate the tilted square's area: . The terms cancel exactly, leaving — matching the Baudhayana–Pythagoras length squared, and confirming the tilted square's area is no matter what whole numbers and you chose.
Worked example
Problem: Construct a tilted square of area square units on a dot grid, and verify its area using the enclosing-square method.
Step 1. We need whole numbers with . Trying small values: . ✓ So take .
Step 2. Starting at dot , move unit right and units up to reach — that is the first side of the tilted square.
Step 3. Rotate the step vector by to get ; from this reaches . Rotate again to get , reaching . Rotate once more to get , which returns you to . The four corners form the tilted square.
Step 4. Verify by enclosing: the enclosing upright square has side , so its area is . Each corner right triangle has legs and , area ; four of them total .
Step 5. Subtract: square units, matching exactly. The constructed tilted square has side length units and area exactly square units.
Competitive stretch
For area : try , since . The enclosing square has side (area ), and four corner triangles of legs total . Then . ✓ So a tilted square built from step , side length , has area exactly square units — the same enclose-and-subtract check works for any target area that can be written as a sum of two whole-number squares.
Common traps
- Trying to measure the slanted side with a ruler. The whole point of the construction is that you never measure or directly — you place whole-number grid steps and let the area come out exactly right on its own.
- Rotating the step vector incorrectly. Each side must be the previous side turned by exactly ; a wrong turn breaks the shape, and the four sides stop being equal and perpendicular.
- Mixing up area and side length. The area is the whole number ; the side length is the (usually irrational) square root — do not report one when asked for the other.
- Forgetting the enclosing square's side is , not or alone. The check only works if the upright square drawn around the tilted square has side exactly , so that all four corner triangles have legs and .
Ask the tutor: Want to try constructing a tilted square of a different area, say or square units — ask the AI tutor to help you find the right and and sketch the steps.
Why does a tilted square even count as a square if its sides look slanted on the grid?
A shape is a square as long as all four sides are equal in length and each pair of adjacent sides meets at a right angle — nothing in that definition requires the sides to run along the horizontal and vertical grid lines. In the construction, each side is the same rotated step vector, so all four sides are automatically equal, and each rotation guarantees the right angles. It is a genuine square; it is simply drawn at an angle to the grid.
How do I choose a and b to build a square of a specific area, like 8 square units?
Look for two whole numbers whose squares add up to the target area. For : try small pairs — , , . ✓ So works, giving a tilted square of side and area . Not every whole number splits neatly into two squares with small (try a few pairs and see), but for the areas used in this chapter — and similar — a small search always finds a pair.
Does the enclosing square always have to be bigger than the tilted square?
Yes, and that is exactly why the method works: the tilted square sits diagonally inside the upright square of side , touching each side of the enclosing square at one point, with four right-triangle gaps in the corners. The enclosing square's area is always , which is always more than (unless or is zero), and the extra area is precisely the four corner triangles you subtract.