Relations and Functions is Chapter 2 of CBSE Class 11 Maths — the chapter that finally tells you, precisely, what a “function” actually is. Everything you will do later in Trigonometry, Limits, Derivatives, and all of Class 12 Calculus rests on the ideas built here: ordered pairs, the Cartesian product, relations, and functions as a special kind of relation.
By the end of these notes you will be able to write the Cartesian product of two sets, identify whether a relation is a function, state the domain, codomain and range of any relation, recognise all the standard real functions (identity, constant, polynomial, modulus, signum, greatest integer), and add, subtract, multiply and divide real functions confidently. This chapter is short but scoring — roughly 4–6 marks in boards and a guaranteed concept-builder for JEE.
Table of Contents
- Key Concepts — Cartesian product, relations, functions, types of functions, domain & range, algebra of functions
- Weightage in Board & Entrance Exams
- Important Definitions
- Solved Examples
- Important Questions for Board Exams
- Quick Revision Points
Key Concepts
1. Ordered Pairs and Cartesian Product of Sets
An ordered pair is a pair of elements written in a fixed order, like (a, b). Order matters — (2, 3) is not the same as (3, 2). Two ordered pairs are equal only when their corresponding entries are equal: (a, b) = (c, d) means a = c and b = d.
The Cartesian product of two sets A and B, written A × B, is the set of all ordered pairs (a, b) where a belongs to A and b belongs to B.
A × B = {(a, b) : a ∈ A and b ∈ B}
- If A = {1, 2} and B = {3, 4}, then A × B = {(1,3), (1,4), (2,3), (2,4)}.
- In general, A × B ≠ B × A (unless A = B or one of them is empty).
- If n(A) = p and n(B) = q, then n(A × B) = pq.
- A × A × A is the set of ordered triples — for example, R × R × R represents 3-dimensional space.
2. Relations
A relation R from a set A to a set B is a subset of the Cartesian product A × B. It simply picks out the ordered pairs that are “related” by some rule.
R ⊆ A × B; we write a R b (or (a, b) ∈ R) to mean a is related to b.
For example, if A = {1, 2, 3, 4} and the rule is “y = x + 1”, then R = {(1,2), (2,3), (3,4)} — a subset of A × A.
- Domain of R: the set of all first elements of the ordered pairs in R.
- Range of R: the set of all second elements of the ordered pairs in R.
- Codomain of R: the whole set B (the range is always a subset of the codomain).
Number of relations: If n(A) = p and n(B) = q, then A × B has pq elements, so the number of possible relations from A to B is 2^(pq).
3. Functions — a Special Kind of Relation
A function f from a set A to a set B is a relation in which every element of A has exactly one image in B. No element of A is left out, and none is paired with two different outputs.
We write f : A → B, and if (a, b) ∈ f we write b = f(a) — b is the image of a, and a is a pre-image of b.
- Every function is a relation, but not every relation is a function.
- Domain: set A (all valid inputs). Codomain: set B. Range: the set of actual outputs f(a) — a subset of B.
- Vertical line test: a graph represents a function if no vertical line cuts it more than once.
[DIAGRAM: An arrow diagram — each element of set A has exactly one arrow leaving it to set B. A relation where one element of A points to two elements of B is NOT a function.]
4. Real-Valued and Real Functions
A function whose range is a subset of the real numbers R is called a real-valued function. If, in addition, its domain is also a subset of R, it is called a real function. Almost every function you meet in this chapter is a real function.
5. Types of Functions (Standard Real Functions)
(i) Identity Function
f(x) = x for every real x. Each input maps to itself. Domain = R, Range = R. Its graph is the straight line y = x through the origin at 45°.
(ii) Constant Function
f(x) = c, where c is a fixed real number, for every x. Domain = R, Range = {c}. Its graph is a horizontal line parallel to the x-axis.
(iii) Polynomial Function
f(x) = a₀ + a₁x + a₂x² + … + aₙxⁿ, where the powers of x are non-negative integers and the coefficients are real. Domain = R. Examples: f(x) = 3, f(x) = 2x + 1, f(x) = x² − 5x + 6.
(iv) Rational Function
A function of the form f(x) = p(x)/q(x), where p(x) and q(x) are polynomials and q(x) ≠ 0. Domain = R except the values of x that make the denominator zero. For f(x) = 1/x, domain = R − {0}, range = R − {0}.
(v) Modulus (Absolute Value) Function
f(x) = |x|, which equals x when x ≥ 0 and −x when x < 0. It always gives a non-negative output. Domain = R, Range = [0, ∞). Its graph is a V-shape with the vertex at the origin.
(vi) Signum Function
The signum function tells you the sign of x:
f(x) = 1 for x > 0, 0 for x = 0, −1 for x < 0.
Equivalently f(x) = |x|/x for x ≠ 0, and 0 at x = 0. Domain = R, Range = {−1, 0, 1}.
(vii) Greatest Integer Function (Step Function)
f(x) = [x] gives the greatest integer less than or equal to x. For example [2.7] = 2, [3] = 3, [−1.2] = −2. Domain = R, Range = Z (the integers). Its graph looks like a staircase, hence “step function”.
6. Domain and Range of Real Functions
To find the domain, ask: for which real x is f(x) defined? Two situations to watch:
- Denominator ≠ 0: for a rational function, exclude values that make the denominator zero.
- Even root ≥ 0: for √(expression), the expression under the root must be ≥ 0.
To find the range, ask: what set of output values can f(x) actually take? Express x in terms of y where possible, or analyse the function’s behaviour.
- For f(x) = √x: domain = [0, ∞), range = [0, ∞).
- For f(x) = 1/(x − 2): domain = R − {2}, range = R − {0}.
- For f(x) = √(9 − x²): domain = [−3, 3], range = [0, 3].
7. Algebra of Real Functions
If f and g are two real functions with domains D_f and D_g, we can combine them. The combined functions are defined on the common domain D_f ∩ D_g (with one extra rule for division).
| Operation | Definition | Domain |
|---|---|---|
| Sum | (f + g)(x) = f(x) + g(x) | D_f ∩ D_g |
| Difference | (f − g)(x) = f(x) − g(x) | D_f ∩ D_g |
| Product | (fg)(x) = f(x)·g(x) | D_f ∩ D_g |
| Scalar multiple | (cf)(x) = c·f(x), c a constant | D_f |
| Quotient | (f/g)(x) = f(x)/g(x) | D_f ∩ D_g, with g(x) ≠ 0 |
Key idea: the only special case is division — you must additionally throw out every x where g(x) = 0.
Weightage in Board & Entrance Exams
| Exam | Typical Weightage | Most-Tested Areas |
|---|---|---|
| CBSE Board (Class 11) | 4–6 marks | Cartesian product, domain & range, identifying functions, algebra of functions |
| JEE Main | 1–2 questions (with Class 12 functions) | Domain & range, greatest integer, modulus, signum |
| School Unit Tests | 5–8 marks | n(A × B), relations as subsets, graphs of standard functions |
[TABLE: Question-type split — VSA (1 mark): definitions, n(A × B), value of [x] or |x|; SA (2–3 marks): finding domain/range, checking if a relation is a function; LA (4–5 marks): algebra of functions, drawing graphs of standard functions.]
Important Definitions
| Term | Definition |
|---|---|
| Ordered pair | A pair (a, b) where order matters; (a,b) = (c,d) iff a = c and b = d |
| Cartesian product | A × B = {(a, b) : a ∈ A, b ∈ B}; n(A × B) = n(A)·n(B) |
| Relation | Any subset R of A × B |
| Domain of a relation | Set of all first elements of the ordered pairs in R |
| Range of a relation | Set of all second elements of the ordered pairs in R |
| Codomain | The set B from which images are drawn; range ⊆ codomain |
| Function | A relation in which every element of the domain has exactly one image |
| Identity function | f(x) = x for all x ∈ R |
| Modulus function | f(x) = |x|; equals x if x ≥ 0, −x if x < 0 |
| Signum function | f(x) = 1, 0, −1 for x > 0, x = 0, x < 0 respectively |
| Greatest integer function | f(x) = [x] = greatest integer ≤ x |
Solved Examples
Example 1
If A = {1, 2} and B = {3, 4, 5}, find A × B and n(A × B).
Answer: A × B = {(1,3), (1,4), (1,5), (2,3), (2,4), (2,5)}. n(A × B) = n(A)·n(B) = 2 × 3 = 6.
Example 2
If (x + 1, y − 2) = (3, 1), find x and y.
Answer: Equating components: x + 1 = 3 ⇒ x = 2; y − 2 = 1 ⇒ y = 3.
Example 3
Let A = {1, 2, 3, 4, 5} and R = {(x, y) : y = x + 2}. Write R, its domain and range.
Answer: R = {(1,3), (2,4), (3,5)}. Domain = {1, 2, 3}, Range = {3, 4, 5}.
Example 4
Which of these relations on {1, 2, 3} is a function? (a) {(1,1), (2,2), (3,3)} (b) {(1,2), (1,3), (2,3)}
Answer: (a) is a function — every input has exactly one output. (b) is not a function because the input 1 has two images (2 and 3).
Example 5
Find the domain and range of f(x) = 1/(x − 3).
Answer: The denominator is zero at x = 3, so Domain = R − {3}. The output is never 0, so Range = R − {0}.
Example 6
If f(x) = x² and g(x) = 2x + 1, find (f + g)(x) and (f/g)(x) and state the domain of f/g.
Answer: (f + g)(x) = x² + 2x + 1. (f/g)(x) = x²/(2x + 1), defined for all real x except where 2x + 1 = 0, so domain = R − {−1/2}.
Example 7
Evaluate [−2.5] + |−4| + signum(−6).
Answer: [−2.5] = −3, |−4| = 4, signum(−6) = −1. Sum = −3 + 4 − 1 = 0.
Important Questions for Board Exams
1-Mark Questions (VSA)
- Define the Cartesian product of two sets A and B.
- If n(A) = 3 and n(B) = 4, how many relations are possible from A to B?
- Write the value of [−3.7] (greatest integer function).
- State the range of the signum function.
- Is every relation a function? Give a reason.
2–3-Mark Questions (SA)
- If A = {−1, 0, 1} and B = {2, 3}, find A × B and B × A. Are they equal?
- Find the domain and range of f(x) = √(x − 2).
- Let R = {(x, y) : x, y ∈ N and y = 2x, x ≤ 4}. Write R in roster form and give its domain and range.
- Sketch the graph of the modulus function f(x) = |x| and state its domain and range.
4–5-Mark Questions (LA)
- Define a function. Explain, with an arrow diagram and the vertical line test, why every function is a relation but every relation need not be a function.
- For f(x) = x² + 1 and g(x) = x − 1, find f + g, f − g, fg and f/g, stating the domain of each.
- Draw the graphs of the identity function, the constant function, and the greatest integer function, and write the domain and range of each.
Quick Revision Points
- Ordered pair (a, b): order matters; equal iff components are equal
- A × B = {(a, b) : a ∈ A, b ∈ B}; n(A × B) = n(A)·n(B); A × B ≠ B × A in general
- Relation = any subset of A × B; number of relations = 2^(pq)
- Function = relation where each input has exactly one output
- Domain = inputs, Codomain = target set B, Range = actual outputs (⊆ codomain)
- Identity f(x) = x; Constant f(x) = c; Range {c}
- Modulus |x|: range [0, ∞); Signum: range {−1, 0, 1}
- Greatest integer [x]: greatest integer ≤ x; range = Z
- Rational p(x)/q(x): exclude q(x) = 0 from the domain
- Even roots: expression under √ must be ≥ 0
- Algebra of functions: (f ± g), (fg), (cf), (f/g) with g(x) ≠ 0; combine on D_f ∩ D_g
Next Chapter: Chapter 3 — Trigonometric Functions
Chapter Navigation
Previous: Sets Class 11 Notes
Next: Trigonometric Functions Class 11 Notes
Related Chapters in Class 11 Maths
Practice What You Learned
See where these ideas lead in Class 12 with our Relations and Functions Class 12 notes (types of relations, one-one and onto functions).