Maths doubt, JEE

Why is the greatest integer function discontinuous at integers? Is it one-one or onto?

Answer: At an integer the left-hand limit of is and the right-hand limit is . They are unequal, so has a jump of 1 at every integer. Between integers it is constant and continuous.

By Sunil Kumar. Updated 26 November 2026.

Why

Just below 3, say 2.99, ; at 3 and just above it, .

As a function from to it is not one-one, because , and not onto, because it never takes a non-integer value.

It is neither even nor odd: while .

It is not differentiable at integers; elsewhere its derivative is 0.

The modulus function is different: is continuous everywhere, and only its derivative jumps at 0.

Exam tip

For , check continuity at the points where is an integer. The least integer function (ceiling) rounds up instead: it is for a non-integer .

Previous year questions on this

More maths doubts