topic badge

7.04 Apply the Pythagorean theorem

The Pythagorean Theorem

The Pythagorean theorem states that in a right triangle the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. The theorem can be written algebraically:

A right triangle having side lengths of a, b and c where c is the hypotenuse.

a^2+b^2=c^2

where c represents the length of the hypotenuse and a \text{ and } b are the two shorter sides. To see why this is true check out the Investigation:  Discover the Pythagorean Theorem  .

We can use the formula to find any side if we know the lengths of the two others. Note that sometimes the equation is written in the reverse order: c^{2} = a^{2} + b^{2}.

If after we are done solving for the third side, we find that all three side lengths are whole numbers, the three side lengths may be referred to as a Pythagorean triple.

Examples

Example 1

Find the length of the hypotenuse, c in this triangle.

A right triangle having side length of 15, 8 and unknown side of c. Ask your teacher for more information.
Worked Solution
Create a strategy

Use the Pythagorean theorem: c^2=a^2+b^2\,.

Apply the idea

Based on the given diagram, we are given a=8 and b=15.

\displaystyle c^2\displaystyle =\displaystyle a^2+b^2Use the Pythagorean theorem
\displaystyle =\displaystyle 8^2+15^2Substitute the values
\displaystyle =\displaystyle 64+ 225Evaluate the squares
\displaystyle =\displaystyle 289Evaluate
\displaystyle \sqrt{c^2}\displaystyle =\displaystyle \sqrt{289}Apply the square root to both sides
\displaystyle c\displaystyle =\displaystyle 17\, \text{cm}Evaluate the square root
Reflect and check

Because all the lengths for the sides of this triangle are whole numbers and they satisfy Pythagorean theorem, the numbers (8,15,17) form a Pythagorean triple.

Idea summary

The Pythagorean theorem states that in a right triangle the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides:

\displaystyle a^2+b^2=c^2
\bm{c}
is the length of the hypotenuse
\bm{a}
is one of the shorter side lengths
\bm{b}
is the other shorter side length

Finding a shorter side

If we need to find one of the shorter side lengths (a or b), using the formula we will have one extra step of rearranging to consider.

a^2 + b^2 = c^2

The value c is used to represent the hypotenuse which is the longest side of the triangle. The other two lengths are a, \,b. Sometimes diagrams or questions may use different variables, if no variables are given use a and b for either of the sides.

Examples

Example 2

Calculate the value of a in the triangle below.

A right triangle having side lengths 15 centimeters and an unknown side of a. The hypotenuse is of 17 centimeters.
Worked Solution
Create a strategy

Use the Pythagorean theorem: c^2=a^2+b^2\,

Apply the idea

We are given b=15 and c=17.

\displaystyle c^2\displaystyle =\displaystyle a^2+b^2Use the Pythagorean theorem
\displaystyle 17^2\displaystyle =\displaystyle a^2+15^2Substitute the values
\displaystyle 17^2 -15^2 \displaystyle =\displaystyle a^2Subtract 15^2 from both sides of the equation
\displaystyle 289 - 225\displaystyle =\displaystyle a^2Evaluate the squares
\displaystyle 64\displaystyle =\displaystyle a^2Evaluate the subtraction
\displaystyle \sqrt{64}\displaystyle =\displaystyle \sqrt{a^2}Apply the square root to both sides
\displaystyle 8\displaystyle =\displaystyle aEvaluate the square root
Idea summary

You can find a shorter side of a right triangle using the Pythagorean theorem a^2 + b^2 = c^2, but some rearrangement will be required.

Pythagorean triples

A Pythagorean triple (sometimes called a Pythagorean triad) is an ordered triple (a,b,c) of three positive integers so that a^2+b^2=c^2.

If (a,b,c) is a triple then (b,a,c) is also a triple, since b^2+a^2 is the same as a^2+b^2. So the order of the first two numbers in the triple doesn't matter.

(6,8,10) is also a Pythagorean triple, but it can be considered a multiple of another known Pythagorean triple, since 6, \,8 and 10 have a common factor of 2. If we divide each number in the triple by this common factor, we get the known Pythagorean triple (3,4,5).

A triangle whose sides form a Pythagorean triple will always be a right triangle.

Examples

Example 3

The two smallest numbers in a Pythagorean triple are 20 and 21. What number, c, will complete the triple?

Worked Solution
Create a strategy

Use the Pythagorean theorem: c^2=a^2+b^2.

Apply the idea

We have the given values for a = 20 and b = 21.

\displaystyle c^2\displaystyle =\displaystyle a^2+b^2Use the Pythagorean theorem
\displaystyle c^2\displaystyle =\displaystyle 20^2+21^2Substitute the values
\displaystyle c^2\displaystyle =\displaystyle 400+ 441Evaluate the squares
\displaystyle c^2\displaystyle =\displaystyle 841Evaluate
\displaystyle \sqrt{c^2}\displaystyle =\displaystyle \sqrt{841}Apply the square root to both sides
\displaystyle c\displaystyle =\displaystyle 29Evaluate the square root

So, the value for c is 29, forming the triple (20,21,29).

Example 4

Luke knows the two largest numbers in a Pythagorean Triple, which are 37 and 35. What number,\, a, does Luke need to complete the triple?

Worked Solution
Create a strategy

Use the Pythagorean theorem : c^2 = a^2+b^2\,.

Apply the idea

We are given b=35 and c=37.

\displaystyle c^2\displaystyle =\displaystyle a^2+b^2Use the Pythagorean theorem
\displaystyle 37^2\displaystyle =\displaystyle a^2+35^2Substitute the values
\displaystyle 37^2-35^2\displaystyle =\displaystyle a^2Subtract 35^2 from both sides of the equation
\displaystyle 1369 - 1225\displaystyle =\displaystyle a^2Evaluate the squares
\displaystyle 144\displaystyle =\displaystyle a^2Evaluate the subtraction
\displaystyle \sqrt{144}\displaystyle =\displaystyle {a^2}Apply the square root to both sides
\displaystyle 12\displaystyle =\displaystyle aEvaluate the square root

So, the number that will complete the triple is 12.

Idea summary

A Pythagorean triple (sometimes called a Pythagorean triad) is an ordered triple (a,b,c) of three positive integers so that a^2+b^2=c^2.

Outcomes

8.G.B.7

Apply the Pythagorean theorem to determine unknown side lengths in right triangles in real-world and mathematical problems in two and three dimensions.

What is Mathspace

About Mathspace