SOLVER7 Study. Nothing Else.
Exercise 1.2 Q3

Prove that the Greatest Integer Function \( f : R → R,\) given by \( f(x) =[x],\) is neither one-one nor onto, where \([x]\) denotes the greatest integer less than or equal to \(x.\)

CBSE Class 12 Maths · Relations and Functions

Solution

👶 Simple Explanation

Simple Explanation

Imagine a machine that takes any number and spits out the nearest whole number below it. So 1.2 and 1.7 both come out as 1. That means two different inputs give the same output, which breaks the one-one rule. Also, the machine can only ever output whole numbers like 0, 1, 2. It can never output something like 0.5. So not every possible output is reachable, which breaks the onto rule. This machine is the greatest integer function \( f(x) = [x] \).

Answer: Since two different inputs \( 1.2 \) and \( 1.7 \) give the same output \( 1 \), the function is not one-one. Since a non-integer such as \( 0.5 \) has no pre-image (the range is only \( \mathbb{Z} \), not all of \( \mathbb{R} \)), the function is not onto. Hence the greatest integer function \( f(x) = [x] \) is neither one-one nor onto.

📖 Greatest Integer Function: Neither One-One Nor Onto

Detailed Explanation

The greatest integer function \( f(x) = [x] \) returns the greatest integer that is less than or equal to \( x \). For example, \( [2.7] = 2 \), \( [3] = 3 \), and \( [-1.5] = -2 \). To decide whether a function is one-one or onto, we recall two definitions. A function is one-one (injective) if different inputs always give different outputs, that is, \( f(a) = f(b) \) forces \( a = b \). A function is onto (surjective) if every element of the codomain is the image of at least one element of the domain. Here the codomain is all of \( \mathbb{R} \). Since many different real numbers share the same integer part, and since the outputs are always integers (never fractions), we can disprove both properties using simple counterexamples.

Formula Used

\( f(x) = [x] = \) the greatest integer less than or equal to \( x \). One-one: \( f(a) = f(b) \Rightarrow a = b \). Onto: for every \( y \in \mathbb{R} \), there exists \( x \in \mathbb{R} \) with \( f(x) = y \).

Solution

  1. Step 1: Recall the meaning of the function. For any real number \( x \), \( f(x) = [x] \) gives the greatest integer not exceeding \( x \). So the output of \( f \) is always an integer, no matter what real number we input.
  2. Step 2: Test the one-one property. A function is one-one if distinct inputs give distinct outputs. Let us pick two different real numbers that lie between the same pair of integers, for example \( x = 1.2 \) and \( x = 1.7 \).
  3. Step 3: Compute the outputs for these two inputs. \[ f(1.2) = [1.2] = 1 \] \[ f(1.7) = [1.7] = 1 \] Here \( 1.2 \ne 1.7 \) but \( f(1.2) = f(1.7) = 1 \). Two different inputs produced the same output, so the definition of one-one is violated. Hence \( f \) is not one-one.
  4. Step 4: Test the onto property. The codomain is \( \mathbb{R} \), so for \( f \) to be onto, every real number must be an output. But from Step 1, every output of \( f \) is an integer.
  5. Step 5: Choose a non-integer element of the codomain, say \( y = 0.5 \). We ask: is there any real \( x \) with \( f(x) = 0.5 \)? Since \( [x] \) is always an integer, it can never equal \( 0.5 \). So \( 0.5 \in \mathbb{R} \) has no pre-image.
  6. Step 6: Conclude the onto part. Because at least one element of the codomain \( \mathbb{R} \) (for instance \( 0.5 \)) is not the image of any real number, the range of \( f \) is only the set of integers \( \mathbb{Z} \), which is a proper subset of \( \mathbb{R} \). Therefore \( f \) is not onto.

Final Answer

Since two different inputs \( 1.2 \) and \( 1.7 \) give the same output \( 1 \), the function is not one-one. Since a non-integer such as \( 0.5 \) has no pre-image (the range is only \( \mathbb{Z} \), not all of \( \mathbb{R} \)), the function is not onto. Hence the greatest integer function \( f(x) = [x] \) is neither one-one nor onto.

Common Mistake

A common mistake is writing \( [-1.5] = -1 \). The greatest integer must be less than or equal to \( -1.5 \), and \( -1 > -1.5 \), so the correct value is \( [-1.5] = -2 \). Always move toward the smaller integer for negative numbers.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Understand what \( f(x) = [x] \) does: it outputs the greatest integer that is less than or equal to \( x \). For instance, \( [2.3] = 2 \), \( [5] = 5 \), and \( [-1.4] = -2 \). — Reason: Before testing any property, we must be clear about how the function behaves so we can choose useful examples.
  2. Step 2: To check the one-one property, pick two different real numbers that lie strictly between the same two consecutive integers. Choose \( a = 1.2 \) and \( b = 1.7 \), which are clearly different since \( 1.2 \ne 1.7 \). — Reason: A function fails to be one-one if we can exhibit even one pair of distinct inputs that produce the same output, so we look for two numbers sharing the same integer part.
  3. Step 3: Compute the outputs for both chosen inputs. \[ f(1.2) = [1.2] = 1 \] \[ f(1.7) = [1.7] = 1 \] Both equal \( 1 \). — Reason: The calculation confirms that two distinct inputs map to the identical output, which directly violates the one-one condition.
  4. Step 4: Conclude about the one-one property: since \( 1.2 \ne 1.7 \) yet \( f(1.2) = f(1.7) = 1 \), the function is NOT one-one. — Reason: By definition, a function is one-one only when every distinct pair of inputs gives distinct outputs; our counterexample breaks this rule.
  5. Step 5: To check the onto property, ask whether every real number \( y \in \mathbb{R} \) can be reached as an output of \( f \). Observe that the output of \( f(x) = [x] \) is always an integer; thus the range of \( f \) is \( \mathbb{Z} \), not all of \( \mathbb{R} \). — Reason: For \( f \) to be onto, its range must equal the entire codomain \( \mathbb{R} \); if any real number is missing from the range, the function is not onto.
  6. Step 6: Pick a specific non-integer real number, say \( y = 0.5 \). For \( f(x) = 0.5 \) we would need \( [x] = 0.5 \), but the greatest integer function always returns an integer, so no real \( x \) satisfies this equation. — Reason: Producing one element of the codomain that has no pre-image is enough to prove the function is not onto.
  7. Step 7: Conclude about the onto property: since \( 0.5 \in \mathbb{R} \) has no pre-image under \( f \) (the range is restricted to \( \mathbb{Z} \subsetneq \mathbb{R} \)), the function is NOT onto. — Reason: A surjective (onto) function must cover every element of its codomain; the absence of any non-integer output rules this out.

Final Answer

Since two different inputs \( 1.2 \) and \( 1.7 \) give the same output \( 1 \), the function is not one-one. Since a non-integer such as \( 0.5 \) has no pre-image (the range is only \( \mathbb{Z} \), not all of \( \mathbb{R} \)), the function is not onto. Hence the greatest integer function \( f(x) = [x] \) is neither one-one nor onto.

Common Mistake

One common mistake: students assume that because \( f : \mathbb{R} \to \mathbb{R} \) and integers are real numbers, the function could still be onto — they forget that the codomain is all of \( \mathbb{R} \), which includes non-integers that can never be outputs of \( [x] \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Check one-one: \ f(1.2) = 1 and f(1.7) = 1, but \ 1.2 \ne 1.7, so \ f(1.2) = f(1.7) does not imply \ 1.2 = 1.7. Thus \ f \ is NOT one-one.
  2. Step 2: Check onto: Range of \ f \ is \ \mathbb{Z} \subsetneq \mathbb{R}. For \ y = 0.5 \in \mathbb{R}, there is no \ x \in \mathbb{R} \ with \ f(x) = 0.5. Thus \ f \ is NOT onto.

Answer: Since two different inputs \( 1.2 \) and \( 1.7 \) give the same output \( 1 \), the function is not one-one. Since a non-integer such as \( 0.5 \) has no pre-image (the range is only \( \mathbb{Z} \), not all of \( \mathbb{R} \)), the function is not onto. Hence the greatest integer function \( f(x) = [x] \) is neither one-one nor onto.

➕ More Examples

More Examples

Example 1

Question: Let \( f : \mathbb{R} \to \mathbb{R} \) be defined by \( f(x) = \lfloor 2x \rfloor \), where \( \lfloor 2x \rfloor \) denotes the greatest integer less than or equal to \( 2x \). Prove that \( f \) is neither one-one nor onto.

Solution: We need to check whether \( f \) is one-one and whether \( f \) is onto. Step 1: Check one-one. Consider two distinct real numbers \( x_1 = 0.1 \) and \( x_2 = 0.3 \). Then \( 2x_1 = 0.2 \) so \( f(0.1) = \lfloor 0.2 \rfloor = 0 \). Also \( 2x_2 = 0.6 \) so \( f(0.3) = \lfloor 0.6 \rfloor = 0 \). Thus \( f(0.1) = f(0.3) = 0 \), but \( 0.1 \ne 0.3 \). Since two distinct inputs give the same output, \( f \) is NOT one-one. Step 2: Check onto. The range of \( f \) consists of values of the form \( \lfloor 2x \rfloor \) for \( x \in \mathbb{R} \). Note that \( 2x \) takes all real values as \( x \) ranges over \( \mathbb{R} \), so \( \lfloor 2x \rfloor \) takes only integer values. Therefore the range of \( f \) is \( \mathbb{Z} \) (the set of integers), which is a proper subset of \( \mathbb{R} \). For example, \( y = 0.5 \in \mathbb{R} \) is not an integer, so there is no \( x \in \mathbb{R} \) for which \( f(x) = 0.5 \). Since the range \( \mathbb{Z} \subsetneq \mathbb{R} \) (codomain), \( f \) is NOT onto. Conclusion: \( f(x) = \lfloor 2x \rfloor \) is neither one-one nor onto.

Answer: f(x) = ⌊2x⌋ is neither one-one (since f(0.1) = f(0.3) = 0 but 0.1 ≠ 0.3) nor onto (since its range is ℤ, a proper subset of ℝ).

Example 2

Question: Let \( g : \mathbb{R} \to \mathbb{R} \) be defined by \( g(x) = \lfloor x - 1 \rfloor \), where \( \lfloor \cdot \rfloor \) denotes the greatest integer function. Prove that \( g \) is neither one-one nor onto.

Solution: We verify each property separately. Step 1: Check one-one. Consider \( x_1 = 1.2 \) and \( x_2 = 1.7 \), which are distinct real numbers. Then \( x_1 - 1 = 0.2 \), so \( g(1.2) = \lfloor 0.2 \rfloor = 0 \). Also \( x_2 - 1 = 0.7 \), so \( g(1.7) = \lfloor 0.7 \rfloor = 0 \). We have \( g(1.2) = g(1.7) = 0 \) even though \( 1.2 \ne 1.7 \). Therefore \( g \) is NOT one-one. In general, for any real number \( n \), all \( x \in [n+1, n+2) \) satisfy \( x - 1 \in [n, n+1) \), giving \( g(x) = n \). So infinitely many inputs share the same image. Step 2: Check onto. For any \( x \in \mathbb{R} \), \( x - 1 \) is also a real number, so \( g(x) = \lfloor x - 1 \rfloor \) is always an integer. Hence the range of \( g \) is \( \mathbb{Z} \subseteq \mathbb{R} \). The codomain is \( \mathbb{R} \), and for instance \( y = \frac{1}{3} \in \mathbb{R} \) is not an integer. Suppose \( \lfloor x - 1 \rfloor = \frac{1}{3} \) for some \( x \in \mathbb{R} \). But \( \lfloor x - 1 \rfloor \) must be an integer, and \( \frac{1}{3} \) is not an integer — a contradiction. So no such \( x \) exists. Therefore \( g \) is NOT onto. Conclusion: \( g(x) = \lfloor x - 1 \rfloor \) is neither one-one nor onto.

Answer: g(x) = ⌊x − 1⌋ is neither one-one (since g(1.2) = g(1.7) = 0 but 1.2 ≠ 1.7) nor onto (since its range is ℤ, a proper subset of ℝ).

🎯 Try a Similar Question

Try a Similar Question

Question: Consider the fractional part function \( f : \mathbb{R} \to \mathbb{R} \) defined by \( f(x) = x - [x] \), where \( [x] \) denotes the greatest integer less than or equal to \( x \). Prove that \( f \) is neither one-one nor onto.

Solution

  1. Step 1: Understand the function: The fractional part function is \( f(x) = x - [x] \). For any real number \( x \), this gives the part of \( x \) after removing its integer portion. For example, \( f(2.3) = 2.3 - 2 = 0.3 \) and \( f(5.3) = 5.3 - 5 = 0.3 \).
  2. Step 2: Show f is NOT one-one: To show \( f \) is not one-one, we need two distinct inputs that give the same output. Consider \( x_1 = 2.3 \) and \( x_2 = 5.3 \). These are clearly distinct, i.e., \( x_1 \ne x_2 \). Now, \( f(2.3) = 2.3 - [2.3] = 2.3 - 2 = 0.3 \) and \( f(5.3) = 5.3 - [5.3] = 5.3 - 5 = 0.3 \). Since \( f(2.3) = f(5.3) = 0.3 \) but \( 2.3 \ne 5.3 \), the function \( f \) is NOT one-one.
  3. Step 3: Determine the range of f: For any real number \( x \), we know \( [x] \le x < [x] + 1 \). Subtracting \( [x] \) throughout: \[ 0 \ \le \ x - [x] \ < \ 1 \] Therefore \( f(x) = x - [x] \in [0, 1) \) for all \( x \in \mathbb{R} \). So the range of \( f \) is \( [0, 1) \).
  4. Step 4: Show f is NOT onto: The codomain of \( f \) is \( \mathbb{R} \), but from Step 3, the range of \( f \) is only \( [0, 1) \). Consider the element \( 2 \in \mathbb{R} \) (the codomain). Since \( 2 \notin [0, 1) \), there is no \( x \in \mathbb{R} \) such that \( f(x) = 2 \). Hence the element \( 2 \) in the codomain has no pre-image in \( \mathbb{R} \), so \( f \) is NOT onto.
  5. Step 5: Conclusion: Since \( f(2.3) = f(5.3) = 0.3 \) with \( 2.3 \ne 5.3 \), the function is not one-one. Since the range of \( f \) is \( [0, 1) \subsetneq \mathbb{R} \) and elements like \( 2 \in \mathbb{R} \) have no pre-image, the function is not onto. Therefore, the fractional part function \( f(x) = x - [x] \) is neither one-one nor onto.

Answer: The fractional part function \( f(x) = x - [x] \) is neither one-one nor onto. It is not one-one because \( f(2.3) = f(5.3) = 0.3 \) even though \( 2.3 \ne 5.3 \). It is not onto because its range is \( [0, 1) \), which is a proper subset of \( \mathbb{R} \), so elements like \( 2 \in \mathbb{R} \) have no pre-image.

Everything you get with Solver7

More questions in Relations and Functions