Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 4938

One-Sided Limits

Our topic of discussion in this section is one-sided limits, which builds upon the preceding lesson on continuity. Create a new worksheet called '03-One-Sided Limits'. The basis of one-sided limits is that when a function jumps suddenly from one value to another, it often is not possible to describe the function's behavior with a single limit. What we can do, though, is to describe the function's behavior from the right and from the left using two limits. Consider the following function and graph:

f(x)={x2+60x<2x12x4f(x)= \begin{cases} -x^2+6 & 0\leq x\lt 2 \\ x-1 & 2 \leq x \leq 4 \end{cases}

p1 = plot(-x^2+6, x, 0, 2) # Create a plot for -x^2+6 from 0 to 2 p2 = plot(x-1, x, 2, 4) # Create a plot for x-1 from 2 to 4 pt1 = point((0, 6), rgbcolor='black', pointsize=30) # Create closed point at (0,6) for endpoint pt2 = point((2, 2), rgbcolor='white', pointsize=30, faceted=True) # Create open point at (2,2) for endpoint pt3 = point((2, 1), rgbcolor='black', pointsize=30) # Create closed point at (2,1) for endpoint pt4 = point((4, 3), rgbcolor='black', pointsize=30) # Create closed point at (4,3) for endpoint (p1+p2+pt1+pt2+pt3+pt4).show(xmin=0, xmax=4, ymin=0, ymax=6, svg=False) # Show combined plot of all plots and points within the given boundaries

The above function has a discontinuity at x=2x=2, and since the two pieces of the function approach different values:

limx2f(x)\underset{x\to2}{\rm{lim}}f(x) is undefined

You probably see where this is going. What we can say that the limit of f(x)f(x) as xx approaches 22 from the left is 22, and the limit of f(x)f(x) as xx approaches 22 from the right is 11. If you were to write this, it would look like:

limx2f(x)=2\underset{x\to2^-}{\rm{lim}}f(x)=2 and limx2+f(x)=1\underset{x\to2^+}{\rm{lim}}f(x)=1

The minus sign indicates "from the left", and the plus sign indicates "from the right". Since the limit of f(x)f(x) as xx approaches 22 from the right is equal to f(2)f(2), f(x)f(x) is said to be continuous from the right at 22. The limit of f(x)f(x) as xx approaches 22 from the left does not equal f(2)f(2), however, so f(x)f(x) is not continuous from the left at 22.

One-sided limits are usually fairly straightforward. However, be aware that when a function approaches a vertical asymptote, such as at x=0x=0 in the following graph, you would describe the limit of the function as approaching -\infty or \infty, depending on the case. A vertical asymptote is an x-value of a function at which one or both sides approach infinity or negative infinity.

plot(1/x, x, -6, 6, randomize=False,ymin=-5, ymax=5, xmin=-5, xmax=5) + text('f(x) = 1/x', (2,2)) # Plot 1/x from -6 to 6. randomize=False produces a more consistent result when this particular function is plotted.

Here, we would say that the limit of f(x)f(x) as xx approaches zero from the left is negative infinity and that the limit of f(x)f(x) as xx approaches zero from the right is infinity. The limit of f(x)f(x) as xx approaches zero is undefined, since both sides approach different values. Visually,

limx0f(x)=\underset{x\to0^-}{\rm{lim}}f(x)=-\infty, limx0+f(x)=\underset{x\to0^+}{\rm{lim}}f(x)=\infty, and limx0f(x)\underset{x\to0}{\rm{lim}}f(x) is undefined.

Practice Problems

Refer to the following graph of f. (a) At which points is f discontinuous? (b) For each of these points, determine whether f(x) is continuous from the right, from the left, or neither. (c) Classify any points of discontinuity as either removable or nonremovable.

To view answers, select this cell and paste it into your own sagews, and then double click on it

[Previous: Continuity](Continuity.sagews) | [To Main](Introduction.sagews) | [Next: Limits at Infinity](Limits_at_Infinity.sagews)
︠a8f75dba-7ef2-4e5c-a191-1686fbc4c084︠