← World hubMethod ShowdownIslamic Golden Age

Islamic Golden Age

Geometric completion of the square

Complete the square in x² + 2kx = c by adding k² to both sides. The left side becomes (x + k)² and the right becomes c + k². In the activity’s positive-length model, take the positive square root and subtract k to recover x. The added amount is the area of the missing corner between two equal strips. Modern unrestricted algebra also requires considering the negative square-root branch.

DISCOVER

Solve x² + 10x = 39 for the positive length x.

Fill the missing corner of an area diagram. Turn x² + 2kx = c into (x + k)² = c + k², then find the positive length.

x²5x5x5²x5x5

Schematic—not to scale. We seek a positive length. The unrestricted modern equation also has a negative root.

Three worked examples

These examples are calculated by the same engine as the tool. Expand a solution to follow every step.

Solve x² + 10x = 39 for the positive length x.
  1. Split 10x into two strips of width 5.
  2. The missing corner is 5² = 25.
  3. New area: 39 + 25 = 64.
  4. Side length: √64 = 8.
  5. Remove the added 5: x = 3.

Answer: 3

Solve x² + 10x = 96 for the positive length x.
  1. Split 10x into two strips of width 5.
  2. The missing corner is 5² = 25.
  3. New area: 96 + 25 = 121.
  4. Side length: √121 = 11.
  5. Remove the added 5: x = 6.

Answer: 6

Solve x² + 10x = 39 for the positive length x.
  1. Split 10x into two strips of width 5.
  2. The missing corner is 5² = 25.
  3. New area: 39 + 25 = 64.
  4. Side length: √64 = 8.
  5. Remove the added 5: x = 3.

Answer: 3

Recognise a square hiding in an expression

Squaring a sum gives (x + k)² = x² + 2kx + k². The central square contributes x², the two rectangular strips contribute kx each, and the corner contributes k². Completing the square supplies precisely that last term. The method works because the completed expression matches the expansion of a square, rather than because adding any convenient number simplifies a quadratic.

The coefficient of x must be divided equally between the two strips. If a question writes the linear part as px, then k = p/2. The required corner is therefore (p/2)². Keep these actions separate: halve the coefficient first, and then square the result. Squaring the original coefficient or halving its square describes a different area.

Construct the four regions

Imagine an x by x square. Place an x by k strip beside it and another x by k strip beneath it. The outer boundary almost encloses a square of side x + k. The unfilled corner has both sides k. Filling it is the geometric meaning of adding k² to x² + 2kx.

The initial known area c covers the central square and both strips. It does not include the missing corner. After adding that corner, the completed square has area c + k². Rearranging regions preserves their area; inserting a new region increases it. This distinction is why the right side must also receive k². A diagram remains mathematically useful only if every change to the total is accounted for.

Follow the four requested quantities

First find the missing corner area k². Next add it to the supplied total to obtain c + k². Then find the side of the completed square by taking the positive square root. Last remove the added strip width k to obtain the central side x. The activity asks for those quantities separately because each represents a different stage of the argument.

Do not enter an area under a length label. The corner and completed total are measured in square units; the outside side and x are measured in ordinary length units. The generated examples calculate all intermediate values from their parameters. Follow their labels and explain why each operation is needed, especially the final subtraction that returns from the outer square to the original square.

Separate the geometric answer from all algebraic roots

For the positive constants used in the game, the construction gives x = √(c + k²) − k. This is positive because c + k² is larger than k². An unrestricted real equation also allows x = −√(c + k²) − k. Squaring either completed side gives the same completed area, so both branches must be considered when the question asks for every real solution.

The negative branch falls outside the drawn length model. That is a restriction supplied by the problem’s meaning, not a failure of algebra. When solving a new question, decide whether x denotes a length, an unrestricted number, or some other quantity. Then state the domain before discarding a candidate. This habit is particularly helpful when a formula produces more solutions than a practical situation can use.

Check by expansion and substitution

Two checks serve different purposes. Expand (x + k)² to confirm that the completed expression contains exactly the original square, both strips and the added corner. Then substitute your recovered x into x² + 2kx and confirm that it equals the original c. Expansion checks the identity used; substitution checks the particular result.

Taking the square root of each term in the original sum is not a valid alternative. A square root does not generally distribute over addition. Completion creates one perfect square expression whose root has a clear interpretation. In advanced work, a quadratic with a leading coefficient other than one needs preparation before using the same pattern. This introductory exercise keeps the x² coefficient equal to one.

A historical method and a modern extension

This lesson connects geometric quadratic reasoning with al-Khwarizmi’s early ninth-century algebra in Baghdad. The Library of Congress provides a digitized edition. [1] Our notation and four answer fields are modern conventions. The activity isolates one positive-length construction, rather than the full range of historical equation types.

Completing the square also rewrites a quadratic to reveal its shape. An expression in the form (x + k)² plus or minus a constant makes the smallest possible square contribution visible over the real numbers. That connection leads to quadratic graphs and vertex form. Here, explain why the corner has the required size and why the recovered side answers the original question.

Common mistakes

  • Halving after squaring. Find k by halving the linear coefficient, then compute k². Those operations cannot be reversed without changing the result.
  • Adding the corner on only one side. The total area increases when the corner is inserted. Record the same k² on the right side to preserve the equation.
  • Losing the distinction between roots and lengths. Use the positive side in this geometric game, but consider both square-root branches for an unrestricted real quadratic equation.

Questions learners ask

Why are there two strips?

Their combined area is the linear term 2kx. Equal strips placed on adjacent sides make the outside dimensions match, leaving one square corner.

Why subtract k at the end?

The completed side is x + k. The original central square has side x, so remove one strip width from the outside side.

Does the method need an integer square root?

No. Irrational roots can be kept exactly with a radical. The activity selects convenient values so the geometry and sequence remain the focus.

Is this the same idea as the quadratic formula?

Completing the square can derive the quadratic formula. The formula handles the general coefficients compactly, while this lesson shows the area identity behind one simpler case.

Keep learning

Connect this method to the main Math learning path:

Sources and historical scope

A modern geometric explanation with positive lengths; unrestricted real algebra is explicitly distinguished from the activity’s accepted root.

  1. Library of Congress — Al-Khwarizmi’s Compendious Book ↗

The diagrams, examples and printable questions on this page are newly created teaching material. Historical context comes from the sources above.

Math From Counting to Calculus on iPhone

Follow a 46-stage learning journey on iPhone, with explanations and offline core practice.

Free download · Includes advertising and optional in-app purchases. App and browser progress stay on their respective devices.

Download on the App Store — Math From Counting to Calculus