Docsity

Relation and function notes easy language revision notes, Summaries of Mathematics

Toggle sidebar
bg1
Relations and Functions Notes | Page 1
Relations and Functions: Detailed Notes with
Important Questions
Covers Class 11 (Relations & Functions) and Class 12 (Relations & Functions, Inverse Functions,
Binary Operations).
1. Basic Concepts
Ordered pair: (a, b) where order matters. (a, b) = (c, d) only if a = c and b = d.
Cartesian product: A × B = {(a, b) : a ∈ A, b ∈ B}
•If n(A) = p and n(B) = q, then n(A × B) = pq.
•A × B ≠ B × A in general (equal only if A = B or one is empty).
•A × (B ∪ C) = (A × B) ∪ (A × C)
•A × (B ∩ C) = (A × B) ∩ (A × C)
•A × (B − C) = (A × B) − (A × C)
•A × ∅ = ∅
2. Relations
A relation R from set A to set B is any subset of A × B. If (a, b) ∈ R we write a R b.
•Domain: set of all first elements.
•Codomain: the set B.
•Range: set of all second elements (actual images).
•Number of relations from A to B = 2pq.
•Number of relations on A (n elements) = 2n².
Types of Relations
1Empty relation: R = ∅, no element is related to any element.
2Universal relation: R = A × A, every element is related to every element.
3Identity relation: I = {(a, a) : a ∈ A}.
4Reflexive: (a, a) ∈ R for every a ∈ A.
5Symmetric: (a, b) ∈ R ⇒ (b, a) ∈ R.
6Transitive: (a, b) ∈ R and (b, c) ∈ R ⇒ (a, c) ∈ R.
7Antisymmetric: (a, b) ∈ R and (b, a) ∈ R ⇒ a = b.
8Equivalence relation: reflexive + symmetric + transitive.
Counting Results (set with n elements)
•Reflexive relations: 2n² − n
•Symmetric relations: 2n(n+1)/2
•Reflexive and symmetric: 2n(n−1)/2
Equivalence Classes
For an equivalence relation R on A, the class of a is [a] = {x ∈ A : (x, a) ∈ R}.
•Any two classes are either identical or disjoint.
pf3
pf4
pf5

Partial preview of the text

Download Relation and function notes easy language revision notes and more Summaries Mathematics in PDF only on Docsity!

Relations and Functions: Detailed Notes with

Important Questions

Covers Class 11 (Relations & Functions) and Class 12 (Relations & Functions, Inverse Functions, Binary Operations).

1. Basic Concepts

Ordered pair: (a, b) where order matters. (a, b) = (c, d) only if a = c and b = d.

Cartesian product: A × B = {(a, b) : a ∈ A, b ∈ B}

  • (^) If n(A) = p and n(B) = q, then n(A × B) = pq.
  • (^) A × B ≠ B × A in general (equal only if A = B or one is empty).
  • (^) A × (B ∪ C) = (A × B) ∪ (A × C)
  • (^) A × (B ∩ C) = (A × B) ∩ (A × C)
  • (^) A × (B − C) = (A × B) − (A × C)
  • (^) A × ∅ = ∅

2. Relations

A relation R from set A to set B is any subset of A × B. If (a, b) ∈ R we write a R b.

  • (^) Domain: set of all first elements.
  • (^) Codomain: the set B.
  • (^) Range: set of all second elements (actual images).
  • (^) Number of relations from A to B = 2pq.
  • (^) Number of relations on A (n elements) = 2n².

Types of Relations

(^1) Empty relation: R = ∅, no element is related to any element.

(^2) Universal relation: R = A × A, every element is related to every element.

(^3) Identity relation: I = {(a, a) : a ∈ A}.

(^4) Reflexive: (a, a) ∈ R for every a ∈ A.

(^5) Symmetric: (a, b) ∈ R ⇒ (b, a) ∈ R.

(^6) Transitive: (a, b) ∈ R and (b, c) ∈ R ⇒ (a, c) ∈ R.

(^7) Antisymmetric: (a, b) ∈ R and (b, a) ∈ R ⇒ a = b.

(^8) Equivalence relation: reflexive + symmetric + transitive.

Counting Results (set with n elements)

  • (^) Reflexive relations: 2n² − n
  • (^) Symmetric relations: 2n(n+1)/
  • (^) Reflexive and symmetric: 2n(n−1)/

Equivalence Classes

For an equivalence relation R on A, the class of a is [a] = {x ∈ A : (x, a) ∈ R}.

  • (^) Any two classes are either identical or disjoint.
  • (^) The classes form a partition of A (their union is A).

How to Prove a Relation is Equivalence

(^1) Reflexive: show a R a for arbitrary a.

(^2) Symmetric: assume a R b, show b R a.

(^3) Transitive: assume a R b and b R c, show a R c.

Standard Examples

  • (^) "Is parallel to" on lines: equivalence.
  • (^) "Is perpendicular to": only symmetric.
  • (^) "Is a divisor of" on N: reflexive and transitive, not symmetric.
  • (^) "Is less than" on R: only transitive.
  • (^) "Is congruent to" / "is similar to" on triangles: equivalence.
  • (^) "a − b is divisible by n" (congruence mod n): equivalence.
  • (^) "Has the same remainder when divided by n": equivalence. 3. Functions

A function f : A → B is a relation in which every element of A has exactly one image in B.

  • (^) A = domain , B = codomain , {f(x) : x ∈ A} = range (range ⊆ codomain).
  • (^) Vertical line test: a curve is a function graph if every vertical line meets it at most once.
  • (^) Number of functions from A to B = qp^ (n(A) = p, n(B) = q).

Types of Functions

One-one (injective): different elements have different images. f(x₁) = f(x₂) ⇒ x₁ = x₂.

Onto (surjective): every element of codomain has a pre-image. Range = codomain.

Bijective: both one-one and onto.

Many-one: two or more elements share the same image.

Into: range ≠ codomain.

Counting Formulas (n(A) = m, n(B) = n)

  • (^) Total functions: nm
  • (^) One-one functions (need n ≥ m): nPm = n!/(n − m)!
  • (^) Onto functions (need m ≥ n): nm^ − nC1(n−1)m^ + nC2(n−2)m^ − …
  • (^) Bijections (when m = n): n!
  • (^) Onto functions from a set of m onto a set of 2: 2m^ − 2

Tests

  • (^) Horizontal line test: one-one if every horizontal line cuts the graph at most once.
  • (^) Derivative test: strictly increasing or strictly decreasing function is one-one.
  • (^) A continuous one-one function on an interval is strictly monotonic.
  • (^) For a finite set, a function from A to A is one-one iff it is onto.

Standard Functions

Function Domain Range Identity f(x) = x R R Constant f(x) = c R {c} Modulus |x| R [0, ∞) Signum sgn(x) R {−1, 0, 1} Greatest integer [x] R Z Reciprocal 1/x R − {0} R − {0} Square root √x [0, ∞) [0, ∞) Exponential aˣ R (0, ∞) Logarithm log x (0, ∞) R sin x, cos x R [−1, 1]

Algebra of Real Functions

(f ± g)(x) = f(x) ± g(x); (fg)(x) = f(x)g(x); (f/g)(x) = f(x)/g(x), g(x) ≠ 0; (cf)(x) = c·f(x). Domain of f ± g or fg is Df ∩ Dg.

Even and Odd Functions

  • (^) Even: f(−x) = f(x), graph symmetric about y-axis.
  • (^) Odd: f(−x) = −f(x), graph symmetric about origin.
  • (^) Every function = even part + odd part: f(x) = [f(x)+f(−x)]/2 + [f(x)−f(−x)]/2.

Periodic Functions

f(x + T) = f(x), with T the smallest positive such value. Periods: sin x, cos x: 2π; tan x, cot x: π; |sin x|, |cos x|: π. For sin(ax + b): 2π/|a|.

8. Important Questions with Answers

A. Very Short / 1-Mark

Q1. If n(A) = 3 and n(B) = 4, find the number of relations from A to B.

Ans: 212 = 4096.

Q2. If A = {1, 2}, how many reflexive relations exist on A?

Ans: 2 4−2^ = 4.

Q3. Is f : R → R, f(x) = x² one-one? Onto?

Ans: Neither. f(2) = f(−2), and negative numbers have no pre-image.

Q4. Number of bijections from A to A when n(A) = 4.

Ans: 4! = 24.

Q5. If f(x) = x + 1 and g(x) = 2x, find fog and gof.

Ans: fog = 2x + 1, gof = 2x + 2.

Q6. Domain of f(x) = √(x − 2) + 1/(x − 5).

Ans: [2, ∞) − {5}.

B. Short Answer

Q7. Show that f : R → R, f(x) = 3x + 5 is bijective and find f⁻¹.

Sol. One-one: 3x₁ + 5 = 3x₂ + 5 ⇒ x₁ = x₂. Onto: for any y, x = (y − 5)/3 ∈ R gives f(x) = y. So bijective. f⁻¹(y) = (y − 5)/3.

Q8. Check whether R = {(a, b) : a ≤ b²} on R is reflexive, symmetric or transitive.

Sol. Not reflexive (1/2 ≤ 1/4 fails). Not symmetric ((1, 4) ∈ R but (4, 1) ∉ R). Not transitive ((10, 3) and (3, 2) ∈ R but 10 ≤ 4 is false).

Q9. Show that the relation R on Z, "a R b iff a − b is divisible by 3", is an equivalence relation.

Sol. Reflexive: a − a = 0 is divisible by 3. Symmetric: 3 | (a − b) ⇒ 3 | (b − a). Transitive: 3 | (a − b) and 3 | (b − c) ⇒ 3 | (a − c) by adding. Hence equivalence. Classes: [0], [1], [2].

Q10. If f(x) = (x − 1)/(x + 1), show f(f(x)) = −1/x.

Sol. f(f(x)) = [(x−1)/(x+1) − 1] / [(x−1)/(x+1) + 1] = (−2)/(2x) = −1/x.

Q11. Find the range of f(x) = 1/(1 − 2 cos x).

Sol. 1 − 2cos x ∈ [−1, 3] and can be 0, so denominator ∈ [−1, 0) ∪ (0, 3]. Range = (−∞, −1] ∪ [1/3, ∞).

Q12. Let f : N → N, f(x) = 2x. Is f one-one? Onto?

Ans: One-one yes. Onto no (odd numbers have no pre-image).

C. Long Answer

Q13. Let A = R − {3}, B = R − {1}, f : A → B, f(x) = (x − 2)/(x − 3). Show f is bijective.

Sol. One-one: (x₁−2)/(x₁−3) = (x₂−2)/(x₂−3) ⇒ cross-multiply ⇒ −3x₁ − 2x₂ = −3x₂ − 2x₁ ⇒ x₁ = x₂. Onto: y = (x−2)/(x−3) ⇒ x = (3y − 2)/(y − 1), defined since y ≠ 1, and x ≠ 3 (else 3y − 2 = 3y − 3, false). So every y ∈ B has a pre-image.

Q14. Show that f : N → N defined by f(n) = (n + 1)/2 if n odd, n/2 if n even, is onto but not one-one.

Sol. f(1) = 1 = f(2), so not one-one. For any m ∈ N, f(2m) = m, so onto.

Q15. Show that the relation R on A = {1, 2, 3, 4, 5}, R = {(a, b) : |a − b| is even}, is an equivalence relation. Find the classes.

Sol. Reflexive: |a−a| = 0 is even. Symmetric: |a−b| = |b−a|. Transitive: a−b and b−c even ⇒ a−c even. Classes: {1, 3, 5} and {2, 4}.

Q16. Prove (gof)⁻¹ = f⁻¹ o g⁻¹ for bijections f : A → B, g : B → C.

Sol. (gof) o (f⁻¹ o g⁻¹) = g o (f o f⁻¹) o g⁻¹ = g o IB o g⁻¹ = g o g⁻¹ = IC. Similarly (f⁻¹ o g⁻¹) o (gof) = IA. By uniqueness of inverse, the result follows.

Q17. On Q, define a * b = a + b − ab. Is * commutative and associative? Find the identity.

Sol. Commutative: a + b − ab = b + a − ba, yes. Associative: both (ab)c and a(bc) equal a + b

  • c − ab − bc − ca + abc, yes. Identity: a * e = a ⇒ e(1 − a) = 0 ⇒ e = 0.

Q18. Let f : R → R, f(x) = x³ and g(x) = 2x − 1. Find (fog)⁻¹.

Sol. fog(x) = (2x − 1)³. Let y = (2x−1)³ ⇒ x = (y1/3^ + 1)/2. So (fog)⁻¹(x) = (x1/3^ + 1)/2.

Q19. Show that the Signum function f : R → R is neither one-one nor onto.

Sol. f(1) = f(2) = 1, so not one-one. Range is {−1, 0, 1} ≠ R, so not onto.

Q20. Show that f : R → R, f(x) = 4x³ + 7, is invertible, and find f⁻¹.

Sol. f is strictly increasing (f′ = 12x² ≥ 0, zero only at 0), hence one-one; onto since cubic polynomials take all real values. f⁻¹(y) = ((y − 7)/4)1/3.

9. Quick Revision Checklist