Exercise 5.2 · Q10: on is not differentiable at and
Prove that the greatest integer function defined by
is not differentiable at and .
Here , .
At : . For , ; for , .
As , , so the LHD does not exist. So is not differentiable at .
At : . For , ; for , .
As , , so the LHD does not exist.
So is not differentiable at . Thus is not differentiable at and . Hence proved.
Want the reason behind every step, the basics and the checks?
The graph of is a staircase: flat steps with a jump of height 1 at each integer. Just to the right of an integer the step is flat, so the chord slopes are . Just to the left, the chord from the point on the higher step down to the lower step has to drop by over a tiny horizontal distance, so its slope blows up. A difference quotient that grows without bound has no finite limit, so there is no derivative.
- Given
- , the greatest integer , on the interval .
- To show
- is not differentiable at and at .
- Plan
- Write step by step. At : compute the right-hand and left-hand limits of separately and show that the left-hand one is not finite. Repeat at . Then give a second proof through Theorem 3 (differentiable implies continuous).
Basics you need
is the greatest integer less than or equal to : , , , . It is constant between consecutive integers and jumps up by at each integer. Basics: piecewise functions
is differentiable at if both and of are finite and equal (Section 5.3). Lesson: differentiability
uses only negative ; only positive . Basics: left-hand and right-hand limits
If is differentiable at , then is continuous at . Equivalently: if is not continuous at , it is not differentiable at . Lesson: differentiability
Solution
Write step by step on
Both and are in the domain, with and .
Differentiability is only asked at points of the domain, so we first confirm that and belong to . Each integer belongs to the step that starts at it, because , not .At : right-hand derivative
Take . Then , so and
Hence .
To the right of we stay on the flat step at height , and is also , so every chord is horizontal. Restricting to keeps on that step (and inside the domain); only small matter for the limit anyway.At : left-hand difference quotient
Take . Then , so and
Since , , which is positive and grows without bound as :
So is not a finite number: the left-hand derivative at does not exist.
Just left of the graph is on the lower step (height ), while is on the upper step. The chord from to rises by over a horizontal distance , so its slope is , which becomes as large as we like.Conclusion at
The definition needs both one-sided limits to be finite and equal. The left-hand one is not finite (and the right-hand one is ), so is not differentiable at .
One failed condition is enough. Even if we tried to call the left-hand value "", it would neither be finite nor equal to the right-hand value .Definition of differentiability at a point, Section 5.3. Lesson: differentiabilityAt : the same two calculations
Right. For : , so and
Left. For : , so and
which grows without bound as . The left-hand derivative at does not exist, so is not differentiable at .
The situation at is a copy of the one at , one step higher: flat to the right, a jump of to the left. Note keeps us inside the domain .A second proof, through Theorem 3
At : for just left of , ; just right, . So
and is not continuous at . Likewise while . If were differentiable at or , Theorem 3 would make it continuous there, which is false. So is not differentiable at or .
This is the contrapositive of Theorem 3: "differentiable continuous" is the same statement as "not continuous not differentiable". The book shows in Example 15 that is discontinuous at every integer; restricted to , the integers in the domain are exactly and .Theorem 3, Section 5.3; Example 15, Section 5.2. Lesson: differentiability
At and at the right-hand derivative is , but the left-hand difference quotient equals , which has no finite limit. Hence , , is not differentiable at and . (The answer key gives no answer for this proof question.)
On the left the quotient multiplies by each time shrinks by a factor of ; on the right it stays .
- "The derivative of a constant is 0, so ." is constant on each open step, not on an interval around . The derivative at must come from the difference quotient at .
- Using . ; the value at an integer comes from the step that starts there.
- Calling the left-hand derivative . With , is positive; in any case it is not finite, which is what matters.
- At a jump, the difference quotient on the side of the jump behaves like and is unbounded, so there is no derivative.
- A quick test: a function that is not continuous at a point is never differentiable there (Theorem 3).
- Compare Question 9: there the function is continuous but the two one-sided derivatives differ (a corner); here the function is not even continuous (a jump).
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| for | Steps 1, 2, 3, 5 | Definition of the greatest integer function (Class XI, Relations and Functions) |
| Differentiable at iff both one-sided limits of the difference quotient are finite and equal | Steps 2 to 5 | Section 5.3 (Lesson: differentiability) |
| is discontinuous at every integer | Step 6 | Example 15, Section 5.2 |
| Differentiable implies continuous | Step 6 | Theorem 3, Section 5.3 |
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 →