Relations and functions

Mathematics · Class 12

What will we learn in this lesson?

This lesson works through Relations and functions as it appears in Class 12 Mathematics. The explanation stays close to the facts and definitions recorded for this topic: each conclusion below can be traced back to a statement made here, and nothing is taken from a textbook passage.

By the end of the lesson you should be able to:

These aims are deliberately small. Each one can be checked against a single statement in this lesson, so you can tell whether you have understood the idea rather than simply recognised the words.

Prerequisite knowledge

Before starting, make sure the following terms are familiar. They are not optional vocabulary: the rest of the lesson uses them to connect one statement to the next.

In short, the term one-one function means a function in which distinct inputs have distinct images; the term onto function means a function in which every element of the codomain is an image. If those two descriptions are clear, the remaining statements will read as developments of them rather than as separate facts to memorise.

If a term is still unclear, return to this short list while reading the worked sections. The aim is not to learn a definition by heart, but to know exactly which idea each word is carrying in a sentence.

A simple example from everyday experience

Start with the statements that are already known about Relations and functions. No calculation is needed at this stage; the task is simply to notice what each statement asserts and how two statements can describe the same situation from different sides.

  1. A function is one-one if distinct elements of the domain have distinct images. A function is onto if every element of the codomain is the image of some element of the domain. The same reasoning appears again in a slightly different form.
  2. A function has an inverse if and only if it is bijective. The composition (g∘f)(x) equals g(f(x)). This is the point where the algebra and the meaning of the statement meet.
  3. A relation is reflexive if (a, a) belongs to it for every a in the set. A function is onto if every element of its codomain has at least one pre-image in the domain. Read the two statements together before moving to a calculation.
  4. The number of possible functions from a set with m elements to a set with n elements is n raised to the power m. The identity function maps every element of a set to itself. A second statement gives the condition that the first one relies on.
  5. Two sets are equivalent if there is a bijection between them. The inverse of a function f exists only when f is one-one and onto, and it satisfies f of f inverse of x equal to x. The useful step is to keep the given quantity fixed and vary only what the statement changes.
  6. A relation is symmetric if (a, b) in R implies (b, a) in R, and transitive if (a, b) and (b, c) in R imply (a, c) in R. An equivalence relation is reflexive, symmetric and transitive. Neither statement contradicts the other; they describe the same result at different levels.
  7. A function f: A → B is bijective when it is both one-one and onto. A binary operation on a set A is a function from A × A into A. The same reasoning appears again in a slightly different form.
  8. A relation is antisymmetric if (a, b) and (b, a) both in R imply a = b. The identity relation on a set contains all pairs of the form (a, a). This is the point where the algebra and the meaning of the statement meet.
  9. The composition of two one-one functions is one-one. An equivalence relation partitions a set into disjoint equivalence classes. Read the two statements together before moving to a calculation.
  10. A relation that is reflexive and transitive is called a preorder. On its own this statement already gives a testable claim about Relations and functions. A second statement gives the condition that the first one relies on.

A harder example

Problem. Let f(x) = 2x + 3 and g(x) = x². Find (g∘f)(1).

The information required is already available in this lesson: the definitions above and the statements about Relations and functions. Work through the given data one step at a time rather than trying to guess the answer.

Scope. The following is deliberately not part of this lesson: Topics outside the chapter heading; Board examination papers and marking schemes. Do not import it as if it had been established here.

Step-by-step solution

Each line below does one job. Reading them in order shows where the given information enters and where the conclusion comes out.

  1. f(1) = 2 × 1 + 3 = 5
  2. (g∘f)(1) = g(5) = 25

Result. 25 Notice that the result follows from the earlier lines; it is not an extra fact brought in at the end.

Concept comparison table

The table puts the vocabulary, the common misreadings and the formal statements side by side. Use the left column as a prompt and the right column as the check.

Term or claimMeaning / correct form
one-one functiona function in which distinct inputs have distinct images.
onto functiona function in which every element of the codomain is an image.
composition(g∘f)(x) = g(f(x)).
identity functiona function that maps every element of a set to itself.
bijective functiona function that is both one-one and onto.
symmetric relationa relation R in which (a, b) in R always implies (b, a) in R.
Misconception: Every one-one function is onto.Correct form: one-one and onto are different properties; f(x) = 2x from N to N is one-one but not onto.
Misconception: Composition of functions is always commutative.Correct form: (f∘g)(x) need not equal (g∘f)(x) in general.
Misconception: Every reflexive relation is an equivalence relation.Correct form: a reflexive relation is an equivalence relation only if it is also symmetric and transitive.

Notice that the misconception rows are not extra content: each one repairs a specific misreading of the same material. This is why the table is more useful for review than a list of definitions alone.

Common mistakes

These errors are listed because each one sounds plausible until the exact wording of the definition is checked.

A reliable habit is to read the correction aloud and then point to the statement in this lesson that supports it. If you cannot point to one, the correction has not yet been understood.

Summary

One line to remember: A function is one-one if distinct elements of the domain have distinct images. Everything else in this lesson is an application or a careful restatement of that point.

Check your understanding

Answer the three questions without looking back, then use the answers to see exactly which statement you need to revisit.

  1. Which statement about Relations and functions is supported by this lesson?

    Answer: A function is one-one if distinct elements of the domain have distinct images.

  2. Complete the sentence: one-one function means …

    Answer: a function in which distinct inputs have distinct images.

  3. A student says: “Every one-one function is onto.” How would you respond using this lesson?

    Answer: one-one and onto are different properties; f(x) = 2x from N to N is one-one but not onto.

If an answer cannot be found in the statements above, it is not required by this lesson.

Definitions

one-one function
a function in which distinct inputs have distinct images
onto function
a function in which every element of the codomain is an image
composition
(g∘f)(x) = g(f(x))
identity function
A function that maps every element of a set to itself.
bijective function
A function that is both one-one and onto.
symmetric relation
A relation R in which (a, b) in R always implies (b, a) in R.

Key facts

Common mistakes and corrections

Common mistake

Every one-one function is onto.

Correction

One-one and onto are different properties; f(x) = 2x from N to N is one-one but not onto.

Common mistake

Composition of functions is always commutative.

Correction

(f∘g)(x) need not equal (g∘f)(x) in general.

Common mistake

Every reflexive relation is an equivalence relation.

Correction

A reflexive relation is an equivalence relation only if it is also symmetric and transitive.

Worked examples

Let f(x) = 2x + 3 and g(x) = x². Find (g∘f)(1).

f(1) = 2 × 1 + 3 = 5

(g∘f)(1) = g(5) = 25

25

Let f(x) = 2x + 1 and g(x) = x². Find (f ∘ g)(3) and (g ∘ f)(3).

(f ∘ g)(3) = f(g(3)) = f(9) = 2 × 9 + 1 = 19.

(g ∘ f)(3) = g(f(3)) = g(7) = 7² = 49.

(f ∘ g)(3) = 19 and (g ∘ f)(3) = 49.

Outside the scope of this topic

Source: data/global-olgu/india/in-c12-math-relations-and-functions.json