Skip to content
Exercise 5.1 · Q19

Q.Show that the function defined by g(x)=x−[x]g(x) = x - [x] is discontinuous at all integral points. Here [x][x] denotes the greatest integer less than or equal to xx.

Puducherry CbseNCERTSubjective· 3mImportance★★★★★
Appeared in past exams:WBJEE 2025· Set math-2025· 1mreworded
7% · 19/281 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 function g(x)=x−[x]g(x) = x - [x] is the fractional part of xx, which jumps from 11 back to 00 at every integer. Because the left-hand limit and right-hand limit at any integer nn are different (and the function value equals the right-hand limit), the limit does not exist — so gg is discontinuous at every integer.


The core idea: what g(x)g(x) really is

The greatest integer function [x][x] returns the largest integer not exceeding xx. So g(x)=x−[x]g(x) = x - [x] gives the fractional part of xx — the distance from xx down to the nearest integer below it.

For example:

  • At x=2.3x = 2.3, [2.3]=2[2.3] = 2, so g(2.3)=0.3g(2.3) = 0.3.
  • At x=5x = 5, [5]=5[5] = 5, so g(5)=0g(5) = 0.
  • At x=−1.2x = -1.2, [−1.2]=−2[-1.2] = -2, so g(−1.2)=0.8g(-1.2) = 0.8.

The graph of gg is a “sawtooth”: it rises linearly from 00 to just below 11 on each interval [n,n+1)[n, n+1), then drops sharply back to 00 at the next integer. That drop is the discontinuity.


Step-by-step reasoning

1. Pick an arbitrary integer nn.

We need to check continuity at x=nx = n. The definition of continuity requires:

lim⁡x→ng(x)=g(n)\lim_{x \to n} g(x) = g(n)

If the two-sided limit does not exist (or exists but doesn’t match g(n)g(n)), then gg is discontinuous at nn.

2. Compute g(n)g(n) directly.

Since [n]=n[n] = n,

g(n)=n−n=0g(n) = n - n = 0

3. Find the right-hand limit as x→n+x \to n^+.

For xx just greater than nn, say x=n+hx = n + h with h>0h > 0 small, the greatest integer less than or equal to xx is still nn (because xx hasn’t reached n+1n+1 yet). So [x]=n[x] = n, and

g(x)=(n+h)−n=hg(x) = (n + h) - n = h

As h→0+h \to 0^+, g(x)→0g(x) \to 0. Hence

lim⁡x→n+g(x)=0\lim_{x \to n^+} g(x) = 0

4. Find the left-hand limit as x→n−x \to n^-.

For xx just less than nn, say x=n−hx = n - h with h>0h > 0 small, the greatest integer less than or equal to xx is n−1n-1 (because xx is between n−1n-1 and nn). So [x]=n−1[x] = n-1, and

g(x)=(n−h)−(n−1)=1−hg(x) = (n - h) - (n - 1) = 1 - h

As h→0+h \to 0^+, g(x)→1g(x) \to 1. Hence

lim⁡x→n−g(x)=1\lim_{x \to n^-} g(x) = 1 …

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.