girgit.org

Relations and Functions

Review: Relations and Functions

The chapter in one lineOrdered pairs build the Cartesian product \( A \times B \); any subset of it is a relation; a relation that gives every element of \( A \) exactly one image is a function, and real functions can be graphed and combined point by point.

Summary

Read the summary · 12 points
  1. An ordered pair \( (a, b) \) is two objects in a fixed order. \( (a, b) = (x, y) \) exactly when \( a = x \) and \( b = y \), so \( (a, b) \ne (b, a) \) unless \( a = b \).
  2. The Cartesian product of non-empty sets is \( A \times B = \{\, (a, b) : a \in A,\ b \in B \,\} \). If either set is empty, the product is empty: \( A \times \phi = \phi \).
  3. If \( n(A) = p \) and \( n(B) = q \), then \( n(A \times B) = pq \). In general \( A \times B \ne B \times A \), though both have \( pq \) elements. If either non-empty set is infinite, so is the product.
  4. \( A \times A \times A = \{\, (a, b, c) : a, b, c \in A \,\} \) is a set of ordered triplets. \( \mathbf{R} \times \mathbf{R} \) is the coordinate plane and \( \mathbf{R} \times \mathbf{R} \times \mathbf{R} \) is three-dimensional space.
  5. A relation \( R \) from \( A \) to \( B \) is a subset of \( A \times B \), chosen by a rule linking the first and second elements. If \( (x, y) \in R \), \( y \) is an image of \( x \). It can be written in roster form, in set-builder form, or drawn as an arrow diagram.
  6. The domain of a relation is the set of its first elements, the range the set of its second elements, and the codomain the whole set \( B \). Range \( \subset \) codomain. A relation from \( A \) to \( A \) is a relation on \( A \).
  7. There are \( 2^{pq} \) relations from a set with \( p \) elements to a set with \( q \) elements, because each relation is a subset of the \( pq \)-element set \( A \times B \).
  8. A function \( f : A \to B \) is a relation in which every element of \( A \) has one and only one image in \( B \): the domain is all of \( A \), and no two pairs share a first element. We write \( f(a) = b \); \( b \) is the image of \( a \), and \( a \) a preimage of \( b \). The range is the set of all images.
  9. A real valued function has its range in \( \mathbf{R} \); a real function has both domain and range in \( \mathbf{R} \). For a formula, the domain is every \( x \) giving a real value: no zero denominators, nothing negative under a square root. A linear function is \( f(x) = mx + c \).
  10. Graphs: identity \( f(x) = x \), a line through the origin at 45°; constant \( f(x) = c \), a horizontal line, range \( \{c\} \); polynomial \( a_0 + a_1 x + \dots + a_n x^n \) with \( n \) a non-negative integer, such as the U-shaped parabola \( x^2 \) (range \( [0, \infty) \)) and the rising curve \( x^3 \) (range \( \mathbf{R} \)).
  11. Rational functions are \( f(x)/g(x) \) with polynomials \( f, g \) and \( g(x) \ne 0 \); \( 1/x \) has domain and range \( \mathbf{R} - \{0\} \) and two branches in the first and third quadrants. Modulus \( |x| \) is \( x \) for \( x \ge 0 \) and \( -x \) for \( x \lt 0 \), a V with range \( [0, \infty) \). Signum gives \( 1, 0, -1 \) for positive, zero and negative \( x \), range \( \{-1, 0, 1\} \). The greatest integer function \( [x] \) is the greatest integer \( \le x \), a staircase with range \( \mathbf{Z} \).
  12. For \( f, g : X \to \mathbf{R} \): \( (f \pm g)(x) = f(x) \pm g(x) \), \( (\alpha f)(x) = \alpha f(x) \) for a real scalar \( \alpha \), \( (fg)(x) = f(x) g(x) \), and \( (f/g)(x) = f(x)/g(x) \) wherever \( g(x) \ne 0 \).

Common questions

What is the difference between a relation and a function?

Every function is a relation, but a function has two extra conditions. Every element of \( A \) must have an image (nothing is left out), and only one image (nothing gets two). A relation can break either condition. In an arrow diagram, a function has exactly one arrow leaving each element of \( A \).

What is the difference between range and codomain?

The codomain is the set \( B \) that outputs are allowed to come from. The range is the set of outputs that actually occur. For \( f : \mathbf{R} \to \mathbf{R} \), \( f(x) = x^2 \), the codomain is \( \mathbf{R} \) but the range is only \( [0, \infty) \). Range is always a subset of codomain.

Can two different inputs have the same output?

Yes. \( f(x) = x^2 \) sends both 3 and \( -3 \) to 9, and it is still a function. What is not allowed is one input with two different outputs.

Why are there 2 to the power pq relations, not pq?

\( pq \) is the number of ordered pairs in \( A \times B \). A relation is any collection of those pairs. For each pair you decide "in" or "out", two choices, made \( pq \) times, giving \( 2^{pq} \). This count includes the empty relation and the whole of \( A \times B \).

How do I find the domain of a function given only by a formula?

Start with all of \( \mathbf{R} \) and remove the trouble spots. Remove every \( x \) that makes a denominator zero, and keep only the \( x \) that make the expression under a square root \( \ge 0 \). If a square root is in a denominator, it must be strictly greater than 0.

Why is [−2.5] equal to −3 and not −2?

\( [x] \) is the greatest integer that is less than or equal to \( x \). \( -2 \) is greater than \( -2.5 \), so it does not qualify. The integers below \( -2.5 \) are \( -3, -4, \dots \), and the greatest of them is \( -3 \). On the number line, always go left to the nearest integer.

Is A × B the same as B × A?

Only in special cases: when \( A = B \), or when one of them is empty. Otherwise a pair \( (a, b) \) in \( A \times B \) has its first element from \( A \), while pairs of \( B \times A \) start with an element of \( B \). They do always have the same number of elements.

Does (fg)(x) mean f of g of x?

No. In this chapter \( (fg)(x) = f(x) \cdot g(x) \), the product of the two values. Putting one function inside the other, \( f(g(x)) \), is called composition and is written \( f \circ g \); you will study it in Class 12.

Practice

Five more questions from across the chapter. Pick an answer to see why it is right or wrong.

1

\( A = \{1, 2, 3\} \) and \( A \times B \) has 12 elements, one of which is \( (2, 7) \). Which is true?

  1. \( n(B) = 9 \) and \( 2 \in B \)
  2. \( n(B) = 4 \) and \( 7 \in B \)
  3. \( n(B) = 4 \) and \( 7 \in A \)

2

On \( A = \{1, 2, 3, 4, 5, 8\} \), let \( R = \{\, (a, b) : b = 2a \,\} \). What is the range of \( R \)?

  1. \( \{1, 2, 4\} \)
  2. \( \{2, 4, 8\} \)
  3. \( \{2, 4, 6, 8, 10, 16\} \)

3

Is \( f = \{\, (a^2,\ a + 1) : a \in \mathbf{Z} \,\} \) a function from its domain to \( \mathbf{Z} \)?

  1. Yes, because \( a + 1 \) is always an integer
  2. No, because the input 4 has images 3 and \( -1 \)
  3. No, because \( f \) is not a subset of \( \mathbf{Z} \times \mathbf{Z} \)

4

What is the domain of \( f(x) = \sqrt{4 - x^2} \)?

  1. \( [-2, 2] \)
  2. \( (-2, 2) \)
  3. \( \mathbf{R} \)

5

If \( f \) is the signum function and \( g(x) = [x] \), what is \( f(-0.4) + g(-0.4) \)?

  1. \( -1 \)
  2. \( -2 \)
  3. \( 0 \)

About this chapter

Written by girgit in our own words. It follows the structure and section numbers of the NCERT textbook (NCERT Mathematics, Class 11, Chapter 2 (2023-24 rationalised)) so you can read it alongside your book. Where the textbook is out of date or mistaken, a "Textbook check" says so and tells you what to write in the exam. girgit is not affiliated with or endorsed by NCERT. Past questions: NEET (UG), National Testing Agency; explanations ours.

Text and interactives © 2026 girgit.org. All rights reserved. Pictures and videos credited on this page belong to their owners and keep their own licences.

Cite this chapter

girgit. (2026). Relations and Functions. In Maths, Class 11. https://girgit.org/maths/class-11/relations-and-functions/

Picture and video credits