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
CBSE Class 12 Maths · Relations and Functions
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.
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.
\( 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 \).
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.
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.
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.
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] \).
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.
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 ℝ).
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 ℝ).
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.
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.