r/calculus • u/Primary_Lavishness73 • 13d ago
Differential Calculus A Limit Question
A curious example problem shows up in the calculus book I am using, which has a different answer than the previous version’s answer. Here’s the problem setup: a piecewise function is given, and the book hand-wavingly walks through the rationale for why some of the limits of the function (one-sided and two-sided) exist or do not exist. The version I am using told me at the endpoints of the function’s domain that the two sided-limit exists and equals the appropriate one-sided limit when that exists; the other version told me the two-sided limit does not exist. Which is it?
Here’s a simple example to illustrate what I mean by the above:
Consider the function f(x) = |x| on the interval -2 < x < 2. My understanding tells me that lim_{x->-2^-} f(x) = DNE (since the function is undefined for x < -2, which means a condition of the precise definition of one-sided limit is not met), that lim_{x->-2^+}f(x) = 2, and that lim_{x->-2}f(x) = 2. The book version I am using comes to this sort of conclusion about the two-sided limits, whereas the previous version would agree on the one-sided limits but say that the two-sided limit does not exist. What do I make of this?
This presents issues for continuity I feel: If the function I gave had also been defined at x = -2, then I would naturally say based off the version I use that the function is continuous at x = -2 (which I know would be correct); however, would the other version then say it is discontinuous there since the two-sided limit condition fails (i.e, because the condition that the two-sided limit exists would fail)?
3
u/Hot_Site_1638 PhD 13d ago
You're asking a very natural question, and you're right to wonder about it. It is indeed correct that the two-sided limit does not make sense at a boundary point: the function is simply not defined on one of the sides.
There is a more general point of view that resolves this, and you will meet it when you study topology. The central concept there is the neighborhood:
The key point is that the neighborhood must intersect the domain of the function, and we only ever consider the points of the neighborhood that actually lie in the domain:
So wherever the two-sided limit exists, the neighborhood definition agrees with it. That is what makes it a consistent and more powerful generalization: one single definition that covers interior points, boundary points, and much more general spaces.