The Greatest Integer Function (GIF), denoted \( \lfloor x \rfloor \) or \( [x] \), returns the largest integer less than or equal to \( x \). JEE Main tests GIF-based limits and continuity problems in 20–25 questions over the past six years. These problems are uniquely tricky because GIF creates...
limitscontinuitygifgreatest-integer-function
Greatest Integer Function in Limits & Continuity
Introduction
The Greatest Integer Function (GIF), denoted ⌊x⌋ or [x], returns the largest integer less than or equal to x. JEE Main tests GIF-based limits and continuity problems in 20–25 questions over the past six years. These problems are uniquely tricky because GIF creates discontinuities at every integer, and left-hand and right-hand limits behave very differently. This article gives you the complete strategy.
1. Fundamental Properties
Definition
⌊x⌋=greatest integer n such that n≤x.
Examples:⌊3.7⌋=3, ⌊−1.3⌋=−2, ⌊5⌋=5.
Essential Properties
Property
Formula
Fractional part
{x}=x−⌊x⌋, where 0≤{x}<1
Integer shift
⌊x+n⌋=⌊x⌋+n for n∈Z
Negative flip
⌊−x⌋=−⌊x⌋−1 if x∈/Z; =−⌊x⌋ if x∈Z
Product bound
x−1<⌊x⌋≤x
Behaviour Near Integers
For any integer n:
limx→n−⌊x⌋=n−1,limx→n+⌊x⌋=n.
So ⌊x⌋ is right-continuous but left-discontinuous at every integer.
2. Limits Involving GIF
The Squeeze (Sandwich) Theorem Approach
Since x−1<⌊x⌋≤x, we can squeeze GIF-containing expressions:
xx−1<x⌊x⌋≤1for x>0.
As x→∞:
limx→∞x⌊x⌋=1.
Points of discontinuity: x=0 (check left—not in domain), x=1, x=21+5, x=2.
But x=0 is the left endpoint, and g passes through 0 at x=0,1. We need to check where g(x) crosses an integer:
Between x=0 and x=1, g(x) dips below 0 (minimum −1/4) so ⌊g(x)⌋ jumps between 0 and −1. Discontinuity at points where g(x)=0 in this interval — that's at x=0 and x=1.
After x=1: g(x) increases from 0 to 2. Discontinuity at g(x)=1 and g(x)=2.
Answer: 4 points of discontinuity.
Problem 3 (JEE Main 2024)
If f(x)=⌊2sinx⌋ on [0,π], at how many points is f discontinuous?
Solution:
On [0,π], sinx goes from 0 to 1 and back to 0. So 2sinx ranges from 0 to 2 and back.
Values where 2sinx equals an integer:
2sinx=0: x=0,π
2sinx=1: x=π/6,5π/6
2sinx=2: x=π/2
The function ⌊2sinx⌋ changes value at each of these (except at x=π/2 where 2sinx touches 2 from below).
At x=π/2: ⌊2sinx⌋=1 just before and after (since 2sinx<2 nearby), and ⌊2⌋=2 at x=π/2. So this is a discontinuity.
Points of discontinuity:x=π/6 (jumps from 0 to 1), x=π/2 (isolated point at 2), x=5π/6 (drops from 1 to 0).
Answer: 3.
5. Common Patterns & Quick Results
Expression
LHL at integer n
RHL at integer n
⌊x⌋
n−1
n
⌊−x⌋
−n
−(n+1)
{x}
1
0
⌊x⌋+⌊−x⌋
−1
−1
(−1)⌊x⌋
(−1)n−1
(−1)n
6. Tips for JEE Aspirants
Always compute LHL and RHL separately at integer points—GIF is discontinuous at every integer.
For ⌊f(x)⌋, find where f(x) takes integer values—these are the candidate discontinuity points.
Use the squeeze theorem for limits at infinity: x−1<⌊x⌋≤x is your best friend.
Fractional part {x}=x−⌊x⌋ simplifies many expressions. At non-integer points, this is straightforward.
Draw the staircase graph mentally. Visualizing the step function makes the problem transparent.
For composite GIF ⌊g(x)⌋, solve g(x)=n for each relevant integer n to find all discontinuity points.
7. Quick-Reference Summary
Step
Action
1
Identify if GIF applies: look for ⌊⋅⌋, [⋅], or {⋅}.
2
Find where the argument equals an integer.
3
Compute LHL and RHL at each such point.
4
Check: LHL = RHL =f(a)? If not, discontinuous.
5
For limits at infinity, use squeeze theorem.
GIF problems reward students who think carefully about one-sided limits. The function is simple, but the traps are everywhere—practice until the staircase behaviour becomes second nature.