Limits and continuity

So far, we’ve built a way to describe change: derivatives capture rates at an instant, differential equations connect changing quantities, and integrals accumulate their effects. Infinitesimals have helped us develop this picture and calculate with it. Now we’ll return to the ideas underneath these tools and ask how the behavior of a function near an input can help us understand what happens at that input.
We’ve used infinitesimal changes to understand rates and accumulation, but pinning down what “infinitely small” means can be difficult. Limits let us investigate these ideas through ordinary real numbers whose values move toward a target. Tables and moving points help us follow the outputs, while continuity connects their approaching behavior with the function’s value at the input itself.
By the end of this lesson, you should be able to:
- Interpret two-sided and one-sided limits and limits at infinity numerically and graphically, including what it means to approach a value arbitrarily closely.
- Distinguish a limit from an assigned function value and use their agreement to analyze continuity.
- Recognize removable, jump, oscillating, and infinite discontinuities, including vertical asymptotes.
Is it really impossible to divide by zero? You’ve probably been told to leave expressions like \( \displaystyle \frac10 \) undefined, and a calculator will usually return an error. We can investigate why this happens and what we can learn by approaching zero through nearby inputs.
The traditional argument goes like this: if \( \displaystyle \frac10=x \), then multiplying by \( 0 \) would give \( x\cdot0=1 \). But multiplying any real number by \( 0 \) gives .
Since multiplying any real number by zero gives zero, the equation \( x\cdot0=1 \) has no real solution. This explains why the fraction is undefined, but it leaves us with a different question about the values around zero.
We can examine that nearby behavior by dividing by smaller and smaller nonzero numbers, following the outputs as the denominator moves toward zero. For the reciprocal \( \displaystyle \frac1x \), positive inputs give the following values:
| \( x \) | \( \displaystyle \frac1x \) |
|---|---|
| \( 1 \) | |
| \( 0.1 \) | |
| \( 0.01 \) | |
| \( 0.001 \) |
Each time we divide the input by \( 10 \), the output is . Smaller positive denominators give larger outputs.
The outputs keep increasing in this table, which raises the question of how large they can become. We can investigate by choosing an output first and working backward to the positive input that produces it.
| Target output \( \displaystyle \frac1x \) | Needed input \( x \) |
|---|---|
| \( 200 \) | |
| \( 10{,}000 \) | |
| \( 1{,}000{,}000 \) |
Each larger target calls for a smaller positive input. And we can go beyond any of these targets: halving the input that produces \( 1{,}000{,}000 \) gives an output of .
By continuing to halve a positive input, we can double the output as often as we wish. This takes the output beyond any positive number we choose, and taking the input closer still keeps the output above that number.
Picture following these outputs farther and farther to the right along the number line. We give the quantity at that imagined “end” the name (positive) infinity, written \( +\infty \), or simply \( \infty \). When the output eventually exceeds any positive number we choose, we say that it approaches infinity.
So far, we’ve approached zero only through positive inputs. To understand the behavior around zero, we also need to follow the reciprocal from the negative side:
| \( x \) | \( \displaystyle \frac1x \) |
|---|---|
| \( -0.1 \) | |
| \( -0.01 \) | |
| \( -0.001 \) |
As these negative inputs approach zero, the outputs become increasingly .
Positive inputs near zero give large positive outputs; negative inputs near zero give negative outputs of large magnitude. Move the distance control toward zero to follow both approaches on the graph.
Distance from zero:
As positive inputs approach zero, their reciprocals travel toward the imagined right-hand end of the number line, \( +\infty \). As negative inputs approach zero, their reciprocals travel farther to the left. We call the quantity at that imagined left-hand end negative infinity, written \( -\infty \).
The two approaches lead to different output behavior, even though the inputs approach the same number. That gives us something meaningful to investigate around zero without assigning a value to the undefined fraction itself. We need a language that distinguishes the direction of approach, the behavior of the outputs, and the value at the target.
The meaning of a limit
Infinitesimals have given us a way to think about instantaneous rates and accumulation: we imagine changes becoming infinitely small and add together infinitely many small contributions. Those pictures have helped us develop calculus, but the meaning of an “infinitely small” quantity can be difficult to pin down.
We can investigate the same behavior in a more concrete way by working with ordinary real numbers and letting their values change. As an input moves closer to a target, we follow the outputs along the curve and ask what value they approach. This lets us study what happens near an input even when the formula gives no value at the input itself.
Consider
\[f(x)=\frac{2x^2-3x-2}{x-2}.\]
At \( x=2 \), both numerator and denominator are zero, so the formula gives no value there. Nearby inputs still have outputs, however, and we can follow them toward \( 2 \) from each side:
| \( x \) | \( f(x) \) |
|---|---|
| \( 1.9 \) | \( 4.8 \) |
| \( 1.99 \) | \( 4.98 \) |
| \( 2.01 \) | \( 5.02 \) |
| \( 2.1 \) | \( 5.2 \) |
The outputs approach \( 5 \) as we move toward \( 2 \), even though the point at \( (2,5) \) is missing. Reduce the distance control to slide the two points along the curve and follow their heights toward that value.
Distance from \( 2 \):
Read this as “the limit of \( f(x) \), as \( x \) approaches \( a \), is \( L \).” Below the limit symbol, we write where the input is going; on the right, we write what the outputs approach. For our function,
\[\limit{x\to2}f(x)=5.\]
Note that the limit only describes the values when \( x \) is close to \( a \), but not the values at \( x=a \).
One-sided limits
Approaching an input from the left can give a different result from approaching it from the right, as the reciprocal investigation showed. We can describe each direction separately by adding a sign to the value the input approaches.
The signs describe the side the inputs come from; the outputs may be positive or negative in either case. For example, \( \displaystyle j(x)=\frac{x}{|x|} \) gives \( -1 \) for negative inputs and \( 1 \) for positive inputs, so
\[\begin{aligned}\limit{x\to0^-}j(x)&=-1,\\\limit{x\to0^+}j(x)&=1.\end{aligned}\]
When both sides approach the same height, we can combine their behavior into a two-sided limit. When the heights disagree, there is no common value for the outputs to approach.
For our opening function \( \displaystyle f(x)=\frac{2x^2-3x-2}{x-2} \), the outputs approach \( 5 \) as the inputs approach \( 2 \) from either side. The two branches of \( \displaystyle j(x)=\frac{x}{|x|} \) instead approach different heights at zero, so its two-sided limit there does not exist.
Continuity
You may have heard continuity described as being able to draw a graph without picking up your pencil. This gives us a useful picture of a curve with no breaks or missing points. Limits let us describe how the pieces fit: as the input approaches a target, the outputs approach the value of the function at that target.
Many familiar functions are continuous wherever they are defined:
Polynomials, exponential functions, sine, and cosine are continuous for every real input.
Logarithmic functions are continuous for positive inputs; for example, \( \ln x \) is continuous on the interval \( (0,\infty) \).
Rational functions are continuous wherever their denominators are nonzero.
The other trigonometric functions are also continuous wherever their defining quotients have nonzero denominators: for instance, \( \displaystyle {\tan x=\frac{\sin x}{\cos x}} \) is continuous wherever \( \cos x\ne0 \).
We can also talk about a function being continuous from only one side. For example, the graph of \( r(x)=\sqrt{x} \) is only defined when \( x\ge 0 \); since \( r(0)=0 \) and \( \limit{x\to 0^+}r(x)=0 \), we can say that \( r(x) \) is continuous from the right at \( x=0 \). (We can't say it's continuous from the left because there's no way to approach \( x=0 \) from the left.)
At positive inputs, the square-root function is continuous from both sides. Combinations and compositions of these familiar continuous functions are continuous wherever the operations are defined; in a quotient, the denominator must be nonzero.
Discontinuities and vertical asymptotes
Our opening function \( \displaystyle f(x)=\frac{2x^2-3x-2}{x-2} \) approaches \( 5 \) as \( x \) approaches \( 2 \), but its value at \( x=2 \) is missing. We could fill the hole by assigning \( f(2)=5 \). When a finite limit exists but the function’s value is missing or different, we call this a removable discontinuity.
Use the assigned-value control below to compare \( f(2)=5 \) with \( f(2)=7 \). The nearby curve stays the same; only the point at \( x=2 \) changes.
\( f(2)= \)
Assigning \( f(2)=5 \) fills the hole and makes the function continuous at \( 2 \). Assigning \( f(2)=7 \) puts the point above the hole, so the discontinuity remains. A removable discontinuity can be repaired by changing one value; the other types involve breaks in the nearby curve itself.
For \( \displaystyle j(x)=\frac{x}{|x|} \), the one-sided limits we found earlier are \( -1 \) and \( 1 \). The gap between these values gives a jump discontinuity. Assigning a value at zero cannot close the gap between the two branches.
At an oscillating discontinuity, the outputs keep oscillating instead of approaching one value. Consider \( \displaystyle s(x)=\sin\left(\frac1x\right) \) for \( x\ne0 \). As positive inputs approach zero, the angle \( \displaystyle \frac1x \) travels through infinitely many turns. The outputs keep reaching \( 1 \) and \( -1 \) as the input approaches zero, so neither the right-hand nor the two-sided limit exists.
The turns become more crowded near zero, but each turn still takes the sine wave all the way from \( -1 \) to \( 1 \) and back. Moving closer to zero never makes those swings smaller, so the outputs do not approach a single value.
At an infinite discontinuity, the outputs grow or fall without bound as the input approaches from at least one side. We saw this with the reciprocal function: near zero, the outputs rise without bound on the right and fall without bound on the left.
| \( x<0 \) | \( \displaystyle \frac1x \) | \( x>0 \) | \( \displaystyle \frac1x \) |
|---|---|---|---|
| \( -0.1 \) | \( -10 \) | \( 0.1 \) | \( 10 \) |
| \( -0.01 \) | \( -100 \) | \( 0.01 \) | \( 100 \) |
| \( -0.001 \) | \( -1000 \) | \( 0.001 \) | \( 1000 \) |
The positive outputs grow without bound as we approach zero from the right, while the negative outputs fall without bound as we approach from the left. We write
\[\begin{aligned}\limit{x\to0^-}\frac1x&=-\infty,\\\limit{x\to0^+}\frac1x&=\infty.\end{aligned}\]
Thus \( x=0 \) is a vertical asymptote of the reciprocal. The two sides disagree in sign, so there is no single two-sided infinite limit. For \( \displaystyle \frac1{x^2} \), both sides approach positive infinity, and we can write \( \displaystyle \limit{x\to0}\frac1{x^2}=\infty \). This is a description of infinite behavior, not a finite real limit or a value assigned at zero.
Limits at infinity
So far, we’ve followed inputs toward a finite target, sometimes with outputs approaching infinity. We can also follow the inputs themselves indefinitely far right or left. In the notation \( x\to\infty \), the inputs eventually exceed any positive number we name; in \( x\to-\infty \), they eventually fall below any negative number we name. The outputs may still approach a finite height.
Consider \( \displaystyle f(x)=\frac{x+1}{x} \). Following its outputs as the inputs travel farther right gives the following values:
| \( x \) | \( \displaystyle f(x)=\frac{x+1}{x} \) |
|---|---|
| \( 1 \) | \( 2 \) |
| \( 10 \) | \( 1.1 \) |
| \( 100 \) | \( 1.01 \) |
| \( 1000 \) | \( 1.001 \) |
The table suggests that the outputs approach \( 1 \) from above. The graph below shows the curve flattening toward that height as we travel right.
The expression under the limit symbol describes the input’s motion, while the value on the right tells us the height the outputs approach. For our function, we write
\[\limit{x\to\infty}\frac{x+1}{x}=1,\]
read as “the limit of \( \displaystyle \frac{x+1}{x} \), as \( x \) approaches infinity, is \( 1 \).”
We can also travel toward negative infinity, passing below any negative number we name as we continue left. Following the same function in this direction gives
| \( x \) | \( \displaystyle f(x)=\frac{x+1}{x} \) |
|---|---|
| \( -1 \) | \( 0 \) |
| \( -10 \) | \( 0.9 \) |
| \( -100 \) | \( 0.99 \) |
| \( -1000 \) | \( 0.999 \) |
On the left, the table and graph show the outputs approaching \( 1 \) from below:
\[\limit{x\to-\infty}\frac{x+1}{x}=1.\]
Both ends of this curve therefore approach the same height, giving a geometric way to describe its distant behavior.
A function can approach the same horizontal asymptote at both ends or behave differently in each direction. Its graph can cross that line along the way, since the asymptote describes the height approached at distant inputs.
Other curves never level off. For \( f(x)=x \), the outputs follow the inputs, so \( \limit{x\to\infty}x=\infty \) and \( \limit{x\to-\infty}x=-\infty \). Here both the input and output approach infinity in the indicated direction.
Oscillating end behavior
Some curves keep rising and falling as we travel farther along them. Oscillation alone does not tell us whether a limit exists: the swings might keep the same size, or they might shrink toward a single height. Comparing these two possibilities helps us see what it means for the outputs to approach a limit.
Arbitrary closeness
We’ve seen how limits describe behavior near a finite input and far along a curve. Returning to a finite target, let’s take a moment to make “approaching a value” more precise. When we say that \( f(x) \) gets (and stays) arbitrarily close to \( L \) as \( x \) approaches \( a \), we mean that no matter how close we want the outputs \( f(x) \) to get to \( L \), we can accomplish this by choosing inputs \( x \) that are close enough to \( a \).
We can describe this using two distances. The output tolerance is how close we want the outputs \( f(x) \) to be to the proposed limit \( L \); we’ll usually label this tolerance as \( \varepsilon \) (epsilon). The input tolerance, usually labeled \( \delta \) (delta), tells us how close the inputs \( x \) need to be to their target \( a \) to keep the outputs within that range.
However, an important caveat is that the definition of a limit requires that we only look at points where \( x\neq a \), so the value of \( f(a) \) isn't taken into account. In other words, limits require that \( f(x) \) gets and stays arbitrarily close to \( L \) while only considering values of \( x \) that are close to \( a \) but not including \( a \) itself.
We can also use tolerances to show that a proposed limit is wrong. If the nearby outputs cannot stay within some fixed distance of that value, however close the inputs get to their target, it cannot be the limit.
For an infinite limit, the question changes slightly: how close do the inputs need to be to make all the outputs greater than a given positive number, or less than a given negative number? We can use an input tolerance on one side of the target to describe each direction.
The graph describes a function \( g \). Compare its behavior at \( x=${a} \), \( x=${b} \), and \( x=${c} \).
Filled points belong to the function; open points are excluded. \( \limit{x\to${a}^-}g(x)= \), \( \limit{x\to${a}^+}g(x)= \), and \( g(${a})= \).
\( \limit{x\to${a}}g(x) \) , and the function is there. Could changing just this point value make it continuous?
Solution
The left branch approaches \( \displaystyle ${h} \), while the right branch approaches \( \displaystyle ${k} \). The filled point gives \( \displaystyle g(${a})=${h} \). The unequal one-sided limits make this a jump. Changing one value leaves the two branches unchanged, so it cannot repair the discontinuity.
\( \limit{x\to${b}^-}g(x)= \), \( \limit{x\to${b}^+}g(x)= \), \( \limit{x\to${b}}g(x)= \), and \( g(${b})= \).
The function is there. Do nearby outputs actually equal the limit?
Solution
Both sides and the filled point have height \( \displaystyle ${u} \), so the function is continuous at \( \displaystyle ${b} \). The flat portion gives the same output \( \displaystyle ${u} \) at every sufficiently nearby input. Outputs can equal their limit.
\( \limit{x\to${c}^-}g(x)= \), \( \limit{x\to${c}^+}g(x)= \), and \( \limit{x\to${c}}g(x)= \). The value \( g(${c}) \) is .
The function is there. Assigning \( g(${c})= \) would make it continuous.
Solution
Both sides approach the hole's height \( \displaystyle ${w} \). The point is missing, so \( \displaystyle g(${c}) \) is undefined. Assigning the common limit \( \displaystyle ${w} \) fills this removable hole.
Solution
The dotted lines mark the three inputs under discussion. Compare the two approaching heights at the first, the flat branch at the second, and the hole at the third. The formula for \( f \) changes at \( x=${a} \):
\[f(x)=\begin{cases}${left_formula},&x<${a},\\${p},&x=${a},\\${right_formula},&x>${a}.\end{cases}\]
Following the appropriate branch on each side gives these nearby outputs.
\( x \) \( f(x) \) \( ${fixed(x1,2)} \) \( ${fixed(x2,2)} \) \( ${fixed(x3,2)} \) \( ${fixed(x4,2)} \) \( \limit{x\to${a}^-}f(x)= \), \( \limit{x\to${a}^+}f(x)= \), and \( \limit{x\to${a}}f(x)= \). Compare this with \( f(${a})= \).
Is \( f \) continuous at \( ${a} \)? Explain how the formulas support the approaching behavior suggested by the table. Changing the assigned value to would make the function continuous there.
Solution
In table order, the outputs are \( ${fixed(y1,2)} \), \( ${fixed(y2,2)} \), \( ${fixed(y3,2)} \), and \( ${fixed(y4,2)} \). Both sides approach \( ${L} \). On the left, the output’s distance from \( ${L} \) is \( ${abs(m)} \) times the input’s distance from \( ${a} \); on the right, it is \( ${abs(n)} \) times that distance. Either distance can therefore be made arbitrarily small by approaching \( ${a} \).
The common limit \( ${L} \) differs from the assigned value \( ${p} \), so \( f \) has a removable discontinuity at \( ${a} \). Assigning \( f(${a})=${L} \) makes the point agree with both approaching branches.
The branches approach the open point; the red point gives the different assigned value. For each function, the output tolerance \( \varepsilon \) gives a requested distance from the limit. Test the listed input tolerances numerically and choose the largest one that works. Then give its input range. Explain why the outputs stay within the requested band throughout that range.
For \( u(x)=3x-1 \), \( \limit{x\to2}u(x)=5 \). With output tolerance \( \varepsilon=0.3 \), we want \( 4.7<u(x)<5.3 \).
The largest working input tolerance is \( \delta= \), giving the range \( <x< \).
Solution
At \( x=1.9 \) and \( x=2.1 \), the outputs are \( 4.7 \) and \( 5.3 \). As we follow the line through the interval, its height rises steadily from \( 4.7 \) to \( 5.3 \). Every point in between therefore stays inside the requested output band. Thus \( \delta=0.1 \) works. The smaller listed tolerance \( 0.01 \) also works. The tolerance \( 1 \) admits \( x=1.5 \), whose output \( 3.5 \) is outside the band.
The line crosses the band boundaries at the endpoints of the chosen input range. For \( v(x)=x^2 \), \( \limit{x\to0}v(x)=0 \). With output tolerance \( \varepsilon=0.01 \), we want \( -0.01<v(x)<0.01 \).
The largest working input tolerance is \( \delta= \), giving the range \( <x< \).
Solution
The outputs at \( x=-0.1 \) and \( x=0.1 \) are both \( 0.01 \). Between those endpoints, the curve dips down to \( 0 \) and rises again. Throughout the open input interval, its height stays below \( 0.01 \) and never goes below \( 0 \), so the whole piece of the parabola is inside the output band. Thus \( \delta=0.1 \) works. Again \( 0.01 \) also works. The tolerance \( 1 \) admits \( x=0.5 \), whose square \( 0.25 \) exceeds the requested output tolerance.
Both sides of the parabola remain below height \( 0.01 \) inside the chosen input range. For \( \displaystyle w(x)=\frac1x \), \( \limit{x\to1}w(x)=1 \). With output tolerance \( \varepsilon=0.1 \), we want \( 0.9<w(x)<1.1 \).
The largest working input tolerance is \( \delta= \), giving the range \( <x< \).
Solution
At \( x=0.95 \) and \( x=1.05 \), the outputs are approximately \( 1.052632 \) and \( 0.952381 \). As we follow the reciprocal curve across this positive input range, its height decreases steadily between those two values. The whole piece of the curve therefore stays within \( 0.1 \) of \( 1 \). Both \( 0.05 \) and \( 0.01 \) work as input tolerances.
The listed tolerance \( 0.1 \) fails: it admits \( x=0.905 \), whose output is approximately \( 1.104972 \), outside the band. Thus \( 0.05 \) is the largest working choice on the list; it does not have to be the largest possible input tolerance.
The part of the curve in the chosen input strip lies inside the output band.
The function shown has an assigned value \( f(${a})=${p} \). As inputs move toward \( ${a} \) from either side, the nearby outputs get closer to \( ${p} \). Does that make \( ${p} \) the limit?
The filled point gives the assigned value; the open point is missing from the parabola. Can nearby outputs come within a distance of \( ${t} \) from \( ${p} \)? . Explain how the graph supports your conclusion.
\( \limit{x\to${a}}f(x)= \). How does it compare with the assigned function value?
Solution
Every nearby output lies below \( \displaystyle ${h} \). Its distance from the assigned value \( \displaystyle ${p} \) therefore stays greater than \( \displaystyle ${g} \), even as that distance shrinks. A distance of \( \displaystyle ${t} \) requires outputs between \( \displaystyle ${p-t} \) and \( \displaystyle ${p+t} \), above the nearby curve.
The nearby outputs approach the open point at height \( ${h} \), so the limit is \( ${h} \) even though the assigned value is \( ${p} \). Getting closer to a height does not necessarily mean getting arbitrarily close to it.
For each function, describe all inputs where it is continuous. Explain any excluded inputs using the function’s domain.
\( P(x)=x^2-3x+2 \) and \( E(x)=\ee^x \).
Solution
Both are continuous for every real input: \( P \) is a polynomial, and \( E \) is an exponential function.
\( H(x)=\ln x \).
Solution
The logarithm is defined and continuous for \( x>0 \), so its interval of continuity is \( (0,\infty) \).
\( S(x)=\sin x \) and \( C(x)=\cos x \).
Solution
Sine and cosine are continuous for every real input. Their repeated rises and falls do not create breaks in their graphs.
\( R(x)=\frac1{x-2} \).
Solution
This rational function is continuous wherever \( x-2\ne0 \): on \( (-\infty,2) \) and \( (2,\infty) \).
\( T(x)=\tan x \).
Solution
Since \( \tan x=\frac{\sin x}{\cos x} \), tangent is continuous wherever \( \cos x\ne0 \). The excluded inputs are \( x=\frac\pi2+n\pi \) for every integer \( n \).
The graphs show functions \( A \), \( B \), \( C \), and \( D \), each with a discontinuity at \( x=${a} \). For each one, describe what happens from the left and right, classify the discontinuity, and decide whether changing only the value at \( ${a} \) could make the function continuous. Which graphs have a vertical asymptote there?
Graph A. The dashed line marks the input under discussion. Graph A has a discontinuity.
Solution
The outputs approach \( ${h} \) from both sides, but the point is missing. This is a removable discontinuity; assigning the value \( ${h} \) repairs it. Neither side becomes unbounded, so there is no vertical asymptote.
Both sides approach the open point. Graph B. The dashed line marks the input under discussion. Graph B has a discontinuity.
Solution
\( \limit{x\to${a}^-}B(x)=${h-k} \) and \( \limit{x\to${a}^+}B(x)=${h+k} \). These different finite heights give a jump discontinuity. Changing one point cannot make the branches agree, and neither side gives a vertical asymptote.
The two branches approach different heights. Graph C. The dashed line marks the input under discussion. Graph C has a discontinuity.
Solution
The outputs keep reaching \( ${h-1} \) and \( ${h+1} \) arbitrarily close to \( ${a} \) from either side. Neither one-sided limit exists, giving an oscillating discontinuity. Changing one point cannot settle these nearby outputs. They remain bounded, so there is no vertical asymptote.
The oscillations keep their full height near the marked input. Graph D. The dashed line marks the input under discussion. Graph D has a discontinuity.
Solution
Both branches move toward \( ${infinity_sign}\infty \) as the input approaches \( ${a} \), giving an infinite discontinuity and vertical asymptote \( x=${a} \). No assigned real value can match this unbounded behavior.
Both branches become unbounded near the marked input.
Compare \( \displaystyle F(x)=\frac{${k}}{${denominator}} \) and \( \displaystyle G(x)=\frac{${k}}{(${denominator})^2} \) near \( x=${a} \).
\( \limit{x\to${a}^-}F(x)= \), and \( \limit{x\to${a}^+}F(x)= \).
Solution
The denominator is negative on the left and positive on the right, while the nonzero numerator keeps its sign. As the denominator approaches zero, the quotient approaches infinity with the sign of that quotient. Changing the denominator's sign reverses the sign of the outputs.
\( \limit{x\to${a}^-}G(x)=\limit{x\to${a}^+}G(x)= \). Explain what squaring the denominator changes.
Solution
The square is positive on both sides. As it shrinks to zero, the outputs become unbounded with the numerator's sign on either side. Both functions have vertical asymptote \( \displaystyle x=${a} \).
Blue represents \( F \); green represents \( G \). Compare the sides of the vertical asymptote.
Find \( k \) and \( c \) so that \( p \) is continuous at \( x=${a} \):
\[p(x)=\begin{cases}${left_formula},&x<${a},\\c,&x=${a},\\${unknown_formula},&x>${a}.\end{cases}\]
\( k= \) and \( c= \).
Solution
The left branch approaches \( \displaystyle ${c_answer} \). The right branch approaches \( \displaystyle ${join_equation} \). Equate these heights:
\[\begin{aligned}${join_equation}&=${c_answer}\\${coefficient_term}&=${a*k_answer}\\k&=${k_answer}.\end{aligned}\]
Now both branches approach \( \displaystyle ${c_answer} \). Assign \( \displaystyle c=${c_answer} \) to match the value to that limit.
Both completed branches meet the assigned point. Their different slopes don't prevent continuity. Sketch three functions near \( x=2 \) with the following properties. Mark included and excluded points, and explain how each sketch meets the conditions.
\( \limit{x\to2}f(x)=3 \), and \( f \) is continuous at \( 2 \).
Solution
One example is \( f(x)=x+1 \). Both sides approach \( 3 \), and \( f(2)=3 \).
The two approaches and the assigned value agree at height three. The nearby outputs are the same as in your first sketch, but the value at \( 2 \) is \( 7 \).
Solution
Keep \( f(x)=x+1 \) for \( x\ne2 \), and assign \( f(2)=7 \). The limit remains \( 3 \), giving a removable discontinuity.
Changing one point leaves both approaching heights unchanged. The value at \( 2 \) is still \( 7 \), but the function now has a jump discontinuity there.
Solution
One example keeps \( f(x)=x+1 \) for \( x<2 \) and uses \( f(x)=x+3 \) for \( x>2 \), with \( f(2)=7 \). \( \limit{x\to2^-}f(x)=3 \) and \( \limit{x\to2^+}f(x)=5 \), so there is no two-sided limit.
The assigned value remains seven while the branches approach different heights.
Consider \( \displaystyle q(x)=\begin{cases}x+1,&x<0,\\2,&x=0,\\\frac1x,&x>0.\end{cases} \)
\( \limit{x\to0^-}q(x)= \), while \( \limit{x\to0^+}q(x)= \). Describe the two-sided behavior. Is \( x=0 \) a vertical asymptote? Could a different value of \( q(0) \) make the function continuous?
Solution
From the left, \( x+1 \) approaches \( 1 \). From the right, \( \frac1x \) approaches positive infinity. There is no two-sided finite limit or common two-sided infinite behavior, because the two sides do different things.
The line \( x=0 \) is a vertical asymptote: the right-hand infinite limit is enough. Changing \( q(0)=2 \) cannot change either approaching branch, so no assigned value makes the function continuous at zero.
Only the right branch becomes unbounded; the left branch approaches the open point at height one. The graph shows \( f(x)=${offset}${join}${coefficient}\ee^{-x} \). Use its two ends to describe the limits.
Compare the distant height on the right with the upward behavior on the left. As \( x\to\infty \), the outputs approach . As \( x\to-\infty \), they approach . Identify the horizontal asymptote and explain why the two ends behave differently.
Solution
The exponential factor \( \ee^{-x} \) approaches zero on the right and positive infinity on the left. Multiplication by the positive number \( ${k} \) preserves those behaviors. Adding \( ${a} \) gives a right-end limit of \( ${a} \) and a left-end limit of positive infinity. The horizontal asymptote is \( y=${a} \).
A table for \( \displaystyle f(x)=\frac{1000}{x} \) gives outputs \( 100 \), \( 10 \), and \( 1 \) at inputs \( 10 \), \( 100 \), and \( 1000 \). A student concludes that the limit as \( x\to\infty \) is \( 1 \) because \( 1 \) is the last output shown.
At \( x=10000 \), the output is ; at \( x=100000 \), it is . What limit do these values suggest, and why isn't the last entry in a table automatically the limit?
Solution
The values suggest a limit of zero. We can keep taking larger inputs beyond the last row, so that row gives us only one more value to look at. Since \( \displaystyle \frac1x \) approaches zero, multiplying its outputs by the fixed number \( 1000 \) still gives outputs approaching zero. That relationship explains the pattern beyond the displayed values.
A student samples \( h(x)=\sin^2(\pi x) \) at positive integer inputs and gets zero every time. They conclude that \( \limit{x\to\infty}h(x)=0 \). At \( x=10.5 \) and \( x=100.5 \), the outputs are and .
Explain why the sampled zeros cannot establish the limit. Does the same objection rule out a limit for \( \displaystyle g(x)=\frac{\sin^2(\pi x)}x \) on \( x>0 \)?
Solution
The function \( h \) keeps reaching \( 1 \) at half-integer inputs, however far right we go. It cannot eventually stay within tolerance \( 0.5 \) of zero, and its repeated zeros and ones rule out any common limiting height.
The curve keeps rising between its zero values at integer inputs. For \( g \), the oscillations shrink: \( \displaystyle 0\le g(x)\le\frac1x \). Once \( \displaystyle \frac1x \) is smaller than a requested tolerance, every later output of \( g \) is too. Thus \( \limit{x\to\infty}g(x)=0 \).
The oscillating curve stays between zero and the shrinking green envelope.