Skip to content
Exercise 1.2 · Q5

Q.Show that the Signum Function f:R→Rf: \mathbf{R} \rightarrow \mathbf{R}, given by f(x)={1, if x>00, if x=0−1, if x<0f(x) = \begin{cases} 1, \text{ if } x > 0 \\ 0, \text{ if } x = 0 \\ -1, \text{ if } x < 0 \end{cases} is neither one-one nor onto.

Punjab PsebTextbookSubjective· 3mImportance★★★★★
26% · 27/104 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The signum function is neither one-one (because multiple inputs map to the same output, e.g., all positive numbers map to 1) nor onto (because the codomain is all real numbers, but the function only outputs −1, 0, 1 — so most real numbers are never reached).

The signum function is a classic example of a function that fails both injectivity and surjectivity. Let’s see why, step by step.


1. What does “one-one” (injective) mean?

A function f:A→Bf: A \to B is one-one if different inputs always give different outputs. Equivalently: if f(x1)=f(x2)f(x_1) = f(x_2), then we must have x1=x2x_1 = x_2.

Now look at the signum function. Take any two positive numbers, say x=2x = 2 and x=5x = 5.

f(2)=1f(2) = 1 and f(5)=1f(5) = 1. So f(2)=f(5)f(2) = f(5) but 2≠52 \neq 5.

That’s a direct violation of the one-one condition.

Watch out

A common mistake is to think that because the function has three distinct outputs (−1, 0, 1), it might be one-one. But one-one is about each output coming from exactly one input — here, the output 1 comes from infinitely many inputs (all positive reals), and so does −1 (all negative reals). So it’s far from injective.

Thus, ff is not one-one.


2. What does “onto” (surjective) mean?

A function f:A→Bf: A \to B is onto if every element of the codomain BB is actually an output of the function — i.e., for every y∈By \in B, there exists some x∈Ax \in A such that f(x)=yf(x) = y.

Here, the codomain is R\mathbf{R}, the set of all real numbers. But the signum function only ever outputs three values: −1-1, 00, and 11.

Pick any number not in {−1,0,1}\{-1, 0, 1\}, say y=5y = 5 or y=−0.5y = -0.5 or y=πy = \pi. There is no real xx for which f(x)f(x) equals that number. So the function misses almost all real numbers. …

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.