Try it yourself · Class 10 Maths · Quadratic Equations

Completing the square as an area picture

The expression is a square of side x with two strips of width b/2 beside it. One small square corner is missing. Adding that corner makes a perfect square, which is the whole idea of completing the square.

Dashed corner completes .

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Slide x from 1 to 8 and watch the blue square grow.
  • Slide b from 1 to 12 and watch the two orange strips get wider.
  • Compare the dashed green corner with the strips as b changes.

What to watch

  • With x = 4 and b = 6 the readout shows x² + bx = 16 + 24 = 40, the corner (b/2)² = 9 and the big square 49.
  • Take the corner away from the big square: 49 – 9 = 40, the same as x² + bx. That is the identity on the screen.
  • With x = 3 and b = 8 the strips are 4 wide, the corner is 16, the big square is 49 and the square minus corner is 33, equal to 9 + 24.
  • The corner is only a square of the strip width, so doubling b makes it four times as large.

The formula

Here is half the coefficient of , the width of each strip.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. CBSE

    Is it possible to design a rectangular park of perimeter m and area
    ? If so, find its length and breadth.
    Show the answer
    Yes. Length m, breadth m (the park is a square).
  2. Our question

    A rectangular garden is m long and m wide. A path of uniform width is laid all around it, outside the garden, so that the garden and path together cover m². What is the width of the path?
    1. m
    2. m
    3. m
    4. m
    Show the answer
    (D) m

More to try in Quadratic Equations

Every simulation in the Lab