Chapter Two Relations and Functions 2.1. Relations A Relation Is Used To Describe Certain Properties of Things. That Way, Certain Things
Chapter Two Relations and Functions 2.1. Relations A Relation Is Used To Describe Certain Properties of Things. That Way, Certain Things
Chapter Two Relations and Functions 2.1. Relations A Relation Is Used To Describe Certain Properties of Things. That Way, Certain Things
2.1. Relations
A relation is used to describe certain properties of things. That way, certain things
may be connected in some way; this is called a relation. It is clear, that things are
either related, or they are not, there are no in between.
Consider two arbitrary sets X and Y. The set of all ordered pairs(x,y) where x∈X
and y∈Y is called the product, or Cartesian product, of X and Y. A short
designation of this product is X ×Y , which is read “X cross Y.” By definition,
X ×Y ={(x , y )∨x ∈ X∧ y ∈Y }
Example (2.1) Let X ={1 , 2}∧Y ={10 , 15 ,20 }.Then
X ×Y ={(1 ,10) ,(1 ,15) ,(1 ,20) ,(2 , 10) ,(2 , 15),( 2, 20) }
in which the sets are considered is important. Secondly, using n(S) for the
number of elements in a set S, we have:
n ( X ×Y )=n ( X ) ×n ( Y )=2× 3=6
The use of the term "relation" is often used as shorthand to refer to binary relations.
Example (2.3) let A={ 2,3 , 4 }∧B={3 , 4 , 5 ,6 , 7 } . Define the relation R by aRb if and
only if a divides b. Find R, Domain of R , Range of R .
Solution
R={ ( 2,4 ) , ( 2,6 ) , (3,3 ) , ( 3,6 ) , ( 4,4 ) }
Domain={ 2,3,4 }
Range={3,4,6 }
23
Arrow diagrams. Venn diagrams and arrows can be used for representing
relations between given sets. A relation may be defined by a correspondence
(Figure 2.1).The corresponding ordered pairs are {(1, 2), (1, -4), (-3, 4), (3, 4)}.
In the diagram an arrow from x to y means that x is related to y. This kind of graph
is called directed graph or digraph.
1 2
3- 4
3 4-
Figure 2.1
Given a relation R from A to B, the inverse of R, denoted R−1, is the relation from B
to A defined as bR−1 a
R−1 ={( b , a ) :(a , b)∈ R }
24
For instance, if R is the relation “being a son or daughter of”, then R−1 is the relation
“being a parent of”.
Example (2.4) let R = {(1, 0), (2, 0), (2, 1), (3, 0), (3, 1), (3, 2)} then
R-1 = {(0, 1), (0, 2), (1, 2), (0, 3), (1, 3), (2, 3}
Example (2.5) Let R and S be a relations between A and B.
i. Show that, if R ⊆S then R−1 ⊆S−1.
ii. Prove that ( R ∩ S)−1=R−1 ∩ S−1
Proof (i)
Let ( a , b ) ∈ R−1 → ( b , a ) ∈ R definition of inverse relation
∴ ( b , a ) ∈S since R ⊆ S
∴ ( a , b ) ∈S−1 definition of inverse relation
∴ R−1 ⊆ S−1 definition of ⊂¿
Proof (ii)
(1) Let (a , b)∈( R ∩ S)−1
∴ ( b , a ) ∈ ( R ∩S ) definition of inverse
( b , a ) ∈ R∧( b , a ) ∈ S definition of ∩¿
R ∩ S ⊆ ( R∩ S ) definition of ⊂¿
−1 −1 −1
∴ ¿ (1 ) ∧( 2 ) we have
( R ∩ S)−1=R−1 ∩ S−1
2.1.4. Composition of Relations
Let A, B and C be three sets.
25
Given a relation R from A to B and a relation S from B to C, then the composition
RoS of relations R and S is a relation from A to C defined by:
Ro S={( a , c ) :(a , b)∈ R∧(b , c )∈ S f ∨some b ∈ B }.
For instance, if R is the relation “to be the father of”, and S is the relation “to be
married to”, then ROS is the relation “to be the father in law of”.
Example (2.6) Let R={(1 , 2),(1 , 6),(2 , 4),(3 , 4) ,(3 , 6),(3 , 8)}
S={(2 , u),(4 , s) ,(4 ,t ),( 6 ,t ), (8 ,u) } . Find R o S .
Solution.
Ro S={(1 , u),(1 , t) ,(2 , s) ,(2 , t) ,(3 , s),(3 , t) ,(3 , u)}
Example (2.7) Let A={0,1,2,3,4,5,6,7 } ,suppose R and T are Two relations on A such
that : R={ ( x , y ) :2 x +3 y=15 } , T ={( x , y ) :3 x+ 2 y ∈ A }
Write down R,T and RoT as a set of ordered pairs ?
Solution
R={( 0,5 ) , ( 3,3 ) , ( 6 , 1 ) }
T ={( 0,1 ) , ( 0,2 ) , ( 0,3 ) , ( 1,0 ) , ( 1,1 ) , ( 1,2 ) , ( 2,0 ) }
Ro T ={( 6,0 ) , ( 6,1 ) ,(6,2)}
∴ R−1 is reflexive
26
2. Transitive if for all x , y , z ∈ A , xRy and y Rz implies xRz.For instance equality
(=) and inequality (<) on Z are transitive relations.
Example (2.10) Let A={a , b , c , d } and R be defined as follows:
R={( a , b),(a , c) ,(b , d ),(a , d),(b ,c ),(d , c)}. Here R is transitive relation on A.
3. Symmetric if for all x, y ∈ A, xRy implies y Rx. For instance on Z, equality (=)
is symmetric, but strict inequality (<) is not.
Example(2.11) i.Let A={a , b , c , d }∧R={(a , a),(b , c),(c , b),(d , d)}.
Show that R is symmetric.
ii. Let R be the set of real numbers and R be the relation aRb if and only if a < b.
Show that R is not symmetric.
Solution.
i. bRc and cRb so R is symmetric.
ii. 2< 4 but 4 ≮2.
Example (2.12) let R be a relation on a set A then R is symmetric iff R=R−1
Proof
(1) Assume R is a symmetric
let ( a , b ) ∈ R →(b , a)∈ R
( b , a ) ∈ R−1∧( a , b ) ∈ R−1
∴ R=R−1
(2) Assume R=R−1
let (a ,b)∈ R →(b , a) ∈ R−1
( b , a ) ∈ R since R=R−1
∴ R is symmetric
4. Antisymmetric if for all x, y ∈ A, xRy and y Rx implies x = y. For instance, non-
strict inequality (≤) on Z is antisymmetric.
Example(2.13) Let A={a , b , c , d } and R be defined as:
R={( a , b),( b , a),(a , c) ,(c , d),(d , b)}. R is not symmetric, as a R c but cRa. R is not anti-
27
Example (2.14)Let A = {a, b, c, d} and R be defined as follows:
R = {(a, a), (a, c), (b, a), (b, d), (c, c), (d, c), (d, d)}.
Here R is neither reflexive nor irreflexive relation as b is not related to itself and a,
c, d are related to themselves.
Example (2.15) let R be a relation on a set A then R is reflexive iff Rc is irreflexive
Proof
Let ( a , a ) ∈ R ∀ a ∈ A
∴ ( a , a ) ∉ Rc ∀ a ∈ A definition of complement
∴ R c is irreflexive definition of irreflexive
2.1.6. Partial Orders
Definition Let R be a binary relation on a nonempty set X. R is a partial ordering if
R is a reflexive, transitive and antisymmetric relation. For example The relation < is
not a partial ordering, since it is transitive and antisymmetric but is not reflexive.
Example (2.16) Let A = {1, 2, 3, 4, 6, 9} and relation R defined on A be “a divides
b”. Is R Partial ordering relation on A?
Solution
First we list all ordered pairs of R as follows:
R={(1,1),(1,2),(1,3),(1,4),(1,6),(1,9),(2,2),(2,4),2,6),(3,3),(3,6),(3,9),(4,4),(6,6),(9,9)}
(1,1),(2,2),(3,3),4,4),(6,6) and (9,9) ∈ R
∴ R is reflexive
So R is ∂ ordering relation
2.1.7. Equivalence Relations
28
An equivalence relation on a set A is a binary relation on A with the following
properties:
1. Reflexive: for all x ∈ A, x R x.
2. Symmetric: x Ry implies y R x.
3. Transitive: (x R y) ^ (y R z) implies x R z.
For instance, on Z, the equality (=) is an equivalence relation.
Another example, also on Z, is the following: x Ry (mod 2) (“x is congruent to y
modulo 2”) iff x− y is even. For instance, 6−2 (mod 2) because 6−2=4 is even, but
7 ≠ 4 (mod 2), because 7−4 = 3 is not even. Congruence modulo 2 is in fact an
equivalence relation:
1. Reflexive: for every integer x, x−x=0 is indeed even, so x ≡ x(mod 2).
2. Symmetric: if x ≡ y (mod 2) then x− y = t is even, but y−x =¿ −t is also even, hence
y ≡ x (mod 2).
3. Transitive: assume x ≡ y ( mod 2 ) and y ≡ z ( mod 2 ) . Then x− y =t and y – z=u are
even. From here, x−z=( x− y )+ ( y – z ) =t+u
is also even , hence x ≡ z (mod 2).
2.1.8. Equivalence Classes, Quotient Set and Partitions
Given an equivalence relation R on a set A, and an element x ∈ A , the set of elements
of A related to x are called the equivalence class of x, represented
[ x]={ y ∈ A∨ y Rx }. The collection of equivalence classes, represented
A/ R={[x ]∨x ∈ A }, is called quotient set of A by R .
One of the main properties of an equivalence relation on a set Ai s that the quotient
set, i.e. the collection of equivalence classes, is a partition of A. Recall that a partition
of a set A is a collection of non-empty subsets A1,A2,A3, . . . of A which are pairwise
disjoint and whose union equals A:
1. A i ∩ A j=Φ for i ≠ j
2. ∪n A n= A
29
(i) For each a∈ A , we have a ∈[a].
(ii) [a] = [b] if and only if (a, b) ∈ R.
(iii) If [a]≠[b ],then [a]∧[b]are disjoint .
Conversely, given a partition { A i } of the set A, there is an equivalence relation R on A
such that the sets Ai are the equivalence classes.
proof
( i ) Since R is reflexive ,(a , a)∈ R for every a ∈ A∧therefore a ∈[a].
( ii ) Suppose ( a , b ) ∈ R .We want ¿ show that [ a ] =[ b ] .
Let x ∈[b ]; then (b , x) ∈ R . But by hypothesis
( a , a ) ∈ R∧so , by transitivity , ( a , x ) ∈ R . Accordingly x ∈ [ a ] .
Thus [b ]⊆[ a]. ¿ prove that [a] ⊆[b ] we
observe that (a, b) ∈ R implies, by symmetry, that (b, a) ∈ R .
Then, by a similar argument, we obtain [a]⊆ [b].Consequently, [a] = [b].
Onthe other hand , if [a ]=[b ],then , by (i) , b ∈[b ]=[a]; hence (a , b)∈ R .
(iii):We prove the equivalent contrapositive statement:
If [a ]∩[b]≠ Φ then [a ]=[b]
If [a ]∩[b]≠ Φ , thenthere ∃an element x ∈ A with x ∈[a]∩[b ].
Hence ( a , x ) ∈ R∧( b , x ) ∈ R . By symmetry , ( x , b ) ∈ R
¿ by transitivity , (a , b)∈ R . Consequently by (ii),[a]=[b ].
Example (2.17) let A = {1, 2, …., 8}. Let R be the equivalence relation defined by
x ≡ ymod( 4)
Solution
i. R={ ( 1,1 ) ,1,5 ) , ( 2,2 ) , ( 2,6 ) , ( 3,3 ) , ( 3,7 ) , ( 4,4 ) , ( 4,8 ) , ( 5,1 ) , ( 5,5 ) , ( 6,2 ) , (6,6),( 7,3),(7,7) ,(8,4),(8,8) }
30
The only element which does not belong to [1] , [2] or [3] is 4. The only element
related to 4 is 4. Thus
[4] = {4,8}
Accordingly, the following is the partition of A induced by R:
A∨R={ [ 1 ] , [ 2 ] , [ 3 ] , [ 4 ] }
2.2. Functions
In this section we introduce a special type of relation called a function.
Definition: Given a relation in x and y, we say “y is a function of x” if for every
element x in the domain, there corresponds exactly one element y in the range.
Note that the definition of a function requires that a relation must be satisfying two
conditions in order to qualify as a function:
The first condition is that every x ∈ X must be related to y ∈Y that is the domain of f
must be X and not merely a subset of X
The second requirement of uniqueness can be expressed as:
( x , y ) ∈ fand ( x , z ) ∈ f ⟹ y=z
31
For instance, the following represents the function from Z to Z defined by
f ( x )=2 x +1
The element y = f(x) is called the image of x, and x is a pre image of y.
Remark: Functions are sometimes also called mappings or transformations.
To understand the difference between a relation that is a function and a relation
that is not a function.
Example (2.18) Determine which of the relations define y as a function of x.
a. b. c.
1 3 1 2 1
2 1 2 1 2
6
3 2- 3 5 3
Solution
a. This relation is defined by the set of ordered pairs {(1 ,−2) ,(2,3),(3,1) }
Notice that for each x in the domain there is only one corresponding y in
the range. Therefore, this relation is a function.
When x=1 , there is only one possibility for y : y =−2
When x=2 , there is only one possibility for y : y =3
When x=3 , there is only one possibility for y : y=1
b. This relation is defined by the set of ordered pairs
Same x
Different y
32
When x=1 ,there are two possible range elements: y=2∧ y=3
x x
Solution
a. b.
y y
33
x x
A function is defined as a relation with the added restriction that each value in the
domain must have only one corresponding y-value in the range. In mathematics,
functions are often given by rules or equations to define the relationship between two
or more variables. For example, the equation y=3 x
defines the set of ordered pairs such that the y-value is 3times the x-value.
f ( 4 ) =3(4)
f ( 4 ) =12
34
The function value f (4 )=12 can be written as the ordered pair (4, 12) thus, when x=4
the corresponding function value is 12.We say “f of 4 is 12” or “f at 4 is 12.” The
names of functions are often given by either lowercase or upper case letters, such as f,
g, h, p, K, and M.
f ( x )=2 x−1
Example (2.20) Given the function defined by .
find the function values i. f ( 0 ) ii . f ( 1 ) iii . f (−1 ) iv . f (2)
Solution
i. f ( 0 )=2 ( 0 )−1
¿−1 We say, “f of 0 is -1.” This is equivalent to the ordered pair (0 ,−1)
ii . f ( 1 )=2 ( 1 )−1
¿ 1 We say, “f of 1 is 1.” This is equivalent to the ordered pair(1 , 1)iii . f (−1 ) =2 (−1 ) −1
¿−3 We say, “f of -1 is -3.” This is equivalent to the ordered pair (−1 ,−3)
iv . f ( 2 )=2 ( 2 )−1
¿ 4−1
¿ 3 We say, “f of 2 is 3.” This is equivalent to the ordered pair (2,3)
Example (2.21) Find the domain of the functions. Write the answers in interval
notation..
x+7 x−4
a . f ( x )= b . g ( x )= 2
2 x −1 x +9
Solution
35
a. The function will be undefined when the denominator is zero, that is, when
2 x−1=0
2 x=1
1 1
x= The value x= 2 must be excluded from the domain.
2
1 1
( ) ( )
Interval notation: −∞, 2 ∪ 2 , ∞
b. The quantity is greater than or equal to 0 for all real numbers x, and the number 9
is positive. Therefore, the sum must be positive for all real numbers x. The
x−4
denominator of g ( x )= 2 will never be zero; the domain is the set of all real
x +9
numbers. Interval notation: (−∞,+∞)
numbers.
To graph the function, choose arbitrary values of x within the domain of the function.
Be sure to choose values of x that are positive and values that are negative to
determine the behavior of the function to the right and left of the origin.
The function values are equated to the square of x, so f(x) will always be greater than
or equal to zero. Hence, the y-coordinates on the graph will never be negative.The
range of the function is {y|y is a real number and y ≥ 0}.
The arrows on each branch of the graph imply that the pattern continues indefinitely
x f ( x )=x 2 10
9
-3 9 8
-2 4 7
6
-1 1 5
0 0 4
1 1 3
2
2 4 1
3 9 4 3 2 1 0
0
-1 -2 -3 -4
37
∀ x , x ' ∈ A , f ( x )=f ( x ' ) ⟹ x=x '
° °
° °
° °
° °
A B
Figure (2.2) One-to-one function
° °
° °
° °
38
Notice that the function given by f ( 1)=a , f (2)=b , f (3)=a is an example of a
function from {1 , 2 ,3 }¿{a , b } that is onto but not one to one.
Example (2.24) Using two-element sets or three-element sets as domains and ranges,
find an example of a one-to-one function that is not onto.
Solution
Notice that the function given by f (1)=c , f (2)=a is an example of a function from
{1 , 2}¿ {a , b , c } that is one-to one but not onto.
° °
° °
° °
° °
° °
A B
Figure (2.4) Bijection.
2.2.4. Inverse Function. If f : A → B is a bijective function, its inverse is the function
f −1 : B → A such that f ( y ) =x if and only if f ( x )= y
−1
−1 −1
A characteristic property of the inverse function is that f o f =1 A∧f o f =1B
39
Example(2.25)let f be the function from {a, b, c} to {1, 2, 3} such that f (a) = 2,
f (b) = 3, and f (c) = 1. Is f invertible, and if it is, what is its inverse?
Solution
The function f is invertible because it is a one-to-one correspondence. The inverse
function f −1 reverses the correspondence given by f , so f −1 ( 1 ) =c , f −1 ( 2 )=a and
f −1 ( 3 )=b
Example (2.26) let f : Z → Z be such that f (x)= x+1. Is f invertible, and if it is, what is
its inverse?
Solution
The function f has an inverse because it is a one-to-one correspondence, as follows
To reverse the correspondence, suppose that y is the image of x, so that
y=x +1. Then,
x= y −1. This means that y−1 is the unique element of Z that is sent to y by f .
Consequently f −1 ( y ) = y−1
Definition Identity function. Given a set A, the function :1 A : A → B defined by
1 A ( x )=x for every x in A is called the identity function for A .
go f
f g
A B C
In other words, go f is the function that assigns to the element a of A the element
assigned by g to f(a). That is, to find ( go f )(a) we first apply the function f to a to
obtain f(a) and then we apply the function g to the result f(a) to obtain
(gof)(a) = g(f(a)). Note that the composition go f cannot be defined unless the range of
f is a subset of the domain of g .
Example (2.28) Let g be the function from the set {a, b, c} to itself such that g(a) =
b, g(b) = c, and g(c) = a. Let f be the function from the set {a, b, c} to the set {1, 2, 3}
41
such that f (a) = 3, f (b) = 2, and f (c) = 1. What is the composition of f and g, and
what is the composition of g and f ?
Solution:
The composition f o g is defined by ( f ¿¿ o g)¿(a) = f (g(a)) = f (b) = 2,
( f o g)( b)=f (g (b))=f (c)=1, and ( f o g)(c)=f (g(c))=f (a)=3 .
Note that go f is not defined, because the range of f is not a subset of the domain of g.
Example (2.29) Let f and g be the functions from the set of integers to the set of
integers defined by f (x) = 2x + 3 and g(x) = 3x + 2. What is the composition of f and
g? What is the composition of g and f ?
Solution:
Both the compositions f o g∧go f are defined. Moreover,
( f o g)( x )=f (g( x ))=f (3 x +2)=2(3 x+ 2)+3=6 x+7
and
( go f )( x )=g( f ( x ))=g (2 x +3)=3(2 x +3)+ 2=6 x +11.
Solution :
( go f ) ( 4 )=g ( f ( 4 ) )
¿ g(2 × 4+1)
¿ g(9)
¿ 92 −2
¿ 79
( f o g ) ( 4 )=f ( g ( 4 ) )
¿ f (4 2−2)
¿ f (14)
¿ 2 ×14+1
¿ 29
42
Note that even though f o g∧go f are defined for the functions f and g , f o g∧go f are
not equal. In other words, the commutative law does not hold for the composition of
functions.
Some properties of function composition are the following:
1. If f : A → B is a function from A to B, we have that f o 1 A =1 B o f =f
¿ h ( g ( 3 x) )
¿ h(2 × (3 x )2)
¿ h(18 x 2)
¿ 5 ×18 x 2
¿ 90 x 2
When the composition of a function and its inverse is formed, in either order, an
identity function is obtained. To see this, suppose that f is a one-to-one
correspondence from the set A to the set B. Then the inverse function f −1 exists and is
a one-to-one correspondence from B to A. The inverse function reverses the
correspondence of the original function, so f −1 ( b )=a when f (a) = b, and f (a) = b when
f −1 ( b )=a . Hence,
43
Consequently f −1o f =I A and f o f −1 =I B, where I A∧I B are the identity functions on the
sets A and B, respectively. That is, ( f −1)−1=f .
Problems
2.1. Find the domain and range of the relation.
{(0,0),(-8,4),(2,1),(-3,4),(-8,0)} (Ans: domain={0,-8,2,-3},range={0,4,1})
2.2. Let R be the relation on positive integers defined by:
R={( x , y)∨x+3 y =12}.
i. Write R as a set of ordered pairs. ii. Find R-1
iii. Find the domain and range of R. iv. Find the composition relation RO R
(Ans: i. {(9, 1), (6, 2), (3, 3)} ii. {(1,9),(2,6),3,3)}
iii. {3, 6, 9},{1,2,3} iv. {(3,3)}
2.3 Let A={1 , 2, 3 , 4 }. Define the relation R by aRb if and only if a ≤ b .
Find, R, Domain of R ,Range of R.
(Ans:{(1,1),(1,2),(1,3),(1,4),(2,2),(3,3),(2,4),(3,3),(3,4),(4,4)},domain=range= A ¿
2.4. suppose R and S are two relations from A to B then
i. if R ⊆ S then Sc ⊆ R c
44
ii .( R ∪ S )−1=R−1 ∪S−1
iii .( R ∩ S)c =R c ∪ S c
2.5. Let R = {(1, y), (1, z), (3, y)} be a relation from A = {1; 2; 3} to B ={x, y, z}
a. Find R-1 ? (Ans:{(y,1),(z,1),(y,3)}
b. Compare (R-1)-1 and R ? (Ans: R=(R-1)-1
2.6. Given the following two relations from A={1 , 2, 4 }¿ B={2, 6 , 8 , 10 }
aRb if and only if a∨b .
aSb if and only if b−4=a
List the elements of R , S , R ∪ S ;∧R ∩ S .
(Ans: R={( 1 ,2 ) , ( 1 ,6 ) , ( 1 , 8 ) , ( 1 , 10 ) , ( 2 , 2 ) , ( 2 , 6 ) , (2 , 8 ) , ( 2 ,10 ) ; ( 4 , 8 ) }
S= { ( 2 ,6 ) ; ( 4 , 8 ) } , R ∪ S=R , R ∩ S=S
(Ans: Ro R= { ( x , 4 x ) : x ∈ I } , Ro Ro R= {( x , 8 x ) : x ∈ I } ∧Ro S o R { ( x , 28 x ) , x ∈ I }
H={ ( a , d ) , ( b ,a ) , ( c , b ) , ( d , c ) } . Find ( F o G o H )
−1
o
H
(Ans: ( F o G o H )
−1
o
H ={ ( a , b ) , ( b , c ) , ( c , d ) , ( d , a ) }
2.9. If R and S are two reflexive relations then R ∪S∧R ∩ S are refelexive .
2.10. If R is symmetric relation then R−1 ∧R c are symmetric .
2.11. Determine the relation R on the set A = {1,2,3,4,5} whose MR is given below :
1 0 1 1 1
0
M R= 0
0
0
( 1 1 1 1
0 1 1 1
0 0 1 0
0 0 0 1
)
(Ans: R is partial ordering since it is reflexive, antisymmetric and transitive)
2.12. Let A = {1, 2, ….,16}. Let R be the relation on A defined by “xy is a square,”
Find the equivalence class [1].
45
(Ans: {1,4,9,16})
2.13. Let A = {1, 2, . . . , , 20}. Let R be the equivalence relation on S defined by
x ≡ y (mod 5), that is, x − y is divisible by 5. Find the partition of A induced by R,
i.e. the quotient set A/R.
(Ans: [{1, 6, 11,16}, {2, 7, 12,17}, {3, 8, 13,18}, {4, 9, 14,19},{5, 10, 15,20}])
2.14. Determine if the relations define y as a function of x.
a. {(4 ,2),(−5 , 4) ,( 0 ,0),(8 , 4 )}.b . {(−1 , 6),(8 ,9) ,(−1 , 4),(−3 , 1 0)}
c.
2 3
5 -
1
7
4
(Ans:a.yes b. No c.Yes)
2.15. Use the vertical line test to determine whether the relations define y as a
function of x.
a. b.
2.16. Rewrite each of the following function from R into R using a formula
5x ≤0
( Ans :a . g ( x )=x 3 b . h ( x )=4 c . f ( x )= {
x 2 x> 0 )
1
2.17 Given the function defined by g ( x )= 2 x−3 , find the function values.
a . g(−2)b . g(1) c . g( 4) d . g ( 23 )
( Ans :a .−4 b .−2.5 c .−1d . −83 )
2.18. Given the function defined by, g ( x )=4 x −3 find the function values.
a . g (−x ) b . g ( w ) c . g( x + w)
2.19. Find the domain of the functions. Write the answers in interval notation.
2 x +1
c . p ( x )=√ x−2 d . h ( x )=
x−9
2.20. Let A be the set of student in a school. Determine which of the following
assignment define a function on A.
f ( x 2 + y 2 )=f ( f ( x ) ) + f ( f ( y ) ) +2 f ( x ) . f ( y)
1
2.22. Graph the functions defined by a . g ( x ) = x b . h ( x )=¿ x∨¿
47
Hint :a . Domain(−∞ ,0)∪ ¿
2.23. a. Show that the function f : R → R defined by f ( x )=3 x−5 is surjective. b. Show
that the function f : Z → Z defined by f ( n )=3 n−5 is not surjective.
2.24. a. Show that the function f : R → R defined by f ( x )=3 x−5 is bijective b.
Show that the function f : R → R defined by f (x)= x2 is not bijective.
2.25. Consider the following functions:
f =3 x f :R → R
g=3x g : R → R
Are f,g invertible functions, why?
(Ans: f invertible function , g is not invertible function)
2.26. Let f: R → R be defined by f (x)=2 x−3 . Now f is one-to-one and onto; hence f
has an inverse function f −1. Find a formula for f −1
x+ 3
( Ans :f −1
( x )=
2 )
3
2.27. Let f ( x )= x−2 f : R− {2 } → R−{0 } . Find f −1 √ 3 ?
(Ans: f −1 ¿ )
2.28. Let A={a , b , c }, B={x , y , z }, C={r , s ,t }. Let f : A → B∧g :B → C be defined by:
f ={(a , y )(b , x) ,(c , y ) }∧g={(x , s),( y , t),(z , r )}.
48