Class 12 Mathematics โ€” Original Educational Content

Chapter 1: Relations and Functions ๐Ÿ“

Master the foundations of abstract mathematics โ€” relations, equivalence classes, function types, composition, inverses, and binary operations.

๐Ÿ“Œ Relations & Equivalence  |  ๐ŸŽฏ Injective, Surjective, Bijective  |  ๐Ÿงฉ 20 Practice Problems  |  ๐ŸŽฏ 10-Question Quiz

Section 1

๐Ÿ“Œ Introduction to Relations

๐Ÿ”— From Pairs to Patterns โ€” The Language of Relationships

In everyday life, we constantly describe how things are connected: "Priya is taller than Ravi," "7 is greater than 3," "Mumbai is the capital of Maharashtra." Mathematics formalizes these connections using the powerful idea of a relation.

Before we can define a relation, we need to understand how to pair elements from two sets โ€” enter the Cartesian Product! ๐Ÿš€

Cartesian Product: Building All Possible Pairs

Given two non-empty sets A and B, the Cartesian product A ร— B is the set of all ordered pairs (a, b) where a โˆˆ A and b โˆˆ B.

A ร— B = {(a, b) : a โˆˆ A and b โˆˆ B}

Let A = {red, blue} and B = {1, 2, 3}. Then:

A ร— B = {(red,1), (red,2), (red,3), (blue,1), (blue,2), (blue,3)}

Notice: |A ร— B| = |A| ร— |B| = 2 ร— 3 = 6 ordered pairs.

Order matters! (red, 1) โ‰  (1, red). The Cartesian product A ร— B is generally not the same as B ร— A.

What is a Relation?

A relation R from set A to set B is any subset of A ร— B. That is, R โІ A ร— B.

If (a, b) โˆˆ R, we write a R b and say "a is related to b under R."

A relation in a set A (or "on" A) means a relation from A to itself, i.e., R โІ A ร— A.

Let A = {1, 2, 3} and define a relation R by the rule "a is less than b." Then:

R = {(1,2), (1,3), (2,3)}

Here 1 R 2, 1 R 3, and 2 R 3 โ€” but 3 R 1 is false (3 is not less than 1).

Domain, Codomain, and Range

For a relation R from A to B:

  • Domain of R = set of all first elements of the ordered pairs in R = {a : (a, b) โˆˆ R for some b โˆˆ B}
  • Codomain = the entire set B
  • Range of R = set of all second elements of the ordered pairs in R = {b : (a, b) โˆˆ R for some a โˆˆ A}

Range โІ Codomain, always. The range includes only those elements of B that are actually "hit" by R, while the codomain is the entire set B regardless of whether every element is used.

Two Extreme Relations

๐Ÿ•ณ๏ธ Empty Relation (R = โˆ…)

No element of A is related to any element of A. R has zero ordered pairs.
Think of it as: "No student in the class has exactly 100 siblings" โ€” the relation is empty because the condition is never satisfied.

๐ŸŒ Universal Relation (R = A ร— A)

Every element of A is related to every element of A (including itself). R contains ALL possible ordered pairs.
Think of it as: "Every student in the class breathes air" โ€” the condition is satisfied by every pair, so all are related.

Both the empty relation โˆ… and the universal relation A ร— A are trivially valid relations on A โ€” they are subsets of A ร— A. Every other relation lies somewhere between these two extremes.

Section 2

๐Ÿ”„ Types of Relations

Not all relations behave the same way. We classify relations by three fundamental properties โ€” each asking a simple question about the ordered pairs in R.

1. Reflexive Relations

A relation R on set A is reflexive if every element is related to itself:

โˆ€ a โˆˆ A, (a, a) โˆˆ R

โœ… Reflexive: R on โ„ค defined by "a divides a." Since every integer divides itself (a = 1 ร— a), the pair (a, a) is always in R.

โŒ Not Reflexive: R on โ„ defined by "a is strictly greater than b." We'd need a > a, which is impossible.

2. Symmetric Relations

A relation R on set A is symmetric if whenever a is related to b, then b is also related to a:

โˆ€ a, b โˆˆ A, (a, b) โˆˆ R โ‡’ (b, a) โˆˆ R

โœ… Symmetric: R on a set of people defined by "a is a sibling of b." If Priya is Ravi's sibling, then Ravi is Priya's sibling.

โŒ Not Symmetric: R on people defined by "a is the father of b." If Ramesh is the father of Suresh, Suresh is certainly not the father of Ramesh!

3. Transitive Relations

A relation R on set A is transitive if whenever a is related to b and b is related to c, then a is related to c:

โˆ€ a, b, c โˆˆ A, (a, b) โˆˆ R and (b, c) โˆˆ R โ‡’ (a, c) โˆˆ R

โœ… Transitive: "is less than" on โ„. If a < b and b < c, then a < c.

โŒ Not Transitive: "is perpendicular to" on lines in a plane. Line โ„“โ‚ โŠฅ โ„“โ‚‚ and โ„“โ‚‚ โŠฅ โ„“โ‚ƒ does not imply โ„“โ‚ โŠฅ โ„“โ‚ƒ (in fact, โ„“โ‚ โˆฅ โ„“โ‚ƒ).

Quick Comparison Table

Relation (on appropriate set)ReflexiveSymmetricTransitive
"a = b" on โ„คโœ“โœ“โœ“
"a < b" on โ„โœ—โœ—โœ“
"a โ‰ค b" on โ„โœ“โœ—โœ“
"a divides b" on โ„ค+โœ“โœ—โœ“
"a is sibling of b"โœ—โœ“โœ“
"a โŠฅ b" (lines)โœ—โœ“โœ—

Consider the relation "is a friend of" on a social media platform (where you can be your own friend). Is it reflexive? If the platform auto-adds you as your own friend, yes. Symmetric? On Facebook, friendships are mutual โ€” yes. Transitive? If A is friends with B and B is friends with C, is A necessarily friends with C? Not at all! So it's reflexive and symmetric, but not transitive.

A common error: "If R has no pairs of the form (a, b) and (b, c) where a โ‰  c, then R is transitive." This is actually true โ€” transitivity is satisfied vacuously! The condition "(a,b) โˆˆ R and (b,c) โˆˆ R" is never met, so the implication holds by default.

Section 3

โš–๏ธ Equivalence Relations & Equivalence Classes

A relation R on a set A is called an equivalence relation if it is simultaneously:

  • Reflexive โ€” every element is related to itself
  • Symmetric โ€” if a is related to b, then b is related to a
  • Transitive โ€” if a is related to b and b is related to c, then a is related to c

Worked Example: Even Difference

Define R on โ„ค by: R = {(a, b) : 2 divides (a โˆ’ b)}

In other words, a R b if and only if a โˆ’ b is even (i.e., a and b have the same parity).

Checking all three properties:

โœ… Reflexive

For any a โˆˆ โ„ค: a โˆ’ a = 0, and 2 | 0. So (a, a) โˆˆ R. โœ“

โœ… Symmetric

If (a, b) โˆˆ R, then 2 | (a โˆ’ b), say a โˆ’ b = 2k. Then b โˆ’ a = โˆ’2k = 2(โˆ’k), so 2 | (b โˆ’ a). Hence (b, a) โˆˆ R. โœ“

โœ… Transitive

If (a, b) โˆˆ R and (b, c) โˆˆ R, then a โˆ’ b = 2m and b โˆ’ c = 2n. Adding: a โˆ’ c = 2m + 2n = 2(m + n), so 2 | (a โˆ’ c). Hence (a, c) โˆˆ R. โœ“

Since R is reflexive, symmetric, and transitive, R is an equivalence relation. โœจ

Equivalence Classes

Given an equivalence relation R on A, the equivalence class of an element a โˆˆ A is:

[a] = {x โˆˆ A : (a, x) โˆˆ R}

It is the collection of all elements related to a.

For our even-difference relation on โ„ค:

Equivalence Class [0] โ€” The Even Integers

{โ€ฆ, โˆ’6, โˆ’4, โˆ’2, 0, 2, 4, 6, โ€ฆ}
All integers whose difference with 0 is even โ†’ all even numbers.

Equivalence Class [1] โ€” The Odd Integers

{โ€ฆ, โˆ’5, โˆ’3, โˆ’1, 1, 3, 5, 7, โ€ฆ}
All integers whose difference with 1 is even โ†’ all odd numbers.

Notice: [0] โˆช [1] = โ„ค (the full set) and [0] โˆฉ [1] = โˆ… (no overlap). The equivalence classes form a partition of โ„ค โ€” they split the entire set into non-overlapping groups that together cover everything!

Example: Modular Arithmetic (mod 3)

Define R on โ„ค by: a R b โŸบ 3 | (a โˆ’ b) (i.e., a and b leave the same remainder when divided by 3).

This gives us three equivalence classes:

ClassRemainderElements
[0]0{โ€ฆ, โˆ’6, โˆ’3, 0, 3, 6, 9, โ€ฆ}
[1]1{โ€ฆ, โˆ’5, โˆ’2, 1, 4, 7, 10, โ€ฆ}
[2]2{โ€ฆ, โˆ’4, โˆ’1, 2, 5, 8, 11, โ€ฆ}

Equivalence relations are everywhere in daily life! "Born in the same month" partitions all people into 12 classes. "Living in the same city" partitions the population by city. "Having the same blood type" gives 8 classes (A+, Aโˆ’, B+, Bโˆ’, AB+, ABโˆ’, O+, Oโˆ’). Any time you group things by a shared property, you're using an equivalence relation!

Key theorem: Every equivalence relation on A gives a partition of A, and conversely, every partition of A defines an equivalence relation (where two elements are related iff they belong to the same block of the partition).

Section 4

๐ŸŽฏ Types of Functions

A function f : X โ†’ Y assigns to each element x โˆˆ X exactly one element f(x) โˆˆ Y. While all functions share this basic property, they differ in how thoroughly they "cover" the codomain and whether they reuse outputs.

One-One (Injective) Functions

A function f : X โ†’ Y is one-one (or injective) if distinct inputs always produce distinct outputs:

f(xโ‚) = f(xโ‚‚) โ‡’ xโ‚ = xโ‚‚

Equivalently: xโ‚ โ‰  xโ‚‚ โ‡’ f(xโ‚) โ‰  f(xโ‚‚). No two different elements map to the same value.

X
123
โ†’ f(x) = 2x + 1 โ†’ โ†’
Y
3579

โ†‘ One-one: each element of X maps to a unique element of Y. Element 9 in Y is not hit.

Onto (Surjective) Functions

A function f : X โ†’ Y is onto (or surjective) if every element of Y is the image of at least one element in X:

โˆ€ y โˆˆ Y, โˆƒ x โˆˆ X such that f(x) = y

In other words, the range of f equals the codomain Y.

โœ… Onto: f : โ„ โ†’ โ„ defined by f(x) = xยณ. For any real number y, the cube root x = y1/3 exists in โ„, and f(y1/3) = y.

โŒ Not Onto: f : โ„ค โ†’ โ„ค defined by f(x) = 2x. The output is always even, so odd integers (like 3) have no pre-image. Range = even integers โ‰  โ„ค.

Bijective Functions (One-One AND Onto)

A function f : X โ†’ Y is bijective if it is both one-one and onto. Every element of Y is mapped to by exactly one element of X โ€” a perfect pairing!

โœ… Bijective: f : โ„ โ†’ โ„ defined by f(x) = 3x + 5.

One-one: 3xโ‚ + 5 = 3xโ‚‚ + 5 โ‡’ 3xโ‚ = 3xโ‚‚ โ‡’ xโ‚ = xโ‚‚. โœ“

Onto: For any y โˆˆ โ„, choose x = (y โˆ’ 5)/3 โˆˆ โ„. Then f(x) = 3 ยท (yโˆ’5)/3 + 5 = y. โœ“

Counter-Examples to Watch For

FunctionOne-One?Onto?Why?
f(x) = xยฒ on โ„ โ†’ โ„โœ—โœ—f(โˆ’2) = f(2) = 4; negative numbers not in range
f(x) = xยฒ on โ„โบ โ†’ โ„โบโœ“โœ“Restricted domain/codomain makes it bijective
f(x) = |x| on โ„ โ†’ โ„โœ—โœ—f(โˆ’3) = f(3); negatives not in range
f(x) = xยณ on โ„ โ†’ โ„โœ“โœ“Strictly increasing, hits all reals

For finite sets, there is a beautiful result: if f : A โ†’ A (same finite set as domain and codomain), then f is one-one if and only if f is onto. So for finite sets, you only need to check one property! This fails for infinite sets โ€” consider f : โ„ค โ†’ โ„ค, f(n) = 2n (one-one but not onto).

The number of bijections from a set with n elements to itself is n! (n factorial). So from {1, 2, 3} to itself, there are 3! = 6 bijections. These bijections are exactly the permutations of the set โ€” a concept that connects algebra, combinatorics, and group theory!

Section 5

๐Ÿ”— Composition of Functions

When two functions are applied one after the other, the result is a new function called their composition.

Let f : A โ†’ B and g : B โ†’ C. The composition of f and g, written g โˆ˜ f (read "g composed with f" or "g of f"), is the function from A to C defined by:

(g โˆ˜ f)(x) = g(f(x)) for all x โˆˆ A

First apply f, then apply g to the result.

The notation g โˆ˜ f means "apply f first, then g." The function written on the right acts first! This is a very common source of errors.

Worked Example

Let f : โ„ โ†’ โ„, f(x) = xยฒ and g : โ„ โ†’ โ„, g(x) = 2x + 1.

(g โˆ˜ f)(x) = g(f(x)) = g(xยฒ) = 2xยฒ + 1

(f โˆ˜ g)(x) = f(g(x)) = f(2x + 1) = (2x + 1)ยฒ = 4xยฒ + 4x + 1

๐Ÿšจ g โˆ˜ f โ‰  f โˆ˜ g in general!

In the example above: g โˆ˜ f gives 2xยฒ + 1, while f โˆ˜ g gives 4xยฒ + 4x + 1. These are completely different functions.
Composition is NOT commutative. The order in which you compose matters. (However, composition IS associative: h โˆ˜ (g โˆ˜ f) = (h โˆ˜ g) โˆ˜ f.)

Properties of Composition

โœ… Composition preserves Injectivity

If f : A โ†’ B and g : B โ†’ C are both one-one, then g โˆ˜ f : A โ†’ C is also one-one.
Proof sketch: If g(f(xโ‚)) = g(f(xโ‚‚)), then f(xโ‚) = f(xโ‚‚) (since g is one-one), hence xโ‚ = xโ‚‚ (since f is one-one).

โœ… Composition preserves Surjectivity

If f : A โ†’ B and g : B โ†’ C are both onto, then g โˆ˜ f : A โ†’ C is also onto.
Proof sketch: For any c โˆˆ C, โˆƒ b โˆˆ B with g(b) = c (g onto). For that b, โˆƒ a โˆˆ A with f(a) = b (f onto). So g(f(a)) = c.

Combining the above: if both f and g are bijective, then g โˆ˜ f is also bijective.

If g โˆ˜ f is one-one, can we conclude that f is one-one? What about g? Hint: g โˆ˜ f one-one guarantees f is one-one, but says nothing about g by itself.

Section 6

โ†ฉ๏ธ Invertible Functions

An invertible function is one whose action can be completely "undone." Just as subtraction undoes addition, an inverse function reverses the mapping.

A function f : X โ†’ Y is invertible if there exists a function g : Y โ†’ X such that:

g โˆ˜ f = IX and f โˆ˜ g = IY

where IX(x) = x and IY(y) = y are the identity functions. We write g = fโˆ’1.

A function is invertible if and only if it is bijective. This is the central theorem connecting inverses to the one-one/onto classification. If f is not one-one, two inputs go to the same output, and the inverse can't decide which to pick. If f is not onto, some outputs have no source, leaving the inverse undefined there.

Finding the Inverse

To find fโˆ’1, follow these steps:

  1. Write y = f(x)
  2. Solve for x in terms of y
  3. Replace y with x in the final expression to get fโˆ’1(x)

Find the inverse of f : โ„ โ†’ โ„, f(x) = 3x + 7.

Step 1: y = 3x + 7

Step 2: y โˆ’ 7 = 3x, so x = (y โˆ’ 7)/3

Step 3: fโˆ’1(x) = (x โˆ’ 7)/3

Verification: f(fโˆ’1(x)) = 3 ยท (xโˆ’7)/3 + 7 = x โˆ’ 7 + 7 = x โœ“

Inverse of a Composition

๐Ÿ”„ Shoe-Sock Principle

If f and g are both invertible, then: (g โˆ˜ f)โˆ’1 = fโˆ’1 โˆ˜ gโˆ’1
Just like putting on socks then shoes โ€” to undo the process, you remove shoes first, then socks. The reverse order applies!

Let f(x) = 2x and g(x) = x + 5. Then g โˆ˜ f(x) = 2x + 5.

Direct inverse: (g โˆ˜ f)โˆ’1(x) = (x โˆ’ 5)/2

Via formula: fโˆ’1(x) = x/2 and gโˆ’1(x) = x โˆ’ 5.

fโˆ’1 โˆ˜ gโˆ’1(x) = fโˆ’1(x โˆ’ 5) = (x โˆ’ 5)/2 โœ“ They match!

For any bijective f, we have (fโˆ’1)โˆ’1 = f. The inverse of the inverse takes you right back to the original function.

Section 7

โŠ• Binary Operations

A binary operation combines two elements of a set to produce another element of the same set. This is the foundation of algebraic structures like groups, rings, and fields.

A binary operation โˆ— on a set A is a function โˆ— : A ร— A โ†’ A. That is, for every pair (a, b) โˆˆ A ร— A, the result a โˆ— b must also be in A.

The crucial requirement is closure: the operation must not take you outside the set.

โœ… Binary operations on โ„ค:

  • Addition (+): a + b โˆˆ โ„ค for all a, b โˆˆ โ„ค โœ“
  • Multiplication (ร—): a ร— b โˆˆ โ„ค for all a, b โˆˆ โ„ค โœ“
  • Subtraction (โˆ’): a โˆ’ b โˆˆ โ„ค for all a, b โˆˆ โ„ค โœ“

โŒ Not a binary operation on โ„ค:

  • Division (รท): 1 รท 2 = 0.5 โˆ‰ โ„ค. Fails closure!

Properties of Binary Operations

PropertyDefinitionExample
Commutativea โˆ— b = b โˆ— a for all a, b+ on โ„ค: a + b = b + a โœ“
Associative(a โˆ— b) โˆ— c = a โˆ— (b โˆ— c) for all a, b, cร— on โ„ค: (ab)c = a(bc) โœ“

Subtraction on โ„ค is not commutative (5 โˆ’ 3 โ‰  3 โˆ’ 5) and not associative ((8 โˆ’ 3) โˆ’ 2 = 3 but 8 โˆ’ (3 โˆ’ 2) = 7).

Identity Element

An element e โˆˆ A is called the identity element for โˆ— if:

a โˆ— e = e โˆ— a = a for all a โˆˆ A

The identity element, if it exists, is unique.

OperationSetIdentity
+ (addition)โ„ค0 (since a + 0 = 0 + a = a)
ร— (multiplication)โ„š*1 (since a ร— 1 = 1 ร— a = a)
โˆช (union)Power set ๐’ซ(S)โˆ… (since A โˆช โˆ… = A)
โˆฉ (intersection)Power set ๐’ซ(S)S (since A โˆฉ S = A)

Inverse Element

Given a binary operation โˆ— on A with identity e, an element b โˆˆ A is called the inverse of a โˆˆ A if:

a โˆ— b = b โˆ— a = e

Addition on โ„ค (identity = 0): The inverse of a is โˆ’a, since a + (โˆ’a) = (โˆ’a) + a = 0.

Multiplication on โ„š* (identity = 1): The inverse of a (โ‰  0) is 1/a, since a ร— (1/a) = (1/a) ร— a = 1.

Does every element of โ„ค have a multiplicative inverse within โ„ค? Consider: what integer b satisfies 3 ร— b = 1? Since b = 1/3 โˆ‰ โ„ค, the answer is no โ€” most integers lack multiplicative inverses in โ„ค. (Only 1 and โˆ’1 have multiplicative inverses in โ„ค.)

Section 8

๐Ÿงฉ Practice Problems โ€” Set 1

Test your understanding with these problems. Try solving each one before revealing the answer!

PROBLEM 1

Let A = {1, 2, 3} and R = {(1,1), (2,2), (3,3), (1,2), (2,3)}. Determine whether R is reflexive, symmetric, and/or transitive.

Reflexive: โœ… Yes โ€” (1,1), (2,2), (3,3) are all present.
Symmetric: โŒ No โ€” (1,2) โˆˆ R but (2,1) โˆ‰ R.
Transitive: โŒ No โ€” (1,2) โˆˆ R and (2,3) โˆˆ R, but (1,3) โˆ‰ R.
PROBLEM 2

Show that the relation R = {(a, b) : a โ‰ค b} on โ„ is reflexive and transitive, but not symmetric.

Reflexive: For every a โˆˆ โ„, a โ‰ค a is true. So (a, a) โˆˆ R. โœ…
Transitive: If a โ‰ค b and b โ‰ค c, then a โ‰ค c. So (a,b) โˆˆ R and (b,c) โˆˆ R โ‡’ (a,c) โˆˆ R. โœ…
Symmetric: Consider a = 1, b = 2. We have 1 โ‰ค 2, so (1,2) โˆˆ R. But 2 โ‰ค 1 is false, so (2,1) โˆ‰ R. โŒ
PROBLEM 3

Is the function f : โ„ โ†’ โ„ defined by f(x) = xยณ one-one? Justify your answer.

Yes, f is one-one.
Suppose f(xโ‚) = f(xโ‚‚), i.e., xโ‚ยณ = xโ‚‚ยณ.
Taking cube roots (which is well-defined and order-preserving on โ„): xโ‚ = xโ‚‚.
Since equal outputs force equal inputs, f is injective. โœ…
PROBLEM 4

Let f(x) = |x| and g(x) = 2x โˆ’ 3. Find (g โˆ˜ f)(x).

(g โˆ˜ f)(x) = g(f(x)) = g(|x|) = 2|x| โˆ’ 3.

For example: (g โˆ˜ f)(โˆ’4) = 2|โˆ’4| โˆ’ 3 = 2(4) โˆ’ 3 = 5.
And: (g โˆ˜ f)(3) = 2|3| โˆ’ 3 = 6 โˆ’ 3 = 3.
PROBLEM 5

A binary operation โˆ— on โ„ค is defined by a โˆ— b = a + b โˆ’ ab. Is โˆ— commutative?

Yes, โˆ— is commutative.
a โˆ— b = a + b โˆ’ ab
b โˆ— a = b + a โˆ’ ba = a + b โˆ’ ab (since addition and multiplication of integers are commutative)
Therefore a โˆ— b = b โˆ— a for all a, b โˆˆ โ„ค. โœ…
PROBLEM 6

Find the inverse of the function f : โ„ โ†’ โ„ defined by f(x) = 5x + 2.

Let y = 5x + 2.
Solving for x: y โˆ’ 2 = 5x, so x = (y โˆ’ 2)/5.
Therefore fโˆ’1(x) = (x โˆ’ 2)/5.

Verification: f(fโˆ’1(x)) = 5 ยท (x โˆ’ 2)/5 + 2 = (x โˆ’ 2) + 2 = x โœ…
PROBLEM 7

Let R be a relation on โ„ค defined by R = {(a, b) : a โˆ’ b is even}. Show that R is an equivalence relation.

Reflexive: For any a โˆˆ โ„ค, a โˆ’ a = 0, which is even. So (a, a) โˆˆ R. โœ…

Symmetric: If (a, b) โˆˆ R, then a โˆ’ b is even, say a โˆ’ b = 2k. Then b โˆ’ a = โˆ’2k = 2(โˆ’k), which is also even. So (b, a) โˆˆ R. โœ…

Transitive: If (a, b) โˆˆ R and (b, c) โˆˆ R, then a โˆ’ b = 2m and b โˆ’ c = 2n for some integers m, n. Adding: a โˆ’ c = (a โˆ’ b) + (b โˆ’ c) = 2m + 2n = 2(m + n), which is even. So (a, c) โˆˆ R. โœ…

Since R is reflexive, symmetric, and transitive, R is an equivalence relation.
PROBLEM 8

How many bijections exist from the set {a, b, c, d} to itself?

A bijection from a set to itself is a permutation.
For a set with 4 elements, the number of permutations is 4! = 4 ร— 3 ร— 2 ร— 1 = 24.

Reasoning: The first element has 4 choices for its image, the second has 3 remaining choices, the third has 2, and the last has 1.
PROBLEM 9

Is division (รท) a binary operation on โ„š* (non-zero rationals)?

Yes, รท is a binary operation on โ„š*.
For any a, b โˆˆ โ„š* (both non-zero rationals), a รท b = a/b.
Since a โ‰  0 and b โ‰  0, the result a/b is a non-zero rational number, i.e., a/b โˆˆ โ„š*.
Therefore, closure is satisfied. โœ…

Note: Division is NOT a binary operation on โ„ค (1 รท 2 = 0.5 โˆ‰ โ„ค) or on โ„š (0 รท 0 is undefined).
PROBLEM 10

Find all equivalence classes of the relation R = {(a, b) : 3 | (a โˆ’ b)} on โ„ค.

Two integers are related iff they give the same remainder when divided by 3. There are exactly 3 equivalence classes:

[0] = {โ€ฆ, โˆ’6, โˆ’3, 0, 3, 6, 9, โ€ฆ} โ€” multiples of 3 (remainder 0)
[1] = {โ€ฆ, โˆ’5, โˆ’2, 1, 4, 7, 10, โ€ฆ} โ€” remainder 1 when divided by 3
[2] = {โ€ฆ, โˆ’4, โˆ’1, 2, 5, 8, 11, โ€ฆ} โ€” remainder 2 when divided by 3

These three classes are disjoint and their union is all of โ„ค, forming a partition.
Section 9

๐Ÿงฉ Practice Problems โ€” Set 2 (Challenging)

These problems are more involved and test deeper understanding. Work through each carefully!

PROBLEM 1

Show that the relation R on โ„ defined by R = {(a, b) : a โ‰ค bยฒ} is neither reflexive, nor symmetric, nor transitive.

Not Reflexive: Take a = 1/2. We need 1/2 โ‰ค (1/2)ยฒ = 1/4. But 1/2 > 1/4. So (1/2, 1/2) โˆ‰ R. โŒ

Not Symmetric: Take a = 1, b = 2. We have 1 โ‰ค 2ยฒ = 4 โœ“, so (1, 2) โˆˆ R. But 2 โ‰ค 1ยฒ = 1? No, 2 > 1. So (2, 1) โˆ‰ R. โŒ

Not Transitive: Take a = 2, b = โˆ’2, c = 1/2. We have 2 โ‰ค (โˆ’2)ยฒ = 4 โœ“ and โˆ’2 โ‰ค (1/2)ยฒ = 1/4? Hmm, โˆ’2 โ‰ค 1/4 โœ“. But 2 โ‰ค (1/2)ยฒ = 1/4? No. So (a,b) โˆˆ R and (b,c) โˆˆ R but (a,c) โˆ‰ R. โŒ
PROBLEM 2

Let f(x) = xยฒ and g(x) = x + 1 (both โ„ โ†’ โ„). Find f โˆ˜ g and g โˆ˜ f. Are they equal?

f โˆ˜ g(x) = f(g(x)) = f(x + 1) = (x + 1)ยฒ = xยฒ + 2x + 1

g โˆ˜ f(x) = g(f(x)) = g(xยฒ) = xยฒ + 1

Are they equal? No! For example, at x = 1:
f โˆ˜ g(1) = (1+1)ยฒ = 4, but g โˆ˜ f(1) = 1ยฒ + 1 = 2.
This confirms composition is not commutative in general.
PROBLEM 3

Show that f : โ„• โ†’ โ„• defined by f(x) = 2x is one-one but not onto.

One-one: Suppose f(xโ‚) = f(xโ‚‚), i.e., 2xโ‚ = 2xโ‚‚. Dividing by 2: xโ‚ = xโ‚‚. โœ…

Not onto: Consider 3 โˆˆ โ„• (codomain). Is there any x โˆˆ โ„• with f(x) = 3? We'd need 2x = 3, giving x = 3/2, which is not a natural number. So 3 has no pre-image, and f is not onto. โŒ

The range of f is {2, 4, 6, 8, โ€ฆ} โ€” only even natural numbers, which is a proper subset of โ„•.
PROBLEM 4

Let A = {1, 2, 3}. How many equivalence relations on A contain both (1, 2) and (2, 1)?

Any equivalence relation must be reflexive, so it must contain {(1,1), (2,2), (3,3)}. It must contain (1,2) and (2,1) (given). By symmetry and the required pairs, we have the base: {(1,1), (2,2), (3,3), (1,2), (2,1)}.

Now, should 3 be in the same class as 1 and 2?
Option 1: No โ€” classes are {1, 2} and {3}. Relation = {(1,1), (2,2), (3,3), (1,2), (2,1)}. โœ… (Check: transitive since no chain leads to new pairs.)
Option 2: Yes โ€” all in one class {1, 2, 3}. Relation = A ร— A (universal). โœ…

Answer: 2 equivalence relations.
PROBLEM 5

Define โˆ— on โ„š by a โˆ— b = (a + b)/2. Is โˆ— associative?

Check associativity: Compare (a โˆ— b) โˆ— c with a โˆ— (b โˆ— c).

(a โˆ— b) โˆ— c = ((a + b)/2) โˆ— c = ((a + b)/2 + c) / 2 = (a + b + 2c) / 4

a โˆ— (b โˆ— c) = a โˆ— ((b + c)/2) = (a + (b + c)/2) / 2 = (2a + b + c) / 4

Since (a + b + 2c)/4 โ‰  (2a + b + c)/4 in general (e.g., a = 0, b = 0, c = 4 gives 2 vs 1), โˆ— is NOT associative. โŒ
PROBLEM 6

Show that f : โ„ \ {โˆ’1} โ†’ โ„ defined by f(x) = (x โˆ’ 1)/(x + 1) is one-one but not onto (codomain โ„).

One-one: Suppose f(xโ‚) = f(xโ‚‚):
(xโ‚ โˆ’ 1)/(xโ‚ + 1) = (xโ‚‚ โˆ’ 1)/(xโ‚‚ + 1)
Cross-multiply: (xโ‚ โˆ’ 1)(xโ‚‚ + 1) = (xโ‚‚ โˆ’ 1)(xโ‚ + 1)
Expand: xโ‚xโ‚‚ + xโ‚ โˆ’ xโ‚‚ โˆ’ 1 = xโ‚xโ‚‚ + xโ‚‚ โˆ’ xโ‚ โˆ’ 1
Simplify: 2xโ‚ = 2xโ‚‚, so xโ‚ = xโ‚‚. โœ…

Not onto: Is there x such that f(x) = 1?
(x โˆ’ 1)/(x + 1) = 1 โ‡’ x โˆ’ 1 = x + 1 โ‡’ โˆ’1 = 1, which is impossible.
So 1 is not in the range of f, hence f is not onto. โŒ
PROBLEM 7

If f is bijective, show that (fโˆ’1)โˆ’1 = f.

Since f is bijective, fโˆ’1 exists and satisfies:
f โˆ˜ fโˆ’1 = IY and fโˆ’1 โˆ˜ f = IX

The inverse of fโˆ’1 is the function g such that g โˆ˜ fโˆ’1 = IY and fโˆ’1 โˆ˜ g = IX.

From the equations above, g = f satisfies both conditions! Therefore (fโˆ’1)โˆ’1 = f. โœ…

Intuition: Undoing an undo brings you back to where you started.
PROBLEM 8

Let A = {1, 2, 3, 4, 5, 6, 7} and R = {(a, b) : both a and b are odd, or both are even}. Find the equivalence classes.

This relation groups elements by parity (odd/even).

Equivalence class of odd numbers:
[1] = [3] = [5] = [7] = {1, 3, 5, 7}

Equivalence class of even numbers:
[2] = [4] = [6] = {2, 4, 6}

There are exactly 2 equivalence classes: {1, 3, 5, 7} and {2, 4, 6}. They are disjoint and their union is A.
PROBLEM 9

For the operation โˆ— on โ„คโบ defined by a โˆ— b = LCM(a, b), find the identity element.

We need e โˆˆ โ„คโบ such that LCM(a, e) = a for all a โˆˆ โ„คโบ.

Recall that LCM(a, 1) = a for every positive integer a (since 1 divides every integer, the LCM is just a).

Also, LCM(1, a) = a. โœ…

Therefore, the identity element is e = 1.
PROBLEM 10

If f : A โ†’ B is bijective and g : B โ†’ C is bijective, show that g โˆ˜ f : A โ†’ C is bijective.

One-one: Suppose (g โˆ˜ f)(xโ‚) = (g โˆ˜ f)(xโ‚‚), i.e., g(f(xโ‚)) = g(f(xโ‚‚)).
Since g is one-one: f(xโ‚) = f(xโ‚‚).
Since f is one-one: xโ‚ = xโ‚‚.
Therefore g โˆ˜ f is one-one. โœ…

Onto: Let c โˆˆ C (arbitrary).
Since g is onto: โˆƒ b โˆˆ B such that g(b) = c.
Since f is onto: โˆƒ a โˆˆ A such that f(a) = b.
Then (g โˆ˜ f)(a) = g(f(a)) = g(b) = c.
Therefore g โˆ˜ f is onto. โœ…

Since g โˆ˜ f is both one-one and onto, it is bijective.
Section 10

๐ŸŽฏ Quick Quiz โ€” Test Yourself! (10 MCQs)

Select the correct answer for each question. You can't change your answer once selected!

QUESTION 1 OF 10

A relation that is reflexive, symmetric, and transitive is called:

AEmpty relation
BUniversal relation
CEquivalence relation
DPartial order relation
QUESTION 2 OF 10

The function f : โ„ โ†’ โ„ defined by f(x) = xยฒ is:

AOne-one only
BOnto only
CBoth one-one and onto
DNeither one-one nor onto
QUESTION 3 OF 10

The number of bijections from {1, 2, 3} to itself is:

A3
B6
C9
D27
QUESTION 4 OF 10

If f(x) = 2x + 3, then fโˆ’1(x) equals:

A(x โˆ’ 3) / 2
B(x + 3) / 2
C2x โˆ’ 3
D3 โˆ’ 2x
QUESTION 5 OF 10

The notation g โˆ˜ f means:

AApply g first, then f
BApply f first, then g
CApply both simultaneously
DMultiply f and g
QUESTION 6 OF 10

Which of the following is a binary operation on โ„ค?

ADivision (รท)
BAddition (+)
CSquare root (โˆš)
DLogarithm (log)
QUESTION 7 OF 10

The identity element for addition (+) on โ„ค is:

A1
Bโˆ’1
C0
DDoes not exist
QUESTION 8 OF 10

The relation R = {(1,1), (2,2)} on A = {1, 2, 3} is:

AReflexive
BSymmetric only
CTransitive only
DNot reflexive
QUESTION 9 OF 10

If a function is both one-one and onto, it is called:

AInjective
BSurjective
CBijective
DReflexive
QUESTION 10 OF 10

The number of equivalence classes of the relation "congruent modulo 5" on โ„ค is:

A2
B3
C5
DInfinite

Your Quiz Results

Section 11

๐Ÿ“‹ Chapter Summary

๐Ÿ”‘ Key Definitions at a Glance

Relations

  • A relation R from A to B is a subset of A ร— B. A relation on A means R โІ A ร— A.
  • Reflexive: (a, a) โˆˆ R for all a โˆˆ A.
  • Symmetric: (a, b) โˆˆ R โ‡’ (b, a) โˆˆ R.
  • Transitive: (a, b) โˆˆ R and (b, c) โˆˆ R โ‡’ (a, c) โˆˆ R.
  • Equivalence relation: Reflexive + Symmetric + Transitive.
  • Equivalence class of a: [a] = {x โˆˆ A : (a, x) โˆˆ R}. Equivalence classes form a partition of A.

Functions

  • One-one (Injective): f(xโ‚) = f(xโ‚‚) โ‡’ xโ‚ = xโ‚‚.
  • Onto (Surjective): For every y in codomain, โˆƒ x with f(x) = y.
  • Bijective: One-one AND onto.
  • For finite sets: f : A โ†’ A is one-one โŸบ f is onto.
  • Number of bijections from an n-element set to itself = n!

Composition

  • (g โˆ˜ f)(x) = g(f(x)) โ€” apply f first, then g.
  • Composition is associative but not commutative.
  • Composition preserves injectivity, surjectivity, and bijectivity.

Invertible Functions

  • f is invertible โŸบ f is bijective.
  • fโˆ’1(y) = x where f(x) = y.
  • (g โˆ˜ f)โˆ’1 = fโˆ’1 โˆ˜ gโˆ’1 (reverse order).
  • (fโˆ’1)โˆ’1 = f.

Binary Operations

  • A binary operation โˆ— on A is a function โˆ— : A ร— A โ†’ A (closure is essential).
  • Commutative: a โˆ— b = b โˆ— a.
  • Associative: (a โˆ— b) โˆ— c = a โˆ— (b โˆ— c).
  • Identity element e: a โˆ— e = e โˆ— a = a for all a.
  • Inverse of a: a โˆ— b = b โˆ— a = e.

This chapter forms the gateway to abstract algebra โ€” one of the most beautiful branches of mathematics. The concepts of equivalence relations, bijections, and binary operations are the building blocks of groups, rings, fields, and beyond. What you've learned here will serve you throughout higher mathematics! ๐ŸŽ“

๐ŸŽ‰ Congratulations on completing Chapter 1!

Relations and Functions โ€” Class 12 Mathematics | EduArtha

100% Original Educational Content โ€” Not sourced from any textbook