The Babylonians lived in Mesopotamia, a fertile plain between the Tigris and Euphrates rivers.
Here is a map of the region where the civilisation flourished.
The region had been the centre of the Sumerian civilisation which flourished before 3500 BC. This was an advanced civilisation building cities and supporting the people with irrigation systems, a legal system, administration, and even a postal service. Writing developed and counting was based on a sexagesimal system, that is to say base 60. Around 2300 BC the Akkadians invaded the area and for some time the more backward culture of the Akkadians mixed with the more advanced culture of the Sumerians. The Akkadians invented the abacus as a tool for counting and they developed somewhat clumsy methods of arithmetic with addition, subtraction, multiplication and division all playing a part. The Sumerians, however, revolted against Akkadian rule and by 2100 BC they were back in control.
However the Babylonian civilisation, whose mathematics is the subject of this article, replaced that of the Sumerians from around 2000 BC The Babylonians were a Semitic people who invaded Mesopotamia defeating the Sumerians and by about 1900 BC establishing their capital at Babylon.
The Sumerians had developed an abstract form of writing based on cuneiform (i.e. wedge-shaped) symbols. Their symbols were written on wet clay tablets which were baked in the hot sun and many thousands of these tablets have survived to this day. It was the use of a stylus on a clay medium that led to the use of cuneiform symbols since curved lines could not be drawn. The later Babylonians adopted the same style of cuneiform writing on clay tablets.
Here is one of their tablets
Many of the tablets concern topics which, although not containing deep mathematics, nevertheless are fascinating. For example we mentioned above the irrigation systems of the early civilisations in Mesopotamia. These are discussed in  where Muroi writes:-
It was an important task for the rulers of Mesopotamia to dig canals and to maintain them, because canals were not only necessary for irrigation but also useful for the transport of goods and armies. The rulers or high government officials must have ordered Babylonian mathematicians to calculate the number of workers and days necessary for the building of a canal, and to calculate the total expenses of wages of the workers.The Babylonians had an advanced number system, in some ways more advanced than our present systems. It was a positional system with a base of 60 rather than the system with base 10 in widespread use today. For more details of the Babylonian numerals, and also a discussion as to the theories why they used base 60, see our article on Babylonian numerals.
There are several Old Babylonian mathematical texts in which various quantities concerning the digging of a canal are asked for. They are YBC 4666, 7164, and VAT 7528, all of which are written in Sumerian ..., and YBC 9874 and BM 85196, No. 15, which are written in Akkadian ... . From the mathematical point of view these problems are comparatively simple ...
The Babylonians divided the day into 24 hours, each hour into 60 minutes, each minute into 60 seconds. This form of counting has survived for 4000 years. To write 5h 25' 30", i.e. 5 hours, 25 minutes, 30 seconds, is just to write the sexagesimal fraction, 5 25/60 30/3600. We adopt the notation 5; 25, 30 for this sexagesimal number, for more details regarding this notation see our article on Babylonian numerals. As a base 10 fraction the sexagesimal number 5; 25, 30 is 5 4/10 2/100 5/1000 which is written as 5.425 in decimal notation.
Perhaps the most amazing aspect of the Babylonian's calculating skills was their construction of tables to aid calculation. Two tablets found at Senkerah on the Euphrates in 1854 date from 2000 BC. They give squares of the numbers up to 59 and cubes of the numbers up to 32. The table gives 82 = 1,4 which stands for
The Babylonians used the formula
Division is a harder process. The Babylonians did not have an algorithm for long division. Instead they based their method on the fact that
2 0; 30
3 0; 20
4 0; 15
5 0; 12
6 0; 10
8 0; 7, 30
9 0; 6, 40
10 0; 6
12 0; 5
15 0; 4
16 0; 3, 45
18 0; 3, 20
20 0; 3
24 0; 2, 30
25 0; 2, 24
27 0; 2, 13, 20
... an approximation is given since 7 does not divide.Babylonian mathematics went far beyond arithmetical calculations. In our article on Pythagoras's theorem in Babylonian mathematics we examine some of their geometrical ideas and also some basic ideas in number theory. In this article we now examine some algebra which the Babylonians developed, particularly problems which led to equations and their solution.
We noted above that the Babylonians were famed as constructors of tables. Now these could be used to solve equations. For example they constructed tables for n3 + n2 then, with the aid of these tables, certain cubic equations could be solved. For example, consider the equation
Again a table would have been looked up to solve the linear equation ax = b. They would consult the 1/n table to find 1/a and then multiply the sexagesimal number given in the table by b. An example of a problem of this type is the following.
Suppose, writes a scribe, 2/3 of 2/3 of a certain quantity of barley is taken, 100 units of barley are added and the original quantity recovered. The problem posed by the scribe is to find the quantity of barley. The solution given by the scribe is to compute 0; 40 times 0; 40 to get 0; 26, 40. Subtract this from 1; 00 to get 0; 33, 20. Look up the reciprocal of 0; 33, 20 in a table to get 1;48. Multiply 1;48 by 1,40 to get the answer 3,0.
It is not that easy to understand these calculations by the scribe unless we translate them into modern algebraic notation. We have to solve
To solve a quadratic equation the Babylonians essentially used the standard formula. They considered two types of quadratic equation, namely
A problem on a tablet from Old Babylonian times states that the area of a rectangle is 1, 0 and its length exceeds its breadth by 7. The equation
In  Berriman gives 13 typical examples of problems leading to quadratic equations taken from Old Babylonian tablets.
If problems involving the area of rectangles lead to quadratic equations, then problems involving the volume of rectangular excavation (a "cellar") lead to cubic equations. The clay tablet BM 85200+ containing 36 problems of this type, is the earliest known attempt to set up and solve cubic equations. Hoyrup discusses this fascinating tablet in . Of course the Babylonians did not reach a general formula for solving cubics. This would not be found for well over three thousand years.
Article by: J J O'Connor and E F Robertson
MacTutor History of Mathematics