Class 12 Maths, Worked in Full Past papersGet updates
Chapter 1 · Relations and Functions

Exercise 1.1 · Q13: Polygons with the same number of sides

Exercise 1.1Equivalence relations · Exercise 1.1
The question

Show that the relation RR defined in the set AA of all polygons as R={(P1,P2):R = \{(P_1, P_2) : P1P_1 and P2P_2 have same number of sides}\}⁠, is an equivalence relation. What is the set of all elements in AA related to the right angle triangle TT with sides 3, 4 and 5?

Exam answer

Let n(P)n(P) be the number of sides of a polygon PP⁠. Then (P1,P2)∈R(P_1, P_2) \in R   ⟺  n(P1)=n(P2)\iff n(P_1) = n(P_2)⁠.

Reflexive: Let P∈AP \in A⁠. Then n(P)=n(P)n(P) = n(P)⁠, so (P,P)∈R(P, P) \in R⁠. Thus RR is reflexive.

Symmetric: Let (P1,P2)∈R(P_1, P_2) \in R⁠. Then n(P1)=n(P2)n(P_1) = n(P_2)⁠, so n(P2)=n(P1)n(P_2) = n(P_1) and (P2,P1)∈R(P_2, P_1) \in R⁠. Thus RR is symmetric.

Transitive: Let (P1,P2),(P2,P3)∈R(P_1, P_2), (P_2, P_3) \in R⁠. Then n(P1)=n(P2)n(P_1) = n(P_2) and n(P2)=n(P3)n(P_2) = n(P_3)⁠, so n(P1)=n(P3)n(P_1) = n(P_3) and (P1,P3)∈R(P_1, P_3) \in R⁠. Thus RR is transitive.

Hence RR is an equivalence relation.

TT is a triangle, so n(T)=3n(T) = 3⁠. Then (P,T)∈R  ⟺  n(P)=3(P, T) \in R \iff n(P) = 3⁠, that is, PP is a triangle.

Hence the set of all elements related to TT is the set of all triangles.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Attach one whole number to every polygon: its number of sides, n(P)n(P)⁠. Then "P1P_1 is related to P2P_2" says only that n(P1)=n(P2)n(P_1) = n(P_2)⁠, an equality of numbers. Equality is reflexive, symmetric and transitive, so RR is too. The second part asks which polygons have the same number of sides as TT⁠. TT has 3 sides, so the answer is every polygon with 3 sides, that is every triangle. The lengths 3, 4, 5 and the right angle play no part.

Given, to show and find, and the plan
Given
AA is the set of all polygons; (P1,P2)∈R(P_1,P_2)\in R exactly when P1P_1 and P2P_2 have the same number of sides. TT is the right triangle with sides 3, 4, 5.
To show
RR is reflexive, symmetric and transitive.
To find
The set {P∈A:(T,P)∈R}\{P \in A : (T,P)\in R\}⁠.
Plan
(1) Write the rule as n(P1)=n(P2)n(P_1) = n(P_2)⁠. (2) to (4) Prove the three properties for arbitrary polygons. (5) Conclude. (6) Find the class of TT⁠, proving both inclusions. (7) Describe all the classes.

Basics you need

1Polygons and their number of sides

A polygon is a closed plane figure made of straight sides. Every polygon has a definite whole number of sides, at least 3: triangles have 3, quadrilaterals 4, pentagons 5, and so on. Write n(P)n(P) for the number of sides of PP⁠.

2What a relation is

A relation in AA is a set of ordered pairs of elements of AA⁠. Here the elements are polygons, so RR consists of pairs of polygons. Basics: what a relation is

3The three properties

Reflexive: (P,P)∈R(P,P)\in R for every PP⁠. Symmetric: (P1,P2)∈R⇒(P2,P1)∈R(P_1,P_2)\in R \Rightarrow (P_2,P_1)\in R⁠. Transitive: (P1,P2),(P2,P3)∈R⇒(P1,P3)∈R(P_1,P_2), (P_2,P_3)\in R \Rightarrow (P_1,P_3)\in R⁠. Basics: reflexive, symmetric, transitive

4Equivalence classes

The set of all elements related to a given element is its equivalence class. The classes are non-overlapping and together cover the whole set. Basics: equivalence classes

5Showing two sets are equal

Sets XX and YY are equal when every element of XX is in YY and every element of YY is in XX⁠. Basics: proving and disproving

Solution

  1. Translate the rule into an equation

    With n(P)n(P) the number of sides of the polygon PP (Basic 1),

    (P1,P2)∈R  ⟺  n(P1)=n(P2).(P_1,P_2)\in R \iff n(P_1) = n(P_2).

    For example, a square and a rectangle are related (n=4n = 4 for both), and a square and a regular pentagon are not (4≠54 \ne 5⁠).

    "Have same number of sides" is a statement in words. Writing it as an equation between two whole numbers makes clear that the relation is just equality of one number attached to each polygon, so all three properties will follow from the properties of "==".
    Each polygon has exactly one number of sides, so n(P)n(P) is a well-defined whole number for every P∈AP\in A⁠.
  2. Reflexive: is every polygon related to itself?

    Take any polygon PP⁠. Then n(P)=n(P)n(P) = n(P)⁠: a polygon has the same number of sides as itself. So (P,P)∈R(P,P)\in R⁠. Since PP was arbitrary, RR is reflexive.

    The claim is about every polygon, so we argue with an arbitrary one. The argument does not depend on which polygon PP is.
    Equality is reflexive: every number equals itself.
  3. Symmetric: if P1P_1 is related to P2P_2⁠, is P2P_2 related to P1P_1⁠?

    Suppose (P1,P2)∈R(P_1,P_2)\in R⁠, so n(P1)=n(P2)n(P_1) = n(P_2)⁠. Reading the equation the other way, n(P2)=n(P1)n(P_2) = n(P_1)⁠. So (P2,P1)∈R(P_2,P_1)\in R⁠, and RR is symmetric.

    We start from the "if" part and use it. "P1P_1 and P2P_2 have the same number of sides" is a statement that does not depend on the order in which the two polygons are named.
    Equality is symmetric: a=b⇒b=aa = b \Rightarrow b = a⁠.
  4. Transitive: does a chain of two links give a direct link?

    Suppose (P1,P2)∈R(P_1,P_2)\in R and (P2,P3)∈R(P_2,P_3)\in R⁠. Then

    n(P1)=n(P2)andn(P2)=n(P3),son(P1)=n(P3).\begin{gathered} n(P_1) = n(P_2) \qquad\text{and}\qquad n(P_2) = n(P_3),\\ \text{so}\qquad n(P_1) = n(P_3). \end{gathered}

    Hence (P1,P3)∈R(P_1,P_3)\in R⁠, and RR is transitive.

    The middle polygon P2P_2 does not appear in the conclusion, so we remove it: both n(P1)n(P_1) and n(P3)n(P_3) equal the same number n(P2)n(P_2)⁠, so they equal each other. For example, if P2P_2 is a hexagon, the first link says P1P_1 has 6 sides and the second says P3P_3 has 6 sides, so P1P_1 and P3P_3 are related.
    Equality is transitive: a=ba = b and b=cb = c give a=ca = c⁠.
  5. Conclude the first part

    RR is reflexive, symmetric and transitive (Steps 2 to 4), so by definition RR is an equivalence relation in AA.

    An equivalence relation is defined as one with exactly these three properties. The proof has the same shape as Exercise 1.1 Q7 (books with the same number of pages): "same value of a quantity" is always an equivalence relation.
  6. The polygons related to TT

    TT is a triangle, so n(T)=3n(T) = 3⁠. (Its sides 3, 4, 5 satisfy 32+42=25=523^2 + 4^2 = 25 = 5^2⁠, which is why it is a right triangle, but that fact is not needed here.) Let

    [T]={P∈A:(T,P)∈R}={P∈A:n(P)=3}.[T] = \{P \in A : (T,P)\in R\} = \{P \in A : n(P) = 3\}.

    We show [T][T] is the set of all triangles, proving both inclusions.

    • Every polygon related to TT is a triangle. If (T,P)∈R(T,P)\in R⁠, then n(P)=n(T)=3n(P) = n(T) = 3⁠. A polygon with 3 sides is a triangle.
    • Every triangle is related to TT⁠. If PP is any triangle, then n(P)=3=n(T)n(P) = 3 = n(T)⁠, so (T,P)∈R(T,P)\in R⁠.

    So the set of all elements of AA related to TT is the set of all triangles. It includes right, acute and obtuse triangles of every size, and TT itself.

    The question deliberately gives extra information (the side lengths and the right angle) to test whether we read the relation correctly. RR only looks at the number of sides, so every triangle has the same "value" as TT⁠, whatever its shape or size. Both inclusions are needed for the two sets to be equal: the first shows nothing else sneaks in, the second shows no triangle is left out.
    "Related to TT" means (T,P)∈R(T,P)\in R⁠. Since RR is symmetric, it makes no difference whether we write (T,P)(T,P) or (P,T)(P,T)⁠. Basics: equivalence classes
  7. The whole picture: one class for each number of sides

    The same argument works for any polygon: the class of a polygon with nn sides is the set of all nn-sided polygons. So RR splits AA into the classes

    {triangles}, {quadrilaterals}, {pentagons}, {hexagons}, …\{\text{triangles}\},\ \{\text{quadrilaterals}\},\ \{\text{pentagons}\},\ \{\text{hexagons}\},\ \dots

    one for each whole number n≥3n \ge 3⁠. Every polygon lies in exactly one class, because it has exactly one number of sides.

    3 sides: the class of T 4 sides 5 sides 6 sides T (3, 4, 5)equilateralobtuse squaretrapezium pentagonhexagon one class for each number of sides; the classes continue for 7, 8, 9, … sides
    The relation sorts polygons by their number of sides only. The class of TT (gold) holds every triangle, whatever its angles or size. Polygons in different panels are never related, and every polygon belongs to exactly one panel.
    This is what an equivalence relation does: it splits a set into non-overlapping groups of related elements. Seeing all the classes at once confirms that the answer to the second part is one of them, the class of triangles.
    The equivalence classes of any equivalence relation are disjoint and their union is the whole set (Section 1.2, after Example 5).
Result

RR is reflexive, symmetric and transitive, because it says n(P1)=n(P2)n(P_1) = n(P_2) and equality has these three properties. So RR is an equivalence relation. The set of all elements of AA related to the triangle TT with sides 3, 4, 5 is the set of all triangles. (Textbook answer: "The set of all triangles".)

Check it with numbers

Take eight sample polygons: the triangle TT⁠, an equilateral triangle, an obtuse triangle, a square, a rectangle, a trapezium, a regular pentagon and a hexagon, with side counts 3,3,3,4,4,4,5,63, 3, 3, 4, 4, 4, 5, 6⁠. A computer check of all 82=648^2 = 64 pairs and all chains confirms reflexive, symmetric and transitive, and the polygons related to TT are exactly the three triangles. A right triangle with sides 5, 12, 13 is also related to TT (3=33 = 3⁠), even though it is not similar to TT (see Q12).

Common mistakes
  1. Answering "all right triangles" or "all triangles with sides 3, 4, 5". The relation compares only the number of sides, so every triangle is related to TT⁠.
  2. Mixing up this relation with similarity or congruence. Similar triangles are related here, but so are triangles of completely different shapes.
  3. Forgetting TT itself. By reflexivity TT is in its own class.
  4. Checking examples instead of proving. Showing that a square is related to a rectangle does not prove transitivity for all polygons; argue with arbitrary P1,P2,P3P_1, P_2, P_3⁠.
What to take away
  1. A relation of the form "same value of n(P)n(P)" is always an equivalence relation; its classes are the sets of elements with each possible value.
  2. Read the relation carefully to see which feature it compares; ignore information that the relation does not use.
  3. The class of an element can be much larger than you might first expect: here one triangle is related to infinitely many others of every shape.

Every fact used, and where it comes from

FactUsed inSource
Every polygon has one definite number of sides, at least 3Steps 1, 6, 7Definition of a polygon
Equality is reflexive, symmetric, transitiveSteps 2–4Basic properties of equality
Reflexive, symmetric, transitive, equivalenceSteps 2–5Definitions 3 and 4, Section 1.2 (Lesson: types of relations)
Two sets are equal when each contains the otherStep 6Equality of sets (Class XI sets)
Equivalence classes are disjoint and cover the setStep 7Section 1.2, note after Example 5 (Lesson: equivalence relations)
32+42=523^2 + 4^2 = 5^2Step 6 remarkPythagoras' theorem (converse)
Sample check over eight polygonsCheckBrute force in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →