2. relations and functions pdf
2. relations and functions pdf
2.1 Introduction
Much of mathematics is about finding a pattern – a
recognisable link between quantities that change. In our
daily life, we come across many patterns that characterise
relations such as brother and sister, father and son, teacher
and student. In mathematics also, we come across many
relations such as number m is less than number n, line l is
parallel to line m, set A is a subset of set B. In all these, we
notice that a relation involves pairs of objects in certain
order. In this Chapter, we will learn how to link pairs of
objects from two sets and then introduce relations between
the two objects in the pair. Finally, we will learn about G . W. Leibnitz
special relations which will qualify to be functions. The (1646–1716)
concept of function is very important in mathematics since it captures the idea of a
mathematically precise correspondence between one quantity with the other.
Text
2.2 Cartesian Products of Sets Text
Suppose A is a set of 2 colours and B is a set of 3 objects, i.e.,
A = {red, blue}and B = {b, c, s},
Text Text
where b, c and s represent a particular bag, coat and shirt, respectively.
How many pairs of coloured objects can be made from these two sets? Text
Proceeding in a very orderly manner, we can see that there will be 6
distinct pairs as given below:
(red, b), (red, c), (red, s), (blue, b), (blue, c), (blue, s).
Thus, we get 6 distinct objects (Fig 2.1).
Let us recall from our earlier classes that an ordered pair of elements Fig 2.1
taken from any two sets P and Q is a pair of elements written in small
2015-16
RELATIONS AND FUNCTIONS 39
The graph is a line parallel to x-axis. For example, if f(x)=3 for each x∈R, then its
graph will be a line as shown in the Fig 2.9.
(iii) Polynomial function A function f : R → R is said to be polynomial function if
for each x in R, y = f (x) = a0 + a1x + a2x2 + ...+ an xn, where n is a non-negative
integer and a 0, a 1, a2,...,a n∈R.
The functions defined by f(x) = x3 – x2 + 2, and g(x) = x4 + 2 x are some examples
2
of polynomial functions, whereas the function h defined by h(x) = x 3 + 2x is not a
polynomial function.(Why?)
Example 13 Define the function f: R → R by y = f(x) = x2, x ∈ R. Complete the
Table given below by using this definition. What is the domain and range of this function?
Draw the graph of f.
x –4 –3 –2 –1 0 1 2 3 4
y = f(x) = x 2
Solution The completed Table is given below:
x –4 –3 –2 –1 0 1 2 3 4
2
y = f (x) = x 16 9 4 1 0 1 4 9 16
2
Domain of f = {x : x∈R}. Range of f = {x : x ∈ R}. The graph of f is given
by Fig 2.10
Fig 2.10
2015-16
40 MATHEMATICS
Example 14 Draw the graph of the function f :R → R defined by f (x) = x3, x∈R.
Solution We have
f(0) = 0, f(1) = 1, f(–1) = –1, f(2) = 8, f(–2) = –8, f(3) = 27; f(–3) = –27, etc.
Therefore, f = {(x,x3): x∈R}.
The graph of f is given in Fig 2.11.
Fig 2.11
f (x)
(iv) Rational functions are functions of the type , where f(x) and g(x) are
g(x)
polynomial functions of x defined in a domain, where g(x) ≠ 0.
1
Example 15 Define the real valued function f : R – {0} → R defined by f ( x) = ,
x
x ∈ R –{0}. Complete the Table given below using this definition. What is the domain
and range of this function?
1
y= – 0.5 – 0.67 –1 – 2 4 2 1 0.67 0.5
x
2015-16
RELATIONS AND FUNCTIONS 41
The domain is all real numbers except 0 and its range is also all real numbers
except 0. The graph of f is given in Fig 2.12.
FigFig
2.122.12
x ,x ≥ 0
f (x) =
− x, x < 0
The graph of the modulus function is given
in Fig 2.13.
(vi) Signum function The function
f:R→R defined by
Fig 2.13
1,if x > 0
f (x) = 0,if x = 0
−1,if x < 0
is called the signum function. The domain of the signum function is R and the range is
2015-16
42 MATHEMATICS
the set {–1, 0, 1}. The graph of the signum function is given by the Fig 2.14.
x
f(x) = x , x ‘ 0and0 for x = 0
Fig 2.14
2015-16
RELATIONS AND FUNCTIONS 43
f f ( x)
( x) = , provided g(x) ≠ 0, x ∈ X
g g ( x)
2
Example 16 Let f(x) = x and g(x) = 2x + 1 be two real functions.Find
f
(f + g) (x), (f –g) (x), (fg) (x), ( x) .
g
Solution We have,
2 2
(f + g) (x) = x + 2x + 1, (f –g) (x) = x – 2x – 1,
2 3 2 f x2 1
(fg) (x) = x (2x + 1) = 2x + x , ( x) = ,x ≠ −
g 2x + 1 2
Example 17 Let f(x) = x and g(x) = x be two functions defined over the set of non-
f
negative real numbers. Find (f + g) (x), (f – g) (x), (fg) (x) and (x).
g
Solution We have
(f + g) (x) = x + x, (f – g) (x) = x –x,
3 f x –
1
(fg) x = x( x ) = x 2 and ( x ) = = x 2,x≠ 0
g x
2015-16
44 MATHEMATICS
EXERCISE 2.3
1. Which of the following relations are functions? Give reasons. If it is a function,
determine its domain and range.
(i) {(2,1), (5,1), (8,1), (11,1), (14,1), (17,1)}
(ii) {(2,1), (4,2), (6,3), (8,4), (10,5), (12,6), (14,7)}
(iii) {(1,3), (1,5), (2,5)}.
2. Find the domain and range of the following real functions:
(i) f(x) = – x (ii) f(x) = 9 − x2 .
3. A function f is defined by f(x) = 2x –5. Write down the values of
(i) f (0), (ii) f (7), (iii) f (–3).
4. The function ‘t’ which maps temperature in degree Celsius into temperature in
9C
degree Fahrenheit is defined by t(C) = + 32.
5
Find (i) t(0) (ii) t(28) (iii) t(–10) (iv) The value of C, when t(C) = 212.
5. Find the range of each of the following functions.
(i) f (x) = 2 – 3x, x ∈ R, x > 0.
(ii) f (x) = x2 + 2, x is a real number.
(iii) f (x) = x, x is a real number.
Miscellaneous Examples
Example 18 Let R be the set of real numbers.
Define the real function
f: R →R by f(x) = x + 10
and sketch the graph of this function.
Solution Here f(0) = 10, f(1) = 11, f(2) = 12, ...,
f(10) = 20, etc., and
f(–1) = 9, f(–2) = 8, ..., f(–10) = 0 and so on.
Therefore, shape of the graph of the given
function assumes the form as shown in Fig 2.16.
Remark The function f defined by f(x) = mx + c ,
x ∈ R, is called linear function, where m and c are
constants. Above function is an example of a linear
Fig 2.16
function.
2015-16
RELATIONS AND FUNCTIONS 45
x 2 + 3x + 5
Example 21 Find the domain of the function f ( x) =
x 2 − 5x + 4
2
Solution Since x –5x + 4 = (x – 4) (x –1), the function f is defined for all real numbers
except at x = 4 and x = 1. Hence the domain of f is R – {1, 4}.
Example 22 The function f is defined by
1 − x, x < 0
f (x) =
1 , x=0
x + 1, x > 0
Draw the graph of f (x).
Solution Here, f(x) = 1 – x, x < 0, this gives
f(– 4) = 1 – (– 4)= 5;
f(– 3) =1 – (– 3) = 4,
f(– 2) = 1 – (– 2)= 3
f(–1) = 1 – (–1) = 2; etc,
and f(1) = 2, f (2) = 3, f (3) = 4
f(4) = 5 and so on for f(x) = x + 1, x > 0.
Thus, the graph of f is as shown in Fig 2.17 Fig 2.17
2015-16
46 MATHEMATICS
x ,0 ≤ x ≤ 3
2
1. The relation f is defined by f (x) =
3 x,3 ≤ x ≤10
x , 0 ≤ x ≤ 2
2
x2 + 2 x + 1
3. Find the domain of the function f (x) = .
x2 – 8 x + 12
4. Find the domain and the range of the real function f defined by f (x) = ( x − 1) .
5. Find the domain and the range of the real function f defined by f (x) = x –1 .
x2
6. Let f = x, 2 : x ∈ R be a function from R into R. Determine the range
1 + x
of f.
7. Let f, g : R→R be defined, respectively by f(x) = x + 1, g(x) = 2x – 3. Find
f
f + g, f – g and .
g
8. Let f = {(1,1), (2,3), (0,–1), (–1, –3)} be a function from Z to Z defined by
f(x) = ax + b, for some integers a, b. Determine a, b.
2
9. Let R be a relation from N to N defined by R = {(a, b) : a, b ∈N and a = b }. Are
the following true?
(i) (a,a) ∈ R, for all a ∈ N (ii) (a,b) ∈ R, implies (b,a) ∈ R
(iii) (a,b) ∈ R, (b,c) ∈ R implies (a,c) ∈ R.
Justify your answer in each case.
10. Let A ={1,2,3,4}, B = {1,5,9,11,15,16} and f = {(1,5), (2,9), (3,1), (4,5), (2,11)}
Are the following true?
(i) f is a relation from A to B (ii) f is a function from A to B.
Justify your answer in each case.
2015-16
RELATIONS AND FUNCTIONS 47
Summary
In this Chapter, we studied about relations and functions.The main features of
this Chapter are as follows:
Ordered pair A pair of elements grouped together in a particular order.
Cartesian product A × B of two sets A and B is given by
A × B = {(a, b): a ∈ A, b ∈ B}
In particular R × R = {(x, y): x, y ∈ R}
and R × R × R = (x, y, z): x, y, z ∈ R}
If (a, b) = (x, y), then a = x and b = y.
If n(A) = p and n(B) = q, then n(A × B) = pq.
A×φ=φ
In general, A × B ≠ B × A.
Relation A relation R from a set A to a set B is a subset of the cartesian
product A × B obtained by describing a relationship between the first element
x and the second element y of the ordered pairs in A × B.
The image of an element x under a relation R is given by y, where (x, y) ∈ R,
The domain of R is the set of all first elements of the ordered pairs in a
relation R.
The range of the relation R is the set of all second elements of the ordered
pairs in a relation R.
Function A function f from a set A to a set B is a specific type of relation for
which every element x of set A has one and only one image y in set B.
We write f: A→B, where f(x) = y.
A is the domain and B is the codomain of f.
2015-16
48 MATHEMATICS
Historical Note
The word FUNCTION first appears in a Latin manuscript “Methodus
tangentium inversa, seu de fuctionibus” written by Gottfried Wilhelm Leibnitz
(1646-1716) in 1673; Leibnitz used the word in the non-analytical sense. He
considered a function in terms of “mathematical job” – the “employee” being
just a curve.
On July 5, 1698, Johan Bernoulli, in a letter to Leibnitz, for the first time
deliberately assigned a specialised use of the term function in the analytical
sense. At the end of that month, Leibnitz replied showing his approval.
Function is found in English in 1779 in Chambers’ Cyclopaedia: “The
term function is used in algebra, for an analytical expression any way compounded
of a variable quantity, and of numbers, or constant quantities”.
— —
2015-16