A Babylonian inscription from around 2800 BC.
Algebra is old: the Babylonians, a people who lived around 3000 years ago, already knew about versions of the famous formula for solving quadratic equations. But what they were inspired by was geometry: they needed to solve quadratics in order to work out problems involving areas of plots of land. So to celebrate their achievement, let's derive the famous quadratic formula using geometry.
Suppose the quadratic equation you are looking at is
with and both positive numbers.
The term gives the area of a square with sides of length The term gives the area of a rectangle with one side of length and the other side of length . We can put the square and the rectangle next to each other to get a larger rectangle:
The area of this larger rectangle is which, by our equation, is equal to But it turns out that we can rearrange it to very nearly form a square. Simply slice the small rectangle into two strips with sides of lengths and :
And move one strip so it aligns with the bottom edge of the square:
Let’s call this region . It still has area But if we add a little square of side length to the bottom right corner of we get a big square with side length and area Therefore,
Taking the square root of both sides gives
Subtracting from both sides gives
How is that related to the quadratic formula we learn about at school? We usually write a general quadratic equation as
Dividing through by so that the coefficient of is 1 gives
Bringing over to the other side gives
So comparing with our equation above we see and Substituting these for and in expression (1) recovers the general quadratic formula
To say that the Babylonians knew this formula is a little misleading. Firstly, they didn't know about negative numbers, so they could only solve quadratics that had a positive solution. Also, they didn't write their maths using symbols and letters as we do, but using words. So a Babylonian student might be given questions such as:
If I add to the area of a square twice its side, I get 48. What is the side?
Which, writing for the side, translates to the equation
The Babylonians knew about sequences of steps they could perform to find the solution to such a question — which is why we say they knew about the quadratic formula.
Just a curiosity question, other than torturing Babylonian algebra students, what did they use the Quadratic Formula for?
After the part where the rectangles are rearranged, it says: "still has area p^2 +px=q...".
It should be x^2 instead of p^2.
Thanks for pointing that out, we've corrected it!