Skip to content
Gioi Toan
Start learning

Faces of mathematics · Nov 9, 2026

Who was Leonhard Euler? His life and the maths you meet at school

Oil portrait of Leonhard Euler wearing a white head wrap and a blue striped coat
Leonhard Euler (1707-1783), who used a parity argument to prove that you cannot walk across the seven bridges of Königsberg crossing each bridge exactly once. Painting: Jakob Emanuel Handmann, Wikimedia Commons, public domain

Leonhard Euler (1707 to 1783, pronounced "OY-ler") was a Swiss mathematician and one of the most prolific writers in the history of mathematics. Much of what you meet at school carries his mark: the notation f(x)f(x), the number ee, the formula linking the vertices, edges and faces of a solid, and the seven bridges problem that started graph theory.

Life and work

  • 1707, Basel (Switzerland). Euler was born on 15 April. He entered the University of Basel at 14. The mathematician Johann Bernoulli advised him to read difficult books on his own and to bring the points where he got stuck to him one afternoon each week.
  • 1727, St Petersburg (Russia). Euler joined the Academy of Sciences in St Petersburg, where he solved the seven bridges problem. In his own account, his eyesight began to weaken in 1738 from overwork, and by 1740 he had lost the use of one eye.
  • 1741, Berlin (Prussia). At the invitation of King Frederick II, Euler moved to the Berlin Academy and stayed for 25 years. He wrote many major books there, as well as letters explaining science to a German princess, later published in three volumes from 1768 to 1772.
  • 1766, back to St Petersburg. Soon afterwards he became almost completely blind. In 1771 an eye operation gave him back his sight for a few days, and then he became totally blind.
  • Blind, yet still writing. With his remarkable memory, Euler did his calculations in his head and dictated them to his sons and assistants. Almost half of his work was produced after he returned to St Petersburg at the age of 59. Euler died on 18 September 1783; that day he still gave a maths lesson to one of his grandchildren and worked out the motion of hot-air balloons.

The catalogue compiled by the historian Gustaf Eneström numbers 866 works by Euler. The portrait at the top of this page was painted by Jakob Emanuel Handmann in 1753, while Euler was living in Berlin.

What you meet at school

Familiar symbols

Many symbols that everyone uses today became widespread through Euler's books:
  • f(x)f(x): the value of the function ff at xx (Euler used it from 1734).
  • e≈2.718e \approx 2.718: the base of natural logarithms, which you meet in Grade 11.
  • ii: the number with i2=−1i^2 = -1, called the imaginary unit.
  • π\pi: the ratio of a circle's circumference to its diameter. William Jones used this symbol first, but it was Euler's books that made it popular.
  • ∑\sum: a short way to write a sum.

Euler's formula for polyhedra

Count the vertices VV, edges EE and faces FF of any convex polyhedron, and you always get
V−E+F=2.V - E + F = 2.
Euler published this formula in a paper printed in 1758.

For example, a cube has 8 vertices, 12 edges and 6 faces, and 8−12+6=28 - 12 + 6 = 2. A square pyramid has 5 vertices, 8 edges and 5 faces: 5−8+5=25 - 8 + 5 = 2.

The seven bridges of Königsberg

The city of Königsberg (now Kaliningrad, Russia) lies on both banks of the river Pregel. In the river there are two islands, Kneiphof and Lomse, joined to the banks and to each other by seven bridges.

Engraved map of Königsberg: the river Pregel, coloured blue, divides the city into four areas, and the seven bridges are coloured brown
Königsberg in a 17th-century engraving: the river Pregel in blue, the seven bridges in brown. The large island in the middle is Kneiphof. Map: Merian-Erben (17th century), coloured on Wikimedia Commons, public domain

People challenged each other: could you take a walk that crosses all seven bridges, each bridge exactly once? Nobody found a way. Euler proved that it is impossible, and the way he reasoned is worth even more than the answer.

Step 1: keep only what matters. The shape of the islands and the length of the bridges make no difference; all you need is the four areas of land and which bridge joins which areas.

Today we draw each area as a point, called a vertex, and each bridge as a line, called an edge. Such a picture is called a graph, and the number of edges touching a vertex is the degree of that vertex.

A5B3C3D3
A is the island Kneiphof, D is the island Lomse, B and C are the two river banks. The number in each small circle is the degree: A has degree 5, the other three have degree 3.

Step 2: count odd and even. Suppose there is such a walk. Each time you pass through an area, you arrive by one bridge and leave by another, so you use two of its bridges. That means every area that is neither the start nor the end must have an even degree.

So at most two areas can have an odd degree: the start and the end. In Königsberg, all four areas have an odd degree, so no such walk exists.

Euler's paper, presented to the St Petersburg Academy in 1735 and printed in 1741, is regarded as the first paper in graph theory. Today this field helps find routes on maps, plan timetables and design computer networks.

The Euler line of a triangle

Every triangle has three special points: the centroid GG (where the three medians meet), the orthocentre HH (where the three altitudes meet) and the circumcentre OO (where the three perpendicular bisectors meet).

In 1765 Euler proved that these three points always lie on one straight line, with GG between the other two and GH=2GOGH = 2GO. The line through them is named after him. In an equilateral triangle the three points coincide.

OGHABC
The dashed lines are two altitudes (meeting at HH) and two medians (meeting at GG). The purple line is the Euler line.

In Grade 10, when you study vectors, you will be able to prove that OH→=3 OG→\overrightarrow{OH} = 3\,\overrightarrow{OG}, which shows that the three points are collinear.

For upper secondary students: a famous identity

In a book printed in 1748, Euler gave a formula linking the exponential function with trigonometry: eix=cos⁡x+isin⁡xe^{ix} = \cos x + i\sin x. Putting x=πx = \pi gives
eiπ+1=0.e^{i\pi} + 1 = 0.
This identity follows at once from Euler's formula, although it is not certain that he ever wrote it in this short form himself.

One short line holds five of the most important numbers: 00, 11, ee, ii and π\pi. You do not need to understand it all yet; just remember that parts of mathematics that seem separate are in fact closely connected.

Lessons for you

  • Read on your own, then ask about the right things. Johann Bernoulli did not tutor Euler lesson by lesson; he told him to read hard books by himself and bring only the points where he was truly stuck. Try the same: read carefully, mark what you do not understand, then ask your teacher or a friend.
  • Calculate in your head and remember. Euler did long calculations in his head, which is why he could keep working after he lost his sight. A little mental arithmetic every day makes you quicker and helps you see patterns in numbers.
  • Write a lot. Euler wrote steadily all his life. Writing out a full solution, step by step, shows you where you are still unsure.
  • Share what you know. Euler wrote textbooks and letters explaining science to people who did not study mathematics. He dictated his algebra book to a young man who knew no mathematics, and the book became famous for being very clear. Explaining a lesson to a friend is a good way to understand it more deeply yourself.

Try it yourself

  1. Question 1

    How many vertices, edges and faces does a right triangular prism have? Check the formula V−E+F=2V - E + F = 2.

    Show solution

    The two bases are triangles with 3 vertices each, so V=6V = 6. Each base has 3 edges, plus 3 side edges, so E=9E = 9. There are 2 bases and 3 side faces, so F=5F = 5.

    Then 6−9+5=26 - 9 + 5 = 2: the formula holds.

  2. Question 2

    If Königsberg built one more bridge, could you walk across every bridge exactly once? Which two areas should the new bridge join?

    Show solution

    Yes. At first all four areas have an odd degree. Whichever two areas the new bridge joins, their degrees go up by 1 and become even; the other two stay odd. With exactly two odd areas left, a walk exists: start at one odd area and finish at the other. The new bridge can join any two areas.

    To finish where you started, every area must have an even degree, so two new bridges are needed, for example one joining B and C and one joining A and D.

  3. Question 3

    The "house" below is made of the square PQSRPQSR, the two diagonals PSPS and QRQR, and the roof RTSRTS. Can you draw it in one stroke, without lifting the pen or going over any line twice? Where must you start?

    PQSRT
    Show solution

    Degrees: PP and QQ have degree 3, RR and SS have degree 4, TT has degree 2. If you count the crossing of the diagonals as a vertex, it has degree 4, which is still even.

    There are exactly two odd vertices, so it can be done, and you must start at PP or QQ and finish at the other. One way: P→R→T→S→R→Q→S→P→QP \to R \to T \to S \to R \to Q \to S \to P \to Q.

All mathematicians