lesson

Euclidean Foundations · High School

The Pythagorean Theorem

Derive, apply, and reverse the fundamental area and length relationship for right triangles.

The Pythagorean theorem is one of geometry’s most recognizable formulas, but its meaning is richer than a recipe for a missing side. It states an exact relationship among areas constructed on the sides of a right triangle. That area relationship supports distance measurement, coordinate geometry, vector magnitude, construction, and later trigonometry. It also has a converse that can determine whether a triangle is right. Understanding the conditions and proof makes the formula easier to apply correctly.

The theorem belongs specifically to Euclidean right triangles. It does not apply unchanged to an arbitrary triangle, and the letter cc is not automatically the longest side unless it has been assigned to the hypotenuse. Units must be squared before areas are added and restored through a square root when a length is recovered. This lesson develops two proofs and several applications while making those structural details explicit. The aim is to reconstruct the relationship from geometry rather than depend on a fragile memory of symbols.

A right triangle with squares constructed on all three sides and their areas labeled

The two legs meet at the right angle. The hypotenuse lies opposite that angle and is the longest side. A square built on a side of length aa has area a2a^2. The theorem says the two leg-square areas equal the hypotenuse-square area. It compares areas even though it is usually used to calculate lengths.

Identify the right triangle correctly

A right triangle contains one 9090^\circ angle. The two sides that form this angle are called legs. The side opposite the right angle is the hypotenuse. Because it lies opposite the largest angle, the hypotenuse is the longest side. Correct identification must happen before any values are placed into a formula.

Let the leg lengths be aa and bb, and let the hypotenuse length be cc. The Pythagorean theorem states a2+b2=c2a^2+b^2=c^2. The superscript 22 means each length is multiplied by itself. The equation is symmetric in aa and bb, so the two legs can exchange names. The hypotenuse cannot exchange places with a leg without changing the equation’s meaning.

A right-angle box in a diagram is stronger evidence than the drawing’s appearance. Diagrams may not be drawn to scale. If no right angle is given or established, the theorem cannot simply be assumed. Sometimes perpendicular horizontal and vertical directions establish the right angle. Sometimes the converse of the theorem is used to prove it from side lengths.

Read the theorem as an area statement

Construct a square outward on each side of a right triangle. The square on leg aa has area a2a^2, and the square on leg bb has area b2b^2. The square on hypotenuse cc has area c2c^2. The theorem says the first two areas add exactly to the third. This interpretation explains why the lengths appear squared.

Suppose the legs are 3cm3\,\mathrm{cm} and 4cm4\,\mathrm{cm}. Their attached squares have areas 9cm29\,\mathrm{cm}^2 and 16cm216\,\mathrm{cm}^2. The sum is 25cm225\,\mathrm{cm}^2, so the hypotenuse square has area 25cm225\,\mathrm{cm}^2. Its side length is 25cm2=5cm\sqrt{25\,\mathrm{cm}^2}=5\,\mathrm{cm}. The square root returns from area units to length units.

Dimensional consistency provides an immediate check. One may add square centimetres to square centimetres, but not centimetres to square centimetres. In a2+b2=c2a^2+b^2=c^2, all three terms have length-squared dimensions. Solving c=a2+b2c=\sqrt{a^2+b^2} restores a length. An answer such as 25cm25\,\mathrm{cm} for the hypotenuse in the preceding example confuses area with length.

Prove the theorem by rearranging areas

Begin with a large square whose side length is a+ba+b. Place four congruent right triangles inside so that their hypotenuses form a smaller central square. Each triangle has legs aa and bb and area 12ab\frac{1}{2}ab. The central square has side cc and area c2c^2. Both descriptions account for exactly the same large region.

The large-square area is (a+b)2(a+b)^2. The pieces give total area 4(12ab)+c2=2ab+c24\left(\frac{1}{2}ab\right)+c^2=2ab+c^2. Equating descriptions yields (a+b)2=2ab+c2(a+b)^2=2ab+c^2. Expanding the left side gives a2+2ab+b2=2ab+c2a^2+2ab+b^2=2ab+c^2. Subtracting 2ab2ab from both sides leaves a2+b2=c2a^2+b^2=c^2.

This proof uses congruence, area addition, distribution, and algebra. It does not assume the theorem inside its own reasoning. The four triangles fit because their acute angles are complementary, so they create right angles around the central figure. The central figure has four equal sides cc and four right angles, making it a square. Every algebraic term corresponds to a visible region.

Four congruent right triangles arranged inside a large square around a central hypotenuse square

The large square has side a+ba+b. Four congruent triangles contribute total area 2ab2ab. Their hypotenuses enclose a central square of area c2c^2. Expanding the large-square area creates the same 2ab2ab term. Canceling that shared area leaves a2+b2=c2a^2+b^2=c^2. Every algebraic term corresponds to a visible region.

Prove the theorem through similarity

Drop an altitude from the right-angle vertex to the hypotenuse. The altitude is perpendicular to the hypotenuse and divides it into segments of lengths pp and qq. Therefore p+q=cp+q=c. The altitude creates two smaller right triangles. Each smaller triangle is similar to the original by angle–angle similarity.

Appropriate corresponding-side proportions give a2=cpa^2=cp and b2=cqb^2=cq. These equations can be interpreted as projection relationships. The square of each leg equals the hypotenuse times the adjacent segment of the hypotenuse. Adding gives a2+b2=cp+cqa^2+b^2=cp+cq. Factoring produces a2+b2=c(p+q)a^2+b^2=c(p+q).

Since p+q=cp+q=c, substitution yields a2+b2=c2a^2+b^2=c^2. This proof shows that the theorem is embedded in the proportional structure of similar right triangles. It also generates additional useful relationships involving the altitude. The rearrangement proof emphasizes area decomposition, while this proof emphasizes angle and ratio preservation. Multiple proofs deepen understanding by exposing different reasons the statement must hold.

Solve for a missing hypotenuse

When both legs are known, isolate the hypotenuse as c=a2+b2c=\sqrt{a^2+b^2}. The negative square root is rejected because a geometric side length is nonnegative. Square each measured length with its unit, add the square quantities, and then take the square root. The result must exceed either individual leg. If it does not, the calculation or side assignment is wrong.

For legs 7.00cm7.00\,\mathrm{cm} and 24.0cm24.0\,\mathrm{cm}, c=(7.00cm)2+(24.0cm)2c=\sqrt{(7.00\,\mathrm{cm})^2+(24.0\,\mathrm{cm})^2}. The squared contributions are 49.0cm249.0\,\mathrm{cm}^2 and 576cm2576\,\mathrm{cm}^2. Their sum is 625cm2625\,\mathrm{cm}^2. Taking the square root gives c=25.0cmc=25.0\,\mathrm{cm}. This is the familiar 7724242525 right triangle.

Keep the radical until the end when values are not perfect squares. Early rounding can distort the final answer. If legs are 5.00m5.00\,\mathrm{m} and 8.00m8.00\,\mathrm{m}, the exact form is 89m\sqrt{89}\,\mathrm{m}. A decimal approximation is 9.43m9.43\,\mathrm{m} to three significant figures. Exact and approximate forms answer different reporting needs.

Solve for a missing leg

When the hypotenuse and one leg are known, subtract the known leg square before taking a square root. From a2+b2=c2a^2+b^2=c^2, solving for aa gives a=c2b2a=\sqrt{c^2-b^2}. The hypotenuse square must be the larger quantity. Reversing the subtraction would create a negative radicand in a valid triangle. Side identification therefore controls the algebra.

A 6.00m6.00\,\mathrm{m} ladder reaches 4.80m4.80\,\mathrm{m} up a vertical wall. Level ground and the vertical wall form a right angle. If dd is the horizontal distance from wall to ladder foot, then d2+(4.80m)2=(6.00m)2d^2+(4.80\,\mathrm{m})^2=(6.00\,\mathrm{m})^2. Solving gives d=36.0m223.0m2=3.60md=\sqrt{36.0\,\mathrm{m}^2-23.0\,\mathrm{m}^2}=3.60\,\mathrm{m} with unrounded intermediate values. The positive root is selected because dd is a distance.

The result can be checked without recomputing every digit. A leg must be shorter than the 6.00m6.00\,\mathrm{m} hypotenuse, and 3.60m3.60\,\mathrm{m} is. Substitution gives (3.60m)2+(4.80m)2=(6.00m)2(3.60\,\mathrm{m})^2+(4.80\,\mathrm{m})^2=(6.00\,\mathrm{m})^2. The ratio 3.6:4.8:6.03.6:4.8:6.0 simplifies to 3:4:53:4:5. Pattern recognition reinforces the numerical verification.

Use the converse to establish a right angle

The converse states that if side lengths satisfy a2+b2=c2a^2+b^2=c^2, with cc the largest side, then the triangle is right. A converse reverses the direction of an implication. The theorem begins with a right triangle and concludes a length relation. The converse begins with the length relation and concludes a right angle. Both statements are true, but they are logically distinct.

To test side lengths 8m8\,\mathrm{m}, 15m15\,\mathrm{m}, and 17m17\,\mathrm{m}, assign c=17mc=17\,\mathrm{m} because it is largest. Then (8m)2+(15m)2=64m2+225m2=289m2(8\,\mathrm{m})^2+(15\,\mathrm{m})^2=64\,\mathrm{m}^2+225\,\mathrm{m}^2=289\,\mathrm{m}^2. Also (17m)2=289m2(17\,\mathrm{m})^2=289\,\mathrm{m}^2. Equality proves the triangle is right. The angle opposite the 17m17\,\mathrm{m} side is therefore 9090^\circ.

Builders can use this converse to establish perpendicular lines. A triangle marked with proportional lengths 33, 44, and 55 will contain a right angle opposite its longest side. Scaling by any positive factor preserves the relation. Thus lengths 0.900m0.900\,\mathrm{m}, 1.20m1.20\,\mathrm{m}, and 1.50m1.50\,\mathrm{m} also create a right triangle. The method converts distance measurement into angle construction.

Classify acute and obtuse triangles

Let cc be the largest side of a triangle. If a2+b2=c2a^2+b^2=c^2, the angle opposite cc is right. If a2+b2>c2a^2+b^2>c^2, that largest angle is acute. If a2+b2<c2a^2+b^2<c^2, that largest angle is obtuse. These comparisons extend the theorem through the law of cosines.

Consider side lengths 55, 66, and 88 in the same length unit. The largest side is 88, so compare 52+62=615^2+6^2=61 with 82=648^2=64. Since 61<6461<64, the angle opposite the side of length 88 is obtuse. A triangle’s largest angle lies opposite its largest side. Therefore the triangle is classified as obtuse.

First verify that the lengths can form a triangle. The sum of any two side lengths must exceed the third. Values 22, 33, and 66 fail because 2+3<62+3<6. Applying the square comparison to them would classify a nonexistent Euclidean triangle. Conditions must be checked before a theorem is used.

Generate and recognize Pythagorean triples

A Pythagorean triple is a set of positive integers satisfying a2+b2=c2a^2+b^2=c^2. Examples include (3,4,5)(3,4,5), (5,12,13)(5,12,13), (7,24,25)(7,24,25), and (8,15,17)(8,15,17). Multiplying every entry by the same positive number produces another right-triangle ratio. Thus (6,8,10)(6,8,10) is a scaled form of (3,4,5)(3,4,5). Recognizing triples can speed exact calculations.

Primitive triples have no common integer factor greater than one. One generation formula uses positive integers m>nm>n: a=m2n2a=m^2-n^2, b=2mnb=2mn, and c=m2+n2c=m^2+n^2. Substitution verifies the theorem because (m2n2)2+(2mn)2=(m2+n2)2(m^2-n^2)^2+(2mn)^2=(m^2+n^2)^2. The algebra expands both sides to m4+2m2n2+n4m^4+2m^2n^2+n^4. Additional parity and common-factor conditions identify primitive cases.

The generation formula shows that integer examples are structured rather than accidental. It is not necessary for routine missing-side calculations. Use it when exploring number patterns or constructing exact right triangles. Do not force a decimal measurement into the nearest familiar triple. Measured systems require calculation and uncertainty rather than pattern substitution.

Derive the coordinate distance formula

Take points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) in a Cartesian plane. Their horizontal change is Δx=x2x1\Delta x=x_2-x_1, and their vertical change is Δy=y2y1\Delta y=y_2-y_1. Horizontal and vertical directions are perpendicular. These changes form the legs of a right triangle whose hypotenuse is the straight-line distance. Applying the theorem gives d2=(Δx)2+(Δy)2d^2=(\Delta x)^2+(\Delta y)^2.

Taking the nonnegative square root yields d=(x2x1)2+(y2y1)2d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}. This is not an unrelated formula to memorize. It is the Pythagorean theorem expressed through coordinate differences. Reversing the subtraction order inside either squared difference gives the same result. Mixing the order inconsistently still works after squaring, but a consistent convention prepares later vector work.

For points (2,3)(-2,3) and (4,5)(4,-5), Δx=4(2)=6\Delta x=4-(-2)=6 coordinate units and Δy=53=8\Delta y=-5-3=-8 coordinate units. Therefore d=62+(8)2=100=10d=\sqrt{6^2+(-8)^2}=\sqrt{100}=10 coordinate units. The negative vertical change indicates direction, but squaring removes that sign for distance. Distance is a magnitude and must be nonnegative. The result is greater than either component magnitude and smaller than their sum.

Coordinate differences forming perpendicular legs between two points

Horizontal change and vertical change form perpendicular legs. Their signs record direction, while their squares contribute positively to distance. The segment between the points is the hypotenuse. Applying the theorem produces the distance formula. The same construction later gives vector magnitude from components. Perpendicularity is what permits the contributions to be combined by squares.

Extend distance into three dimensions

In three-dimensional rectangular coordinates, perpendicular changes are Δx\Delta x, Δy\Delta y, and Δz\Delta z. First combine two directions to obtain a planar diagonal. Then combine that diagonal with the third perpendicular direction. The result is d=(Δx)2+(Δy)2+(Δz)2d=\sqrt{(\Delta x)^2+(\Delta y)^2+(\Delta z)^2}. This is repeated application of the same right-triangle relation.

For a box measuring 3.00m3.00\,\mathrm{m} by 4.00m4.00\,\mathrm{m} by 12.0m12.0\,\mathrm{m}, the space diagonal is d=(3.00m)2+(4.00m)2+(12.0m)2d=\sqrt{(3.00\,\mathrm{m})^2+(4.00\,\mathrm{m})^2+(12.0\,\mathrm{m})^2}. The squared sum is 9.00+16.0+144=169m29.00+16.0+144=169\,\mathrm{m}^2. Therefore d=13.0md=13.0\,\mathrm{m}. Each contribution is squared because the dimensions are mutually perpendicular. The final square root restores metre units.

The pattern generalizes algebraically to higher-dimensional Euclidean spaces. Orthogonal components contribute through a sum of squares. In physics, velocity magnitude is v=vx2+vy2+vz2v=\sqrt{v_x^2+v_y^2+v_z^2}. In data analysis, Euclidean distance uses the same structure across feature coordinates. The geometric theorem becomes a general rule for magnitudes of perpendicular components.

Model measurement and uncertainty responsibly

Real side lengths are measured rather than known exactly. A ladder reported as 6.0m6.0\,\mathrm{m} may represent limited precision. Calculated results should not claim unjustified extra digits. Keep additional digits during intermediate calculations and round once at the end. Report units and a precision consistent with the inputs.

The theorem also assumes ideal right-angle geometry. A wall that leans or ground that slopes changes the included angle. The law of cosines would then replace the right-triangle specialization. Measurement uncertainty in the angle can affect the inferred distance. A model is reliable only when its geometric assumptions reasonably match the situation.

Estimate before calculating. A hypotenuse must exceed the longest leg but be less than the sum of the legs. A missing leg must be less than the hypotenuse. Coordinate distance cannot be smaller than the magnitude of either single coordinate change. These bounds catch misplaced squares, sign errors, and wrong side assignments.

Repair common mistakes

One mistake is to label the longest-looking drawn side as the hypotenuse without locating the right angle. The hypotenuse is defined by being opposite the right angle. Another mistake is to apply a2+b2=c2a^2+b^2=c^2 to every triangle. Establish perpendicularity first or use the converse after measuring all sides. An arbitrary triangle requires the law of cosines.

Another mistake is to write a+b=ca+b=c or a2+b2=a+b\sqrt{a^2+b^2}=a+b. Squaring does not distribute across addition in that way. The square root must cover the complete sum of squares. When solving for a leg, subtract the known leg square from the hypotenuse square. Preserve parentheses around measured values and units.

A final mistake is to stop at a squared length when the question asks for a length. If c2=169cm2c^2=169\,\mathrm{cm}^2, then c=13cmc=13\,\mathrm{cm}, not 169cm169\,\mathrm{cm}. The negative algebraic root is excluded for an ordinary geometric length. In coordinate work, use coordinate differences rather than coordinate sums. Units and magnitude bounds provide final checks.

Retrieve and connect forward

A right triangle with legs 7cm7\,\mathrm{cm} and 24cm24\,\mathrm{cm} has hypotenuse 25cm25\,\mathrm{cm}. A triangle with sides 55, 66, and 88 is obtuse because 52+62<825^2+6^2<8^2. Points (2,3)(-2,3) and (4,5)(4,-5) are 1010 coordinate units apart. Each answer follows from a right-angle structure or its converse. Naming that structure is part of the solution.

If a rectangle is 9.00m9.00\,\mathrm{m} wide and has diagonal 15.0m15.0\,\mathrm{m}, its height is (15.0m)2(9.00m)2=12.0m\sqrt{(15.0\,\mathrm{m})^2-(9.00\,\mathrm{m})^2}=12.0\,\mathrm{m}. The diagonal is the hypotenuse because the rectangle corner is a right angle. The result is shorter than the diagonal and forms a 9912121515 scaled triple. Substitution confirms the equality. Units remain metres after the square root.

Trigonometry extends right-triangle reasoning from side lengths to angle ratios. Coordinate geometry turns perpendicular changes into distances and circle equations. Vectors use the same sum of squares to calculate magnitude. Physics repeatedly decomposes motion and force into orthogonal components. The Pythagorean theorem is therefore a reusable structure for combining independent perpendicular contributions.

Knowledge Map

Where this lesson fits

Prerequisites

Euclidean FoundationsCongruence and Similarity

Continue exploring

Connections

Related lessons

MeasurementCoordinate GeometryTrigonometric FunctionsAngles and the Unit CircleVectorsVectors in Mechanics

Applications

  • distance measurement
  • navigation
  • construction