Skip to content

Search topics

Practice for free Sign in

Formula

Pythagorean triple 3-4-5

When to use it

The numbers 3, 4 and 5 satisfy 3² + 4² = 9 + 16 = 25 = 5², and because gcd(3, 4) = 1 the triple is primitive: it is not a scaled copy of a smaller one. Euclid's formula produces it from m = 2 and n = 1: m² − n² and 2mn give 3 and 4, and m² + n² gives 5. Scaling by 2, 3 and 4 gives the non-primitive triples 6-8-10, 9-12-15 and 12-16-20, all of which describe similar right triangles. The legs 3 and 4 are consecutive whole numbers, which is rare: only a handful of triples have legs one apart. The hypotenuse exceeds the long leg 4 by 1, which Euclid's formula explains as (m − n)² = 1. The long leg is the even one (4); in every primitive triple exactly one leg is even and the hypotenuse is odd. The hypotenuse factors as 5, and every prime factor of a primitive hypotenuse is of the form 4t + 1. Use the converse of the Pythagorean theorem to test any triangle with these side lengths: it must have a right angle opposite the longest side.

Last checked Source: Triangle theorems Source: Triangle theorems www.corestandards.org (opens in a new tab)

Pythagorean triple 3-4-5 for the Geometry Regents exam: where it comes from and what it covers.

Worked case: A right triangle has legs 3 and 4. Find the hypotenuse, the area, the inradius and the acute angles.

Related pages include Pythagorean triple 32-255-257, Pythagorean triple 36-77-85, Pythagorean triple 36-323-325 and Pythagorean triple 33-56-65.

Result: hypotenuse 5; area 6; inradius 1; angles 36.9° and 53.1°

Application 1: Classify the triangle with sides 9, 40 and 41 as acute, right or obtuse. Step 1: Longest side: 41; compare 9² + 40² = 1681 with 41² = 1681. (Converse of the Pythagorean theorem.) Step 2: 1681 = 1681. (Equal gives right, greater gives acute, less gives obtuse.) Result: right.

Application 2: The altitude to the hypotenuse of a right triangle divides it into segments of 4 and 9. Find the altitude and the legs. Step 1: Altitude² = 4 × 9 = 36, so h = 6. (Geometric mean theorem.) Step 2: Leg² = hypotenuse × adjacent segment: 13 × 4 = 52 and 13 × 9 = 117. (Leg theorem.) Step 3: Legs: √52 = 2√13 ≈ 7.21 and √117 = 3√13 ≈ 10.82. (Simplify the roots.) Result: h = 6; legs 2√13 and 3√13.

Application 3: In triangle ABC, DE is parallel to BC with D on AB and E on AC. AD = 6, DB = 9 and AE = 8. Find EC and the ratio AD : AB. Step 1: Parallel lines cut proportional segments: AD/DB = AE/EC. (Triangle proportionality theorem.) Step 2: 6/9 = 8/EC gives EC = 12. (Cross-multiply.) Step 3: AB = 15, so AD : AB = 6 : 15 = 2 : 5. (Add the parts.) Result: EC = 12; 2 : 5.

Practice for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practicing
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction