Skip to content
Exercise 1.2 · Q2

Q.Check the injectivity and surjectivity of the following functions:

(i) f:N→Nf: \mathbf{N} \to \mathbf{N} given by f(x)=x2f(x) = x^2
(ii) f:Z→Zf: \mathbf{Z} \to \mathbf{Z} given by f(x)=x2f(x) = x^2
(iii) f:R→Rf: \mathbf{R} \to \mathbf{R} given by f(x)=x2f(x) = x^2
(iv) f:N→Nf: \mathbf{N} \to \mathbf{N} given by f(x)=x3f(x) = x^3
(v) f:Z→Zf: \mathbf{Z} \to \mathbf{Z} given by f(x)=x3f(x) = x^3
Manipur CohsemTextbookSubjective· 5mImportance★★★★★
23% · 24/104 Questions
✓ Free question

x2x^2 is injective only on N\mathbf{N} and surjective on none of the three sets; x3x^3 is injective on all three but surjective on none of N,Z\mathbf{N},\mathbf{Z} (it would be onto only over R\mathbf{R}).

The whole question turns on one theme: the same formula behaves differently as we change the number system. Injectivity fails for x2x^2 whenever negatives are available (because (−a)2=a2(-a)^2=a^2); surjectivity fails whenever the codomain contains values the formula can never produce.

(i) f:N→N, f(x)=x2f:\mathbf{N}\to\mathbf{N},\ f(x)=x^2

  • Injective: on natural numbers there are no negatives, so a2=b2⇒a=ba^2=b^2\Rightarrow a=b. Yes.
  • Surjective: an output must be a perfect square, but 2,3,5,…2,3,5,\dots are natural numbers that are not squares. No.

(ii) f:Z→Z, f(x)=x2f:\mathbf{Z}\to\mathbf{Z},\ f(x)=x^2

  • Injective: f(−2)=4=f(2)f(-2)=4=f(2) with −2≠2-2\ne 2. No.
  • Surjective: squares are never negative, so −1-1 has no preimage. No.

(iii) f:R→R, f(x)=x2f:\mathbf{R}\to\mathbf{R},\ f(x)=x^2

  • Injective: f(−a)=f(a)f(-a)=f(a) for any a≠0a\ne 0. No.
  • Surjective: x2≥0x^2\ge 0 always, so no negative real (e.g. −1-1) is an output. No.

(iv) f:N→N, f(x)=x3f:\mathbf{N}\to\mathbf{N},\ f(x)=x^3

  • Injective: x3x^3 is strictly increasing on N\mathbf{N}, so a3=b3⇒a=ba^3=b^3\Rightarrow a=b. Yes.
  • Surjective: an output must be a perfect cube; 22 is not a cube of any natural number. No.

(v) f:Z→Z, f(x)=x3f:\mathbf{Z}\to\mathbf{Z},\ f(x)=x^3

  • Injective: x3x^3 is strictly increasing on Z\mathbf{Z} (a<b⇒a3<b3a<b\Rightarrow a^3<b^3), so a3=b3⇒a=ba^3=b^3\Rightarrow a=b. Yes.
  • Surjective: we would need every integer to be a perfect cube. But 22 is not: 13=11^3=1 and 23=82^3=8, so no integer cubes to 22. No.
Watch out

Over R\mathbf{R} the cube function is surjective because every real has a real cube root. But the cube root of an integer need not be an integer, so over Z\mathbf{Z} surjectivity fails — do not confuse the two.

✓Final answer

  1. injective, not surjective;
  2. neither injective nor surjective;
  3. neither injective nor surjective;
  4. injective, not surjective;
  5. injective, not surjective.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.