In relations and functions Class 11, we will learn the cartesian product of sets along with relations and functions. In our day-to-day life, we have known the term relations in a pattern such as the relation between brothers and sisters, husband and wife or teacher and student. In Maths, the term relation is used to relate the numbers, symbols, variables, sets, group of sets, etc. Like for example, A is a subset of B denotes the relation of A and B. A function is a kind of relation which is operated in two quantity to yield output.

In this article, we will provide you with the relations and functions classÂ 11 notes, so that it would be easier for you to learn and understand the concepts.

## Relations and Functions Class 11 Chapter 2

Before we start learning about relations and functions class 11, let us go through some basics of sets. As we learned, a set is a collection of objects or elements. We have also learned about the empty set, universal set and all the other types in sets for class 11. Let us learn here, the cartesian product of sets, as this concept will be used further to explain relations and functions for class 11 solutions.

### Cartesian Product of Sets

Suppose there are two non-empty sets A and B. So, the cartesian product of A and B is the set of all ordered pairs of elements from A and B.

AÂ Ã— B = {(a,b) : a âˆŠ A, b âˆŠ B}

Let A = {a_{1,}a_{2,}a_{3},a_{4}} and B = {b_{1},b_{2}}

Then, The cartesian product of A and B will be;

AÂ Ã— B = {a_{1}b_{1}, a_{2}b_{1}, a_{3}b_{1}, a_{4}b_{1}, a_{1}b_{2}, a_{2}b_{2}, a_{3}b_{2}, a_{4}b_{2}}

Example: Let us say, X = {a,b,c} and Y = { 1,2,3}

Therefore, XÂ Ã— Y = {a 1, a 2, a 3, b 1, b 2, b 3,c 1, c 2, c 3}. This set has 8 ordered pairs. We can also represent it as in a tabular form.

**Note:** Two ordered pair X and Y are equal, if and only if the corresponding first elements and second elements are equal.

### Relations

**Definition:** A relation R is the subset of the cartesian product of X x Y, where X and Y are two non-empty elements. Its derived by stating the relationship between the first element and second element of the ordered pair of XÂ Ã— Y. The set of all first elements of the ordered pairs is called a domain of R and the set of all second elements of the ordered pairs is called a range of R.

For two sets X = {a,b,c} and Y = {apple,ball,cat}, the cartesian product have 9 ordered pairs, which can be written as;

XÂ Ã— Y = {(a, apple), (a, ball),(a, cat),(b, apple),(b, ball),(b, cat),(c, apple),(c, ball),(c, cat)}

With this we can obtain a subset of X x Y by introducing a relation R, between the elements of X and Y as;

R = {(a,b) : a is the first letter of word b, a âˆŠ X, b âˆŠ Y}

Therefore, the relation between X and Y can be represented as;

R = {(a,apple),(b,ball),(c,cat)}

**Example**: Let X={a,b} and Y = {c,d}. Find the number of relations from X to Y.

**Solution**: XÂ Ã— Y = {(a,c),(a,d),(b,c),(b,d)}

Number of subsets, n (XÂ Ã— Y) = 2^{4 }. Therefore, number of relations from X to Y is 2^{4}.

### Functions

A relation â€˜fâ€™ is said to be a function, if every element of a non-empty set X, has only one image or range to a non-empty set Y.

Or

If â€˜fâ€™ is the function from X to Y and (x,y) âˆŠ f, then f(x) = y, where b is the image of a, under function f and a is the preimage of b, under â€˜fâ€™. It is denoted as;

f: X â†’ Y.

**Example:** N be the set of Natural numbers and the relation R be defined as;

R = {(a,b) : b=a^{2}, a,b âˆˆ N}. State whether R is a relation function or not.

**Solution: **From the relation R = {(a,b) : b=a^{2}, a,b âˆˆ N}, we can see for every value of natural number, their is only one image. Like if a=1 then b =1, if a=2 then b=4 and so on. Therefore, R is a relation function here.

Learn more Maths topics with us and download BYJUâ€™S -The Learning App.