Tips on Generating Pythagorean Triplets

Rituparna Nath logo

byRituparna Nath Content Writer at Study Abroad Exams

What is Pythagorean Theorem?

In a right angled triangle, the square of the length of the hypotenuse is equal to the sum of the squares of the lengths of the perpendicular sides. This is the statement of the Pythagorean Theorem, applies to all kind of right angled triangles.

In the triangle shown below, the lengths of the perpendicular sides are ‘a’ and ‘b’ respectively; the length of the hypotenuse is ‘c’. Then, as per Pythagoras theorem, we get:
c^2 = a^2 + b^2

tri

Tips on Generating Pythagorean Triplets

The values of a, b and c which satisfy the above equation are called Pythagorean triplets. Before we start the discussion on how to generate Pythagorean triplets, a few important points to remember about them:

1)Pythagorean triplets are always positive integers.

2) Multiples of primitive Pythagorean triplets are also Pythagorean triplets.

3) Values of a, b and c where one of the values is an irrational number, do not represent Pythagorean triplets. For example, 1,1, and √2 are not Pythagorean triplets although they represent the sides of a right-angled triangle.

4)If the sides of a triangle represent a Pythagorean triplet, the triangle is necessarily a right-angled triangle.

5)Pythagorean triplets are conventionally represented in the form of (a,b,c) where a

6)A primitive Pythagorean triplet will always have one even number and two odd numbers.

Generating Primitive Pythagorean triplets is a fairly easy task using Euclid’s formula. As per this formula, the values of a, b and c can be calculated as follows:

a = x^2 - y^2 ; b=2xy ; c = x^2 + y^2. The conditions imposed on these equations are:

i) x and y are co-prime

ii) Difference of x and y is odd. This means, x and y are not both odd.

iii) Clearly, since a, b and c have to be positive integers, it follows that x has to be greater than y.

Remember that multiples of (x^2 - y^2), 2xy and (x^2 + y^2) will also be Pythagorean triplets. But, they are not considered primitive Pythagorean triplets and hence, the above conditions need not hold true for them.

Let’s take a few examples to understand how this works and then you can go ahead and generate many more Pythagorean triplets.

If x = 2 and y = 1:

a = x^2 - y^2
=> 2^2 - 1^2
=>4-1
=>3
b=2xy
=>2*2*1
=>4

c = x^2 + y^2
=>2^2 + 1^2
=>4+1
=>5

We got the almost omnipresent (3,4,5).

If x = 3 and y = 2, we get a = 5, b = 12 and c = 13.

If x = 4 and y = 1, we get a = 15, b = 8 and c = 17.

This way, it will be easy for the candidates to generate Primitive Pythagorean triplets. The more triplets that can be added to memory, the easier it becomes to identify right angled triangles using the triplets. If it can be proven that a triangle given is a right angled triangle, it may turn out to be very helpful to take the problem forward from that stage.

Suggested GMAT Problem Solving Questions

Fees Structure

CategoryState
General15556

In case of any inaccuracy, Notify Us! 

Comments


No Comments To Show