Skip to content
Unit 2 Syllabus Note· Mathematics II

Mathematics II

Comprehensive exam revision notes for BCA-401E Unit 2 (Relations, Equivalence & Types of Functions). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Mathematics II

Relations, Equivalence & Types of Functions

Core Definitions & Key Concepts

A Binary Relation and state the maximum number of relations on a set with n elements

A binary relation R from set A to B is any subset of the Cartesian product: R \subseteq A × B. If |A| = n, the total number of binary relations on A is 2^{n^2}.

Reflexive, Symmetric, and Transitive Relations

  • Reflexive: (a, a) \in R for every a \in A.
  • Symmetric: If (a, b) \in R, then (b, a) \in R for all a, b \in A.
  • Transitive: If (a, b) \in R and (b, c) \in R, then (a, c) \in R for all a, b, c \in A.

What is an Equivalence Relation

A relation R on a set A that is simultaneously Reflexive, Symmetric, and Transitive.

An Equivalence Class [a] and state the Fundamental Partition Theorem

The equivalence class of a is [a] = \{x \in A : (x, a) \in R\}. The Fundamental Theorem of Equivalence Relations states that an equivalence relation partitions set A into mutually disjoint equivalence classes whose union equals A.

What is a Partial Order Relation (Poset)

A relation R that is Reflexive, Anti-Symmetric (if (a,b) \in R and (b,a) \in R, then a = b), and Transitive.

Differentiate Injective, Surjective, and Bijective functions

  • Injective (One-to-One): Distinct domain elements map to distinct codomain elements: f(x_1) = f(x_2) \implies x_1 = x_2.
  • Surjective (Onto): Every element in codomain has at least one pre-image in domain: Range(f) = Codomain.
  • Bijective: Both Injective and Surjective (has an inverse function f^{-1}).

State the Principle of Mathematical Induction (PMI)

To prove a statement P(n) is true for all natural numbers n ≥ 1:

  1. Base Case: Prove P(1) is true.
  2. Induction Step: Assume P(k) is true for arbitrary k ≥ 1, and prove that P(k + 1) must be true. Then P(n) holds for all n \in \mathbb{N}.

State the Pigeonhole Principle with an everyday example

If k + 1 or more objects (pigeons) are placed into k boxes (pigeonholes), then at least one box must contain two or more objects. Example: In any group of 13 people, at least two share a birth month.

Conceptual & Architectural Analysis

Prove that the congruence modulo m relation on the set of Integers \mathbb{Z} is an Equivalence Relation

a \equiv b \pmod m \iff m \mid (a - b).

1. Reflexivity

For any a \in \mathbb{Z}, a - a = 0 = 0 × m. Since m \mid 0, a \equiv a \pmod m. Hence reflexive.

2. Symmetry

Assume a \equiv b \pmod m. Then m \mid (a - b) \implies a - b = k m for some k \in \mathbb{Z}. Multiplying by -1: b - a = (-k)m. Since -k \in \mathbb{Z}, m \mid (b - a) \implies b \equiv a \pmod m. Hence symmetric.

3. Transitivity

Assume a \equiv b \pmod m and b \equiv c \pmod m. Then a - b = k_1 m and b - c = k_2 m. Adding: (a - b) + (b - c) = a - c = (k_1 + k_2)m. Since k_1 + k_2 \in \mathbb{Z}, m \mid (a - c) \implies a \equiv c \pmod m. Hence transitive. Since it is reflexive, symmetric, and transitive, congruence modulo m is an Equivalence Relation.

Prove by Mathematical Induction that for all n ≥ 1

$1^2 + 2^2 + 3^2 + \dots + n^2 = \frac{n(n + 1)(2n + 1)}{6}$.

1. Base Step (n = 1)

LHS = 1^2 = 1. RHS = \frac{1(1 + 1)(2(1) + 1)}{6} = \frac{1 × 2 × 3}{6} = 1. LHS = RHS. The base case holds.

2. Induction Hypothesis

Assume the formula holds for n = k: $1^2 + 2^2 + \dots + k^2 = \frac{k(k + 1)(2k + 1)}{6}$

3. Induction Step (Prove for n = k + 1)

$1^2 + 2^2 + \dots + k^2 + (k + 1)^2 = \frac{k(k + 1)(2k + 1)}{6} + (k + 1)^2 Factor out (k + 1): = (k + 1) ≤ft[ \frac{k(2k + 1) + 6(k + 1)}{6} \right] = (k + 1) ≤ft[ \frac{2k^2 + 7k + 6}{6} \right] Factor quadratic 2k^2 + 7k + 6 = (k + 2)(2k + 3): = \frac{(k + 1)(k + 2)(2k + 3)}{6} = \frac{(k + 1)((k + 1) + 1)(2(k + 1) + 1)}{6} This is the formula for n = k + 1. By PMI, the statement holds for all n \in \mathbb{N}$.

In-Depth Analysis & Implementation

Functions in discrete mathematics. Define Composition of Functions, Invertible Functions, and prove that if f: A \to B and g: B \to C are both bijections, then (g \circ f)^{-1} = f^{-1} \circ g^{-1}

1. Function Fundamentals

A function f: A \to B is a rule assigning to each a \in A a unique b \in B. It is bijective if it is both one-to-one and onto. A function is invertible if and only if it is bijective.

2. Composition of Functions

For f: A \to B and g: B \to C, the composite function g \circ f: A \to C is defined by: $(g \circ f)(x) = g(f(x)) \quad \forall x \in A$

3. Proof of the Reversal Rule for Inverse Composition

To prove (g \circ f)^{-1} = f^{-1} \circ g^{-1}, we must show:

  1. (f^{-1} \circ g^{-1}) \circ (g \circ f) = I_A
  2. (g \circ f) \circ (f^{-1} \circ g^{-1}) = I_C

By associativity of function composition: $(f^{-1} \circ g^{-1}) \circ (g \circ f) = f^{-1} \circ (g^{-1} \circ g) \circ f Since g^{-1} \circ g = IB$ (Identity on B): $$= f^{-1} \circ IB \circ f = f^{-1} \circ f = IA$$ Similarly: $$(g \circ f) \circ (f^{-1} \circ g^{-1}) = g \circ (f \circ f^{-1}) \circ g^{-1} = g \circ IB \circ g^{-1} = g \circ g^{-1} = I_C$ Since the two-sided inverse is unique, (g \circ f)^{-1} = f^{-1} \circ g^{-1}$.

Important Exam Points & Quick Revision

In BCA-401E Unit 2, proofs of Equivalence Relations (congruence modulo m) and Mathematical Induction proofs for summation formulas are guaranteed questions. Show every algebraic factoring step cleanly.

Your reading progress
0%

100% left on this page — finishing it closes the gap for Relations, Equivalence & Types of Functions.

Weak topic hint

Relations, Equivalence & Types of Functions still counts as a weak topic until you finish this note and answer its questions.

Practise this unit
What Should You Do Next?

Test Your Understanding

Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.