Sets, Relations and Functions

Download as pdf or txt
Download as pdf or txt
You are on page 1of 44

Sets, Relations and Functions

MODULE - IV
Functions

15

Notes

SETS, RELATIONS AND FUNCTIONS

Let us consider the following situation :


One day Mrs. and Mr. Mehta went to the market. Mr. Mehta purchased the following objects/
items.
"a toy, one kg sweets and a magazine". Where as Mrs. Mehta purchased the following objects/
items.
"Lady fingers, Potatoes and Tomatoes".
In both the examples, objects in each collection are well defined. What can you say about the
collection of students who speak the truth ? Is it well defined? Perhaps not.
A set is a collection of well defined objects. For a collection to be a set it is necessary that it
should be well defined.
The word well defined was used by the German Mathematician George Cantor (1845- 1918
A.D) to define a set. He is known as father of set theory. Now-a-days set theory has become
basic to most of the concepts in Mathematics.
In our everyday life we come across different types of relations between the objects. The
concept of relation has been developed in mathematical form.
The word function was introduced by Leibnitz in 1694. Function is a special type of relation.
Each function is a relation but each relation is not a function. In this lesson we shall discuss
some basic definitions and operations involving sets, Cartesian product of two sets, relation
between two sets, the conditions under when a relation becomes a function, different types of
function and their properties.

MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

OBJECTIVES
After studying this lesson, you will be able to :
l

define a set and represent the same in different forms;

define different types of sets such as, finite and infinite sets, empty set, singleton set,
equivalent sets, equal sets, sub sets and cite examples thereof;

define and cite examples of universal set, complement of a set and difference between
two sets;

define union and intersection of two sets;

represent union and intersection of two sets, universal sets, complement of a set, difference
between two sets by Venn Diagram;

solve real life problems using Venn Diagram;

define Cartesian product of two sets;

define relation, function and cite examples thereof;

find domain and range of a function;

define and cite examples of diferent types of functions (one-one, many-one, onto, into
and bijection);

determine wheather a function is one-one, many-one, onto or into;

draw the graph of functions;

define and cite examples of odd and even functions;

determine wheather a function is odd or even or neither;

define and cite examples of functions like | x |, [x] the greatest integer function, polynomial
functions, logarithmic and exponential functions;

define composition of two functions;

define the inverse of a function; and

state the conditions for the inverse to exist.

Notes

EXPECTED BACKGROUND KNOWLEDGE


l

Number systems, concept of ordered pairs.

MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

15.1 SOME STANDARD NOTATIONS


Before defining different terms of this lesson let us consider the following examples:
(i) collection of tall students in your school. (i) collection of those students of your school
whose height is more than 180 cm.
(ii) collection of honest persons in your (ii) collection of those people in your colony
who have never been found involved in any
colony.
theft case.

Notes

(iii) collection of interesting books in your (iii) collection of Mathematics books in your
school library.
school library.
(iv) collection of intelligent students in your (iv) collection of those students in your school
who have secured more than 80% marks in
school.
annual examination.
In all collections written on left hand side of the vertical line the term tallness, interesting, honesty,
intelligence are not well defined. In fact these notions vary from individual to individual. Hence
those collections can not be considered as sets.
While in all collections written on right hand side of the vertical line, 'height' 'more than 180 cm.'
'mathematics books' 'never been found involved in theft case,' ' marks more than 80%' are well
defined properties. Therefore, these collections can be considered as sets.
If a collection is a set then each object of this collection is said to be an element of this set. A set
is usually denoted by capital letters of English alphabet and its elements are denoted by small
letters.
For example, A = Toy elephant, packet of sweets, magazines.
Some standard notations to represent sets :
N:

the set of natural numbers

W:

the set of whole numbers

Z or I :

the set of integers

Z+ :

the set of positve integers

Z :

the set of negative integers

Q:

the set of rational numbers

R:

the set of real numbers

C:

the set of complex numbers

Other frequently used symbols are :


:

'belongs to'

'does not belong to'

: There exists, : There does not exist.


MATHEMATICS

Sets, Relations and Functions

MODULE - IV For example N is the set of natural numbers and we know that 2 is a natural number but 2 is
Functions not a natural number. It can be written in the symbolic form as 2 N and 2 N .
15. 2 REPRESENTATION OF A SET
There are two methods to represent a set.
15.2.1 (i) Roster method (Tabular form)
Notes
In this method a set is represented by listing all its elements, separating these by commas and
enclosing these in curly bracket.
If V be the set of vowels of English alphabet, it can be written in Roster form as :
V = { a, e, i, o, u}
(ii) If A be the set of natural numbers less than 7.
then A={1, 2, 3, 4, 5, 6}, is in the Roster form.
Note : To write a set in Roster form elements are not to be repeated i.e. all elements are
taken as distinct. For example if A be the set of letters used in the word mathematics, then
A = {m, a, t, h, e, i, c, s}
15.2.2 Set-builder form
In this form elements of the set are not listed but these are represented by some common
property.
Let V be the set of vowels of English alphabet then V can be written in the set builder form as:
V = {x : x is a vowel of English alphabet}
(ii) Let A be the set of natural numbers less than 7.
then

A = {x : x N and 1 x < 7}

Note : Symbol ':' read as 'such that'


Example: 15.1: Write the following in set -builder form :
(a)

A={ 3, 2, 1,0,1,2,3 }

(b) B = {3,6,9,12}

Solution : (a) A = { x : x Z and 3 x 3 }


(b) B = { x : x = 3n and n N,n 4 }
Example 15.2

Write the following in Roster form.


(a) C = { x : x N and 50 x 60 }

2
(b) D = x : x R and x 5 x + 6 =0

Solution :

(a) C ={50, 51, 52,53,54,55,56,57,58,59,60}


(b)

x2 5 x + 6 = 0

( x 3) ( x 2) = 0
MATHEMATICS

Sets, Relations and Functions

x= 3,2.

D = {2,3}

MODULE - IV
Functions

15.3 CLASSIFICATION OF SETS


15.3.1 Finite and infinite sets
Let A and B be two sets where
A = {x : x is a natural number}
B = {x : x is a student of your school}
As it is clear that the number of elements in set A is not finite (infinite) while number of elements in
set B is finite. A is said to be an infinite set and B is said to be is finite set.
A set is said to be finite if its elements can be counted and it is said to be infinite
if it is not possible to count upto its last element.

Notes

15.3.2 Empty (Null) Set : Consider the following sets.

2
A = x:x R and x +1 = 0

B = {x : x is number which is greater than 7 and less than 5}


Set A consists of real numbers but there is no real number whose square is 1 . Therefore this
set consists of no element. Similiarly there is no such number which is less than 5 and greater
than 7. Such a set is said to be a null (empty) set. It is denoted by the symbol void, or { }
A set which has no element is said to be a null/empty/void set, and is denoted by .
15.3.3 Singleton Set : Consider the following set :
A = {x : x is an even prime number}
As there is only one even prime number namely 2, so set A will have only one element. Such a
set is said to be singleton. Here A = { 2} .
A set which has only one element is known as singleton.
15.3.4 Equal and equivalent sets : Consider the following examples.
(i)

A = {1,2,3} , B = { 2,1,3}

(ii)

D = {1,2,3} , E = {a,b,c} .

In example (i) Sets A and B have the same elements. Such sets are said to be equal sets and it
is written as A = B. In example (ii) set D and E have the same number of elements but elements
are different. Such sets are said to be equivalent sets and are written as A B.
Two sets A and B are said to be equivalent sets if they have same number of elements but they
are said to be equal if they have not only the same number of elements but elements are also the
same.
15.3.5 Disjoint Sets : Two sets are said to be disjoint if they do not have any common element.
For example,sets A= { 1,3,5} and B = { 2,4,6 } are disjoint sets.

MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

xample 15.3

Given that

A = { 2, 4} and B = { x : x is a solution of x 2 + 6 x + 8 =0 }
Are A and B disjoint sets ?
Solution : If we solve x 2 + 6 x + 8 = 0 ,we get
x = 4, 2 .

Notes

B = {4, 2} and A = {2,4}

Clearly ,A and B are disjoint sets as they do not have any common element.
Example 15.4 If A = {x : x is a vowel of English alphabet}
and

B = {y : y N and y 5}

Is
(i) A = B (ii) A B ?
Solution :
A = {a, e, i, o, u}, b = {1, 2, 3, 4,5}.
Each set is having five elements but elements are different
A B but A B.

Example 15.5 Which of the following sets


A = {x : x is a point on a line}
B = {y : y N and y 50}
are finite or infinite ?
Solution : As the number of points on a line is uncountable (cannot be counted) so A is an
infinite set while the number of natural numbers upto fifty can be counted so B is a finite set.
Example 15.6

Which of the following sets

A = { x : x i s irrational and x 2 1 = 0 } .
B = { x : x z and 2 x 2 } are empty?
Solution : Set A consists of those irrational numbers which satisfy x 2 1 = 0 . If we solve
x 2 1 = 0 we get x = 1 . Clearly 1 are not irrational numbers. Therefore A is an empty set.
But B = {2, 1, 0, 1, 2} . B is not an empty set as it has five elements.
Example 15.7 Which of the following sets are singleton ?
A = { x : x Z and x 2 = 0 }

B = { y : y R and y 2 2 = 0 } .

Solution : Set A contains those integers which are the solution of x 2 = 0 or x = 2. A ={2} .
A is a singleton set.

B is a set of those real numbers which are solutions of y 2 2 = 0 or y = 2

B=

2, 2 } Thus, B is not a singleton set.


MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

CHECK YOUR PROGRESS 15.1


1. Which of the following collections are sets ?
(i) The collection of days in a week starting with S.
(ii) The collection of natural numbers upto fifty.
(iii) The collection of poems written by Tulsidas.
(iv) The collection of fat students of your school.
(2) Insert the appropriate symbol in blank spaces.

Notes

If A = {1 , 2 , 3} .
(i)
1...........A
(ii)
4........A.
3. Write each of the following sets in the Roster form :
(i)

A=

{ x : x z and 5 x 0 }.

(ii)

B=

{x : x R

and x 2 1 = 0 }.

(iii)
C = {x : x is a letter of the word banana}.
(iv)
D = {x : x is a prime number and exact divisor of 60}.
4. Write each of the following sets are in the set builder form ?
(i)
A = {2, 4, 6, 8, 10} (ii) B = {3, 6, 9,...... }
(iii)

C = {2, 3, 5, 7}

(iv) D = { 2, 2 }

Are A and B disjoints sets ?


5. Which of the following sets are finite and which are infinite ?
(i) Set of lines which are parallel to a given line.
(ii) Set of animals on the earth.
(iii) Set of Natural numbers less than or equal to fifty.
(iv) Set of points on a circle.
6. Which of the following are null set or singleton ?
(i)

A = { x : x R and x is a solution of x 2 + 2 = 0 } .

(ii)

B = { x : x Z and x is a solution of x 3 = 0}.

(iii) C = { x : x Z and x is a solution of x 2 2 = 0 } .


(iv) D = {x : x is a student of your school studying in both the classes XI and XII }
7. In the following check whether A = B or A B .
(i)
(ii)

A = {a}, B = {x : x is an even prime number}.


A = {1, 2, 3, 4}, B = {x : x is a letter of the word guava}.

(iii)

A = {x : x is a solution of x 2 5x + 6 = 0 },B = {2 , 3}.

MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

15.4 SUB- SET


Let set A be a set containing all students of your school and B be a set containing all students of
class XII of the school. In this example each element of set B is also an element of set A. Such a
set B is said to be subset of the set A. It is written as B A
Consider

Notes

D ={1, 2, 3, 4,........}
E = {..... 3 2, 1, 0, 1, 2, 3, .......}

Clearly each element of set D is an element of set E also D E


If A and B are any two sets such that each element of the set A is an element
of the set B also, then A is said to be a subset of B.
Remarks
(i) Each set is a subset of itself i.e. A A .
(ii) Null set has no element so the condition of becoming a subset is automatically satisfied.
Therefore null set is a subset of every set.
(iii) If A B and B A then A = B.
(iv) If A B and A B then A is said to be a proper subset of B and B is said to be a
super set of A. i.e. A B or B A .
Example 15.8 If A = {x : x is a prime number less than 5} and
B = {y : y is an even prime number} then is B a proper subset of A ?
Solution : It is given that
A = {2, 3 }, B = {2}.
Clearly B A and B A
We write B A
and say that B is a proper subset of A.
Example 15.9 If A = {1, 2, 3, 4}, B = {2, 3, 4, 5}.
is A B o r B A ?
Solution : Here 1 A but1 B A / B.
Also

5 B but 5 A B / A .

Hence neither A is a subset of B nor B is a subset of A.


Example 15.10 If A = {a, e, i, o, u}
B = {e, i, o, u, a }
Is A B o r B A or both ?
8

MATHEMATICS

Sets, Relations and Functions


Solution : Here in the given sets each element of set A is an element of set B also

A B

MODULE - IV
Functions
.......... (i)

and each element of set B is an element of set A also. B A ......(ii)


From (i) and (ii)
A=B

Notes

15.5 POWER SET


Let

A = {a, b}

Subset of A are , {a}, {b} and {a, b}.


If we consider these subsets as elements of a new set B (say) then
B = {,{a},{b},{a,b}}
B is said to be the power set of A.
Notation : Power set of a set A is denoted by P(A).
Power set of a set A is the set of all subsets of the given set.
Example 15.11

Write the power set of each of the following sets :

(i)

A = {x : x R and x 2 + 7 = 0}.

(ii)

B = {y : y N and1 y 3}.

Solution :
(i)

Clearly A = (Null set)

is the only subset of given set

P (A)={ }

(ii)

The set B can be written as {1, 2, 3}

Subsets of B are , {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}.

P (B) = { , {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3} } .

15.6 UNIVERSAL SET


Consider the following sets.
A = {x : x is a student of your school}
B = {y : y is a male student of your school}
C = {z : z is a female student of your school}
D = {a : a is a student of class XII in your school}
Clearly the set B, C, D are all subsets of A.
MATHEMATICS

Sets, Relations and Functions

MODULE - IV A can be considered as the universal set for this particular example. Universal set is generally
Functions denoted by U.
In a particular problem a set U is said to be a universal set if all the sets in that problem are
subsets of U.

Notes

Remarks
(i) Universal set does not mean a set containing all objects of the universe.
(ii) A set which is a universal set for one problem may not be a universal set for another
problem.
Example 15.12 Which of the following set can be considered as a universal set ?
X = {x : x is a real number}
Y = {y : y is a negative integer}
Z = {z : z is a natural number}
Solution : As it is clear that both sets Y and Z are subset of X.
X is the universal set for this problem.

15.7 VENN DIAGRAM


British mathematician John Venn (1834 1883 AD) introduced the concept of diagrams to
represent sets. According to him universal set is represented by the interior of a rectangle and
other sets are represented by interior of circles.
For example if U= {1, 2, 3, 4, 5}, A = {2, 4} and B = {1,3}, then these sets can be
represented as

Fig. 15.1

Diagramatical representation of sets is known as a Venn diagram.

15.8 DIFFERENCE OF SETS


Consider the sets
A = {1, 2, 3, 4, 5} and B= {2, 4, 6}.
A new set having those elements which are in A but not B is said to be the difference of sets A
and B and it is denoted by A B.

A B= {1, 3, 5}

Similiarly a set of those elements which are in B but not in A is said to be the difference of B and
A and it is devoted by B A.

10

B A = {6}
MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

In general, if A and B are two sets then


A B = { x : x A and x B }
B A = { x : x B and x A }
Difference of two sets can be represented using Venn diagram as :

Notes

or

Fig. 15.2

Fig. 15.3

15.9. COMPLEMENT OF A SET


Let X denote the universal set and Y, Z its sub set where
X = {x : x is any member of the family}
Y = {x : x is a male member of the family}
Z = {x : x is a female member of the family}
X Y is a set having female members of the family..
X Z is a set having male members of the family..
X Y is said to be the complement of Y and is usally denoted by Y' or Y c .
X Z is said to be complement of Z and denoted by Z' or Zc .
If U is the universal set and A is its subset then the complement of A is a set of those elements
which are in U which are not in A. It is denoted by A' or A c .
A' = U A = {x : x U and x A}
The complement of a set can be represented using Venn diagram as :

Fig. 15.4

Remarks
(i) Difference of two sets can be found even if none is a subset of the other but complement
of a set can be found only when the set is a subset of some universal set.
(ii)

c = U .

MATHEMATICS

(iii)

Uc = .

11

Sets, Relations and Functions

MODULE - IV
Functions

Example 15.13 Given that


A = {x : x is a even natural number less than or equal to 10}
and
B = {x : x is an odd natural number less than or equal to 10}
Find (i) A B
(ii) B C
(iii) is A B=B A ?
Solution : It is given that
Notes
A = {2, 4, 6, 8, 10}, B = {1, 3, 5, 7, 9}
Therefore,
(i)
A B ={2, 4, 6, 8, 10}
(ii)
B A ={1, 3, 5, 7, 9}
(iii)
Clearly from (i) and (ii) A B B A.
Example 15.14 Let U be the universal set and A its subset where
U={ x : x N and x 10 }
Find

A = {y : y is a prime number less than 10}


(i) A c
(ii) Represent A c in Venn diagram.

Solution : It is given
U= {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.
A = { 2, 3, 5, 7}
(i) A c = U A = {1, 4, 6, 8, 9, 10}
(ii)

Fig. 15.5

CHECK YOUR PROGRESS 15.2


1.

Insert the appropriate symbol in the blank spaces, given that


A={1, 3, 5, 7, 9}
(i) .............A

(ii) {2, 3, 9}..........A

2.

(iii) 3............A
(iv) 10...................A
Given that A = {a, b}, how many elements P(A) has ?

3.

Let A = { , {1} ,{2}, {1,2}}


Which of the following is true or false ?

12

MATHEMATICS

Sets, Relations and Functions


(i) {1,2} A (ii) A .
4.

5.
6.

Which of the following statements are true or false ?


(i) Set of all boys, is contained in the set of all students of your school.
(ii) Set of all boy students of your school, is contained in the set of all students of your
school.
(iii) Set of all rectangles, is contained in the set of all quadrilaterals.
(iv) Set of all circles having centre at origin is contained in the set of all ellipses having
centre at origin.
If A = { 1, 2, 3, 4, 5 } , B= {5, 6, 7} find (i) A B (ii) B A.
Let N be the universal set and A, B, C, D be its subsets given by
A = {x : x is a even natural number}
B = {x : x N and x is a multiple of 3}
C = {x : x N and x 5}
D = {x : x N and x 10}
Find complements of A, B, C and D respectively.

MODULE - IV
Functions

Notes

15.10. INTERSECTION OF SETS


Consider the sets
A = {1, 2, 3, 4} and B = { 2, 4, 6}
It is clear, that there are some elements which are common to both the sets A and B. Set of these
common elements is said to be interesection of A and B and is denoted by A B .
Here A B = {2, 4 }
If A and B are two sets then the set of those elements which belong to both the sets is said to be
the intersection of A and B. It is devoted by A B .
A B = {x : x A and x B}
A B can be represented using Venn diagram as :

Fig. 15.6

Remarks
If A B = then A and B are said to be disjoint sets. In Venn diagram disjoint sets can
be represented as

Fig.15.7
MATHEMATICS

13

Sets, Relations and Functions

MODULE - IV
Functions

Example 15.15 Given that


A = {x : x is a king out of 52 playing cards}
and
B = { y : y is a spade out of 52 playing cards}
Find (i) A B (ii) Represent A B by using Venn diagram .

Solution : (i) As there are only four kings out of 52 playing cards, therefore the set A has only
Notes four elements. The set B has 13 elements as there are 13 spade cards but out of these 13 spade
cards there is one king also. Therefore there is one common element in A and B. A B =
{ King of spade}.
(ii)

Fig. 15.8

15.11 UNION OF SETS


Consider the following examples :
(i)
A is a set having all players of Indian men cricket team and B is a set having all players of
Indian women cricket team. Clearly A and B are disjoint sets. Union of these two sets is
a set having all players of both teams and it is denoted by A B .
(ii)

D is a set having all players of cricket team and E is the set having all players of Hockety
team, of your school. Suppose three players are common to both the teams then union
of D and E is a set of all players of both the teams but three common players to be
written once only.
If A and B are only two sets then union of A and B is the set of those elements which belong to
A or B.
In set builder form :
A B = {x : x A or x B}
OR
A B = {x : x A B or x B A or x A B }
A B can be represented using Venn diagram as :

Fig. 15.9
14

Fig. 15.10
MATHEMATICS

Sets, Relations and Functions


n(A B) = n(A B) +n(B A) +n(A B) .
n(A B) = n(A) + n(B) n(A B)

or

MODULE - IV
Functions

where n A B stands for number of elements in A B so on.


Example 15.16

A = { x : x Z + and 5 }
Notes

B = {y : y is a prime number less than 10}


Find (1) A B (ii) represent A B using Venn diagram.
Solution : We have,
A={1, 2, 3, 4, 5} B = {2, 3, 5, 7}.

A B = {1, 2, 3, 4, 5, 7}.
(ii)

Fig.15.11

CHECK YOUR PROGRESS 15.3


1.

Which of the following pairs of sets are disjoint and which are not ?
(i) {x : x is an even natural number}, {y : y is an odd natural number}
(ii) {x : x is a prime number and divisor of 12}, { y : y N and 3 y 5 }

2.

(iii) {x :x is a king of 52 playing cards}, { y : y is a diamond of 52 playing cards}


(iv) {1, 2, 3, 4, 5}, {a, e, i, o, u}
Find the intersection of A and B in each of the following :
(i) A = { x : x Z }, B= { x : x N } (ii) A = {Ram, Rahim, Govind, Gautam}
B = {Sita, Meera, Fatima, Manprit}

3.

Given that A = {1, 2, 3, 4, 5}, B={5, 6, 7, 8, 9, 10}


find (i) A B (ii) A B .

5.

If A ={ x : x N }, B={ y : y z and 10 y 0 } find A B and write your


answer in the Roster form as well as set-builder form.
If A ={2, 4, 6, 8, 10}, B {8, 10, 12, 14}, C ={14, 16, 18, 20}.

6.

Find (i) A ( B C ) (ii) A ( B C ) .


Let U = {1, 2, 3,.......10}, A = {2, 4, 6, 8, 10}, B = { 1, 3, 5, 7, 9, 10}

7.

(i) ( A B ) ' (ii) ( A B ) ' (iii) (B')' (iv) ( B A )'.


Draw Venn diagram for each the following :

4.

Find

MATHEMATICS

15

Sets, Relations and Functions

MODULE - IV
Functions

(i) A B when B A
(ii) A B when A and B are disjoint sets.
(iii) A B when A and B are neither subsets of each other nor disjoint sets.
8.

Draw Venn diagram for each the following :


(i) A B when A B .

Notes

9.

(ii) A B when A and B are disjoint sets.

(iii) A B when A and B are neither subsets of each other nor disjoint sets.
Draw Venn diagram for each the following :
(i) A B and B A when A B .
(ii) A B and B A when A and B are disjoint sets.
(iii) A B and B A when A and B are neither subsets of each other nor disjoint
sets.

15.12 CARTESIAN PRODUCT OF TWO SETS


Consider two sets A and B where
A={1, 2},

B= {3, 4, 5}.

Set of all ordered pairs of elements of A and B


is

{(1,3), (1,4), (1,5), (2,3), (2,4), (2,5)}

This set is denoted by A B and is called the cartesian product of sets A and B.
i.e.

AB ={(1, 3), (1, 4),(1, 5),(2, 3),(2, 4),(2, 5)}

Cartesian product of B sets and A is denoted by BA.


In the present example, it is given by
BA = {(3, 1),(3, 2),(4, 1),(4, 2),(5, 1),(5, 2)}
Clearly AB BA.
In the set builder form :
AB = {(a,b) : a A and b B }
BA = {(b,a) : b B and a A }
Note : If A = or B = or A,B =
then A B = B A = .
Example 15.17
(1)

Let A={a,b,c}, B={d,e}, C={a,d}.


Find

(i) AB(ii) BA
(v) (A B) C

Solution :

(iv) (A C) B

(vi) A (B C) .

(i) AB ={(a, d),(a, e), (b, d), (b, e), (c, d), (c, e)}.
(ii) BA = {(d, a),(d, b), (d, c), (e, a) (e, b),(e, c)}.
(iii)

16

(iii) A( B C )

A = {a, b, c}, B C ={a,d,e}.


MATHEMATICS

Sets, Relations and Functions

A ( B C ) ={(a, a),(a, d),(a, e),(b, a),(b, d),(b, e), (c, a),(c, d),(c, e).

(iv)

A C = {a}, B={d, e}.

( A C )B={(a, d), (a, e)}

(v)

A B = , c={a,d}, A B c =

(vi)

A = {a,b,c}, B C = {e}.

A (B C) = {(a,e),(b,e),(c,e)} .

MODULE - IV
Functions

Notes

15.13 RELATIONS
Consider the following example :
A={Mohan, Sohan, David, Karim}
B={Rita, Marry, Fatima}
Suppose Rita has two brothers Mohan and Sohan, Marry has one brother David, and Fatima
has one brother Karim. If we define a relation R " is a brother of" between the elements of A and
B then clearly.
Mohan R Rita, Sohan R Rita, David R Marry, Karim R Fatima.
After omiting R between two names these can be written in the form of ordered pairs as :
(Mohan, Rita), (Sohan, Rita), (David, Marry), (Karima, Fatima).
The above information can also be written in the form of a set R of ordered pairs as
R= {(Mohan, Rita), (Sohan, Rita), (David, Marry), Karim, Fatima}
Clearly R A B, i.e.R = {(a,b):a A,b B and aRb}
If A and B are two sets then a relation R from A toB is a sub set of AB.
If

(i) R = , R is called a void relation.


(ii) R=AB, R is called a universal relation.
(iii) If R is a relation defined from A to A, it is called a relation defined on A.
(iv) R = { (a,a) a A } , is called the identity relation.

15.13.1 Domain and Range of a Relation


If R is a relation between two sets then the set of its first elements (components) of all the
ordered pairs of R is called Domain and set of 2nd elements of all the ordered pairs of R is
called range, of the given relation.
Consider previous example given above.
Domain = {Mohan, Sohan, David, Karim}
Range = {Rita, Marry, Fatima}
Example 15.18 Given that A = {2, 4, 5, 6, 7}, B = {2, 3}.
R is a relation from A to B defined by

MATHEMATICS

17

Sets, Relations and Functions

MODULE - IV
Functions find

R = {(a, b) : a A, b B and a is divisible by b}

(i) R in the roster form (ii) Domain of R (iii) Range of R


(iv) Repersent R diagramatically.
Solution :
(i) R = {(2, 2), (4, 2), (6, 2), (6, 3)}
(ii) Domain of R = {2, 4, 6}
Notes
(iii) Range of R = {2, 3}
(iv)

Fig. 15.12

Example 15.19 If R is a relation 'is greater than' from A to B, where


A= {1, 2, 3, 4, 5} and B = {1,2,6}.
Find (i) R in the roster form. (ii) Domain of R (iii) Range of R.
Solution :
(i)
R = {(3, 1), (3, 2), (4, 1), (4, 2), (5, 1), (5, 2)}
(ii)
Domain of R = {3, 4, 5}
(iii)
Range of R = {1, 2}

CHECK YOUR PROGRESS 15.4


1.

Given that A = {4, 5, 6, 7}, B = {8, 9}, C = {10}


Verify that A (B C) = (A B) (A C) .

2.

3.

If U is a universal set and A, B are its subsets.


Where U= {1, 2, 3, 4, 5}.
A = {1,3,5}, B = {x : x is a prime number} find A' B'
If A = {4, 6, 8, 10}, B = {2, 3, 4, 5}
R is a relation defined from A to B where
R= {(a, b) : a A, b B and a is a multiple of b}

4.

find (i)R in the Roster form (ii) Domain of R (iii) Range of R .


If R be a relation from N to N defined by
R= {(x,y) : 4x + y = 12, x , y N }

5.

find (i) R in the Roster form (ii) Domain of R (iii) Range of R.


If R be a relation on N defined by
R={ (x,x 2 ) : x is a prime number less than 15}

18

MATHEMATICS

Sets, Relations and Functions


Find (i) R in the Roster form (ii) Domain of R (iii) Range of R
6.

If R be a relation on set of real numbers defined by R={(x,y) : x 2 + y2 = 0 } Find

MODULE - IV
Functions

(i) R in the Roster form (ii) Domain of R (iii) Range of R.

15.14 DEFINITION OF A FUNCTION


Notes

Consider the relation


f : {(a, 1), (b, 2), (c, 3), (d, 5)}
In this relation we see that each element of A has a unique
image in B
This relation f from set A to B where every element of A
has a unique image in B is defined as a function from A to
B. So we observe that in a function no two ordered
pairs have the same first element.

Fig.15.13

We also see that an element B, i.e., 4 which does not have its preimage in A. Thus here:
(i)
the set B will be termed as co-domain and
(ii)
the set {1, 2, 3, 5} is called the range.
From the above we can conclude that range is a subset of co-domain.
Symbolically, this function can be written as
f:A B

or

f
A
B

Example 15.20 Which of the following relations are functions from A to B. Write their
domain and range. If it is not a function give reason ?
(a)

{ (1, 2),(3,7),(4, 6),(8,1) } , A = {1,3,4,8} ,

B = { 2,7, 6,1,2}

(b)

{ (1,0),(1 1),(2,3),(4,10) } , A = {1,2,4} , B = { 0, 1,3,10 }

(c)

{ (a,b),(b,c),(c,b),(d,c) } , A = { a , b , c , d , e } B = { b , c }

(d)

{ (2,4),(3,9),(4,16),(5,25),(6,36 } , A = { 2,3,4,5,6} , B = { 4,9,16,25,36 }

(e)

{ (1, 1),(2, 2),(3, 3),(4, 4),(5, 5) } , A = { 0,1,2,3,4,5} ,


B = { 1, 2, 3, 4, 5 }

(f)

1
3
1


sin , , cos , , tan , , cot , 3 ,
6 2
6 2
6 3
6

A = sin

(g)

,cos ,tan ,cot


6
6
6
6

1 3 1

B= ,
,
, 3 ,1
3
2 2

{ (a,b),(a,2),(b,3),(b,4) } , A = { a , b } , B = { b,2,3,4 } .

MATHEMATICS

19

Sets, Relations and Functions

MODULE - IV Solution :
Functions (a)
It is a function.
Domain= {1,3,4,8 } ,
(b)
(c)
Notes

It is not a function. Because Ist two ordered pairs have same first elements.
It is not a function.
Domain= { a , b , c , d } A ,

(d)

Range = { 2,7, 6,1}

Range = { b , c}

It is a function.
Domain = { 2,3,4,5,6} ,

Range = { 4,9,16,25,36 }

(e) It is not a function .


Domain = {1,2,3,4,5 } A , Range = { 1, 2, 3, 4, 5 }
(f) It is a function .

Domain = sin

,cos ,tan ,cot


,
6
6
6
6

1 3 1

, 3
Range = 2 , 2 ,
3

(g)
It is not a function.
First two ordered pairs have same first component and last two ordered pairs have also same
first component.
Example 15.21 State whether each of the following relations represent a function or not.
(a)

(b)

Fig.15.14

(c)

(d)

Fig. 15.16

20

Fig.15.15

Fig.15.17

MATHEMATICS

Sets, Relations and Functions


Solution :
(a)

f is not a function because the element b of A does not have an image in B.

(b)

f is not a function because the element c of A does not have a unique image in B.

(c)

f is a function because every element of A has a unique image in B.

(d)

f is a function because every element in A has a unique image in B.

MODULE - IV
Functions

Notes

Example 15.22 Which of the following relations from R . R are functions?


(a)

y = 3x + 2

(b)

y<x+3

y = 2x 2 + 1

(c)

Solution :
(a)

y = 3x + 2

Here corresponding to every element x R, a unique element y R.

It is a function.

(b)

y < x + 3.

For any real value of x we get more than one real value of y.
It is not a function.

(c)

y = 2x 2 + 1

For any real value of x, we will get a unique real value of y.


It is a function.

CHECK YOUR PROGRESS 15.5


1.

Which of the following relations are functions from A to B ?


(a) { (1, 2),(3,7),(4, 6),(8,11) } ,

A = {1,3,4,8} , B = { 2,7, 6,11}

(b) { (1,0),(1, 1),(2,3),(4,10) } ,

A = {1,2,4} , B = {1,0, 1,3,10 }

(c) { (a,2),(b,3),(c,2),(d,3) } ,

A = { a , b , c , d} , B = { 2,3}

(d) { (1,1),(1,2),(2,3),( 3,4) } ,

A = {1,2, 3 } , B = {1, 2 , 3 , 4}

1
1 1

(e) 2, , 3, ,...., 10,


,
10
2 3

A = {1, 2 , 3 , 4} , B =

1 1
1
, ,...,
2 3
11

(f) { ( 1,1 ) , ( 1,1 ) , ( 2,4 ) , ( 2,4 ) } , A = { 0,1, 1,2, 2 } , B = {1, 4 }


2.

Which of the following relations represent a function ?

MATHEMATICS

21

Sets, Relations and Functions

MODULE - IV
Functions

(a)

(b)

Notes

Fig. 15.18

Fig. 15.19

(c)

(d)

Fig. 15.20

3.

Which of the following relations defined from R R are functions ?


(a) y = 2x + 1 (b) y > x + 3 (c) y < 3x + 1 (d) y = x2 + 1

4.

Write domain and range for each of the following functions :

5.

(a)

{(

(b)

3,
2

(c)

{ ( 1,1 ) , ( 0,0 ) , ( 2,2 ) , ( 1, 1 ) }

(d)

{ ( Deepak,16 ) , ( Sandeep,28 ) , ( Rajan,24 ) }

)(

2,2 ,

)(

5, 1 ,

1

, 2,
2

3,5

)}

1

, 1,
2

Write domain and range for each of the following mappings :


(a)

Fig. 15.22

22

Fig. 15.21

(b)

Fig. 15.23

MATHEMATICS

Sets, Relations and Functions


(c)

MODULE - IV
Functions

(d)

Notes

Fig. 15.24

Fig. 15.25

(e)

Fig. 15.26

15.14.1 Some More Examples on Domain and Range


Let us consider some functions which are only defined for a certain subset of the set of real
numbers.
Example 15.23 Find the domain of each of the following functions :
(a) y =

1
x

(b) y =

1
x2

(c) y =

1
(x + 2)(x 3)

Solution : The function y = 1 can be described by the following set of ordered pairs.
x
1

1
......., 2, , ( 1, 1 ) , ( 1,1 ) 2, ,....
2

Here we can see that x can take all real values except 0 because the corresponding image, i.e.,
1
is not defined.
0

Domain = R { 0 } [Set of all real numbers except 0]

Note : Here range = R { 0 }


(b)

x can take all real values except 2 because the corresponding image, i.e.,

not exist.
Domain = R { 2 }

(c)

Value of y does not exist for x = 2 and x = 3

Domain = R { 2,3}

MATHEMATICS

1
does
( 2 2)

23

Sets, Relations and Functions

MODULE - IV
Functions

Example 15.24 Find domain of each of the following functions :


(a) y = + x 2

(b) y = +

( 2 x)(4 + x )

Solution :(a) Consider the function y = + x 2


In order to have real values of y, we must have
Notes

( x 2) 0

i.e.

x2

Domain of the function will be all real numbers 2 .

(b)

y = + ( 2 x ) ( 4 +x )

In order to have real values of y, we must have

( 2 x)(4 + x ) 0

We can achieve this in the following two cases :


Case I : ( 2 x ) 0 and ( 4 + x ) 0

x 2 and x 4

Domain consists of all real values of x such that 4 x 2

Case II : 2 x 0 and 4 + x 0
2 x and x 4 .

But, x cannot take any real value which is greater than or equal to 2 and less than or equal to
4 .

From both the cases, we have


Domain = 4 x 2 x R

Example 15.25 For the function


f ( x ) = y = 2x + 1, find the range when domain = { 3, 2, 1,0,1,2,3} .
Solution : For the given values of x, we have
f ( 3 ) = 2 ( 3 ) + 1 = 5
f ( 2 ) = 2 ( 2) +1 = 3
f ( 1 ) = 2 ( 1 ) + 1 = 1
f ( 0 ) = 2 ( 0 ) +1 =1
f ( 1 ) = 2 ( 1 ) +1 =3
f ( 2 ) = 2 ( 2 ) +1 =5
f ( 3 ) = 2 ( 3 ) +1 =7
The given function can also be written as a set of ordered pairs.
24

MATHEMATICS

Sets, Relations and Functions


i.e.,

{ ( 3, 5 ) , ( 2, 3 ) , ( 1, 1 ) , ( 0,1 ) ( 1, 3 ) , ( 2,5 ) ( 3,7 ) }

Range = { 5, 3, 1,1,3,5,7}

MODULE - IV
Functions

Example 15.26 If f ( x ) = x +3, 0 x 4 ,find its range.

0x 4

Solution : Here

Notes

or

0 + 3 x + 3 4 +3

or

3 f (x ) 7

Range = { f ( x ) : 3 f ( x ) 7 }

Example 15. 27 If f ( x ) = x 2 ,

3 x 3 ,find its range.

Solution : Given 3 x 3
or

0 f (x) 9

0 x 2 9 or

Range = { f ( x ) : 0 f ( x ) 9 }

CHECK YOUR PROGRESS 15.6


1.

Find the domain of each of the following functions x R :


(a)

(i)

y = 2x

(b)

(i) y =

1
3x 1

(iii) y =
(c)

(d)

(ii)

y = 9x + 3
(ii) y =

( x 3)( x 5 )

(i) y =

6 x

(iii) y =

3x +5

(i) y =
(iii) y =

(iv) y =

(iii)

y = x 2 +5

( 4x + 1 ) ( x 5 )
1

(3 x)(x 5 )

(ii) y =

7 +x

( 3 x )( x 5 )

(ii) y =

( x 3 )( x +5 )

(iv) y =

(3 + x)( 7 +x )

( x 3) ( 7 + x )

2. Find the range of the function, given its domain in each of the following cases.
(a)

MATHEMATICS

(i) f ( x ) = 3x +10 ,

x {1, 5, 7, 1, 2 }

(ii) f ( x ) = 2x 2 +1 ,

x { 3, 2, 4, 0 }

(iii) f ( x ) = x 2 x + 2 ,

x {1, 2, 3, 4, 5 }
25

Sets, Relations and Functions

MODULE - IV
Functions

Notes

(b)

(i) f ( x ) = x 2 , 0 x 4

(ii) f ( x ) = 3x + 4 , 1 x 2

(c)

(i) f ( x ) = x 2 , 5 x 5

(ii) f ( x ) = 2x , 3 x 3

(iii) f ( x ) = x 2 +1 , 2 x 2

(iv) f ( x ) =

(i) f ( x ) = x +5 , x R

(ii) f ( x ) = 2x 3 , x R

(iii) f ( x ) = x 3 , x R

(iv) f ( x ) =

1
, { x : x < 0}
x

(vi) f ( x ) =

1
, { x : x 0}
3x 2

(viii) f ( x ) =

x
, { x : x 5 }
x +5

(d)

(v) f ( x ) =
(vii) f ( x ) =

1
, { x : x 1}
x2
2
, { x : x > 0}
x

x , 0 x 25

15.15 CLASSIFICATION OF FUNCTIONS


Let f be a function from A to B. If every element of the set B is the image of at least one element
of the set A i.e. if there is no unpaired element in the set B then we say that the function f maps
the set A onto the set B. Otherwise we say that the function maps the set A into the set B.
Functions for which each element of the set A is mapped to a different element of the set B are
said to be one-to-one.
One-to-one function

Fig.15.27

The domain is { A , B , C}
The co-domain is {1, 2 , 3 , 4}
The range is {1,2,3}
A function can map more than one element of the set A to the same element of the set B. Such
a type of function is said to be many-to-one.
Many-to-one function

Fig. 15.28
26

MATHEMATICS

Sets, Relations and Functions


The domain is { A , B , C}
The co-domain is {1, 2 , 3 , 4}

MODULE - IV
Functions

The range is { 1, 4 }
A function which is both one-to-one and onto is said to be a bijective function.
Notes

Fig. 15.29

Fig. 15.30

Fig. 15.31

Fig. 15.32

Fig. 15.29 shows a one-to-one function mapping { A , B , C} into{1, 2 , 3 , 4} .


Fig. 15.30 shows a one-to-one function mapping

{ A , B , C} onto {1,2,3} .

Fig. 15.31shows a many-to-one function mapping { A , B , C} into{1, 2 , 3 , 4} .


Fig. 15.32 shows a many-to-one function mapping

{ A , B , C} onto {1, 2 } .

Function shown in Fig. 15.30 is also a bijective Function.


Note : Relations which are one-to-many can occur, but they are not functions. The following
figure illustrates this fact.

Fig. 15.33

Example 15.28 Without using graph prove that the function


F : R R defiend by f ( x ) = 4 +3x is one-to-one.

Solution : For a function to be one-one function


F ( x1 ) = f ( x2
MATHEMATICS

) x1 = x 2 x1, x 2 domain
27

Sets, Relations and Functions

MODULE - IV
Functions

Now f ( x1 ) = f ( x 2 ) gives

4 + 3x1 = 4 +3x 2 or x1

=x 2

F is a one-one function.

Example 15.29 Prove that


F : R R defined by f ( x ) = 4x 3 5 is a bijection

Notes

Solution : Now f ( x1 ) = f ( x2

x13 = x 23

x13 x 23 = 0

( x 2 x1 ) ( x12 + x1x 2 + x 22 ) = 0

x1 = x 2 or

x12 + x1x 2 + x 2 2 = 0 (rejected). It has no real value of x1 and x 2 .


F is a one-one function.

Again let y = ( x )
We have

Domain

4x13 5 = 4x 23 5

) x1, x 2

where y codomain, x domain.

y=

4x3

y + 5 1 / 3
x =

5 or

For each y codomain x domain such that f ( x ) = y .

Thus F is onto function.


F is a bijection.

Example 15.30 Prove that F : R R defined by F ( x ) = x 2 +3 is neither one-one nor


onto function.
Solution : We have F ( x1 ) = F ( x 2 ) x1 , x 2 domain giving

x12 + 3 = x 2 2 +3

x12

or

x12 x2 2 = 0 x1 = x2

or

F is not one-one function.

Again let y = F ( x )

=x 2 2
or

x1 = x2

where y codomain
x domain.

28

y = x2 + 3

y <3

F is not an onto finction.

x = y 3

no real value of x in the domain.

MATHEMATICS

Sets, Relations and Functions

15.16 GRAPHICAL REPRESENTATION OF FUNCTIONS


Since any function can be represented by ordered pairs, therefore, a graphical representation of

MODULE - IV
Functions

the function is always possible. For example, consider y = x 2 .


y = x2
x 0 1 1 2 2 3 3
y 0 1

1 4

4 9

4 4

Notes

9 16 16

Fig. 15.34

Does this represent a function?


Yes, this represent a function because corresponding to each value of x a unique value of y..
Now consider the equation x 2 + y2 = 25
x 2 + y2 = 25
x 0

0 3

3 4

4 5 5 3 3 4 4

y 5 5 4 4 3 3 0

4 4

3 3

Fig. 15.35
MATHEMATICS

29

Sets, Relations and Functions

MODULE - IV This graph represents a circle.


Functions Does it represent a function ?
No, this does not represent a function because corresponding to the same value of x, there
does not exist a unique value of y.

CHECK YOUR PROGRESS 15.7

Notes

1.

(i) Does the graph represent a function?

Fig. 15.36

(ii) Does the graph represent a function ?

Fig. 15.37

2.

Which of the following functions are into function ?


(a)

Fig.15.38

(b)

f : N N, defined as f ( x ) = x 2

Here N represents the set of natural numbers.


(c)
3.
30

f : N N, defined as f ( x ) = x

Which of the following functions are onto function if f : R R


MATHEMATICS

Sets, Relations and Functions


(a)
4.

5.

f ( x ) = 115x + 49

(b)

f (x ) = x

Which of the following functions are one-to-one functions ?


(a)

f : { 20,21,22 } { 40,42,44 } defined as f ( x ) = 2x

(b)

f : { 7,8,9 } {10 } defined as f ( x ) = 10

(c)

f : I R defined as f ( x ) = x 3

(d)

f : R R defined as f ( x ) = 2 + x 4

(d)

f : N N defined as f ( x ) = x 2 + 2x

MODULE - IV
Functions

Notes

Which of the following functions are many-to-one functions ?


(a)

f : { 2, 1,1,2 } { 2,5} defined as f ( x ) = x 2 + 1

(b)

f : { 0,1,2 } {1} defined as f ( x ) = 1

(c)

Fig.15.39

(d)
6.

f : N N defined as f ( x ) = 5x + 7

Draw the graph of each of the following functions :


(a) y = 3x 2

(b) y = x 2

(c) y = x 2 2

(d) y = 5 x 2 (e) y = 2x 2 + 1
7.

(f) y = 1 2x 2

Which of the following graphs represents a function ?


(a)

(b)

Fig. 15.40
MATHEMATICS

Fig. 15.41
31

Sets, Relations and Functions

MODULE - IV
(c)
Functions

(d)

Notes

Fig. 15.42

Fig. 15.43

(e)

Fig .15.44

Hint : If any line || to y-axis cuts the graph in more than one point, graph does not represent a
function.

15.17 SOME SPECIAL FUNCTIONS


15.17.1 Monotonic Function
Let F : A B be a function then F is said to be monotonic on an interval (a,b) if it is either
increasing or decreasing on that interval.
For function to be increasing on an interval (a,b)
x1 < x 2

F ( x1 ) < F ( x2

) x1 x 2 (a, b )

and for function to be decreasing on (a,b)


x1 < x 2

F ( x1 ) > F ( x2

) x1 x 2
( a, b )

A function may not be monotonic on the whole domain but it can be on different intervals of the
domain.
Consider the function F : R R defined by f ( x ) = x 2 .
Now

x1 , x 2 [ 0, ]
x1 < x 2 F ( x1 ) < F ( x 2 )

32

F is a Monotonic Function on [ 0, ] .
MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

( Q It is only increasing function on this interval)


But

x1, x 2 ( , 0 )
x1 < x 2 F ( x1 ) > F ( x 2 )

F is a Monotonic Function on [ , 0 ]

( Q It is only a decreasing function on this interval)


Therefore if we talk of the whole domain given function is not monotonic on R but it is monotonic
on ( , 0 ) and ( 0, ) .

Notes

Again consider the function F : R R defined by f ( x ) = x 3 .


Clearly x1 x 2 domain
x1 < x 2

F ( x1 ) < F ( x 2 )

Given function is monotonic on R i.e. on the whole domain.

15.17.2 Even Function


A function is said to be an even function if for each x of domain
F( x) = F(x)

For example, each of the following is an even function.


(i)

If F ( x ) = x 2 then F ( x ) = ( x )2 = x 2 =F ( x )

(ii)

If F ( x ) = c o s x then F ( x ) = cos ( x ) = cosx =F ( x )

(iii)

If F ( x ) = x then F ( x ) = x = x

=F ( x )

Fig. 15.45

The graph of this even function (modulus function) is shown in the figure above.
Observation
Graph is symmetrical about y-axis.

MATHEMATICS

33

Sets, Relations and Functions

MODULE - IV 15.17.3 Odd Function


Functions A function is said to be an odd function if for each x
f ( x ) = f ( x )
For example,
Notes

(i)

If f ( x ) = x 3
then f ( x ) = ( x )3 = x 3 = f ( x )

(ii)

If f ( x ) = sin x
then f ( x ) = sin ( x ) = sin x = f ( x )

Fig. 15.46

Graph of the odd function y = x is given in Fig.15.46


Observation
Graph is symmetrical about origin.
15.17.4 Greatest Integer Function (Step Function)
f ( x ) = [ x ] which is the greatest integer less than or equal to x.
f ( x ) is called Greatest Integer Function or Step Function. Its graph is in the form of steps, as
shown in Fig. 16.47.
Let us draw the graph of y = [ x ] , x R

[ x ] = 1,

1x<2

[ x ] = 2,

2 x <3

[ x ] = 3, 3 x < 4
[ x ] = 0,

0 x <1

[ x ] = 1, 1 x < 0
[ x ] = 2, 2 x < 1
l
l

Domain of the step function is the set of real numbers.


Range of the step function is the set of integers.

Fig. 15.47

15.17.5 Polynomial Function


Any function defined in the form of a polynomial is called a polynomial function.
For example,

34

(i)

f ( x ) = 3x 2 4x 2

(ii)

f ( x ) = x 3 5x 2 x + 5
MATHEMATICS

Sets, Relations and Functions


(iii)

MODULE - IV
Functions

f(x) = 3

are all polynomial functions.


Note : Functions of the type f ( x ) = k , where k is a constant is also called a constant function.
15.17.6 Rational Function
Function of the type f ( x ) =

Notes

g(x )
, where h ( x ) 0 and g ( x ) and h ( x ) are polynomial
h (x )

functions are called rational functions.


For example,

f ( x )=

x2 4
, x 1
x +1

is a rational function.
15.17.7 Reciprocal Function
Functions of the type y = 1 , x 0 is called a reciprocal function.
x
15.17.8 Exponential Functions
A swiss mathematician Leonhard Euler introduced a number e in the form of an infinite series. In
fact
e =1 +

1 1
+
1 2

1
+
3

1
+
n

.....
+

.....
+

.....(1)

It is well known that the sum of its infinite series tends to a finite limit (i.e., this series is convergent)
and hence it is a positive real number denoted by e. This number e is a transcendental irrational
number and its value lies between 2 an 3.
Consider now the infinite series

1+

x x2 x3
+
+
1
2
3

+.....

xn
+
n

.....
+

It can be shown that the sum of its infinite series also tends to a finite limit, which we denote by
e x . Thus,

ex = 1 +

x x2
+
1
2

x3
+
3

.....
+

xn
+
n

.....
+

......(2)

This is called the Exponential Theorem and the infinite series is called the exponential series.
We easily see that we would get (1) by putting x = 1 in (2).
The function f ( x ) = e x , where x is any real number is called an Exponential Function.
The graph of the exponential function
y = ex
MATHEMATICS

35

Sets, Relations and Functions

MODULE - IV is obtained by considering the following important facts :


Functions (i) As x increases, the y values are increasing very rapidly, whereas as x decreases, the y
values are getting closer and closer to zero.

Notes

(ii)

There is no x-intercept, since e x 0 for any value of x.

(iii)

The y intercept is 1, since e 0 = 1 and e 0 .

(iv)

The specific points given in the table will serve as guidelines to sketch the graph of e x
(Fig. 15.48).

x
y = ex

0.04

0.13

0.36

1.00

2.71

7.38

20.08

Fig. 15.48

If we take the base different from e, say a, we


would get exponential function
f ( x ) = a x ,provbided a > 0, a 1.

For example, we may take a = 2 or a = 3 and get


the graphs of the functions
y = 2x (See Fig. 15.49)
and

y = 3x (See Fig. 15.50)


Fig. 15.49

36

MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

Notes

Fig. 15.50

Fig. 15.51

15.17.9 Logarithmic Functions


Consider now the function
y = ex
We write it equivalently as

.....(3)

x = log e y
Thus,

y = log e x

.....(4)

is the inverse function of y = e x


The base of the logarithm is not written if it is e
and so log e x is usually written as log x.
As y = e x and y = log x are inverse functions,
their graphs are also symmetric w.r.t. the line
y= x
The graph of the function y = log x can be
obtained from that of y = e x by reflecting it in
the line y = x.
Fig. 15.52

Note
(i) The learner may recall the laws of indices which you have already studied in the Secondary
Mathematics :
If a > 0, and m and n are any rational numbers, then
a m a n= a m + n
MATHEMATICS

37

Sets, Relations and Functions

MODULE - IV
Functions

a m a n = a m n

( a m )n = a mn
a0 = 1

(ii)

The corresponding laws of logarithms are


log a ( mn ) = log a m +loga n

Notes

m
log a = log a m loga n
n
log a ( m n ) = n log a m
log b m =

log a m
log a b

log b m = log a mlog b a

or

Here a, b > 0, a 1, b 1.

CHECK YOUR PROGRESS 15.8


1.

2.

Tick mark the correct statement.


(i)

Function f ( x ) = 2x 4 + 7x 2 + 9x is an even function.

(ii)

Odd function is symmetrical about y-axis.

(iii)

f ( x ) = x1 / 2 x3 + x5 is a polynomial function.

(iv)

f(x) =

(v)

f(x) =

(vi)

f(x) =

x 3
is a rational function for all x R.
3+ x

5
is a constant function.
3
1
x

Domain of the function is the set of real numbers except 0.


(vii)
Greatest integer function is neither even nor odd.
Which of the following functions are even or odd functions ?
2
(a) f ( x ) = x 1
x +1

(d) f ( x ) =
38

2
x3

(b) f ( x ) =

x2
1
(c) f ( x ) =
2
2
5+ x
x +5

(e) f ( x ) =

x
x2 + 1

(f) f ( x ) =

5
x 5
MATHEMATICS

Sets, Relations and Functions


(g) f ( x ) =
3.
4.

x3
3+ x

MODULE - IV
Functions

(h) f ( x ) = x x3

Draw the graph of the function y = [ x ] 2 .


Specify the following functions as polynomial function, rational function, reciprocal function
or constant function.
Notes
2
x + 2x
(a)
, 3
y = 3x8 5x 7 + 8x 5 (b) y = 3
x 2x + 3 x 2x + 3 0
3
, x0
x2

(c)

y=

(e)

1
y = 1 , x 0
x

(g)

y=

(d)

y=3 +

(f)

y=

2x + 1
, x 0
x

x 2 5x + 6
, x 2
x2

1
.
9

15.18 COMPOSITION OF FUNCTIONS


Consider the two functions given below:
y = 2x + 1,

x {1,2,3}

y { 3,5,7}
Then z is the composition of two functions x and y because z is defined in terms of y and y in
terms of x.
Graphically one can represent this as given below :
z = y + 1,

Fig. 15.53

The composition, say, gof of function g and f is defined as function g of function f.


If

f : A B and g : B C

then

g o f : A to C

Let
Then
MATHEMATICS

f ( x ) = 3x +1 and

g ( x ) = x 2 +2

fog ( x ) = f ( g ( x ) )
39

Sets, Relations and Functions

MODULE - IV
Functions

= f ( x 2 +2 )
= 3 ( x 2 +2 ) +1 = 3x 2 + 7

(i)

( gof ) ( x ) = g ( f ( x ) )

and

= g ( 3x +1 )
Notes

= ( 3x +1 )

+2 = 9x 2 + 6x +3

(ii)

Check from (i) and (ii), if


fog = gof
Evidently,
fog gof
Similarly, ( fof ) ( x ) = f ( f ( x ) ) = f ( 3x +1 )

[Read as function of function f ].

= 3 ( 3x +1 ) +1

= 9x +3 +1 =9x

4+

( gog )( x ) = g ( g ( x ) ) = g ( x 2 +2 ) [ Read as function of function g ]


= ( x2 + 2 )

+2

= x 4 +4x 2 +4

+2

= x 4 + 4x 2 +6

Example 15.31 If f ( x ) =

x + 1 and g ( x ) = x 2 +2 , calculate fog and gof.

fog ( x ) = f ( g ( x ) )

Solution :

= f ( x 2 +2 )
=

x 2 + 2 +1

x 2 +3

( gof ) ( x ) = g ( f ( x ) )
= g( x +1)
= ( x +1)

+2

= x +1 +2
= x + 3.

Here again, we see that ( fog ) gof


Example 15.32 If f ( x ) = x 3, f : R R
g(x ) =
40

1
, g : R { 0} R {0}
x
MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

Find fog and gof.


Solution :
( fog ) ( x ) = f ( g ( x ) )

= f

3
1
1 = 1
=


x x
x3

( gof ) ( x ) = g ( f ( x ) )
= g ( x3 ) =

Notes

1
x3

Here we see that


fog = gof
Note : We observe from Example 15.31 and Example 15.32 that fog and gof may or may
not be equal.

CHECK YOUR PROGRESS 15.9


1.

Find fog, gof, fof and gog for the following functions :
f ( x ) = x 2 + 2, g ( x ) = 1

2.

For each of the following functions write fog, gof, fof and gog.
(a)

f ( x ) = x 2 4 , g ( x ) = 2x +5

(b)

f ( x ) = x2 , g ( x ) = 3

(c)

f ( x ) = 3x 7 , g ( x ) =

3.

Let

4.

Let

6.

2
, x 0
x

f ( x ) = | x |, g ( x ) =[ x ]. Verify that fog gof.


f ( x ) = x 2 +3, g ( x ) =x

Prove that fog gof and f

5.

1
, x 1.
1x

3
3
= g f
2
2

If f ( x ) = x 2, g ( x ) = x . Show that fog = gof.


1
1
Let f ( x ) = | x |, g ( x ) = ( x )3 , h ( x ) = ; x 0.
x
Find (a) fog
(b) goh
(c) foh
(d) hog
(e) fogoh

Hint :

MATHEMATICS

1
( fogoh ) ( x ) = f ( g ( h ( x ) ) ) = f g
x

41

Sets, Relations and Functions

MODULE - IV
Functions

15.19 INVERSE OF A FUNCTION


(A)

Consider the relation

Notes

Fig. 15.54

This is a many-to-one function. Now let us find the inverse of this relation.
Pictorially, it can be represented as

Fig 15.55

Clearly this relation does not represent a function. (Why ?)


(B) Now take another relation

Fig.15.56

It represents one-to-one onto function. Now let us find the inverse of this relation, which is
represented pictorially as

Fig. 15.57
42

MATHEMATICS

Sets, Relations and Functions

MODULE - IV
Functions

This represents a function.


(C) Consider the relation

Notes

Fig. 15.58

Ir represents many-to-one function. Now find the inverse of the relation.


Pictorially it is represented as

Fig. 15.59

This does not represent a function, because element 6 of set B is not associated with any
element of A. Also note that the elements of B does not have a unique image.
(D) Let us take the following relation

Fig. 15.60

It represent one-to-one into function.


Find the inverse of the relation.

Fig. 15.61
MATHEMATICS

43

Sets, Relations and Functions

MODULE - IV It does not represent a function because the element 7 of B is not associated with any element
Functions of A. From the above relations we see that we may or may not get a relation as a function when
we find the inverse of a relation (function).
We see that the inverse of a function exists only if the function is one-to-one onto function
i.e. only if it is a bijective function.

Notes

CHECK YOUR PROGRESS 15.10


1

(i) Show that the inverse of the function


y = 4x 7 exists.

2.

(ii) Let f be a one-to-one and onto function with domain A and range B. Write the
domain and range of its inverse function.
Find the inverse of each of the following functions (if it exists) :
(a)

f ( x ) = x +3

(b)

f ( x ) = 1 3x

(c)

f ( x ) = x2

x R

(d)

f (x ) =

x +1
, x 0
x

x R

LET US S
LET US SUM UP
l
l

l
l
l

l
l
l

44

Set is a well defined collection of objects.


To represent a set in Roster form all elements are to be written but in set builder form a
set is represented by the common property.
If the elements of a set can be counted then it is called a finite set and if the elements
cannot be counted, it is infinite.
If each element of set A is an element of set B also then A is called sub set of B.
For two sets A and B, A B is a set of those elements which are in A but not in B.
Complement of a set A is a set of those elements which are in the universal set but not in
A. i.e. A c = U A
Intersection of two sets is a set of those elements when belong to both the sets.
Union of two sets is a set of those elements which belong to either of the two sets.
Cartesian product of two sets A and B is the set of all ordered pairs of the elements of A
and B. It is denoted by A B. i.e.
A B = { ( a, b ) : a A and b B } .
Relation is a sub set of AB where A and B are sets.
i.e. R A B = { ( a , b ) : a A and b B and aRb }

MATHEMATICS

You might also like