Example 15: The greatest integer function breaks at every integer
Find all the points of discontinuity of the greatest integer function defined by , where denotes the greatest integer less than or equal to .
is defined for every real .
Case 1: is not an integer. Then is constant near , so
So is continuous at every that is not an integer.
Case 2: is an integer. Then and
Since , is not continuous at .
The points of discontinuity of are all the integers.
Want the reason behind every step, the basics and the checks?
is constant on each interval : it equals there. A point that is not an integer sits strictly inside one of these intervals, so is constant near it and therefore continuous there. At an integer , the interval just to the left gives the value and the interval starting at gives . The graph steps up by 1, so the one-sided limits differ: every integer is a point of discontinuity, and nothing else is.
- Given
- , the greatest integer less than or equal to .
- To find
- All points of discontinuity of .
- Plan
- Understand as a step function and find its domain. Case 1: not an integer (show continuity). Case 2: an integer (compute , the left-hand limit and the right-hand limit separately).
Basics you need
For each real there is exactly one integer with , and . So , , and (the integer just below, not the one nearer zero). Basics: piecewise functions
If for all in some open interval around , then : a limit at depends only on the values at inputs near , and there agrees with the constant function , whose limit is (Example 5). The same holds for one-sided limits on a one-sided interval. Basics: what a limit is
The left-hand limit at uses inputs , the right-hand limit inputs ; the limit exists only if they agree. Basics: left-hand and right-hand limits
For in the domain, is continuous at when the left-hand limit, the right-hand limit and are equal. Lesson: continuity at a point
Solution
Domain and the step shape
Every real number lies in exactly one interval with an integer, so is defined for every real : the domain is . On each such interval the function is constant:
For example on , on , and on .
The graph of for , same scale on both axes (compare Fig 5.8). Each step at height starts with a filled dot at , which is on the graph, and ends with an open dot at , which is not. Writing as "the constant on " turns it into a piecewise function with infinitely many pieces. Then continuity can be studied exactly like the piecewise examples before: inside the pieces and at the junctions, which here are the integers.The left end belongs to the step (), the right end does not (). That is why each step has a filled dot on the left and an open dot on the right. Basics: piecewise functionsCase 1: is not an integer
Let . Because is not an integer, , so with strict inequalities. Let be the smaller of the two gaps:
Every with satisfies , so . Thus is constant near , and
So is continuous at every real number that is not an integer.
The book says this is "evident from the graph": near a non-integer, the graph is a flat piece of one step. The makes that precise. For : , the gaps are and , , and every in has .A function that is constant on an interval around has that constant as its limit at (Basic 2). Basics: what a limit isCase 2: is an integer, the value
If is an integer, the greatest integer is itself:
, and no larger integer is . In the graph this is the filled dot at the left end of the step at height .Case 2: the left-hand limit at an integer
For we have (the step at height ). So for every in the interval just to the left of , , and
Inputs approaching from the left, like , , , all lie on the step below. The book phrases this as: for a sufficiently small , . In fact any with works.Case 2: the right-hand limit at an integer
For we have . So for every in , , and
Inputs just to the right of lie on the step that starts at . In the book's words, for small (any works).Case 2: compare
Since for every , the two one-sided limits never agree, does not exist, and is discontinuous at every integer.
The two one-sided limits always differ by exactly 1, the height of each step. Notice that the right-hand limit does equal : the graph is "continuous from the right" at each integer (the filled dot sits on the right-hand step). That is not enough, because Definition 1 needs the left-hand limit as well.Conclusion
Every real number is either a non-integer (Case 1, continuous) or an integer (Case 2, discontinuous). Hence the points of discontinuity of are exactly the integers, , that is, the set .
The two cases cover all of , so the list is complete: no integer is missed, and no non-integer is a point of discontinuity.
is continuous at every real number that is not an integer. At every integer , and differ, so the points of discontinuity are all the integers. This agrees with the textbook's solution.
At the integer : , , . Left values stay at 1, right values at 2. At the negative integer : , , . At the non-integer : , no change at all.
- Rounding towards zero for negatives. , not : the greatest integer less than or equal to is .
- Using for the left-hand limit. Just left of an integer the value is , not .
- Listing only positive integers. The argument in Case 2 works for every integer , including 0 and the negative integers.
- Deciding from and one side only. The right-hand limit equals , but continuity also needs the left-hand limit to agree.
- is a piecewise constant function with a junction at every integer; it is continuous inside each step and jumps by 1 at every integer.
- Near a non-integer , choose smaller than the distance to the nearest integer; then is constant near .
- The same reasoning shows is discontinuous at every integer (Exercise 5.1 Q19).
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| for , an integer | Steps 1–5 | Definition of the greatest integer function, Class XI (Basics: piecewise functions) |
| A function constant near has that constant as limit | Steps 2, 4, 5 | Example 5, Section 5.2 (Basics: limits) |
| Limit exists iff both one-sided limits exist and agree | Step 6 | Section 5.2, after Definition 1 (Basics: one-sided limits) |
| Continuity at a point; point of discontinuity | Steps 2, 6, 7 | Definition 1, Section 5.2 (Lesson: continuity at a point) |
| Graph of | Step 1 | Fig 5.8, Section 5.2 |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →