FreeMathCamp
Course Articles

Free Math Camp

A free course in the maths you need before calculus. Short lessons, interactive visuals, practice that adapts to you, and a record of progress on your account.

freemathcamp.app

Made by Adam Richard Turner

hello@adamrichardturner.dev

Course

  • Foundations
  • Articles
  • Start free
  • Sign in

Legal

  • Privacy
  • Terms
  • Do not sell or share

Copyright © Adam Richard Turner. All rights reserved.

  1. Articles
  2. /
  3. Geometry
Geometry

The Pythagorean Theorem Explained: a² + b² = c²

What Pythagoras' theorem says, a picture of why it is true, how to find a missing side (long or short), how to spot a right angle, and Pythagorean triples worth knowing.

3 min read Supports 4 lessons
In short

In a right-angled triangle, the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides: a2+b2=c2a^2 + b^2 = c^2a2+b2=c2.

Draw a square on each side of a right-angled triangle. The two smaller squares together have exactly the same area as the big one on the longest side. Change the legs below and watch the areas.

Interactive
91625

32+42=9+16=25=c2  ⇒  c=53^2 + 4^2 = 9 + 16 = 25 = c^2 \;\Rightarrow\; c = 532+42=9+16=25=c2⇒c=5

Pythagorean theorem
a2+b2=c2a^2 + b^2 = c^2a2+b2=c2

ccc is the hypotenuse: the longest side, opposite the right angle.

Watch out

The theorem only works for right-angled triangles, and ccc must be the hypotenuse.

Why it is true

Arrange four copies of the triangle inside a big square of side a+ba + ba+b, with their hypotenuses forming a tilted square in the middle. The big square's area can be counted two ways:

  1. (a+b)2(a + b)^2(a+b)2

    Area of the big square.

1/4

Finding the hypotenuse

Worked example

The legs of a right-angled triangle are 666 and 888. Find the hypotenuse.

  1. 1

    Square and add.

    c2=62+82=100c^2 = 6^2 + 8^2 = 100c2=62+82=100

Finding a shorter side

To find a leg, subtract instead: a2=c2−b2a^2 = c^2 - b^2a2=c2−b2.

Worked example

A ladder 131313 m long reaches 121212 m up a wall. How far is its foot from the wall?

  1. 1

    The ladder is the hypotenuse.

    a2+122=132a^2 + 12^2 = 13^2a2+122=132
Tip

Sense check: the hypotenuse must be the longest side. If your "hypotenuse" comes out shorter than a leg, you added when you should have subtracted, or the other way round.

Testing for a right angle

The theorem works backwards too. If the sides satisfy a2+b2=c2a^2 + b^2 = c^2a2+b2=c2, the triangle has a right angle. Builders use a 333–444–555 rope triangle to set out square corners.

Pythagorean triples

Whole-number solutions are called Pythagorean triples. The most useful are (3,4,5)(3, 4, 5)(3,4,5), (5,12,13)(5, 12, 13)(5,12,13), (8,15,17)(8, 15, 17)(8,15,17) and (7,24,25)(7, 24, 25)(7,24,25). Any multiple of a triple, such as (6,8,10)(6, 8, 10)(6,8,10), is a triple too.

Key idea

Pythagoras reappears all over the course: it is the distance formula on a coordinate grid, the equation of a circle, and the identity sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1sin2θ+cos2θ=1.

Common questions

Which side is the hypotenuse?

The side opposite the right angle. It is always the longest side of a right-angled triangle.

Does Pythagoras work for all triangles?

No, only right-angled triangles. For other triangles, a2+b2a^2 + b^2a2+b2 is bigger or smaller than c2c^2c2 depending on whether the angle opposite ccc is acute or obtuse.

Practise pythagorean theorem

The Pythagorean Theorem lesson has worked examples and unlimited practice that adapts to you.

Open the lesson

On this page

  1. Why it is true
  2. Finding the hypotenuse
  3. Finding a shorter side
  4. Testing for a right angle
  5. Pythagorean triples
  6. Common questions
Lessons on this
  • Pythagorean TheoremGeometry
  • Distance & MidpointGeometry
  • SOH CAH TOATrigonometry
  • The Unit CircleTrigonometry
Related reading7
Ideas this article builds on or leads to.
  • Geometry
    Distance and Midpoint Formulas and the Equation of a Circle

    The distance formula d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}d=(x2​−x1​)2+(y2​−y1​)2​ is Pythagoras on a grid. The midpoint averages the coordinates. A circle with centre (h,k)(h, k)(h,k) and radius rrr has equation (x−h)2+(y−k)2=r2(x - h)^2 + (y - k)^2 = r^2(x−h)2+(y−k)2=r2.

  • Trigonometry
    SOH CAH TOA: Sine, Cosine and Tangent in Right-Angled Triangles

    In a right-angled triangle, sine, cosine and tangent are ratios of sides that depend only on an angle: sin⁡θ=opphyp\sin\theta = \frac{\text{opp}}{\text{hyp}}sinθ=hypopp​, cos⁡θ=adjhyp\cos\theta = \frac{\text{adj}}{\text{hyp}}cosθ=hypadj​, tan⁡θ=oppadj\tan\theta = \frac{\text{opp}}{\text{adj}}tanθ=adjopp​. SOH CAH TOA is the memory aid.

  • Powers & Roots
    Square Roots and Surds: Simplifying Radicals Step by Step

    The square root n\sqrt{n}n​ is the non-negative number that squares to nnn: 49=7\sqrt{49} = 749​=7. A root that cannot be written as a whole number or fraction, like 2\sqrt{2}2​, is called a surd (or radical).

  • Trigonometry
    Trig Identities: sin²θ + cos²θ = 1 and the Double-Angle Formulas

    A trig identity is an equation that is true for every angle. The most important, sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1sin2θ+cos2θ=1, is Pythagoras on the unit circle; others include tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin\theta}{\cos\theta}tanθ=cosθsinθ​ and the double-angle formulas.

  • Geometry
    Area and Perimeter: Formulas for Rectangles, Triangles and Trapeziums

    Perimeter is the distance around the edge of a shape, measured in units. Area is the amount of surface it covers, measured in square units.

  • Geometry
    Angles Explained: Types of Angles and Angle Facts

    An angle measures an amount of turn. A full turn is 360°360°360°, a straight line 180°180°180° and a right angle 90°90°90°. Angles on a straight line add to 180°180°180° and angles around a point add to 360°360°360°.

  • Number & Arithmetic
    Factors and Multiples: What Is the Difference?

    A factor of a number divides it exactly, with no remainder. A multiple of a number is that number times a whole number. So 444 is a factor of 121212, and 121212 is a multiple of 444.