Ancient Egyptian mathematics is the mathematics that was developed and used in Ancient Egypt c. 3000 to c. 300 BC, from the Old Kingdom of Egypt until roughly the beginning of Hellenistic Egypt. The ancient Egyptians utilized a numeral system for counting and solving written mathematical problems, often involving multiplication and fractions. Evidence for Egyptian mathematics is limited to a scarce amount of surviving sources written on papyri. From these texts it is known that ancient Egyptians understood concepts of geometry, such as determining the surface area and volume of threedimensional shapes useful for architectural engineering, and algebra, such as the false position method and quadratic equations.
Further information: Ancient Egyptian literature
Written evidence of the use of mathematics dates back to at least 3000 BC with the ivory labels found in Tomb Uj at Abydos. These labels appear to have been used as tags for grave goods and some are inscribed with numbers.^{[1]} Further evidence of the use of the base 10 number system can be found on the Narmer Macehead which depicts offerings of 400,000 oxen, 1,422,000 goats and 120,000 prisoners.^{[2]}
The evidence of the use of mathematics in the Old Kingdom (c. 2690–2180 BC) is scarce, but can be deduced from inscriptions on a wall near a mastaba in Meidum which gives guidelines for the slope of the mastaba.^{[3]} The lines in the diagram are spaced at a distance of one cubit and show the use of that unit of measurement.^{[1]}
The earliest true mathematical documents date to the 12th dynasty (c. 1990–1800 BC). The Moscow Mathematical Papyrus, the Egyptian Mathematical Leather Roll, the Lahun Mathematical Papyri which are a part of the much larger collection of Kahun Papyri and the Berlin Papyrus 6619 all date to this period. The Rhind Mathematical Papyrus which dates to the Second Intermediate Period (c. 1650 BC) is said to be based on an older mathematical text from the 12th dynasty.^{[4]}
The Moscow Mathematical Papyrus and Rhind Mathematical Papyrus are so called mathematical problem texts. They consist of a collection of problems with solutions. These texts may have been written by a teacher or a student engaged in solving typical mathematics problems.^{[1]}
An interesting feature of Ancient Egyptian mathematics is the use of unit fractions. ^{[5]}The Egyptians used some special notation for fractions such as and and in some texts for , but other fractions were all written as unit fractions of the form or sums of such unit fractions. Scribes used tables to help them work with these fractions. The Egyptian Mathematical Leather Roll for instance is a table of unit fractions which are expressed as sums of other unit fractions. The Rhind Mathematical Papyrus and some of the other texts contain tables. These tables allowed the scribes to rewrite any fraction of the form as a sum of unit fractions.^{[1]}
During the New Kingdom (c. 1550–1070 BC) mathematical problems are mentioned in the literary Papyrus Anastasi I, and the Papyrus Wilbour from the time of Ramesses III records land measurements. In the workers village of Deir elMedina several ostraca have been found that record volumes of dirt removed while quarrying the tombs.^{[1]}^{[4]}
Current understanding of ancient Egyptian mathematics is impeded by the paucity of available sources. The sources that do exist include the following texts (which are generally dated to the Middle Kingdom and Second Intermediate Period):
From the New Kingdom there are a handful of mathematical texts and inscriptions related to computations:
Main articles: Egyptian numerals and Egyptian fraction
Ancient Egyptian texts could be written in either hieroglyphs or in hieratic. In either representation the number system was always given in base 10. The number 1 was depicted by a simple stroke, the number 2 was represented by two strokes, etc. The numbers 10, 100, 1000, 10,000 and 1,000,000 had their own hieroglyphs. Number 10 is a hobble for cattle, number 100 is represented by a coiled rope, the number 1000 is represented by a lotus flower, the number 10,000 is represented by a finger, the number 100,000 is represented by a frog, and a million was represented by a god with his hands raised in adoration.^{[6]}
1  10  100  1000  10,000  100,000  1,000,000  








Egyptian numerals date back to the Predynastic period. Ivory labels from Abydos record the use of this number system. It is also common to see the numerals in offering scenes to indicate the number of items offered. The king's daughter Neferetiabet is shown with an offering of 1000 oxen, bread, beer, etc.
The Egyptian number system was additive. Large numbers were represented by collections of the glyphs and the value was obtained by simply adding the individual numbers together.
The Egyptians almost exclusively used fractions of the form 1/n. One notable exception is the fraction 2/3, which is frequently found in the mathematical texts. Very rarely a special glyph was used to denote 3/4. The fraction 1/2 was represented by a glyph that may have depicted a piece of linen folded in two. The fraction 2/3 was represented by the glyph for a mouth with 2 (different sized) strokes. The rest of the fractions were always represented by a mouth superimposed over a number.^{[6]}





Main article: Ancient Egyptian multiplication
Egyptian multiplication was done by repeated doubling of the number to be multiplied (the multiplicand), and choosing which of the doublings to add together (essentially a form of binary arithmetic), a method that links to the Old Kingdom. The multiplicand was written next to the figure 1; the multiplicand was then added to itself, and the result written next to the number 2. The process was continued until the doublings gave a number greater than half of the multiplier. Then the doubled numbers (1, 2, etc.) would be repeatedly subtracted from the multiplier to select which of the results of the existing calculations should be added together to create the answer.^{[2]}
As a short cut for larger numbers, the multiplicand can also be immediately multiplied by 10, 100, 1000, 10000, etc.
For example, Problem 69 on the Rhind Papyrus (RMP) provides the following illustration, as if Hieroglyphic symbols were used (rather than the RMP's actual hieratic script).^{[6]}
To multiply 80 × 14  
Egyptian calculation  Modern calculation  
Result  Multiplier  Result  Multiplier  


80  1  


800  10  


160  2  


320  4  


1120  14 
The denotes the intermediate results that are added together to produce the final answer.
The table above can also be used to divide 1120 by 80. We would solve this problem by finding the quotient (80) as the sum of those multipliers of 80 that add up to 1120. In this example that would yield a quotient of 10 + 4 = 14.^{[6]} A more complicated example of the division algorithm is provided by Problem 66. A total of 3200 ro of fat are to be distributed evenly over 365 days.
1  365  
2  730  
4  1460  
8  2920  
2/3  243^{1}⁄_{3}  
1/10  36^{1}⁄_{2}  
1/2190  1/6 
First the scribe would double 365 repeatedly until the largest possible multiple of 365 is reached, which is smaller than 3200. In this case 8 times 365 is 2920 and further addition of multiples of 365 would clearly give a value greater than 3200. Next it is noted that times 365 gives us the value of 280 we need. Hence we find that 3200 divided by 365 must equal .^{[6]}
Main article: Egyptian algebra
Egyptian algebra problems appear in both the Rhind mathematical papyrus and the Moscow mathematical papyrus as well as several other sources.^{[6]}
 
Aha in hieroglyphs 

Aha problems involve finding unknown quantities (referred to as Aha) if the sum of the quantity and part(s) of it are given. The Rhind Mathematical Papyrus also contains four of these type of problems. Problems 1, 19, and 25 of the Moscow Papyrus are Aha problems. For instance problem 19 asks one to calculate a quantity taken 1 and ^{1}⁄_{2} times and added to 4 to make 10.^{[6]} In other words, in modern mathematical notation we are asked to solve the linear equation:
Solving these Aha problems involves a technique called method of false position. The technique is also called the method of false assumption. The scribe would substitute an initial guess of the answer into the problem. The solution using the false assumption would be proportional to the actual answer, and the scribe would find the answer by using this ratio.^{[6]}
The mathematical writings show that the scribes used (least) common multiples to turn problems with fractions into problems using integers. In this connection red auxiliary numbers are written next to the fractions. ^{[6]}
The use of the Horus eye fractions shows some (rudimentary) knowledge of geometrical progression. Knowledge of arithmetic progressions is also evident from the mathematical sources.^{[6]}
The ancient Egyptians were the first civilization to develop and solve seconddegree (quadratic) equations. This information is found in the Berlin Papyrus fragment. Additionally, the Egyptians solve firstdegree algebraic equations found in Rhind Mathematical Papyrus.^{[7]}
Main article: Egyptian geometry
There are only a limited number of problems from ancient Egypt that concern geometry. Geometric problems appear in both the Moscow Mathematical Papyrus (MMP) and in the Rhind Mathematical Papyrus (RMP). The examples demonstrate that the Ancient Egyptians knew how to compute areas of several geometric shapes and the volumes of cylinders and pyramids.
Problem 56 of the RMP indicates an understanding of the idea of geometric similarity. This problem discusses the ratio run/rise, also known as the seqed. Such a formula would be needed for building pyramids. In the next problem (Problem 57), the height of a pyramid is calculated from the base length and the seked (Egyptian for the reciprocal of the slope), while problem 58 gives the length of the base and the height and uses these measurements to compute the seqed. In Problem 59 part 1 computes the seqed, while the second part may be a computation to check the answer: If you construct a pyramid with base side 12 [cubits] and with a seqed of 5 palms 1 finger; what is its altitude?^{[6]}