Mathematics · Geometry

Pythagorean Theorem

The Pythagorean theorem holds for right triangles: the square of the hypotenuse equals the sum of the squares of the two legs.

BasicExam-relevant

Free · no credit card · in your study plan in 2 minutes

Formula

LaTeX: a^2 + b^2 = c^2
All lengths in the same unit (dimensionless when taken as a relation)
Diagram: a right triangle with a square on each side; the two leg squares a² and b² together equal the hypotenuse square c².abc
For a right triangle: the sum of the squares on the legs a² and b² equals the square on the hypotenuse c².

Variables & units – Pythagorean Theorem

SymbolMeaningUnit
a, bLegs (the two sides adjacent to the right angle)m, cm, etc.
cHypotenuse (the longest side, opposite the 90° angle)same unit

Derivation & background – Pythagorean Theorem

Known since the 8th century BC (Babylon, India). Pythagoras of Samos (about 570 to 495 BC) is the eponymous figure. There are more than 370 proofs (Euclid, President Garfield, Einstein). Generalization: the law of cosines c² = a² + b² − 2ab·cos γ.

Exam blueprint

Validity range

Applies only to right triangles in Euclidean geometry.

Derivation steps

Area decomposition shows that the square on the hypotenuse equals the sum of the squares on the legs.

  1. 1Construct squares on all three sides.
  2. 2Compare the area decomposition: c² is composed of a² and b².

Rearrangements

Calculate hypotenuse

c is always opposite the right angle.

Task variant

A triangle has legs 5 and 12. Find c.

c = √(25+144) = √169 = 13.

Common mistakes

Mistaking a leg for the hypotenuse.

Find the right angle first; c is opposite it.

Exam context

  • Often used in geometry, vector lengths, distances and coordinate tasks.

These mistakes cost points in real exams. The set drills them until they stick.

Worked example

A carpenter needs the diagonal of a 3 m × 4 m room: c = √(3² + 4²) = √25 = 5 m. The "3-4-5 triple" is a classic Pythagorean triple.

Applications

Architecture, navigation (GPS triangulation), computer graphics, vector calculations

Quanta exam set

Curated exam set for "Pythagorean Theorem":

Question (front)

Which formula describes Pythagorean Theorem?

Answer in your set

Question (front)

How do you rearrange a² + b² = c² for Calculate hypotenuse?

Answer in your set

Question (front)

Which common mistake happens with Pythagorean Theorem?

Answer in your set

+ 7 more cards: units, variables, derivation, example, exam task

These 10 cards are ready. One click and they sit in your deck, FSRS schedules the reviews until exam day.

Scientific sources

Common notations & search queries

a^2+b^2=c^2a²+b²=c²a2+b2=c2a*a+b*b=c*ca hoch 2 plus b hoch 2 gleich c hoch 2PithagorasPhytagorasSatz des PythagorasPythagorean theoremrechtwinkliges Dreieck Formel

Related formulas

More Mathematics formulas

Frequently asked questions about Pythagorean Theorem

How do you calculate the hypotenuse with the Pythagorean theorem?+

Square the two legs, add the squares and take the square root: c = √(a² + b²). The hypotenuse c is always the longest side and lies opposite the right angle. Example: for legs of 5 and 12, c = √(25 + 144) = √169 = 13. All lengths must be in the same unit. Make sure to square and add first and only then take the root; the root of a sum is not the sum of the roots. The theorem holds only in right triangles, so you first identify the right angle and the side opposite it.

How do you calculate a leg when the hypotenuse and the other leg are known?+

Rearrange the theorem for the required leg: a = √(c² − b²). So subtract the square of the known leg from the square of the hypotenuse and take the root of the result. The order matters, because here there is a minus, not a plus as for the hypotenuse. Example: for c = 13 and b = 5 it follows that a = √(169 − 25) = √144 = 12. Make sure to put the square of the hypotenuse first; if the expression under the root is negative, you have confused hypotenuse and leg. The hypotenuse is always the longest side, so its square is the largest.

When does the Pythagorean theorem not apply?+

The theorem applies only in right triangles in Euclidean, that is planar geometry. In a triangle without a right angle, a² + b² does not equal c²; there you need the law of cosines instead, which as a generalization contains an extra term with the included angle. On curved surfaces, for example on a sphere, the theorem also does not hold, because there the sum of angles in a triangle differs from 180°. A common mistake is to apply the theorem to arbitrary triangles. Therefore always check first whether there really is a right angle before using a² + b² = c².

How do you use Pythagoras to calculate the distance between two points?+

The distance between two points in the plane is the hypotenuse of a right triangle whose legs are the differences of the coordinates. For the points (x₁, y₁) and (x₂, y₂), d = √((x₂ − x₁)² + (y₂ − y₁)²). So you form the differences in the x and y directions, square them, add them and take the root. In space the term (z₂ − z₁)² is simply added under the root. This distance formula is a direct application of the Pythagorean theorem and the basis for vector lengths, the magnitude of a displacement and many problems in analytic geometry.

What is a Pythagorean triple?+

A Pythagorean triple consists of three natural numbers a, b and c that satisfy the equation a² + b² = c² exactly. The best known is 3, 4, 5, since 9 + 16 = 25. Others are 5, 12, 13 and 8, 15, 17. Multiples of a triple, such as 6, 8, 10, are also triples. Such numbers are handy because they give clean, whole-number results in problems and let craftsmen set out a right angle without a protractor, for example with a twelve-knot rope. If you recognize a known triple in a problem, you can read off the third side immediately without having to compute the square root.

Retain Pythagorean Theorem for exams

Create a curated FSRS exam set for a² + b² = c²: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.

Free · curated formula set · LaTeX · FSRS spaced repetition

How do you calculate with Pythagorean Theorem?

Here is how to work through a typical Pythagorean Theorem (a² + b² = c²) task step by step:

  1. 1

    Task

    A triangle has legs 5 and 12. Find c.

    Solution path

    c = √(25+144) = √169 = 13.