Relations and Functions - Test Papers

 CBSE Test Paper 01

Chapter 1 Relations and Functions


  1. In Z , the set of integers, inverse of – 7 , w.r.t. ‘ * ‘ defined by a * b = a + b + 7 for all a,bZ ,is 
    1. -7
    2. -14
    3. 14
    4. 7
  2. If A = { 1, 2, 3}, then the relation R = {(1, 2), (2, 3), (1, 3)} in A is ___. 
    1. transitive only
    2. reflexive only
    3. symmetric only
    4. symmetric and transitive only
  3. A relation R on a set A is called an empty relation if 
    1. no element of A is related to any element of A
    2. every element of A is related to one element of A
    3. one element of A is related to all the elements of A
    4. every element of A is related to any element of A
  4. Let f and g be two functions from R to R defined as f(x)={0,xisrational1,xisirrational}g(x)={1,xisrational0,xisirrational} then, (gof)(e) + (fog) (π) =. 
    1. 1
    2. 2
    3. -1
    4. 0
  5. Let R be the relation on N defined as xRy if x + 2 y = 8. The domain of R is  
    1. {2, 4, 6, 8}
    2. {2, 4, 8}
    3. {1, 2, 3, 4}
    4. {2, 4, 6}
  6. If n(A) = p and n(B) = q, then the number of relations from set A to set B = ________. 
  7. A function is called an onto function, if its range is equal to ________. 

  8. A binary operation * on a set X is said to be ________, if a * b = b * a, where a, b  X. 

  9. Find gof f(x) = |x|, g(x) = |5x + 1|. 

  10. Show that function f: N  N, given by f(x) = 2x, is one – one. 

  11. Let S = {1, 2, 3} Determine whether the function f: S  S defined as below have inverse.
    f = {(1, 1), (2, 2), (3, 3)}

  12. Let f : {1, 3, 4}  {1, 2, 5} and g : {1, 2, 5}  {1, 3} be given by f = {(1, 2), (3, 5), (4, 1)} and g = {(1, 3), (2, 3), (5, 1)}. Write down gof.

  13. Consider f: {1, 2, 3}  {a, b, c} given by f(1) = a, f(2) = b and f(3) = c find f-1 and show that (f-1)-1 = f. 

  14. Is g = {(1, 1), (2, 3), (3, 5), (4, 7)} a function? If g is described by g(x) = ax + b, then what value should be assigned to a and b. 

  15. Show that the relation R defined by (a, b) R (c, d)  a + d = b + c on the set N×N is an equivalence relation. 

  16. Let the function f : R  R be defined by f(x) = cosx,  R. Show that f is neither one-one nor onto. 

  17. Let L be the set of all lines in plane and R be the relation in L define if R = {(l1, L2 ): L1 is to L} .Show that R is symmetric but neither reflexive nor transitive. 

  18. If the function f : R  R is given by f (x) = x2 + 2 and g: R  R is given by g(x)=xx1;x1 then find fog and gof and hence find fog(2) and gof(- 3). 

CBSE Test Paper 01
Chapter 1 Relations and Functions


Solution

    1. -7
      Explanation: If ‘ e ‘ is the identity ,then a*e = a a + e + 7 = a  e = - 7 . Also,inverse of e is e itself. Hence , inverse of -7 is -7.
    1. transitive only
      Explanation: A relation R on a non-empty set A is said to be transitive if xRy and y Rz  xRz, for all x  R. Here, (1, 2) and (2, 3) belongs to R implies that (1, 3) belongs to R.
    1. no element of A is related to any element of A
      Explanation: For any set A ,an empty relation may be defined on A as: there is no element exists in the relation set which satisfies the relation for a given set A i.e.
      let A={1,2,3,4,5} and R={(a,b): a,b  A and a+b= 10},so we get R={ } which is an empty relation.
    1. -1
      Explanation: (gof)(e) + (fog)(π) =g(f(e)) + f(g(π) = g(1) + f(0) = - 1 + 0 = -1.
    1. {2, 4, 6}
      Explanation: As xRy if x + 2 y = 8 , therefore, domain of the relation R is given by x = 8 – 2y ∈ N. When y = 1,  x = 6, when y = 2,  x =4 , when y =3 ,  x = 2. Therefore, domain is { 2, 4, 6 }.
  1. 2pq

  2. codomain

  3. commutative

  4. gof (x) = g [f(x)]
    = g [|x|]
    =| 5 |x| + 1 |

  5. For, f(x1) = f(x2)
    2x1 = 2x2
    x1 = x2
    So, The function f is one – one

  6. Since different elements have different images. So, f is one - one. Also, every element of codomain has pre-image so, f is onto
    Now f is one – one and onto, so that f is invertible with inverse f-1 = {(1, 1) (2, 2) (3, 3)}
  7. f = {(1, 2), (3, 5), (4, 1)} and g = {(1, 3), (2, 3), (5, 1)}
    Now, f(1) = 2, f(3) = 5, f(4) = 1 and g(1) = 3, g(2) = 3, g(5) =1
    gof(x)=g(f(x))
    gof(1)=g(f(1))=g(2)=3
    g[f(3)] = g(5) = 1 and g[f(4)] = g(1) = 3
    Hence, gof = {(1, 3), (3, 1), (4, 3)}
  8. f = {(1, a) (2, b) (3, c)}
    f-1 = { (a, 1) (b, 2) (c, 3)}
    (f -1-1 = {(1, a) (2, b) (3, c)}
    Hence (f-1)-1 = f.
  9. Yes, g is a function since every element in domain has a unique image in range.
    Now, Let g(x) = ax + b Then Given,
    g(1) = a + b = 1 &
    g(2) = 2a +b = 3
    Subtracting g(1) from g(2) Gives
    (2a + b) - (a + b) = a = 2 & Substituting It into g(1)
    We have b = -1
  10. we have,a + b = b + a for all (a, b) N×N, which implies (a,b) R (a,b).Thus, R is reflexive.
    Let (a,b),(c,d) N×N be such that
    (a, b) R (c, d)
     a + d= b + c
     d + a = c + b
     c + b = d + a
     (c, d) R (a, b) for all (a, b), (c, d) N×N
    Hence R is symmetric.
    Let (a,b),(c,d),(e,f) N×N such that (a,b) R (c,d) and
    (c,d) R (e,f).Then,
    (a, b) R (c, d)  a + d = b + c....... (1)
    (c, d) R (e, f)  c + f = d + e .........(2)
    Adding (1) and (2)
    (a + d) + (c+f) = (b + c) + (d + e)
    a + f = b+ e
    (a, b) R (e, f)
    Hence, R is transitive
    So, R is an equivalence relation.
  11. Given function, f(x) = cosx,  R
    Now, f(π2)=cosπ2=0
    f(π2)=cosπ2=0
    f(π2)=f(π2)
    But π2π2=0
    So, f (x) is not one-one
    Now, f(x) = cosx,  R is not onto as there is no pre-image for any real number. Which does not belong to the intervals [-1, 1], the range of cos x.

  12. R is not reflexive, as a line L1 cannot be  to itself i.e (L1, L1 ) R

    Now ( L1, L2)R
    L1  L2
    L2  L1
    (L2, L1)R
    R is symmetric
    Now (L1, L2) and (L2, L3 R
    i.e L1  L2 and L2  L3
    Then L1 can never be  to L3 in fact L1 || L3
    i.e (L1, L2 R, (L2, L3 R.
    But (L1, L3 R
    R is not transitive.

  13. We are given that, f : R  R and g : R  R defined as f(x) = x2 + 2 and g(x) = xx1;x1.
    First we see whether fog and gof exist for the given functions.
    Since, range f  domain g and range g  domain f
    Hence,fog and gof exist for the given functions.
    Now, for any x  R - {1}, we have (fog)(x) = f[g(x)]
    f[xx1]=(xx1)2+2
    =x2+2(x1)2(x1)2x2+2(x2+12x)(x1)2
    =3x2+24x(x1)2
     fog: R  R is defined by
    (fog)(x)= 3x24x+2(x1)2,x1 ......(i)
    For any x  R we have
    gof(x) = g[f(x)]
    = g(x2 + 2) = x2+2(x2+2)1=x2+2x2+1
     gof: R  R is defined by
    (gof)(x) = x2+2x2+1 ........(ii)
    On putting x = 2 in Eq. (i), we get
    fog(2) = 3×(2)24(2)+2(21)23×48+2(1)2
    = 12 - 8 + 2 = 6
    On putting x = - 3 in Eq. (ii), we get
    gof(-3) =