Classifying the discontinuity of a step-priced cost function at t = 2
A downtown parking garage charges $4 for each hour or partial hour of parking, with the fee rounded up to the next whole hour. If is the number of hours a car has been parked (with ), the cost function is where denotes the ceiling function (rounding up to the nearest integer, so and ).
Consider the parking cost function described above, which gives the total charge (in dollars) for parking hours. Investigate the behavior of as from the left and from the right, and use this to classify the discontinuity of at . In your answer, state whether the discontinuity is removable, jump, or infinite, and justify your classification by comparing and .
Hint
Recall that rounds up to the nearest integer. For slightly less than 2 (like ), what does equal? For slightly more than 2 (like )? Compare these two one-sided results to decide which type of discontinuity occurs.
Step-by-step solution
For slightly less than 2, such as , we have , so . This holds for all in , so . For slightly greater than 2, such as , we have , so , and this holds for all in , giving .
Since the left-hand limit () and right-hand limit () both exist but are not equal, does not exist, even though both one-sided limits are finite. This is precisely the signature of a jump discontinuity: the function value 'jumps' from 8 to 12 as passes through 2, matching the visible vertical jump in the step graph at .
Related problems
Practice similar Calculus problems interactively.
Start Closing the Gap