Exercise 1.1 · Q13: Polygons with the same number of sides
Show that the relation defined in the set of all polygons as and have same number of sides, is an equivalence relation. What is the set of all elements in related to the right angle triangle with sides 3, 4 and 5?
Let be the number of sides of a polygon . Then .
Reflexive: Let . Then , so . Thus is reflexive.
Symmetric: Let . Then , so and . Thus is symmetric.
Transitive: Let . Then and , so and . Thus is transitive.
Hence is an equivalence relation.
is a triangle, so . Then , that is, is a triangle.
Hence the set of all elements related to is the set of all triangles.
Want the reason behind every step, the basics and the checks?
Attach one whole number to every polygon: its number of sides, . Then " is related to " says only that , an equality of numbers. Equality is reflexive, symmetric and transitive, so is too. The second part asks which polygons have the same number of sides as . 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
- is the set of all polygons; exactly when and have the same number of sides. is the right triangle with sides 3, 4, 5.
- To show
- is reflexive, symmetric and transitive.
- To find
- The set .
- Plan
- (1) Write the rule as . (2) to (4) Prove the three properties for arbitrary polygons. (5) Conclude. (6) Find the class of , proving both inclusions. (7) Describe all the classes.
Basics you need
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 for the number of sides of .
A relation in is a set of ordered pairs of elements of . Here the elements are polygons, so consists of pairs of polygons. Basics: what a relation is
Reflexive: for every . Symmetric: . Transitive: . Basics: reflexive, symmetric, transitive
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
Sets and are equal when every element of is in and every element of is in . Basics: proving and disproving
Solution
Translate the rule into an equation
With the number of sides of the polygon (Basic 1),
For example, a square and a rectangle are related ( for both), and a square and a regular pentagon are not ().
"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 is a well-defined whole number for every .Reflexive: is every polygon related to itself?
Take any polygon . Then : a polygon has the same number of sides as itself. So . Since was arbitrary, is reflexive.
The claim is about every polygon, so we argue with an arbitrary one. The argument does not depend on which polygon is.Equality is reflexive: every number equals itself.Symmetric: if is related to , is related to ?
Suppose , so . Reading the equation the other way, . So , and is symmetric.
We start from the "if" part and use it. " and 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: .Transitive: does a chain of two links give a direct link?
Suppose and . Then
Hence , and is transitive.
The middle polygon does not appear in the conclusion, so we remove it: both and equal the same number , so they equal each other. For example, if is a hexagon, the first link says has 6 sides and the second says has 6 sides, so and are related.Equality is transitive: and give .Conclude the first part
is reflexive, symmetric and transitive (Steps 2 to 4), so by definition is an equivalence relation in .
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.The polygons related to
is a triangle, so . (Its sides 3, 4, 5 satisfy , which is why it is a right triangle, but that fact is not needed here.) Let
We show is the set of all triangles, proving both inclusions.
- Every polygon related to is a triangle. If , then . A polygon with 3 sides is a triangle.
- Every triangle is related to . If is any triangle, then , so .
So the set of all elements of related to is the set of all triangles. It includes right, acute and obtuse triangles of every size, and itself.
The question deliberately gives extra information (the side lengths and the right angle) to test whether we read the relation correctly. only looks at the number of sides, so every triangle has the same "value" as , 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 " means . Since is symmetric, it makes no difference whether we write or . Basics: equivalence classesThe whole picture: one class for each number of sides
The same argument works for any polygon: the class of a polygon with sides is the set of all -sided polygons. So splits into the classes
one for each whole number . Every polygon lies in exactly one class, because it has exactly one number of sides.
The relation sorts polygons by their number of sides only. The class of (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).
is reflexive, symmetric and transitive, because it says and equality has these three properties. So is an equivalence relation. The set of all elements of related to the triangle with sides 3, 4, 5 is the set of all triangles. (Textbook answer: "The set of all triangles".)
Take eight sample polygons: the triangle , an equilateral triangle, an obtuse triangle, a square, a rectangle, a trapezium, a regular pentagon and a hexagon, with side counts . A computer check of all pairs and all chains confirms reflexive, symmetric and transitive, and the polygons related to are exactly the three triangles. A right triangle with sides 5, 12, 13 is also related to (), even though it is not similar to (see Q12).
- 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 .
- Mixing up this relation with similarity or congruence. Similar triangles are related here, but so are triangles of completely different shapes.
- Forgetting itself. By reflexivity is in its own class.
- Checking examples instead of proving. Showing that a square is related to a rectangle does not prove transitivity for all polygons; argue with arbitrary .
- A relation of the form "same value of " is always an equivalence relation; its classes are the sets of elements with each possible value.
- Read the relation carefully to see which feature it compares; ignore information that the relation does not use.
- 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
| Fact | Used in | Source |
|---|---|---|
| Every polygon has one definite number of sides, at least 3 | Steps 1, 6, 7 | Definition of a polygon |
| Equality is reflexive, symmetric, transitive | Steps 2–4 | Basic properties of equality |
| Reflexive, symmetric, transitive, equivalence | Steps 2–5 | Definitions 3 and 4, Section 1.2 (Lesson: types of relations) |
| Two sets are equal when each contains the other | Step 6 | Equality of sets (Class XI sets) |
| Equivalence classes are disjoint and cover the set | Step 7 | Section 1.2, note after Example 5 (Lesson: equivalence relations) |
| Step 6 remark | Pythagoras' theorem (converse) | |
| Sample check over eight polygons | Check | Brute force in the site's verification script |
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 →