The (x-a)(x-b) formula can be derived in geometrical approach by splitting a square as three different rectangles. Let’s start deriving the expansion of special product of binomials $x-a$ and $x-b$ in algebraic form.

Take, a square and it is taken that the length of each side is $x$. Now, evaluate the area of a square mathematically.

$Area$ $\,=\,$ $x \times x$

$\implies$ $Area$ $\,=\,$ $x^2$

Therefore, the area of this square is equal to $x^2$ mathematically and remember this.

- Now, divide the square horizontally as two different rectangles. If the width of one rectangle is $a$, then the width of the remaining rectangle is equal to $x-a$.
- Similarly, divide the upper rectangle vertically as two different rectangles. If length of one rectangle is $b$, then the length of remaining rectangle is $x-b$.

Thus, a square whose area is $x^2$, is split as three different rectangles. Now, write the area of each rectangle in mathematical form.

- The length and width of first rectangle are $x-b$ and $x-a$ respectively, then its area is $(x-b)(x-a)$ in product form.
- The length and width of second rectangle are $b$ and $x-a$ respectively, then its area in product form is $b(x-a)$.
- The length and width of third rectangle are $a$ and $x$ respectively. Therefore, the area of this rectangle is equal to $ax$.

This information is used to derive the expansion for the special product of polynomials $(x-a)(x-b)$ geometrically.

The square whose area is $x^2$, is divided as three different rectangles geometrically. Therefore, the area of a square is equal to sum of the areas of the rectangles.

$x^2$ $\,=\,$ $(x-b)(x-a)$ $+$ $b(x-a)$ $+$ $ax$

$\implies$ $x^2$ $\,=\,$ $(x-a)(x-b)$ $+$ $b(x-a)$ $+$ $ax$

$\implies$ $x^2$ $\,=\,$ $(x-a)(x-b)$ $+$ $bx-ba$ $+$ $ax$

$\implies$ $x^2$ $\,=\,$ $(x-a)(x-b)$ $+$ $ax+bx$ $-$ $ba$

$\implies$ $x^2$ $\,=\,$ $(x-a)(x-b)$ $+$ $ax+bx$ $-$ $ab$

$\implies$ $x^2$ $\,=\,$ $(x-a)(x-b)$ $+$ $(a+b)x$ $-$ $ab$

$\implies$ $x^2$ $-$ $(a+b)x$ $+$ $ab$ $\,=\,$ $(x-a)(x-b)$

$\,\,\, \therefore \,\,\,\,\,\,$ $(x-a)(x-b)$ $\,=\,$ $x^2$ $-$ $(a+b)x$ $+$ $ab$

Therefore, it is proved that the product of special binomials $x-a$ and $x-b$ is equal to the algebraic expression $x^2-(a+b)x+ab$.

This algebraic identity can also be derived directly in alternative method in geometry. The rectangle whose area is $(x-b)(x-a)$ can be obtained by subtracting the rectangles whose areas are $b(x-a)$ and $ax$ from the square whose area is $x^2$.

$(x-a)(x-b)$ $\,=\,$ $x^2$ $-$ $\Big(b(x-a)+ax\Big)$

$\implies$ $(x-a)(x-b)$ $\,=\,$ $x^2$ $-$ $\Big(bx-ba+ax\Big)$

$\implies$ $(x-a)(x-b)$ $\,=\,$ $x^2$ $-$ $\Big(ax+bx-ab\Big)$

$\implies$ $(x-a)(x-b)$ $\,=\,$ $x^2$ $-$ $\Big((a+b)x-ab\Big)$

$\,\,\, \therefore \,\,\,\,\,\,$ $(x-a)(x-b)$ $\,=\,$ $x^2-(a+b)x+ab$

Latest Math Topics

Latest Math Problems

Email subscription

Learn how to solve easy to difficult mathematics problems of all topics in various methods with step by step process and also maths questions for practising.