Pythagoras' Theorem in Two and Three Dimensions

Updated July 2026

Pythagoras' theorem is a fundamental geometric principle for right-angled triangles and 3D shapes. For ESAT Mathematics 1, students must apply the formula a2+b2=c2a^2 + b^2 = c^2 to calculate distances, verify right angles, and solve complex problems in three dimensions, such as finding the diagonal of a cuboid.

Core concept

In a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides: a2+b2=c2a^2 + b^2 = c^2.

Pythagoras' theorem in 2 dimensions

Pythagoras' theorem is a rule that applies specifically to right-angled triangles. It describes the relationship between the lengths of the three sides. The longest side of a right-angled triangle is called the hypotenuse, and it is always located directly opposite the right angle.

img-137.jpeg

The theorem states that: a2+b2=c2a^2 + b^2 = c^2

In the context of the ESAT, you must be able to perform several tasks using this theorem:

  1. Find a missing side length when the other two sides are known.
  2. Calculate the distance between two points on a coordinate grid.
  3. Determine if a triangle is right-angled by checking if the side lengths satisfy the theorem.
  4. Find missing lengths in composite shapes that contain right angles.

Pythagoras' theorem in 3 dimensions

Pythagoras' theorem can be extended to find lengths in three-dimensional shapes. A common application is finding the internal diagonal of a cuboid, which is the line segment connecting two opposite corners through the centre of the shape.

img-138.jpeg

The extended formula for the diagonal dd of a cuboid with dimensions aa, bb, and cc is: a2+b2+c2=d2a^2 + b^2 + c^2 = d^2

You should be prepared to find missing lengths in various 3D shapes and solve multi-step problems that may involve keeping values in surd form for accuracy.

Finding a missing side

When calculating a missing side, the method depends on whether you are looking for the hypotenuse or one of the shorter sides.

Case 1: Finding the hypotenuse In triangle ABC below, we need to find the length of the hypotenuse, AC.

img-139.jpeg

AC2=82+122AC^2 = 8^2 + 12^2 AC2=64+144=208AC^2 = 64 + 144 = 208 AC=208AC = \sqrt{208} AC=413 cmAC = 4\sqrt{13} \text{ cm}

Case 2: Finding a shorter side In triangle DEF, we know the hypotenuse is 17 and one side is 8. We need to find DF.

img-140.jpeg

172=82+DF217^2 = 8^2 + DF^2 DF2=17282DF^2 = 17^2 - 8^2 DF2=28964=225DF^2 = 289 - 64 = 225 DF=225=15DF = \sqrt{225} = 15

Distance between two points given as coordinates

To find the distance between two points M (1,1)(-1, -1) and N (2,3)(2, 3), you should treat the line segment MN as the hypotenuse of a right-angled triangle.

img-141.jpeg

By sketching the points, you can find the horizontal and vertical distances. The horizontal distance is 2(1)=32 - (-1) = 3. The vertical distance is 3(1)=43 - (-1) = 4.

MN2=32+42MN^2 = 3^2 + 4^2 MN2=9+16=25MN^2 = 9 + 16 = 25 MN=25=5MN = \sqrt{25} = 5

Identifying whether or not a triangle is right-angled

We can use the converse of Pythagoras' theorem to check if a triangle contains a right angle. If a2+b2=c2a^2 + b^2 = c^2 holds true for the three sides, the triangle is right-angled.

img-142.jpeg

In triangle PQR, the longest side is 17. We check if the square of 17 equals the sum of the squares of 15 and 8: PQ2+QR2=152+82=225+64=289PQ^2 + QR^2 = 15^2 + 8^2 = 225 + 64 = 289 PR2=172=289PR^2 = 17^2 = 289

Because PQ2+QR2=PR2PQ^2 + QR^2 = PR^2, the theorem applies and triangle PQR is right-angled.

Missing lengths in other shapes containing right angles

Complex shapes can often be broken down into simpler right-angled triangles. Consider finding the perimeter of the trapezium ABCD.

img-143.jpeg

To find the unknown side xx, we drop a vertical line to form a right-angled triangle. This reveals a triangle with a hypotenuse of 7 and a base of 2 (since 53=25 - 3 = 2).

img-144.jpeg

72=22+x27^2 = 2^2 + x^2 x2=494=45x^2 = 49 - 4 = 45 x=45=35x = \sqrt{45} = 3\sqrt{5}

The total perimeter is the sum of all outer sides: 3+2+3+35+7=15+35 cm3 + 2 + 3 + 3\sqrt{5} + 7 = 15 + 3\sqrt{5} \text{ cm}.

Missing lengths in 3-dimensional shapes

To find the internal diagonal dd of a cuboid with sides 3 cm, 4 cm, and 12 cm, you can use two methods.

img-145.jpeg

Method 1: The 3D Formula d2=a2+b2+c2d^2 = a^2 + b^2 + c^2 d2=32+42+122=9+16+144=169d^2 = 3^2 + 4^2 + 12^2 = 9 + 16 + 144 = 169 d=169=13 cmd = \sqrt{169} = 13 \text{ cm}

Method 2: Using 2D Pythagoras twice First, find the diagonal of the base (let's call it aa): a2=32+122=9+144=153a^2 = 3^2 + 12^2 = 9 + 144 = 153 Then, use this base diagonal and the height to find dd: d2=a2+42=153+16=169d^2 = a^2 + 4^2 = 153 + 16 = 169 d=169=13 cmd = \sqrt{169} = 13 \text{ cm}

Complex problems in 3 dimensions

Pythagoras' theorem is also vital for finding heights in pyramids. Consider a square-based pyramid where F is the centre of the base and E is the apex directly above F.

img-146.jpeg

To find the vertical height FE:

  1. Find the diagonal of the square base ACD: AC2=42+42=32AC^2 = 4^2 + 4^2 = 32. Therefore, AC=32=42AC = \sqrt{32} = 4\sqrt{2}.
  2. The distance from a corner to the centre (AF) is half of AC: AF=22AF = 2\sqrt{2}.
  3. Use triangle AFE to find FE, where AE is given as 17\sqrt{17}: AE2=AF2+FE2AE^2 = AF^2 + FE^2 (17)2=(22)2+FE2(\sqrt{17})^2 = (2\sqrt{2})^2 + FE^2 17=8+FE217 = 8 + FE^2 FE2=9FE^2 = 9 FE=3 cmFE = 3 \text{ cm}

Key takeaways

  • Pythagoras' theorem a2+b2=c2a^2 + b^2 = c^2 only applies to right-angled triangles.
  • The 3D diagonal of a cuboid is found using d2=a2+b2+c2d^2 = a^2 + b^2 + c^2.
  • To find the distance between coordinates, calculate the horizontal and vertical differences and treat them as the shorter sides of a triangle.
  • If the sum of the squares of the two shorter sides equals the square of the longest side, the triangle must be right-angled.
Tips

When solving 3D problems, always identify the right-angled triangles within the shape. It often helps to sketch these triangles separately in 2D to avoid confusion with the perspective of the 3D diagram.

Cautions

A frequent error is forgetting to subtract when finding a shorter side. Always check if you are finding the hypotenuse (add the squares) or a shorter side (subtract the square of the known side from the square of the hypotenuse).

Insight

Pythagoras' theorem is the foundation for the distance formula in coordinate geometry and the standard equation of a circle, (xh)2+(yk)2=r2(x-h)^2 + (y-k)^2 = r^2, where rr is the radius (hypotenuse) and the terms on the left represent the squares of the horizontal and vertical distances from the centre.

Frequently asked questions

Can Pythagoras' theorem be used on non-right-angled triangles?

No, it specifically defines the relationship between sides in a triangle with a 90-degree angle. For other triangles, the Cosine Rule must be used.

How do I decide which side is cc?

Side cc is always the hypotenuse, which is the longest side and is always opposite the 90-degree angle.

Is it better to use the 3D formula or two-step 2D Pythagoras for cuboids?

Both yield the same result. The 3D formula a2+b2+c2=d2a^2 + b^2 + c^2 = d^2 is faster, but the two-step method is useful if you are asked to find the base diagonal as part of the question.

What should I do if a calculation results in a non-perfect square?

In the ESAT, you should usually leave the answer in exact surd form, such as 208\sqrt{208} or 4134\sqrt{13}, unless the question asks for a decimal approximation.

Ready to test your knowledge?

You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.