No one person can take credit for the discovery of math. However, mathematics has developed over time, and many people have contributed to its different fields or branches that include algebra, geometry and trigonometry.
Mathematics dates back thousands of years. In the Sumerian and Babylonian civilizations, the need for a measurements system was the result of agriculture that required the measuring of land plots.
The ancient Egyptians, Chinese and Greeks also made many mathematical discoveries. Pythagoras, Euclid, Thales and Eratosthenes are ancient Greeks that made contributions to mathematics.
In the 17th century, mathematicians, such as Fermat, Newton, Leibniz, Descartes, Pascal and Napier, worked on different mathematical problems. John Napier did work on logarithms, and Newton and Leibniz made contributions to calculus.