SOLVER7 Study. Nothing Else.
Exercise 5.2 Q10

Prove that the greatest integer function defined by
\(f(x) = [x], 0 < x < 3\) is not differentiable at \(x = 1\ and\ x = 2.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a staircase where you walk flat for a while, then suddenly jump up one step. The greatest integer function \( f(x) = [x] \) is exactly like that staircase. At every whole number, the graph makes a sudden jump instead of flowing smoothly. For a function to be differentiable, its graph must be perfectly smooth with no sudden jumps or sharp corners. Because there are jumps at \( x = 1 \) and \( x = 2 \), the function cannot have a well-defined slope there, so it is not differentiable at those points.

Answer: Since the left-hand and right-hand derivatives are not equal at \( x = 1 \) and at \( x = 2 \) (the LHD is not finite while the RHD is \( 0 \) at each point), the greatest integer function \( f(x) = [x] \) is not differentiable at \( x = 1 \) and \( x = 2 \).

📖 Non-Differentiability of the Greatest Integer Function at x = 1 and x = 2

Detailed Explanation

The greatest integer function \( f(x) = [x] \) gives the greatest integer less than or equal to \( x \). On the interval \( 0 < x < 3 \), it takes the value \( 0 \) for \( 0 < x < 1 \), the value \( 1 \) for \( 1 \le x < 2 \), and the value \( 2 \) for \( 2 \le x < 3 \). So the graph is made of flat horizontal steps that suddenly jump up by \( 1 \) at each integer. A function is differentiable at a point only if the left-hand derivative (LHD) and the right-hand derivative (RHD) both exist and are equal there. At an integer, the function is discontinuous (it jumps), and a function that is not continuous at a point can never be differentiable there. We confirm this by computing the LHD and RHD directly and showing they are not equal.

Formula Used

Left-hand derivative: \( \text{LHD} = \lim_{h \to 0^-} \dfrac{f(a+h) - f(a)}{h} \). Right-hand derivative: \( \text{RHD} = \lim_{h \to 0^+} \dfrac{f(a+h) - f(a)}{h} \). The function is differentiable at \( x = a \) only if \( \text{LHD} = \text{RHD} \).

Solution

  1. Step 1: Write the values of the greatest integer function on the given interval. For \( 0 < x < 1 \), \( f(x) = 0 \). For \( 1 \le x < 2 \), \( f(x) = 1 \). For \( 2 \le x < 3 \), \( f(x) = 2 \). In particular \( f(1) = 1 \) and \( f(2) = 2 \).
  2. Step 2: Check differentiability at \( x = 1 \). We compute the left-hand derivative. When \( h \to 0^- \), the value \( 1 + h \) is slightly less than \( 1 \), so \( f(1+h) = 0 \). Then \[ \text{LHD} = \lim_{h \to 0^-} \frac{f(1+h) - f(1)}{h} = \lim_{h \to 0^-} \frac{0 - 1}{h} = \lim_{h \to 0^-} \frac{-1}{h}. \] Since \( h \) is a small negative number, \( \dfrac{-1}{h} \to +\infty \), so the LHD does not exist (it is not finite).
  3. Step 3: Now compute the right-hand derivative at \( x = 1 \). When \( h \to 0^+ \), the value \( 1 + h \) is slightly more than \( 1 \), so \( f(1+h) = 1 \). Then \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(1+h) - f(1)}{h} = \lim_{h \to 0^+} \frac{1 - 1}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0. \] So the RHD equals \( 0 \).
  4. Step 4: Compare the two one-sided derivatives at \( x = 1 \). The LHD is not finite while the RHD is \( 0 \). Since \( \text{LHD} \ne \text{RHD} \), the derivative does not exist. Hence \( f \) is not differentiable at \( x = 1 \).
  5. Step 5: Check differentiability at \( x = 2 \). For the left-hand derivative, when \( h \to 0^- \), \( 2 + h \) lies in \( (1, 2) \), so \( f(2+h) = 1 \). Then \[ \text{LHD} = \lim_{h \to 0^-} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^-} \frac{1 - 2}{h} = \lim_{h \to 0^-} \frac{-1}{h}. \] With \( h \) a small negative number, \( \dfrac{-1}{h} \to +\infty \), so the LHD does not exist.
  6. Step 6: For the right-hand derivative at \( x = 2 \), when \( h \to 0^+ \), \( 2 + h \) lies in \( (2, 3) \), so \( f(2+h) = 2 \). Then \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^+} \frac{2 - 2}{h} = 0. \] Again the two one-sided derivatives disagree, so \( \text{LHD} \ne \text{RHD} \), and \( f \) is not differentiable at \( x = 2 \).

Final Answer

Since the left-hand and right-hand derivatives are not equal at \( x = 1 \) and at \( x = 2 \) (the LHD is not finite while the RHD is \( 0 \) at each point), the greatest integer function \( f(x) = [x] \) is not differentiable at \( x = 1 \) and \( x = 2 \).

Common Mistake

A common mistake is to say the derivative is \( 0 \) everywhere because the graph looks flat. Students forget that at each integer the function jumps, so it is discontinuous there; a function that is discontinuous at a point can never be differentiable at that point, and this must be shown with the one-sided derivatives.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the piecewise values of \( f(x) = [x] \) on \( (0, 3) \): The greatest integer function assigns to each \( x \) the largest integer not exceeding \( x \). On the interval \( (0, 3) \) this gives: \[ f(x) = \begin{cases} 0 & 0 < x < 1 \\ 1 & 1 \le x < 2 \\ 2 & 2 \le x < 3 \end{cases} \] In particular, \( f(1) = 1 \) and \( f(2) = 2 \). — Reason: Writing out the piecewise definition lets us substitute the correct value of \( f \) in each one-sided limit.
  2. Step 2: Compute the LHD of \( f \) at \( x = 1 \): When \( h \to 0^- \), the point \( 1 + h \) lies just below \( 1 \), so \( f(1 + h) = 0 \). Substituting into the LHD formula: \[ \text{LHD} = \lim_{h \to 0^-} \frac{f(1+h) - f(1)}{h} = \lim_{h \to 0^-} \frac{0 - 1}{h} = \lim_{h \to 0^-} \frac{-1}{h} \] As \( h \to 0^- \), \( h \) is a small negative number, so \( \frac{-1}{h} \to +\infty \). Hence the LHD at \( x = 1 \) is not finite. — Reason: The function drops by 1 just to the left of \( x = 1 \), making the difference quotient blow up.
  3. Step 3: Compute the RHD of \( f \) at \( x = 1 \): When \( h \to 0^+ \), the point \( 1 + h \) lies just above \( 1 \), so \( f(1 + h) = 1 \). Substituting: \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(1+h) - f(1)}{h} = \lim_{h \to 0^+} \frac{1 - 1}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0 \] So the RHD at \( x = 1 \) equals \( 0 \). — Reason: Immediately to the right of \( x = 1 \) the function stays flat at \( 1 \), giving a zero difference quotient.
  4. Step 4: Compare LHD and RHD at \( x = 1 \) and state the conclusion: We found LHD \( = +\infty \) (not finite) and RHD \( = 0 \). Since \( \text{LHD} \ne \text{RHD} \), the function is not differentiable at \( x = 1 \). — Reason: Differentiability requires both one-sided derivatives to be finite and equal; here they are neither equal nor both finite.
  5. Step 5: Compute the LHD of \( f \) at \( x = 2 \): When \( h \to 0^- \), the point \( 2 + h \) lies just below \( 2 \), so \( f(2 + h) = 1 \). Using \( f(2) = 2 \): \[ \text{LHD} = \lim_{h \to 0^-} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^-} \frac{1 - 2}{h} = \lim_{h \to 0^-} \frac{-1}{h} \] As \( h \to 0^- \), \( \frac{-1}{h} \to +\infty \). So the LHD at \( x = 2 \) is not finite. — Reason: The same jump-by-1 behaviour occurs at every integer, so the left-side difference quotient diverges here too.
  6. Step 6: Compute the RHD of \( f \) at \( x = 2 \): When \( h \to 0^+ \), the point \( 2 + h \) lies just above \( 2 \), so \( f(2 + h) = 2 \). Substituting: \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^+} \frac{2 - 2}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0 \] So the RHD at \( x = 2 \) equals \( 0 \). — Reason: To the right of \( x = 2 \) the function is again flat, producing a zero slope from the right.
  7. Step 7: Compare LHD and RHD at \( x = 2 \) and state the final conclusion: At \( x = 2 \): LHD \( = +\infty \) (not finite) and RHD \( = 0 \). Since \( \text{LHD} \ne \text{RHD} \), the function is not differentiable at \( x = 2 \) either. Both integer points \( x = 1 \) and \( x = 2 \) inside the interval \( (0, 3) \) fail the differentiability test for exactly the same reason. — Reason: Confirming the same pattern at \( x = 2 \) completes the proof for all integer points in the given interval.

Final Answer

Since the left-hand and right-hand derivatives are not equal at \( x = 1 \) and at \( x = 2 \) (the LHD is not finite while the RHD is \( 0 \) at each point), the greatest integer function \( f(x) = [x] \) is not differentiable at \( x = 1 \) and \( x = 2 \).

Common Mistake

One common mistake: Students sometimes only check whether the function value is defined at the integer point (it is — \( f(1) = 1 \) and \( f(2) = 2 \)) and conclude the function is differentiable there. Existence of \( f(a) \) guarantees neither continuity nor differentiability; you must separately verify that LHD and RHD are finite and equal.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Values on the interval: \[f(x) = \begin{cases} 0 & 0 < x < 1 \\ 1 & 1 \le x < 2 \\ 2 & 2 \le x < 3 \end{cases}\] so \( f(1) = 1 \) and \( f(2) = 2 \).
  2. Step 2: Derivatives at \( x = 1 \): LHD: \( \lim_{h \to 0^-} \dfrac{f(1+h) - f(1)}{h} = \lim_{h \to 0^-} \dfrac{0 - 1}{h} = \lim_{h \to 0^-} \dfrac{-1}{h} \), which is not finite. RHD: \( \lim_{h \to 0^+} \dfrac{f(1+h) - f(1)}{h} = \lim_{h \to 0^+} \dfrac{1 - 1}{h} = 0 \). Since LHD \( \ne \) RHD, \( f \) is not differentiable at \( x = 1 \).
  3. Step 3: Derivatives at \( x = 2 \): LHD: \( \lim_{h \to 0^-} \dfrac{f(2+h) - f(2)}{h} = \lim_{h \to 0^-} \dfrac{1 - 2}{h} = \lim_{h \to 0^-} \dfrac{-1}{h} \), which is not finite. RHD: \( \lim_{h \to 0^+} \dfrac{f(2+h) - f(2)}{h} = \lim_{h \to 0^+} \dfrac{2 - 2}{h} = 0 \). Since LHD \( \ne \) RHD, \( f \) is not differentiable at \( x = 2 \).

Answer: Since the left-hand and right-hand derivatives are not equal at \( x = 1 \) and at \( x = 2 \) (the LHD is not finite while the RHD is \( 0 \) at each point), the greatest integer function \( f(x) = [x] \) is not differentiable at \( x = 1 \) and \( x = 2 \).

➕ More Examples

More Examples

Example 1

Question: Prove that the greatest integer function defined by \( f(x) = [x] \), for \( 1 < x < 4 \), is not differentiable at \( x = 2 \) and \( x = 3 \).

Solution: We use the definition of the derivative to compute the left-hand derivative (LHD) and right-hand derivative (RHD) at each point. Recall that for the greatest integer function, \( [x] \) equals the greatest integer less than or equal to \( x \). Proof of non-differentiability at x = 2: We need to find \( f(2) \) first. Since \( 2 \) is an integer, \( f(2) = [2] = 2 \). Right-Hand Derivative (RHD) at x = 2: For small \( h > 0 \), we have \( 2 < 2 + h < 3 \), so \( [2+h] = 2 \). \[ f'(2^+) = \lim_{h \to 0^+} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^+} \frac{[2+h] - [2]}{h} = \lim_{h \to 0^+} \frac{2 - 2}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0 \] Left-Hand Derivative (LHD) at x = 2: For small \( h > 0 \), we have \( 1 < 2 - h < 2 \), so \( [2-h] = 1 \). \[ f'(2^-) = \lim_{h \to 0^+} \frac{f(2-h) - f(2)}{-h} = \lim_{h \to 0^+} \frac{[2-h] - [2]}{-h} = \lim_{h \to 0^+} \frac{1 - 2}{-h} = \lim_{h \to 0^+} \frac{-1}{-h} = \lim_{h \to 0^+} \frac{1}{h} \] This limit is \( +\infty \), which is not finite. Since \( f'(2^-) \) does not exist as a finite value and \( f'(2^+) = 0 \), the LHD and RHD are not equal. Therefore, \( f(x) = [x] \) is not differentiable at \( x = 2 \). Proof of non-differentiability at x = 3: We have \( f(3) = [3] = 3 \). Right-Hand Derivative (RHD) at x = 3: For small \( h > 0 \), we have \( 3 < 3 + h < 4 \), so \( [3+h] = 3 \). \[ f'(3^+) = \lim_{h \to 0^+} \frac{f(3+h) - f(3)}{h} = \lim_{h \to 0^+} \frac{[3+h] - [3]}{h} = \lim_{h \to 0^+} \frac{3 - 3}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0 \] Left-Hand Derivative (LHD) at x = 3: For small \( h > 0 \), we have \( 2 < 3 - h < 3 \), so \( [3-h] = 2 \). \[ f'(3^-) = \lim_{h \to 0^+} \frac{f(3-h) - f(3)}{-h} = \lim_{h \to 0^+} \frac{[3-h] - [3]}{-h} = \lim_{h \to 0^+} \frac{2 - 3}{-h} = \lim_{h \to 0^+} \frac{-1}{-h} = \lim_{h \to 0^+} \frac{1}{h} \] This limit is \( +\infty \), which is not finite. Since \( f'(3^-) \) is not finite and \( f'(3^+) = 0 \), the LHD and RHD are not equal. Therefore, \( f(x) = [x] \) is not differentiable at \( x = 3 \).

Answer: The greatest integer function \( f(x) = [x] \) is not differentiable at \( x = 2 \) and \( x = 3 \) because at each of these integer points, the left-hand derivative is \( +\infty \) while the right-hand derivative is \( 0 \), so they are unequal.

Example 2

Question: A function is defined by \( g(x) = [x - 1] \) for \( 1 < x < 3 \). Prove that \( g \) is not differentiable at \( x = 2 \).

Solution: We use the left-hand and right-hand derivative definitions to test differentiability at \( x = 2 \). Step 1: Find g(2). At \( x = 2 \): \( g(2) = [2 - 1] = [1] = 1 \). Step 2: Identify the behavior of \( g(x) \) near \( x = 2 \). For \( 1 < x < 2 \): \( x - 1 \) lies in \( (0, 1) \), so \( [x-1] = 0 \). Thus \( g(x) = 0 \) for \( 1 < x < 2 \). For \( 2 < x < 3 \): \( x - 1 \) lies in \( (1, 2) \), so \( [x-1] = 1 \). Thus \( g(x) = 1 \) for \( 2 < x < 3 \). Step 3: Compute the Right-Hand Derivative at x = 2. For small \( h > 0 \), we have \( 2 < 2+h < 3 \), so \( g(2+h) = [2+h-1] = [1+h] = 1 \). \[ g'(2^+) = \lim_{h \to 0^+} \frac{g(2+h) - g(2)}{h} = \lim_{h \to 0^+} \frac{1 - 1}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0 \] Step 4: Compute the Left-Hand Derivative at x = 2. For small \( h > 0 \), we have \( 1 < 2-h < 2 \), so \( g(2-h) = [2-h-1] = [1-h] = 0 \). \[ g'(2^-) = \lim_{h \to 0^+} \frac{g(2-h) - g(2)}{-h} = \lim_{h \to 0^+} \frac{0 - 1}{-h} = \lim_{h \to 0^+} \frac{-1}{-h} = \lim_{h \to 0^+} \frac{1}{h} \] This limit tends to \( +\infty \), which is not a finite number. Step 5: Compare LHD and RHD. We have \( g'(2^+) = 0 \) but \( g'(2^-) \) is not finite (it is \( +\infty \)). Since the left-hand derivative and right-hand derivative are not equal (and the LHD does not even exist as a finite value), the function \( g(x) = [x-1] \) is not differentiable at \( x = 2 \).

Answer: The function \( g(x) = [x-1] \) is not differentiable at \( x = 2 \) because its left-hand derivative is \( +\infty \) and its right-hand derivative is \( 0 \); since these are not equal, differentiability fails at \( x = 2 \).

🎯 Try a Similar Question

Try a Similar Question

Question: Prove that the greatest integer function defined by \( f(x) = [x] \), for \( 0 < x < 4 \), is not differentiable at \( x = 2 \) and \( x = 3 \).

Solution

  1. Step 1: Recall the definition of the greatest integer function: The greatest integer function \( f(x) = [x] \) gives the largest integer less than or equal to \( x \). On the interval \( (0, 4) \), we have: \[ f(x) = \begin{cases} 0 & 0 < x < 1 \\ 1 & 1 \le x < 2 \\ 2 & 2 \le x < 3 \\ 3 & 3 \le x < 4 \end{cases} \]
  2. Step 2: Check differentiability at x = 2 — Compute RHD: The right-hand derivative at \( x = 2 \) is: \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(2 + h) - f(2)}{h} \] For small \( h > 0 \), we have \( 2 < 2 + h < 3 \), so \( f(2 + h) = 2 \). Also, \( f(2) = 2 \). \[ \text{RHD} = \lim_{h \to 0^+} \frac{2 - 2}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0 \]
  3. Step 3: Check differentiability at x = 2 — Compute LHD: The left-hand derivative at \( x = 2 \) is: \[ \text{LHD} = \lim_{h \to 0^+} \frac{f(2 - h) - f(2)}{-h} \] For small \( h > 0 \), we have \( 1 < 2 - h < 2 \), so \( f(2 - h) = 1 \). Also, \( f(2) = 2 \). \[ \text{LHD} = \lim_{h \to 0^+} \frac{1 - 2}{-h} = \lim_{h \to 0^+} \frac{-1}{-h} = \lim_{h \to 0^+} \frac{1}{h} = +\infty \]
  4. Step 4: Conclusion at x = 2: Since the LHD at \( x = 2 \) is \( +\infty \) (not finite) while the RHD at \( x = 2 \) is \( 0 \), we have LHD \( \ne \) RHD. Therefore, \( f(x) = [x] \) is not differentiable at \( x = 2 \).
  5. Step 5: Check differentiability at x = 3 — Compute RHD: The right-hand derivative at \( x = 3 \) is: \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(3 + h) - f(3)}{h} \] For small \( h > 0 \), we have \( 3 < 3 + h < 4 \), so \( f(3 + h) = 3 \). Also, \( f(3) = 3 \). \[ \text{RHD} = \lim_{h \to 0^+} \frac{3 - 3}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0 \]
  6. Step 6: Check differentiability at x = 3 — Compute LHD: The left-hand derivative at \( x = 3 \) is: \[ \text{LHD} = \lim_{h \to 0^+} \frac{f(3 - h) - f(3)}{-h} \] For small \( h > 0 \), we have \( 2 < 3 - h < 3 \), so \( f(3 - h) = 2 \). Also, \( f(3) = 3 \). \[ \text{LHD} = \lim_{h \to 0^+} \frac{2 - 3}{-h} = \lim_{h \to 0^+} \frac{-1}{-h} = \lim_{h \to 0^+} \frac{1}{h} = +\infty \]
  7. Step 7: Conclusion at x = 3: Since the LHD at \( x = 3 \) is \( +\infty \) (not finite) while the RHD at \( x = 3 \) is \( 0 \), we have LHD \( \ne \) RHD. Therefore, \( f(x) = [x] \) is not differentiable at \( x = 3 \).

Answer: Since at both \( x = 2 \) and \( x = 3 \), the left-hand derivative is \( +\infty \) (does not exist as a finite value) while the right-hand derivative is \( 0 \), the LHD and RHD are unequal at each of these points. Hence, the greatest integer function \( f(x) = [x] \), defined on \( (0, 4) \), is not differentiable at \( x = 2 \) and \( x = 3 \).

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24