Skip to content
Skip to page content
soylai.com

Relations and Functions — chapter notes

6 sections 4 min readBeta

1. Relations on a set

A relation on AA is a subset of A×AA \times A. If n(A)=nn(A) = n, there are n2n^2 ordered pairs and 2n22^{n^2} relations.

  • Empty relation: ∅\varnothing. Universal relation: A×AA \times A. Identity relation: IA={(a,a):a∈A}I_A = \{(a, a) : a \in A\}.
The smallest, the identity and the largest relation on $A$.
Relation on A={p,q}A = \{p, q\}Ordered pairsHow many
Empty∅\varnothing00
Identity IAI_A{(p,p),(q,q)}\{(p, p), (q, q)\}22
Universal A×AA \times A{(p,p),(p,q),(q,p),(q,q)}\{(p, p), (p, q), (q, p), (q, q)\}44

Formulas

  • Counting relations
    number of relations on A=2n2\text{number of relations on } A = 2^{n^2}

Key terms

Relation on A

A subset of A×AA \times A.

Identity relation

{(a,a):a∈A}\{(a, a) : a \in A\}.

2. Reflexive, symmetric, transitive and equivalence relations

  • Reflexive: (a,a)∈R(a, a) \in R for every a∈Aa \in A.
  • Symmetric: (a,b)∈R⇒(b,a)∈R(a, b) \in R \Rightarrow (b, a) \in R.
  • Transitive: (a,b)∈R, (b,c)∈R⇒(a,c)∈R(a, b) \in R,\ (b, c) \in R \Rightarrow (a, c) \in R.

All three together make an equivalence relation. Its classes [a]={x∈A:x R a}[a] = \{x \in A : x\,R\,a\} are disjoint and cover AA (a partition). "Same value of a property" (same remainder, same instrument) always gives an equivalence relation.

To prove a property, use general letters; to disprove one, give one concrete counterexample.

One counterexample is enough to break a property.
PropertyWhat to checkOne failure looks like
Reflexiveevery (a,a)(a, a) is presenta missing loop
Symmetriceach pair has its reverse(a,b)(a, b) without (b,a)(b, a)
Transitiveeach chain (a,b),(b,c)(a, b), (b, c) has (a,c)(a, c)a chain without its shortcut
The classes do not overlap and together make up the whole set.
Remainder on division by 44Class
11{1,5,9}\{1, 5, 9\}
22{2,6,10}\{2, 6, 10\}
33{3,7}\{3, 7\}
00{4,8}\{4, 8\}

Formulas

  • Equivalence class
    [a]={x∈A:x R a}[a] = \{x \in A : x\,R\,a\}

Key terms

Equivalence relation

Reflexive, symmetric and transitive.

Equivalence class

[a][a]: all elements related to aa.

3. Functions, domain and range

A function f:X→Yf : X \to Y assigns to each x∈Xx \in X exactly one f(x)∈Yf(x) \in Y. Domain XX, codomain YY, range {f(x):x∈X}⊆Y\{f(x) : x \in X\} \subseteq Y.

For real functions: exclude values that make a denominator zero or put a negative number under an even root. Find the range by solving y=f(x)y = f(x) for xx or by completing the square (for example x2−4x+9=(x−2)2+5≥5x^2 - 4x + 9 = (x - 2)^2 + 5 \ge 5).

Domain: where the formula makes sense. Range: the values it actually takes.
f(x)f(x)DomainRange
x−3\sqrt{x - 3}[3,∞)[3, \infty)[0,∞)[0, \infty)
1x−2\dfrac{1}{x - 2}R−{2}\mathbb{R} - \{2\}R−{0}\mathbb{R} - \{0\}
x2+1x^2 + 1R\mathbb{R}[1,∞)[1, \infty)
∣x∣−2|x| - 2R\mathbb{R}[−2,∞)[-2, \infty)
  • y=16−x2y = \sqrt{16 - x^2}
Domain $[-4, 4]$, range $[0, 4]$.

Key terms

Range

The set of values the function actually takes.

4. One-one, many-one, onto and into functions

  • One-one: f(x1)=f(x2)⇒x1=x2f(x_1) = f(x_2) \Rightarrow x_1 = x_2. Otherwise many-one.
  • Onto: every y∈Yy \in Y has a pre-image (range =Y= Y). Otherwise into.
  • Bijective: one-one and onto.

Finite sets with n(X)=mn(X) = m, n(Y)=nn(Y) = n: nmn^m functions; n(n−1)⋯(n−m+1)n(n - 1)\cdots(n - m + 1) one-one functions when m≤nm \le n; onto functions to a 22-element set: 2m−22^m - 2. A horizontal line meeting a graph twice shows "many-one".

Every function is one-one or many-one, and onto or into.
TypeMeaningArrow picture
one-onedifferent inputs, different outputsno element of YY gets two arrows
many-onesome output has two or more inputssome element of YY gets two arrows
ontorange == codomainevery element of YY gets an arrow
intorange ≠\ne codomainsome element of YY gets no arrow
  • y=x2−6xy = x^2 - 6x
  • y=−5y = -5
Two hits on one horizontal line: the function is many-one.

Formulas

  • One-one
    f(x1)=f(x2)⇒x1=x2f(x_1) = f(x_2) \Rightarrow x_1 = x_2

Key terms

Into function

A function whose range is smaller than its codomain.

Many-one function

Some output has two or more pre-images.

5. Composite functions

(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)): apply gg first. It needs the range of gg to lie in the domain of ff (restrict xx where necessary).

  • Not commutative: usually f∘g≠g∘ff \circ g \ne g \circ f.
  • Associative: (f∘g)∘h=f∘(g∘h)(f \circ g) \circ h = f \circ (g \circ h).
  • Composites of one-one functions are one-one; composites of onto functions are onto.

ISC 2027 asks for composites of algebraic functions only.

The inner function acts first.
Different columns: $f \circ g \ne g \circ f$.
xxg(x)g(x)(f∘g)(x)(f \circ g)(x)f(x)f(x)(g∘f)(x)(g \circ f)(x)
002233−1-1−1-1
115524240022
22886363331111

Formulas

  • Composite
    (f∘g)(x)=f(g(x))(f \circ g)(x) = f\big(g(x)\big)

Key terms

Composite function

f∘gf \circ g, defined by x↦f(g(x))x \mapsto f(g(x)).

6. Invertible functions and their graphs

f:A→Bf : A \to B is invertible exactly when it is bijective; then f−1(y)=x  ⟺  f(x)=yf^{-1}(y) = x \iff f(x) = y.

Method: check one-one and onto, write y=f(x)y = f(x), solve for xx, rename, and verify f(f−1(x))=xf(f^{-1}(x)) = x. On a restricted domain (for example x≥0x \ge 0), the domain decides which root to keep.

The graph of f−1f^{-1} is the reflection of the graph of ff in y=xy = x; a point where they meet lies on y=xy = x. Also (f−1)−1=f(f^{-1})^{-1} = f and (g∘f)−1=f−1∘g−1(g \circ f)^{-1} = f^{-1} \circ g^{-1}. Note that f−1(x)f^{-1}(x) is not 1f(x)\dfrac{1}{f(x)}.

  • y=3x−2y = 3x - 2
  • y=x+23y = \dfrac{x + 2}{3}
  • y=xy = x
A function and its inverse are mirror images in $y = x$.
Five steps, the last one a check.
  • y=x2+1y = x^2 + 1, x≥0x \ge 0
  • y=x−1y = \sqrt{x - 1}
  • y=xy = x
Restricting the domain to $x \ge 0$ makes the square function invertible.

Formulas

  • Inverse of a composite
    (g∘f)−1=f−1∘g−1(g \circ f)^{-1} = f^{-1} \circ g^{-1}

Key terms

Inverse function

f−1f^{-1} with f−1(f(x))=xf^{-1}(f(x)) = x and f(f−1(y))=yf(f^{-1}(y)) = y.

Exam tips

How ISC marks are awarded

  • Equivalence proof (3 marks): one mark each for reflexive, symmetric and transitive, using general letters; classes earn further marks when asked.
  • Property fails (1–2 marks): one explicit counterexample.
  • Domain and range (2 marks): one each, with the reason.
  • Invertible and inverse (2–3 marks): one-one, onto, then the inverse; check by composing.
  • Section D (5 marks): questions come in parts such as 2 + 3; label each part.

Common mistakes

  • Reading f∘gf \circ g as "ff first".
  • Writing f−1f^{-1} before showing ff is a bijection.
  • Keeping both roots on a restricted domain.
  • Forgetting the excluded value in the codomain of a rational function.