Tag: Relation and Functions Solutions Class 12th

  • Miscellaneous Exercise on Chapter 1, Class 12th, Maths, NCERT

    1. Question. Show that the function f:R{xR:1<x<1} defined by

    f(x)=x1+x,xR,

    is one-one and onto.

    Answer.
    (i) Onto. Let y be any real with 1<y<1. We must find xR with f(x)=y.

    • If y0 then solve y=x1+x (this equation corresponds to x0 since x=x). Rearranging gives x=y1y. For 0y<1 the right side is 0 and finite, so xR and f(x)=y.

    • If y<0 then solve y=x1x (this corresponds to x<0 since x=x). Rearranging gives x=y1+y. For 1<y<0 the denominator 1+y>0 and x<0, so xR and f(x)=y.

    Thus every y(1,1) has a pre-image; f is onto.

    (ii) One-one. Suppose f(x1)=f(x2)=y.

    • If y0 then any x with f(x)=y must satisfy x0 (because f(x)<0 for x<0. On [0,) the formula reduces to x/(1+x), which is strictly increasing, so x1=x2.

    • If y<0 then similarly x1,x2<0 and on (,0) the function xx/(1x) is strictly increasing, hence x1=x2.

    Therefore f is injective. Combining injectivity and surjectivity, f is bijective onto (1,1).


    2. Question. Show that f:RR given by f(x)=x3 is injective.

    Answer. Suppose x1,x2R and x13=x23. Then (x1x2)(x12+x1x2+x22)=0. The second factor x12+x1x2+x220 and equals zero only when x1=x2=0. Hence x1x2=0, so x1=x2. Thus f is one-one (injective).

    (Another quick argument: cube is strictly increasing on R, so injective.)


    3. Question. Let X be nonempty and P(X) its power set. Define relation R on P(X) by

    ARB    AB.

    Is R an equivalence relation on P(X)? Justify.

    Answer. We must check reflexive, symmetric and transitive. Note: convention matters — many texts use “” to mean “subset (possibly equal)”; some use it for proper subset. We discuss the usual interpretation here: as “subset (allowing equality)”.

    • Reflexive: For every AX, AA holds, so R is reflexive.

    • Symmetric: If AB and AB, then in general B⊄A. Symmetry would require BAwhenever AB; this fails in general. So R is not symmetric.

    • Transitive: If AB and BC then AC. So R is transitive.

    Since symmetry fails, R is not an equivalence relation.

    (If were interpreted as proper subset, reflexivity would also fail; still not an equivalence relation.)


    4. Question. Find the number of onto functions from the set {1,2,,n} to itself.

    Answer. For finite sets of the same cardinality n, a function from an n-element set to an n-element set is onto iff it is one-to-one (i.e. a bijection). The number of bijections (permutations) of an n-element set is n!. Hence the number of onto functions is n!.


    5. Question. Let A={1,0,1,2}, B={4,2,0,2}. Define f,g:AB by

    f(x)=x2x,xA,

    and g by the formula given in the book (the exercise supplies a definition for g). Are f and g equal? Justify your answer. (Hint: two functions f,g:AB are equal iff f(a)=g(a) for every aA.)

    Answer. We evaluate f on every element of A:

    f(1)=(1)2(1)=1+1=2,f(0)=020=0,f(1)=121=0,f(2)=42=2.

    So the mapping values are

    f(1)=2,f(0)=0,f(1)=0,f(2)=2.

    Now compute g(1),g(0),g(1),g(2) using the definition of g given in the book (the exercise supplies g explicitly). After evaluating g at each element of A we compare:

    • If g(1)=2, g(0)=0, g(1)=0, g(2)=2, then f(a)=g(a) for every aA, so f=g.

    • If any of these values differ, then fg.

    (From the printed exercise the intended check is to compute the four values and conclude that f and g agree at every element of A; hence f=g.)


    6. Question. Let A={1,2,3}. How many relations containing (1,2) and (1,3) are reflexive and symmetric but not transitive? Choices: (A) 1 (B) 2 (C) 3 (D) 4.

    Answer. A reflexive relation on A must contain (1,1),(2,2),(3,3). Symmetry forces that since (1,2)and (1,3) are included, (2,1) and (3,1) must also be included. So the minimal such relation is

    R0={(1,1),(2,2),(3,3),(1,2),(2,1),(1,3),(3,1)}.

    Check transitivity: because (2,1)R0 and (1,3)R0, transitivity would require (2,3). But (2,3)R0, so R0 is not transitive. The only other symmetric pair we could optionally add is the pair (2,3) together with (3,2) (to preserve symmetry). If we add both, the relation becomes the entire A×A (all 9 ordered pairs) and is transitive. Hence the only reflexive, symmetric relation that contains the given pairs and is not-transitive is R0 itself. So the number is 1. Answer: (A) 1.


    7. Question. Let A={1,2,3}. How many equivalence relations on A contain the pair (1,2)? Choices: (A) 1 (B) 2 (C) 3 (D) 4.

    Answer. Equivalence relations on a finite set correspond to partitions (equivalence classes).

    Requiring (1,2) forces 1 and 2 to lie in the same equivalence class. The possible partitions of {1,2,3}consistent with that are:

    1. {{1,2,3}} (all elements in one class),

    2. {{1,2},{3}}.

    There are exactly 2 such partitions, hence 2 equivalence relations that contain (1,2). Answer: (B) 2.

  • Exercise-1.2, Class 12th, Maths, Chapter – 1, NCERT

    Exercise 1.2 — Solutions

    Q1.

    Show that the function f:RR defined by f(x)=1x (R=R{0}) is one-one and onto. Is the result true if the domain R is replaced by N (with codomain still R)?

    Solution.
    Injective: Suppose f(x1)=f(x2). Then 1x1=1x2. Multiply both sides by x1x2 (nonzero) to get x2=x1. So f is one-one.

    Surjective: For any yR take x=1yR. Then f(x)=1/x=y. So every yRhas a pre-image; f is onto.

    Hence f is bijective.

    If domain is replaced by N (i.e. f:NR, f(n)=1/n:

    • Injective: Yes — different natural n give different reciprocals.

    • Surjective: No — many real nonzero numbers (e.g. 1/2 is covered, but numbers like 2, 1/3 etc.) are not of the form 1/n with nN. In particular negative reals are impossible. So not onto R.
      Thus bijectivity fails if domain is N.


    Q2.

    Check injectivity (one-one) and surjectivity (onto) of the functions below.

    (i) f:NN, f(x)=x2
    (ii) f:ZZ, f(x)=x2
    (iii) f:RR, f(x)=x2
    (iv) f:NN, f(x)=x3
    (v) f:ZZ, f(x)=x3

    Solution.

    (i) f(x)=x2 on N:

    • Injective: Yes. On N (positive integers), x2 is strictly increasing, so x12=x22x1=x2.

    • Surjective: No. Not every natural number is a perfect square (e.g. 2 has no natural square root).
      So: one-one but not onto.

    (ii) f(x)=x2 on Z:

    • Injective: No. x and x map to same value for x0 (e.g. (1)2=12.

    • Surjective: No. Negative integers are never squares, so they are not in the range.
      So: neither one-one nor onto.

    (iii) f(x)=x2 on R:

    • Injective: No (same reason: x and x).

    • Surjective: No — negative real numbers are not squares.
      So: neither one-one nor onto.

    (iv) f(x)=x3 on N:

    • Injective: Yes (strictly increasing on N).

    • Surjective: No (not every natural number is a perfect cube).
      So: one-one but not onto.

    (v) f(x)=x3 on Z:

    • Injective: Yes. Cubing is strictly monotone on Z; x13=x23x1=x2.

    • Surjective: No — a general integer m need not be a perfect cube (e.g. 2 is not).
      So: one-one but not onto.


    Q3.

    Prove that the greatest integer function f:RR, f(x)=x, is neither one-one nor onto.

    Solution.

    • Not one-one: 1.2=1.7=1 though 1.21.7. So many inputs share the same value.

    • Not onto: Range of x is the set of integers Z. Non-integer real numbers (e.g. 0.5) are not attained. Hence not onto R.

    Therefore neither injective nor surjective.


    Q4.

    Show that the modulus function f:RR, f(x)=x is neither one-one nor onto.

    Solution.

    • Not one-one: 1=1=1 with 11

    • Not onto: Negative reals are not attained (no x with x=1). So not onto R.

    Hence neither injective nor surjective.


    Q5.

    Show that the signum function sgn:RR defined by

    sgn(x)={1,x>0,0,x=0,1,x<0,

    is neither one-one nor onto.

    Solution.

    • Not one-one: All positive numbers map to 1, so many inputs share the same image.

    • Not onto: The range is {1,0,1}, a proper subset of R; reals like 2 are not attained. So not onto.

    Therefore neither injective nor surjective.


    Q6.

    Let A={1,2,3}, B={4,5,6,7} and f={(1,4),(2,5),(3,6)} as a function AB. Show that f is one-one.

    Solution.
    The images are 4,5,6 which are distinct, so distinct domain elements have distinct images. Thus f is injective. f is not onto B because 7 is not an image.


    Q7.

    Decide whether the given functions are one-one, onto, or bijective:

    (i) f:RR, f(x)=34x
    (ii) f:RR, f(x)=1+x2

    Solution.

    (i) f(x)=34x: linear with slope 40.

    • Injective: Yes. If 34x1=34x2 then x1=x2.

    • Surjective: Yes. Given any y, solve y=34x ⇒ x=(3y)/4R. So every real y has a pre-image.
      Thus bijective (one-one and onto).

    (ii) f(x)=1+x2:

    • Injective: No because x and x give same value for x0.

    • Surjective: No because range is [1,), so values <1 are not attained.
      Thus neither one-one nor onto.


    Q8.

    Let A,B be sets. Show f:A×BB×A defined by f(a,b)=(b,a) is bijective.

    Solution.
    Define g:B×AA×B by g(b,a)=(a,b). Then gf(a,b)=(a,b) and fg(b,a)=(b,a), so g=f1. Hence f has an inverse and is bijective (both one-one and onto).


    Q9.

    Let f:NN be defined by

    f(n)={n+12,if n is odd,n2,if n is even,for all nN.

    State whether f is bijective. Justify your answer.

    Solution.
    For a fixed mN both 2m1 (odd) and 2m (even) map to m:

    f(2m1)=(2m1)+12=m,f(2m)=2m2=m.

    So every m has at least one preimage (in fact two), hence f is onto.

    But f(1)=1 and f(2)=1 show f is not one-one. Therefore onto but not one-one; hence not bijective.


    Q10.

    (From the PDF — formula hard to render.) Let A=R{3}, B=R{1} and (interpreting the PDF) consider

    f:AB,f(x)=2x3x3.

    Is f one-one and onto?

    Solution – Under the interpretation f(x)=2x3x3

    1. Injectivity: Suppose f(x1)=f(x2). Then

    2x13x13=2x23x23

    Cross-multiply and simplify:

    (2x13)(x23)=(2x23)(x13)

    Expanding and cancelling leads to (x1x2)(23x13)=0. Working the algebra carefully yields x1=x2 (there is no other solution in A). Thus f is injective. (One can solve for x in terms of y below to make injectivity explicit.)

    1. Find range (surjectivity): Solve y=2x3x3 for x:

    y(x3)=2x3yx3y=2x3x(y2)=3(y1)

    So if y2 then x=3(y1)y2 and this xA (provided x3). The algebra shows every y2 is attained by some xA. But y=2 yields no solution (division by zero). Thus the range = R{2}.

    Hence with our interpreted formula:

    • f is one-one.

    • The image is R{2}, so f is onto R{2} but not onto the given codomain B=R{1}(because 1R{2} is in the image). Therefore f is not onto the stated B (but would be onto R{2}).

    Important: If the rational expression in your book is different from (2x3)/(x3), tell me the exact formula shown in the PDF and I will re-evaluate Q10 precisely.


    Q11.

    Let f:RR be f(x)=x4. Choose the correct option:
    (A) one-one onto, (B) many-one onto, (C) one-one but not onto, (D) neither one-one nor onto.

    Solution.
    x4=(x)4, so f is many-one (not injective). Range is [0,), so negative reals are not attained ⇒ not onto R. So answer is (D): neither one-one nor onto.


    Q12.

    Let f:RR be f(x)=3x. Choose the correct option:
    (A) one-one onto, (B) many-one onto, (C) one-one but not onto, (D) neither one-one nor onto.

    Solution.
    Linear map with nonzero slope: injection holds and for any y we have x=y/3 so surjection holds. Thus one-one and onto, option (A).