From the free course Relations and Functions Course Wiki on Lykke
Relations and Functions: Chapter Summary
Key concepts: Relations and Functions (recap) · Definition of a Relation · Empty Relation · Universal Relation · Reflexive Relation · Symmetric Relation · Transitive Relation · Equivalence Relation · Equivalence Classes · One-one Function (Injective) · Onto Function (Surjective) · Bijective Function · Composition of Functions · Invertible Function
This chapter provides a comprehensive review of relations and functions, building upon Class XI concepts. It delves into various types of relations, including empty, universal, reflexive, symmetric, and transitive, culminating in the definition and application of equivalence relations and their corresponding equivalence classes. The chapter also introduces different types of functions, such as one-one, onto, and bijective functions, and explores the composition and invertibility of functions.
Relations and Functions: Chapter Summary
This chapter provides a comprehensive review and expansion of the fundamental mathematical concepts of relations and functions, building upon the groundwork laid in Class XI. It systematically defines various types of relations, explores their properties, and culminates in the crucial concept of equivalence relations. Subsequently, the focus shifts to functions, detailing their classifications as one-one, onto, and bijective, and examining their composition and invertibility. Understanding these structures is paramount for advanced topics in mathematics, computer science, and engineering, forming the bedrock for areas like discrete mathematics, abstract algebra, and calculus.
Recalling Foundational Concepts
Before delving into the intricacies of different relation types, it is essential to recall the basic definitions of relations and functions, along with their associated components: domain, codomain, and range. In essence, a relation describes a connection or association between elements of sets, while a function is a special kind of relation where each input from the domain maps to exactly one output in the codomain.
Definition of a Relation
The mathematical definition of a relation formalizes the intuitive idea of elements being "related." Given two non-empty sets, A and B, a relation R from A to B is formally defined as an arbitrary subset of their Cartesian product A × B. If A = B, then R is a relation on set A, meaning R ⊆ A × A.
Definition: Relation A relation
Rfrom a non-empty setAto a non-empty setBis a subset of the Cartesian productA × B. If(a, b) ∈ R, we say thatais related tob, often denoted asa R b.
Why it matters: This precise definition allows for the rigorous study of connections between mathematical objects, laying the groundwork for understanding functions, graphs, and various abstract structures. It provides a universal language to describe dependencies and mappings, crucial in areas from database design to social network analysis.
Concrete Example:
Let A = {Alice, Bob, Carol} and B = {Math, Physics, Chemistry}.
The Cartesian product A × B would list all possible pairings of students and subjects.
A relation R from A to B could be "studies" defined as R = {(Alice, Math), (Bob, Physics), (Alice, Chemistry)}.
Here, Alice R Math means Alice studies Math.
Types of Relations
Relations can exhibit various properties that classify them into distinct types. These classifications are crucial for understanding their behavior and applications, particularly in areas like database design, graph theory, and logic.
Empty Relation
The empty relation (or void relation) is the most trivial type of relation. It signifies a complete lack of any connection between elements within a set.
Definition 1: Empty Relation A relation
Ron a setAis called an empty relation if no element ofAis related to any element ofA, i.e.,R = φ ⊂ A × A.
How it works: In an empty relation, the subset of A × A is the empty set φ. This means for any a, b ∈ A, the ordered pair (a, b) is not in R.
Concrete Example:
Let A = {1, 2, 3}. Consider the relation R = {(a, b) : a, b ∈ A, a - b = 5}.
The maximum difference between any two elements in A is 3 - 1 = 2 (or 1 - 3 = -2). There are no pairs (a, b) such that a - b = 5. Thus, R = φ, making it an empty relation.
Universal Relation
At the opposite end of the spectrum from the empty relation is the universal relation, where every element is related to every other element.
Definition 2: Universal Relation A relation
Ron a setAis called a universal relation if each element ofAis related to every element ofA, i.e.,R = A × A.
How it works: The universal relation includes all possible ordered pairs from the Cartesian product A × A.
Concrete Example:
Let A = {1, 2, 3}. Consider the relation R = {(a, b) : a, b ∈ A, |a - b| ≥ 0}.
Since the absolute difference between any two real numbers is always non-negative, this condition holds for all pairs in A × A.
Therefore, R = {(1,1), (1,2), (1,3), (2,1), (2,2), (2,3), (3,1), (3,2), (3,3)} = A × A, which is a universal relation.
Why it matters: Both empty and universal relations, while seemingly trivial, serve as important boundary cases in the study of relations. They are always reflexive, symmetric, and transitive (vacuously for empty, trivially for universal), making them equivalence relations.
Reflexive Relation
A relation is reflexive if every element in the set is related to itself. This property signifies a self-referential connection or identity.
Definition 3: Reflexive Relation A relation
Ron a setAis called reflexive if(a, a) ∈ Rfor everya ∈ A.
How it works: To check for reflexivity, one must verify that for every element a in the set A, the pair (a, a) is present in the relation R. If even one such pair is missing, the relation is not reflexive.
Concrete Example:
Let A = {1, 2, 3}.
R₁ = {(1, 1), (2, 2), (3, 3), (1, 2)}is reflexive because(1, 1),(2, 2), and(3, 3)are all inR₁.R₂ = {(1, 1), (2, 2), (1, 3)}is not reflexive because(3, 3) ∉ R₂.
Symmetric Relation
A relation is symmetric if whenever an element a is related to an element b, then b is also related to a. This property implies a mutual or two-way connection.
Definition 4: Symmetric Relation A relation
Ron a setAis called symmetric if(a, b) ∈ Rimplies(b, a) ∈ Rfor alla, b ∈ A.
How it works: For every ordered pair (a, b) found in R, its "reverse" pair (b, a) must also be in R. If (a, b) is in R but (b, a) is not, then the relation is not symmetric. Pairs of the form (a, a) trivially satisfy the condition, as they are their own reverse.
Concrete Example:
Let A = {1, 2, 3}.
R₁ = {(1, 2), (2, 1), (1, 1)}is symmetric because(1, 2) ∈ R₁and(2, 1) ∈ R₁.(1, 1)is its own reverse.R₂ = {(1, 2), (2, 3)}is not symmetric because(1, 2) ∈ R₂but(2, 1) ∉ R₂.
Transitive Relation
A relation is transitive if, whenever a is related to b and b is related to c, then a is also related to c. This property describes a chain-like connection.
Definition 5: Transitive Relation A relation
Ron a setAis called transitive if(a, b) ∈ Rand(b, c) ∈ Rimplies(a, c) ∈ Rfor alla, b, c ∈ A.
How it works: If there's a "path" from a to b and from b to c in the relation, there must also be a direct "path" from a to c. If (a, b) and (b, c) are in R but (a, c) is not, then the relation is not transitive. Note that if there are no such (a, b) and (b, c) pairs (where the second element of the first pair matches the first element of the second pair), the condition is vacuously true, and the relation is considered transitive.
Concrete Example:
Let A = {1, 2, 3}.
R₁ = {(1, 2), (2, 3), (1, 3), (1, 1)}is transitive.(1, 2) ∈ R₁and(2, 3) ∈ R₁implies(1, 3) ∈ R₁(which it is).(1, 1) ∈ R₁and(1, 2) ∈ R₁implies(1, 2) ∈ R₁(which it is).
R₂ = {(1, 2), (2, 3)}is not transitive because(1, 2) ∈ R₂and(2, 3) ∈ R₂but(1, 3) ∉ R₂.
Common Pitfall: For transitivity, ensure you check all possible chains a R b and b R c. A single missing a R c breaks transitivity. It's also easy to overlook the "vacuously true" case where no such (a,b) and (b,c) pairs exist.
Equivalence Relation
The concept of an equivalence relation is one of the most significant in mathematics. It combines the three fundamental properties: reflexivity, symmetry, and transitivity. Equivalence relations are used to partition a set into disjoint subsets called equivalence classes.
Definition 6: Equivalence Relation A relation
Ron a setAis called an equivalence relation ifRis reflexive, symmetric, and transitive.
Why it matters: Equivalence relations allow us to group "similar" elements together, treating them as equivalent for a particular purpose. For instance, in geometry, congruence is an equivalence relation. In modular arithmetic, a ≡ b (mod n) is an equivalence relation, partitioning integers into residue classes. This concept is foundational to constructing new mathematical objects (e.g., rational numbers from integers, vectors from directed line segments).
How it works: To prove a relation is an equivalence relation, one must demonstrate all three properties (reflexive, symmetric, transitive) hold true for the given relation on the specified set.
Concrete Example:
Consider the relation R on the set Z of all integers defined as R = {(a, b) : a - b is an even integer}.
- Reflexive: For any
a ∈ Z,a - a = 0, which is an even integer. So(a, a) ∈ R. Thus,Ris reflexive. - Symmetric: If
(a, b) ∈ R, thena - bis an even integer. This meansa - b = 2kfor some integerk. Thenb - a = -(a - b) = -2k = 2(-k). Since-kis also an integer,b - ais an even integer. So(b, a) ∈ R. Thus,Ris symmetric. - Transitive: If
(a, b) ∈ Rand(b, c) ∈ R, thena - bis even andb - cis even. Soa - b = 2k₁andb - c = 2k₂for some integersk₁, k₂. Adding these equations:(a - b) + (b - c) = 2k₁ + 2k₂, which simplifies toa - c = 2(k₁ + k₂). Sincek₁ + k₂is an integer,a - cis an even integer. So(a, c) ∈ R. Thus,Ris transitive. SinceRis reflexive, symmetric, and transitive, it is an equivalence relation.
Equivalence Classes: An equivalence relation R on a set A partitions A into disjoint non-empty subsets called equivalence classes. For an element a ∈ A, its equivalence class, denoted [a], is the set of all elements x ∈ A such that x R a.
For the example R = {(a, b) : a - b is an even integer} on Z:
[0] = {x ∈ Z : x - 0is even} = {..., -4, -2, 0, 2, 4, ...}(the set of even integers).[1] = {x ∈ Z : x - 1is even} = {..., -3, -1, 1, 3, 5, ...}(the set of odd integers). These two classes[0]and[1]partitionZ.
| Relation Type | Definition | Example on A = {1, 2, 3} |
|---|---|---|
| Empty | R = φ |
R = {(a, b) : a + b = 10} |
| Universal | R = A × A |
R = {(a, b) : a + b > 0} |
| Reflexive | (a, a) ∈ R for all a ∈ A |
R = {(1,1), (2,2), (3,3), (1,2)} |
| Symmetric | (a, b) ∈ R ⇒ (b, a) ∈ R |
R = {(1,2), (2,1), (3,3)} |
| Transitive | (a, b) ∈ R, (b, c) ∈ R ⇒ (a, c) ∈ R |
R = {(1,2), (2,3), (1,3)} |
| Equivalence | Reflexive, Symmetric, Transitive | R = {(1,1), (2,2), (3,3)} (identity relation) |
Functions as Special Relations
A function is a highly specific type of relation where each element in the domain is associated with exactly one element in the codomain. This uniqueness of mapping is what distinguishes functions from general relations. The chapter reviews the classification of functions based on their mapping properties: one-one (injective), onto (surjective), and bijective.
One-one (Injective) Functions
A function is one-one if distinct elements in the domain always map to distinct elements in the codomain. No two different inputs share the same output.
Definition: One-one (Injective) Function A function
f: A → Bis said to be one-one (or injective) if for allx₁, x₂ ∈ A,f(x₁) = f(x₂)impliesx₁ = x₂. Equivalently, ifx₁ ≠ x₂impliesf(x₁) ≠ f(x₂).
Concrete Example:
Let f: R → R be defined by f(x) = 2x + 1.
If f(x₁) = f(x₂), then 2x₁ + 1 = 2x₂ + 1, which implies 2x₁ = 2x₂, and thus x₁ = x₂. So, f is one-one.
Onto (Surjective) Functions
A function is onto if every element in the codomain has at least one corresponding element in the domain. In other words, the range of the function is equal to its codomain.
Definition: Onto (Surjective) Function A function
f: A → Bis said to be onto (or surjective) if for everyy ∈ B, there exists at least onex ∈ Asuch thatf(x) = y.
Concrete Example:
Let f: R → R be defined by f(x) = 2x + 1.
For any y ∈ R (codomain), we need to find an x ∈ R (domain) such that f(x) = y.
2x + 1 = y
2x = y - 1
x = (y - 1) / 2.
Since y is a real number, (y - 1) / 2 is also a real number. Thus, for every y in the codomain, there exists an x in the domain. So, f is onto.
Bijective Functions
A function that is both one-one (injective) and onto (surjective) is called a bijective function or a one-to-one correspondence. Bijective functions establish a perfect pairing between the elements of the domain and the codomain.
Definition: Bijective Function A function
f: A → Bis said to be bijective if it is both one-one and onto.
Why it matters: Bijective functions are crucial because they are precisely the functions that possess an inverse function. This property is fundamental for solving equations, transforming data without loss, and defining inverse operations. In fields like cryptography, bijections ensure that messages can be uniquely encrypted and decrypted.
Concrete Example:
The function f(x) = 2x + 1 from R to R shown above is both one-one and onto, hence it is a bijective function.
| Function Type | Property | Graphical Test (for real-valued functions) |
|---|---|---|
| One-one (Injective) | Distinct inputs map to distinct outputs. f(x₁) = f(x₂) ⇒ x₁ = x₂ |
Horizontal Line Test: Any horizontal line intersects the graph at most once. |
| Onto (Surjective) | Every element in the codomain is an image of at least one element in the domain. Range = Codomain. | For every y in the codomain, a horizontal line at y intersects the graph at least once. |
| Bijective | Both one-one and onto. | Horizontal Line Test: Any horizontal line intersects the graph exactly once. |
Composition of Functions
The composition of functions allows us to combine two functions to form a new function. This is a powerful operation that models sequential processes, where the output of one function becomes the input of another.
Definition: Composition of Functions Given two functions
f: A → Bandg: B → C, the composition offandg, denotedg o f(read as "g of f"), is a functiong o f: A → Cdefined by(g o f)(x) = g(f(x))for allx ∈ A. Note that the codomain offmust be the domain ofgforg o fto be defined.
How it works: The input x is first processed by f, producing an intermediate output f(x). This f(x) then serves as the input for g, yielding the final output g(f(x)).
Concrete Example:
Let f: R → R be f(x) = 2x + 1 and g: R → R be g(x) = x².
Then (g o f)(x) = g(f(x)) = g(2x + 1) = (2x + 1)² = 4x² + 4x + 1.
And (f o g)(x) = f(g(x)) = f(x²) = 2(x²) + 1 = 2x² + 1.
This example also illustrates that function composition is generally not commutative (g o f ≠ f o g).
Invertible Functions
An invertible function is one for which an inverse function exists, effectively "undoing" the action of the original function. The existence of an inverse is directly tied to the function being bijective.
Definition: Invertible Function A function
f: A → Bis said to be invertible if there exists a functiong: B → Asuch thatg o f = I_Aandf o g = I_B, whereI_AandI_Bare the identity functions on setsAandBrespectively. The functiongis called the inverse offand is denoted byf⁻¹.
Why it matters: Invertible functions are critical for solving equations, cryptography, and various transformations where reversibility is required. They ensure that for every output, there is a unique input that produced it, allowing for unambiguous reversal.
How it works: A function f is invertible if and only if f is bijective (both one-one and onto). If f is bijective, its inverse f⁻¹ can be found by setting y = f(x) and solving for x in terms of y. The resulting expression in y then defines f⁻¹(y).
Concrete Example:
Let f: R → R be f(x) = 2x + 1. We established this is bijective.
To find f⁻¹(y):
Let y = 2x + 1.
Solve for x: y - 1 = 2x
x = (y - 1) / 2.
So, f⁻¹(y) = (y - 1) / 2.
To verify:
(f⁻¹ o f)(x) = f⁻¹(f(x)) = f⁻¹(2x + 1) = ((2x + 1) - 1) / 2 = 2x / 2 = x = I_R(x).
(f o f⁻¹)(y) = f(f⁻¹(y)) = f((y - 1) / 2) = 2((y - 1) / 2) + 1 = (y - 1) + 1 = y = I_R(y).
Thus, f⁻¹(x) = (x - 1) / 2 is indeed the inverse function.
Connection to Inverse Trigonometric Functions: As highlighted in the introduction to inverse trigonometric functions (Lemh102), the existence of an inverse function for trigonometric functions (like sine, cosine, tangent) necessitates restricting their domains and ranges. This is because, over their natural domains, these functions are not one-one and onto. By carefully selecting a principal value branch, they become bijective, allowing for the definition of their inverses (e.g., sin⁻¹, cos⁻¹). This directly demonstrates the practical importance of bijectivity as a prerequisite for invertibility.
Summary of Key Properties and Connections
The concepts of relations and functions, along with their various classifications, form the bedrock of higher mathematics. Understanding reflexivity, symmetry, and transitivity allows for the identification of equivalence relations, which are powerful tools for partitioning sets and simplifying complex structures. Similarly, the properties of injectivity, surjectivity, and bijectivity are essential for defining invertible functions, enabling inverse operations and transformations. These foundational ideas are not merely theoretical constructs but have direct applications in diverse fields, from computer science algorithms to advanced physics.
Source Materials
Study Relations and Functions Course Wiki on Lykke
This course page is free to open: signed out, you can read its first two sections, and signing in, on any plan, opens the rest. The free Lykke Chrome extension syncs your own Canvas courses, so ChatGPT, Claude and Muse can answer from your classes and deadlines. It only reads Canvas.
Add the free extensionSign in to open every sectionAll sections of Relations and Functions Course Wiki · Browse more course pages