Leonhard Euler ( ; 15 April 170718 September 1783) was a Swiss polymath who was active as a mathematician, physicist, astronomer, logician, geographer, music theorist and engineer. He founded the studies of graph theory and topology and made influential discoveries in many other branches of mathematics, such as analytic number theory, complex analysis, and infinitesimal calculus. He also introduced much of modern mathematical terminology and notation, including the notion of a mathematical function. He is known for his work in mechanics, fluid dynamics, optics, astronomy, and music theory. Euler has been called a "universal genius" who "was fully equipped with almost unlimited powers of imagination, intellectual gifts and extraordinary memory". He spent most of his adult life in Saint Petersburg, Russia, and in Berlin, then the capital of Prussia.

Euler is credited for popularizing the Greek letter (lowercase pi) to denote the ratio of a circle's circumference to its diameter, as well as first using the notation for the value of a function, the letter to express the imaginary unit , the Greek letter (capital sigma) to express summations, the Greek letter (capital delta) for finite differences, and lowercase letters to represent the sides of a triangle while representing the angles as capital letters. He gave the current definition of the constant , the base of the natural logarithm, now known as Euler's number. Euler made contributions to applied mathematics and engineering, such as his study of ships helping navigation, his three volumes on optics, which contributed to the design of microscopes and telescopes, and his studies of beam bending and column critical loads.

Euler is credited with being the first to develop graph theory (partly as a solution for the problem of the Seven Bridges of Königsberg, which is also considered the first practical application of topology). He also became famous for, among many other accomplishments, solving several unsolved problems in number theory and analysis, including the famous Basel problem. Euler has also been credited for discovering that the sum of the numbers of vertices and faces minus the number of edges of a polyhedron that has no holes equals 2, a number now commonly known as the Euler characteristic. In physics, Euler reformulated Isaac Newton's laws of motion into new laws in his two-volume work Mechanica to better explain the motion of rigid bodies. He contributed to the study of elastic deformations of solid objects. Euler formulated the partial differential equations for the motion of inviscid fluid, and laid the mathematical foundations of potential theory.

Euler is regarded as arguably the most prolific contributor in the history of mathematics and science, and the greatest mathematician of the 18th century. His 866 publications and his correspondence were collected in the Opera Omnia Leonhard Euler. Several great mathematicians who worked after Euler's death have recognised his importance in the field: Pierre-Simon Laplace said, "Read Euler, read Euler, he is the master of us all"; Carl Friedrich Gauss wrote: "The study of Euler's works will remain the best school for the different fields of mathematics, and nothing else can replace it."

Early life Leonhard Euler was born in Basel on 15 April 1707 to Paul III Euler, a pastor of the Reformed Church, and Marguerite (), whose ancestors include a number of well-known scholars in the classics. He was the oldest of four children, with two younger sisters, Anna Maria and Maria Magdalena, and a younger brother, Johann Heinrich. Soon after Leonhard's birth, the Eulers moved from Basel to Riehen, Switzerland, where his father became pastor in the local church and Leonhard spent most of his childhood.

From a young age, Euler received schooling in mathematics from his father, who had taken courses from Jacob Bernoulli some years earlier at the University of Basel. Around the age of eight, Euler was sent to live at his maternal grandmother's house and enrolled in the Latin school in Basel. In addition, he received private tutoring from Johannes Burckhardt, a young theologian with a keen interest in mathematics.

In 1720, at age 13, Euler enrolled at the University of Basel. Attending university at such a young age was not unusual at the time. The course on elementary mathematics was given by Johann Bernoulli, the younger brother of the deceased Jacob Bernoulli, who had taught Euler's father. Johann Bernoulli and Euler soon got to know each other better. Euler described Bernoulli in his autobiography:

The famous professor Johann Bernoulli [...] made it a special pleasure for himself to help me along in the mathematical sciences. Private lessons, however, he refused because of his busy schedule. However, he gave me a far more salutary advice, which consisted in myself getting a hold of some of the more difficult mathematical books and working through them with great diligence, and should I encounter some objections or difficulties, he offered me free access to him every Saturday afternoon, and he was gracious enough to comment on the collected difficulties, which was done with such a desired advantage that, when he resolved one of my objections, ten others at once disappeared, which certainly is the best method of making happy progress in the mathematical sciences.

During this time, Euler, backed by Bernoulli, obtained his father's consent to become a mathematician instead of a pastor.

In 1723, Euler received a Master of Philosophy with a dissertation that compared the philosophies of René Descartes and Isaac Newton. Afterwards, he enrolled in the theological faculty of the University of Basel.

In 1726, Euler completed a dissertation on the propagation of sound titled De Sono, with which he unsuccessfully attempted to obtain a position at the University of Basel. In 1727, he entered the Paris Academy prize competition (offered annually and later biennially by the academy beginning in 1720) for the first time. The problem posed that year was to find the best way to place the masts on a ship. Pierre Bouguer, who became known as "the father of naval architecture", won and Euler took second place. Over the years, Euler entered this competition 15 times, winning 12 of them.

Career

First Saint Petersburg period (1727–1741)

Johann Bernoulli's two sons, Daniel and Nicolaus, entered into service at the Imperial Russian Academy of Sciences in Saint Petersburg in 1725, leaving Euler with the assurance they would recommend him to a post when one was available. On 31 July 1726, Nicolaus died of appendicitis after spending less than a year in Russia. When Daniel assumed his brother's position in the mathematics/physics division, he recommended that the post in physiology that he had vacated be filled by his friend Euler. In November 1726, Euler eagerly accepted the offer, but delayed making the trip to Saint Petersburg while he unsuccessfully applied for a physics professorship at the University of Basel.

Euler arrived in Saint Petersburg in May 1727. He was promoted from his junior post in the medical department of the academy to a position in the mathematics department. He lodged with Daniel Bernoulli with whom he worked in close collaboration. Euler mastered Russian, settled into life in Saint Petersburg and took on an additional job as a medic in the Russian Navy.

The academy at Saint Petersburg, established by Peter the Great, was intended to improve education in Russia and to close the scientific gap with Western Europe. As a result, it was made especially attractive to foreign scholars like Euler. The academy's benefactress, Catherine I, who had continued the progressive policies of her late husband, died before Euler's arrival to Saint Petersburg. The Russian conservative nobility then gained power upon the ascension of the twelve-year-old Peter II. The nobility, suspicious of the academy's foreign scientists, cut funding for Euler and his colleagues and prevented the entrance of foreign and non-aristocratic students into the Gymnasium and universities.

Conditions improved slightly after the death of Peter II in 1730 and the German-influenced Anna of Russia assumed power. Euler swiftly rose through the ranks in the academy and was made a professor of physics in 1731. In 1730, he began a lengthy correspondence with the secretary of the academy Johann Daniel Schumacher which continued until 1757, long after Euler had left for Berlin, comprising more than 300 letters in total. They shared scientific news and Euler advised Schumacher on suitable candidates for vacancies at the academy (such as the mathematician and astronomer Tobias Mayer, the natural philosopher , and the mathematician and philosopher ), as well as sending scientific equipment and his own latest publications. From the 1750s, he corresponded similarly with Gerhard Friedrich Müller, to whom Schumacher delegated many of his responsibilities.

In 1731 Euler also left the Russian Navy, refusing a promotion to lieutenant. Two years later, Daniel Bernoulli, fed up with the censorship and hostility he faced at Saint Petersburg, left for Basel. Euler succeeded him as the head of the mathematics department. In January 1734, he married Katharina Gsell (1707–1773), a daughter of Georg Gsell. Frederick II had made an attempt to recruit the services of Euler for his newly established Berlin Academy in 1740, but Euler initially preferred to stay in St Petersburg. But after Empress Anna died and Frederick II agreed to pay 1600 ecus (the same as Euler earned in Russia) he agreed to move to Berlin. In 1741, he requested permission to leave for Berlin, arguing he was in need of a milder climate for his eyesight. The Russian academy gave its consent and would pay him 200 rubles per year as one of its active members.

Berlin period (1741–1766) Concerned about the continuing turmoil in Russia, Euler left St. Petersburg in June 1741 to take up a post at the Berlin Academy, which he had been offered by Frederick the Great of Prussia. He lived for 25 years in Berlin, where he wrote several hundred articles. In 1748 his text on functions called the Introductio in analysin infinitorum was published and in 1755 a text on differential calculus called the Institutiones calculi differentialis was published. In 1755, he was elected a foreign member of the Royal Swedish Academy of Sciences and of the French Academy of Sciences. Notable students of Euler in Berlin included Stepan Rumovsky, later considered as the first Russian astronomer. In 1748 he declined an offer from the University of Basel to succeed the recently deceased Johann Bernoulli. In 1753 he bought a house in Charlottenburg, in which he lived with his family and widowed mother.

Euler became the tutor for Friederike Charlotte of Brandenburg-Schwedt, the Princess of Anhalt-Dessau and Frederick's niece. He wrote over 200 letters to her in the early 1760s, which were later compiled into a volume entitled Letters of Euler on different Subjects in Natural Philosophy Addressed to a German Princess. This work contained Euler's exposition on various subjects pertaining to physics and mathematics and offered valuable insights into Euler's personality and religious beliefs. It was translated into multiple languages, published across Europe and in the United States, and became more widely read than any of his mathematical works. The popularity of the Letters testifies to Euler's ability to communicate scientific matters effectively to a lay audience, a rare ability for a dedicated research scientist.