Geometry

Proofs of the Pythagorean Theorem

In any right triangle with legs aa and bb and hypotenuse cc, the theorem states a2+b2=c2a^2+b^2=c^2. Every proof of it works by counting one area in two different ways and comparing the results.

a2+b2=c2a^2 + b^2 = c^2

Try it with your numbers

Show every step

Three proofs follow, each built from a single clean idea: rearranged triangles, similar triangles and Garfield’s trapezoid. After them come the converse, the generalization beyond squares and a way to judge whether a proof is sound. To use the result for missing sides, the Pythagorean theorem lesson covers that side of the topic.

What does a Pythagorean theorem proof actually have to show?

The equation is a claim about area. The term a2a^2 is the area of a square with side aa, so the theorem says the square on the hypotenuse has exactly the same area as the two squares on the legs combined. Read that way, the strategy is obvious: build a figure whose area can be computed in two ways, then compare.

The first trap is mistaking a check for a proof. Showing that 32+42=523^2+4^2=5^2 confirms one triangle. A proof uses letters, so it covers every right triangle, including one with legs 2\sqrt2 and π\pi.

The second trap is quieter. A proof must not lean on a fact that is the theorem in disguise, and several trig and distance shortcuts are exactly that. A proof can safely use only independent facts: the area of a square, the area of a triangle 12bh\frac12bh, and the fact that angles in a triangle add to 180∘180^\circ.

Pythagorean theorem proof by rearranging four triangles

Two layouts of four right triangles in one square leaving c squared or a squared plus b squared
Four identical triangles in a 7 by 7 square leave 25 square units, either as one tilted c² square or as a² plus b².

This is the proof most textbooks use. Take four identical right triangles and place them in the corners of a square with side a+ba+b. Their hypotenuses form a tilted square in the middle with side cc.

  1. The outer square has area (a+b)2(a+b)^2.
  2. It is made of four triangles, each with area 12ab\frac12ab, plus the middle square with area c2c^2.
  3. Set the two descriptions equal and expand.

(a+b)2=c2+4⋅12ab(a+b)^2=c^2+4\cdot\frac12ab

a2+2ab+b2=c2+2aba^2+2ab+b^2=c^2+2ab

a2+b2=c2a^2+b^2=c^2

The 2ab2ab terms cancel, and that cancellation is the whole proof. The picture version says the same thing. Slide the triangles into two pairs and the leftover space inside the same outer square becomes two squares, one a×aa\times a and one b×bb\times b. The same outer square minus the same four triangles leaves c2c^2 in one picture and a2+b2a^2+b^2 in the other.

A numbers check with a=3a=3 and b=4b=4: the outer square has area (3+4)2=49(3+4)^2=49, the triangles take up 4⋅6=244\cdot6=24, and the middle square has area 49−24=2549-24=25, so c=5c=5.

Why the middle shape is truly a square

All four sides equal cc, but equal sides alone could describe a rhombus. Each corner sits on a straight line (180∘180^\circ) beside the two acute angles of a triangle, and those two angles sum to 90∘90^\circ by the Triangle Angle Sum Theorem, so each corner is 90∘90^\circ.

This justification is the step students skip, and it is the one a careful grader looks for. The proof also uses the area of a square and the area of a triangle, which are the only two area facts it needs.

Quick check

In the four-triangle arrangement, one triangle has acute angles of 37∘37^\circ and 53∘53^\circ. What is the angle at each corner of the middle quadrilateral?

Pythagorean theorem proof using similar triangles

Start with a right triangle with right angle at CC, legs a=BCa=BC and b=ACb=AC, and hypotenuse c=ABc=AB. Drop the altitude from CC to the hypotenuse, meeting it at DD. Call the pieces BD=pBD=p and AD=qAD=q, so p+q=cp+q=c.

The altitude creates two smaller triangles, and both are similar triangles to the original. Triangle CBDCBD shares angle BB with triangle ABCABC and both have a right angle, so they match by AA. Triangle ACDACD matches the same way through angle AA. Matching sides gives two proportions.

pa=ac ⇒ a2=pcqb=bc ⇒ b2=qc\frac{p}{a}=\frac{a}{c}\ \Rightarrow\ a^2=pc \qquad\qquad \frac{q}{b}=\frac{b}{c}\ \Rightarrow\ b^2=qc

Add them and factor:

a2+b2=pc+qc=c(p+q)=c⋅c=c2a^2+b^2=pc+qc=c(p+q)=c\cdot c=c^2

Worked example. Take the 33-44-55 triangle and find the pieces. From a2=pca^2=pc with a=3a=3: p=95p=\frac{9}{5}. From b2=qcb^2=qc with b=4b=4: q=165q=\frac{16}{5}. Then p+q=255=5p+q=\frac{25}{5}=5, which equals cc, as it must.

This proof gives a shortcut the square proof does not. Each leg is the geometric mean of the hypotenuse and the piece next to it, and the altitude satisfies h2=pqh^2=pq. Here h=abc=125h=\frac{ab}{c}=\frac{12}{5}, and indeed 95⋅165=14425=h2\frac95\cdot\frac{16}5=\frac{144}{25}=h^2.

Garfield’s trapezoid proof of the Pythagorean theorem

James Garfield published this proof in 1876, before he entered politics, in the New England Journal of Education. It is a half-sized version of the four-triangle square, and it needs only one new formula.

Lay two copies of the triangle end to end along a line, so that a leg aa of one and a leg bb of the other sit on the line, with the other legs standing up perpendicular to it. Join the tops of those legs. The result is a trapezoid with parallel sides aa and bb and height a+ba+b. Inside it are the two original triangles plus a third triangle between them. That middle triangle has two sides equal to cc, and its angle at the line is 180∘−90∘=90∘180^\circ-90^\circ=90^\circ, so it is a right isosceles triangle with area 12c2\frac12c^2.

Compute the trapezoid’s area two ways, using the area of a trapezoid formula on one side:

a+b2⋅(a+b)=12ab+12ab+12c2\frac{a+b}{2}\cdot(a+b)=\frac12ab+\frac12ab+\frac12c^2

Multiply by 22 and expand:

a2+2ab+b2=2ab+c2 ⇒ a2+b2=c2a^2+2ab+b^2=2ab+c^2\ \Rightarrow\ a^2+b^2=c^2

Worked example. Let a=6a=6 and b=8b=8. The trapezoid has area 142⋅14=98\frac{14}{2}\cdot14=98. The two outer triangles total 2⋅24=482\cdot24=48, so the middle triangle has area 98−48=5098-48=50. Since that equals c22\frac{c^2}{2}, we get c2=100c^2=100 and c=10c=10.

Quick check

Garfield's trapezoid is built from a right triangle with legs 88 and 1515. What is the area of the middle triangle (the one with both legs equal to cc)?

Is a trigonometric Pythagorean theorem proof circular?

Often, yes. For an acute angle θ\theta in a right triangle, sin⁡θ=ac\sin\theta=\frac ac and cos⁡θ=bc\cos\theta=\frac bc, so

sin⁡2θ+cos⁡2θ=a2+b2c2\sin^2\theta+\cos^2\theta=\frac{a^2+b^2}{c^2}

This equals 11 exactly when the theorem is true. The identity is the theorem divided by c2c^2, so a proof that begins with it has assumed the answer. The same applies to the distance formula, which is the theorem on a coordinate grid, and to the unit circle x2+y2=1x^2+y^2=1 from the equation of a circle.

The circularity depends on definitions. If sine and cosine are defined by power series or by arc length, with no reference to triangles, a trig proof can be sound. In a geometry course the safe rule is to build proofs from area and similarity, then use trig afterward.

Try this: Divide 52+122=1325^2+12^2=13^2 through by 13213^2. Confirm that (513)2+(1213)2=1\left(\frac{5}{13}\right)^2+\left(\frac{12}{13}\right)^2=1, then name the angle whose sine and cosine those two fractions are.

How do you prove the converse of the Pythagorean theorem?

The converse says that if a2+b2=c2a^2+b^2=c^2 for the sides of a triangle, the angle opposite cc is a right angle. This direction is what makes the theorem useful for checking squareness, such as a carpenter’s 33-44-55 corner.

The proof is short. Build a new right triangle with legs aa and bb. By the theorem, its hypotenuse xx satisfies x2=a2+b2x^2=a^2+b^2. The original gives c2=a2+b2c^2=a^2+b^2, so x2=c2x^2=c^2 and x=cx=c. The two triangles now have three pairs of equal sides, so they are congruent by SSS, and the original has the right angle too.

Worked example. Is a triangle with sides 77, 2424, 2525 a right triangle? Test the longest side as cc: 72+242=49+576=6257^2+24^2=49+576=625 and 252=62525^2=625. They match, so it is right, and it is one of the well-known Pythagorean triples.

Always test the longest side

Compare c2c^2 (longest side) with a2+b2a^2+b^2. Equal means right, smaller means acute, larger means obtuse.

The extension handles the other cases, which matter for types of triangles. For sides 66, 99, 1010: 62+92=36+81=1176^2+9^2=36+81=117, which is greater than 102=10010^2=100, so the triangle is acute. Putting a shorter side in the cc position is the usual way to get this test wrong.

Does the Pythagorean theorem work for shapes other than squares?

Yes, for any shapes that are similar to one another. Areas of similar figures scale with the square of their side lengths, so a2+b2=c2a^2+b^2=c^2 turns into area on aa plus area on bb equals area on cc. The shape can be an equilateral triangle, a pentagon or a semicircle, as long as all three copies have the same form.

Worked example. Draw semicircles on the three sides of a 33-44-55 triangle, using each side as a diameter. A semicircle with diameter ss has radius s2\frac s2, so by the area of a circle formula its area is 12π(s2)2=πs28\frac12\pi\left(\frac s2\right)^2=\frac{\pi s^2}{8}. The areas are 9π8\frac{9\pi}{8}, 16π8\frac{16\pi}{8} and 25π8\frac{25\pi}{8}, and 9+16=259+16=25, so the two small semicircles exactly fill the large one.

When the angle is not 90∘90^\circ, the equation changes. The law of cosines gives c2=a2+b2−2abcos⁡Cc^2=a^2+b^2-2ab\cos C, and the theorem is the special case where cos⁡90∘=0\cos 90^\circ=0. For an angle of 60∘60^\circ between sides 55 and 55: c2=25+25−50⋅12=25c^2=25+25-50\cdot\frac12=25, so c=5c=5, an equilateral triangle that clearly has no right angle.

Quick check

Similar shapes are drawn on the two legs of a right triangle, with areas 2020 and 4848. What is the area of the similar shape on the hypotenuse?

Which proof of the Pythagorean theorem should you learn first?

Learn the four-triangle square first, because it uses only algebra you already know. Then add similar triangles for the geometric mean shortcuts, and Garfield’s trapezoid when a short write-up matters. Euclid’s classical proof (Book I, Proposition 47) compares squares on the sides to rectangles using congruent triangles, and it is worth reading once for history.

Proof What it needs Best for
Four triangles in a square Expanding (a+b)2(a+b)^2 First proof, exams
Similar triangles AA similarity, ratios Altitude and leg problems
Garfield’s trapezoid Trapezoid area Shortest algebra
Euclid’s squares Congruent triangles, area Classical geometry

Elisha Loomis catalogued 370 proofs in his 1940 book The Pythagorean Proposition, so there is no shortage of alternatives. To judge any of them, run through three questions:

  • Does it use letters, so it covers every right triangle?
  • Is every shape it relies on justified, such as the middle quadrilateral really being a square?
  • Does it avoid starting from a fact equivalent to the theorem?

Once a proof feels natural, apply the theorem to numbers with the Pythagorean theorem practice problems, where missing sides and checks come up in varied forms.

Practice problems

0 of 5 solved

  1. A right triangle has legs 66 and 88. Use a2+b2=c2a^2+b^2=c^2 to find the hypotenuse.

  2. Four right triangles with legs 55 and 1212 sit in the corners of a square of side 5+125+12. Find the area of the tilted square in the middle.

  3. The altitude to the hypotenuse of a right triangle splits the hypotenuse into pieces of length 99 and 1616. Find the shorter leg.

  4. A triangle has sides 88, 1515 and 1818. Is it acute, right or obtuse?

  5. In Garfield's trapezoid, the parallel sides are 55 and 1212 and the height is 1717. Use the trapezoid's area to find the hypotenuse cc of the triangle.

Common questions

What is the simplest proof of the Pythagorean theorem?

Most students find the four-triangle square the simplest. Count the area of a square with side a+ba+b two ways and the 2ab2ab terms cancel, leaving a2+b2=c2a^2+b^2=c^2. Garfield's trapezoid proof has even less algebra if you know the trapezoid area formula.

Who first proved the Pythagorean theorem?

The relationship was used by Babylonian and Indian scribes well before Pythagoras, and the theorem carries his name because of later Greek tradition. The best-known early written proof is in Euclid's Elements, Book I, Proposition 47.

How many proofs of the Pythagorean theorem are there?

Hundreds. Elisha Loomis collected 370 in his 1940 book, and new ones are still being published. They fall into a handful of families: rearrangement, similarity, area comparison, algebra, and methods from calculus or vectors.

Can you prove the Pythagorean theorem with trigonometry?

Only with care. The identity sin⁡2θ+cos⁡2θ=1\sin^2\theta+\cos^2\theta=1 is the theorem divided by c2c^2, so using it as a starting point is circular. A trig proof is valid only if the trig functions are defined without relying on the theorem.

What is the converse of the Pythagorean theorem?

If the sides of a triangle satisfy a2+b2=c2a^2+b^2=c^2, then the triangle has a right angle opposite side cc. It is proved by building a right triangle with legs aa and bb and showing it matches the original by SSS.

Why does the Pythagorean theorem only work for right triangles?

For other triangles the law of cosines applies: c2=a2+b2−2abcos⁡Cc^2=a^2+b^2-2ab\cos C. The extra term is zero only when C=90∘C=90^\circ, since cos⁡90∘=0\cos 90^\circ=0.

Up next