Chapter 1 · Relations and Functions

Relations and Functions

3 topics 100 practice questions

Chapter Overview

Mathematics is full of connections: one number divides another, two lines are parallel, two students are in the same section. A relation describes such connections precisely, and a function is a special relation that gives every input exactly one output. In this chapter you will classify relations as reflexive, symmetric and transitive, study equivalence relations and the classes they create, and decide when a function is one-one (injective), onto (surjective) or both (bijective).

Why it matters: These ideas are the language of the rest of the course – inverse trigonometric functions need one-one and onto functions, and every later chapter talks about domains and ranges.

Topics

  1. 1 Types of Relations 34 questions
  2. 2 Equivalence Relations 26 questions
  3. 3 One-One and Onto Functions 40 questions

Key Concepts

  • A relation from \(A\) to \(B\) is any subset of \(A\times B\); a relation on \(A\) is a subset of \(A\times A\).
  • Reflexive: \((a,a)\in R\) for every \(a\in A\). Symmetric: \((a,b)\in R\Rightarrow(b,a)\in R\). Transitive: \((a,b),(b,c)\in R\Rightarrow(a,c)\in R\).
  • Equivalence relation = reflexive + symmetric + transitive. Its equivalence classes split the set into disjoint parts.
  • One-one: \(f(x_1)=f(x_2)\Rightarrow x_1=x_2\). Onto: range = codomain. Bijective = one-one and onto.

Formulas

Number of relations

Relations and Functions · Types of Relations

\[n(A)=m,\ n(B)=n \;\Rightarrow\; 2^{mn} \text{ relations from } A \text{ to } B\]

Congruence modulo n

Relations and Functions · Equivalence Relations

\[a\equiv b \pmod n \iff n\mid(a-b)\]

Counting functions

Relations and Functions · One-One and Onto Functions

\[\#(A\to B)=n^m,\qquad \#\text{one-one}=\frac{n!}{(n-m)!}\ (m\le n)\]

Key Points

Proving vs disproving

Relations and Functions · Types of Relations

Prove a property with arbitrary elements; disprove it with a single concrete counter-example.

Empty and universal relations

Relations and Functions · Types of Relations

On a non-empty set, the empty relation is symmetric and transitive but not reflexive; the universal relation \(A\times A\) is an equivalence relation.

Classes partition the set

Relations and Functions · Equivalence Relations

Equivalence classes are either identical or disjoint, and their union is the whole set.

Domain and codomain decide the type

Relations and Functions · One-One and Onto Functions

\(x\mapsto x^2\): neither on \(\mathbb{R}\to\mathbb{R}\); one-one but not onto on \(\mathbb{N}\to\mathbb{N}\); bijective on \([0,\infty)\to[0,\infty)\).

Horizontal line test

Relations and Functions · One-One and Onto Functions

One-one: every horizontal line cuts the graph at most once. Onto: every horizontal line at a codomain height cuts it at least once.

Common Mistakes

Checking reflexivity only on listed elements

Relations and Functions · Types of Relations

For \(R=\{(1,1),(2,2)\}\) on \(A=\{1,2,3\}\), \(R\) is not reflexive because \((3,3)\) is missing.

Forgetting chains through the same element

Relations and Functions · Types of Relations

In testing transitivity, \((1,2)\) and \((2,1)\) form a chain that requires \((1,1)\).

Ignoring the codomain

Relations and Functions · One-One and Onto Functions

Onto depends on the codomain: \(e^x\) is not onto \(\mathbb{R}\) because negative numbers and 0 are never outputs.

Using one example to prove one-one

Relations and Functions · One-One and Onto Functions

Showing two particular inputs give different outputs proves nothing; you must start from f(x₁) = f(x₂) in general.

Solved Examples

Equivalence classes mod 4

Relations and Functions · Equivalence Relations

On \(A=\{1,2,\dots,9\}\), \(a\,R\,b \iff 4\mid(a-b)\).

A bijection check

Relations and Functions · One-One and Onto Functions

Show \(f:\mathbb{R}\to\mathbb{R},\ f(x)=5-2x\) is bijective.

Practice & Tests

Chapter Practice

Untimed mixed questions from all topics. Answers are revealed after you submit.

Start Practice

Chapter Test

Timed test – about 15 questions in 30 minutes.

Start Test

Relations and Functions – Chapter Test

A board-style chapter test drawn fresh from the question bank each time: MCQs, assertion-reason, numericals, written answers you self-check against model solutions, and a case study.

Start Test