12.1 Intuitive Idea of Limits
$\displaystyle\lim_{x\to a}f(x)=l$ says that $f(x)$ gets as close to $l$ as we like whenever $x$ is close enough to $a$ โ from both sides, and whatever happens at $x=a$ itself. Learn to read limits from tables and graphs, split them into left-hand and right-hand limits, and combine them with the algebra of limits.
A stone is dropped from the top of a tall building. Physics tells us that after $t$ seconds it has fallen about $s=4.9t^2$ metres. How fast is it moving at the instant $t=2\ \text{s}$? Average speed is easy: between $t=2$ and $t=3$ the stone falls $4.9\times9-4.9\times4=24.5\ \text{m}$ in $1\ \text{s}$, an average of $24.5\ \text{m/s}$. But the stone speeds up all the time, so that average mixes slow and fast moments. A shorter interval gives a better answer โ and the shorter the better. What we cannot do is take an interval of length zero: then the stone falls $0\ \text{m}$ in $0\ \text{s}$ and the "average" is $\tfrac00$, which has no value at all.
The way out is the central idea of this chapter. We calculate the average speed over intervals of length $h$, let $h$ get closer and closer to $0$ without ever being $0$, and ask what number the averages approach. That number is called a limit. In this section we make the idea precise enough to work with: we read limits from tables and graphs, see why the value of a function at a point does not affect its limit there, split a limit into a left-hand and a right-hand limit, and learn the rules that let us combine limits.
From Average Speed to Instantaneous Speed
For the falling stone, the average speed between $t=2$ and $t=2+h$ (where $h$ may be positive or negative, but not $0$) is $$\text{average speed}=\dfrac{s(2+h)-s(2)}{h}=\dfrac{4.9(2+h)^2-4.9\times4}{h}.$$ Expanding the bracket, $4.9(4+4h+h^2)-19.6=19.6h+4.9h^2$, so for every $h\ne0$ $$\text{average speed}=\dfrac{19.6h+4.9h^2}{h}=19.6+4.9h\ \text{m/s}.$$ We were allowed to cancel $h$ because $h\ne0$. Now make $h$ small:
| $h$ (s) | $-0.1$ | $-0.01$ | $-0.001$ | $0.001$ | $0.01$ | $0.1$ |
|---|---|---|---|---|---|---|
| average speed (m/s) | $19.11$ | $19.551$ | $19.5951$ | $19.6049$ | $19.649$ | $20.09$ |
The averages crowd in on $19.6$ from both sides: intervals ending just before $t=2$ give slightly less, intervals starting at $t=2$ give slightly more, and the error is exactly $4.9h$, which can be made as small as we please. So we say that the instantaneous speed of the stone at $t=2$ is $19.6\ \text{m/s}$ (about $70.6\ \text{km/h}$). In symbols, $$\lim_{h\to0}\dfrac{s(2+h)-s(2)}{h}=19.6,$$ read "the limit, as $h$ tends to $0$, of โฆ is $19.6$".
The same number has a picture. On the graph of $s$ against $t$, the average speed $\tfrac{s(2+h)-s(2)}{h}$ is the slope (Section 9.1) of the chord joining the points at $t=2$ and $t=2+h$. As $h\to0$ the chord swings round towards the line that just touches the curve at $t=2$ โ the tangent โ so $19.6$ is the slope of the curve at that point. Instantaneous speed and the slope of a tangent are the same idea, the derivative, which we study properly in Section 12.3. First we need the language of limits.
The Limit of a Function
Look again at what we did. We had an expression in $h$, we kept $h\ne0$, and we watched the values as $h$ got close to $0$. The same idea works for any function $f$ and any point $a$.
Let $f$ be defined at every point of some open interval containing $a$, except possibly at $a$ itself. We say that the limit of $f(x)$ as $x$ tends to $a$ is $l$, and write $$\lim_{x\to a}f(x)=l,$$ if the values $f(x)$ can be made as close to the number $l$ as we like by taking $x$ close enough to $a$, on either side of $a$, with $x\ne a$. We also write $f(x)\to l$ as $x\to a$.
Two words in the definition carry all the weight. "Either side": $x$ may approach $a$ from below or from above, and both approaches must lead to the same $l$. "$x\ne a$": the limit describes what $f$ does near $a$, not at $a$. The value $f(a)$ may be undefined, or equal to $l$, or something else entirely โ it makes no difference to the limit.
Left-hand and Right-hand Limits
Some functions behave differently on the two sides of a point. The greatest integer function $[x]$ (Section 2.3) is a good example: just below $x=2$, for instance at $x=1.99$, $[x]=1$; just above, at $x=2.01$, $[x]=2$. The graph jumps. To describe such behaviour we look at each side separately.
The left-hand limit of $f$ at $a$ is the number $l_1$ that $f(x)$ approaches as $x$ tends to $a$ through values less than $a$. We write $$\lim_{x\to a^-}f(x)=l_1\qquad(\text{read "as }x\text{ tends to }a\text{ from the left"}).$$ The right-hand limit $\displaystyle\lim_{x\to a^+}f(x)=l_2$ is the number that $f(x)$ approaches as $x$ tends to $a$ through values greater than $a$. Together they are called the one-sided limits of $f$ at $a$. We often shorten them to LHL and RHL.
Let $f$ be defined on an open interval containing $a$, except possibly at $a$. Then $\displaystyle\lim_{x\to a}f(x)$ exists and equals $l$ if and only if both one-sided limits exist and are equal to $l$: $$\lim_{x\to a^-}f(x)=\lim_{x\to a^+}f(x)=l.$$ If the one-sided limits are different, or if either fails to exist, then $\displaystyle\lim_{x\to a}f(x)$ does not exist.
Why. "$x$ close to $a$ on either side" is the same as "$x$ close to $a$ on the left, and $x$ close to $a$ on the right". If $f(x)$ is close to $l$ in both cases it is close to $l$ for all $x$ near $a$; and if $f(x)$ is close to $l$ for all $x$ near $a$ it is so on each side. If the two sides approach different numbers $l_1\ne l_2$, no single $l$ can be close to both, so there is no limit. $\blacksquare$
- For the LHL, use the formula that holds for $x$ just below $a$; for the RHL, the formula for $x$ just above $a$. The formula at $x=a$ itself plays no part.
- With $[x]$, $|x|$ or $\tfrac{|x|}{x}$, first rewrite the function without brackets on each side (e.g. $[x]=1$ for $1\le x\lt2$, $|x|=-x$ for $x\lt0$).
- Compare: equal one-sided limits give the limit; different ones mean the limit does not exist.
- Only then, if asked, compare the limit with the value $f(a)$.
(b) $g(x)=\begin{cases}ax+1, & x\lt2\\ 5, & x=2\\ x^2-a, & x\gt2.\end{cases}$ Find $a$ so that $\displaystyle\lim_{x\to2}g(x)$ exists. Is the limit equal to $g(2)$?
The Algebra of Limits
Tables and graphs are good for guessing a limit; to find limits we need rules. Two limits are the building blocks. A constant function does not change, so $\displaystyle\lim_{x\to a}c=c$. And when $x$ is close to $a$, $x$ is close to $a$, so $\displaystyle\lim_{x\to a}x=a$. The rules below let us build up from these, in the same way that the algebra of real functions (Section 2.4) builds $f+g$, $fg$ and $\tfrac fg$ from $f$ and $g$.
Let $f$ and $g$ be functions such that both $\displaystyle\lim_{x\to a}f(x)=l$ and $\displaystyle\lim_{x\to a}g(x)=m$ exist, and let $\lambda$ be any real number. Then
- Sum and difference: $\displaystyle\lim_{x\to a}[f(x)\pm g(x)]=l\pm m$.
- Scalar multiple: $\displaystyle\lim_{x\to a}[\lambda f(x)]=\lambda l$.
- Product: $\displaystyle\lim_{x\to a}[f(x)\,g(x)]=l\,m$.
- Quotient: if also $m\ne0$, then $\displaystyle\lim_{x\to a}\dfrac{f(x)}{g(x)}=\dfrac lm$.
In words: the limit of a sum, difference, multiple, product or quotient is the sum, difference, multiple, product or quotient of the limits โ provided the separate limits exist and, for a quotient, the limit of the denominator is not $0$. The same rules hold for left-hand and for right-hand limits.
Why (an intuitive argument). When $x$ is near $a$, $f(x)=l+\text{(small)}$ and $g(x)=m+\text{(small)}$. Then $f(x)+g(x)=l+m+\text{(small)}$, and $f(x)g(x)=lm+l\cdot\text{(small)}$ $+\,m\cdot\text{(small)}+\text{(small)}\cdot\text{(small)}$, which is $lm$ plus something small. A precise proof needs the $\varepsilon$โ$\delta$ definition of a limit and is left to a university course.
Repeating the product rule gives $\displaystyle\lim_{x\to a}x^2=a\cdot a=a^2$, then $\displaystyle\lim_{x\to a}x^3=a^3$, and in general $\displaystyle\lim_{x\to a}x^n=a^n$ for every positive integer $n$. Section 12.2 uses this to find the limits of all polynomials and rational functions at once.
(b) Find $\displaystyle\lim_{x\to3}(x^2+2x)$, naming the rule used at each step.
1. "The limit is just $f(a)$." Often it is, but not always: in Example 3 the limit is $2$ while $k(1)=5$, and in Example 2 $f(2)$ does not even exist. Always think about $x$ near $a$.
2. "$f(a)$ is undefined, so there is no limit." A hole in the graph does not stop the limit from existing. $\dfrac{x^2-4}{x-2}\to4$ as $x\to2$.
3. Checking only one side. A table that uses only $x=1.9,\ 1.99,\ 1.999$ finds the left-hand limit. For the limit you must also approach from the right.
4. Using the formula at $x=a$ for a one-sided limit. For $f(x)=x+2$ when $x\ge1$ and $f(x)=x+1$ when $x\lt1$, the left-hand limit at $1$ comes from $x+1$, giving $2$ โ not from the value $f(1)=3$.
5. Splitting a limit that does not exist. Theorem 12.2 needs both separate limits to exist. $\displaystyle\lim_{x\to0}\left(\tfrac{|x|}{x}-\tfrac{|x|}{x}\right)=0$, but you cannot write it as $\displaystyle\lim\tfrac{|x|}{x}-\lim\tfrac{|x|}{x}$, because neither limit exists.
6. Dividing when the denominator tends to $0$. The quotient rule needs $m\ne0$. Limits such as $\dfrac{x^2-4}{x-2}$ at $2$ (numerator and denominator both $\to0$) need algebra first โ the subject of Section 12.2.
Exercises
- 1 For $f(x)=3x-1$, find $f(x)$ at $x=1.9,\ 1.99,\ 2.01,\ 2.1$ and estimate $\displaystyle\lim_{x\to2}f(x)$.
- 2 Use a table of values on both sides to estimate $\displaystyle\lim_{x\to3}\dfrac{x^2-9}{x-3}$. Is the function defined at $x=3$?
- 3 Find $\dfrac{x^3-1}{x-1}$ at $x=0.9,\ 0.99,\ 1.01,\ 1.1$ (to four decimal places) and estimate its limit as $x\to1$.
- 4 Simplify $\dfrac{(1+x)^2-1}{x}$ for $x\ne0$ and hence find its limit as $x\to0$.
- 5 Estimate $\displaystyle\lim_{x\to4}\dfrac{\sqrt x-2}{x-4}$ from the values at $x=3.9,\ 3.99,\ 4.01,\ 4.1$ (to four decimal places).
- 6 Let $f(x)=x+1$ for $x\ne2$ and $f(2)=7$. Find $\displaystyle\lim_{x\to2}f(x)$ and $f(2)$, and sketch the graph near $x=2$.
- 7 True or false? "If $f(a)$ is not defined, then $\displaystyle\lim_{x\to a}f(x)$ does not exist." Give a reason.
- 8 True or false? "If $\displaystyle\lim_{x\to a}f(x)=l$, then $f(a)=l$." Give a reason.
- 9 Estimate $\displaystyle\lim_{x\to0}\dfrac{x}{\sqrt{x+1}-1}$ from the values at $x=\pm0.1$ and $x=\pm0.01$.
- 1 Find $\displaystyle\lim_{x\to0^-}\dfrac{|x|}{x}$ and $\displaystyle\lim_{x\to0^+}\dfrac{|x|}{x}$.
- 2 Find $\displaystyle\lim_{x\to3^-}[x]$ and $\displaystyle\lim_{x\to3^+}[x]$. Does $\displaystyle\lim_{x\to3}[x]$ exist?
- 3 Find $\displaystyle\lim_{x\to1.5}[x]$.
- 4 $f(x)=x^2$ for $x\le1$ and $f(x)=2x$ for $x\gt1$. Find the one-sided limits at $x=1$. Does the limit exist?
- 5 $f(x)=3x+1$ for $x\lt2$ and $f(x)=x^2+3$ for $x\ge2$. Find $\displaystyle\lim_{x\to2}f(x)$ if it exists.
- 6 $f(x)=kx^2$ for $x\lt1$ and $f(x)=3x-1$ for $x\ge1$. Find $k$ so that $\displaystyle\lim_{x\to1}f(x)$ exists.
- 7 Find the one-sided limits of $\dfrac{|x-2|}{x-2}$ at $x=2$.
- 8 Find the one-sided limits of $f(x)=x-[x]$ at $x=1$. Does $\displaystyle\lim_{x\to1}f(x)$ exist?
- 9 $f(x)=a+2bx$ for $x\lt1$, $f(1)=5$, and $f(x)=3b-ax$ for $x\gt1$. Find $a$ and $b$ if $\displaystyle\lim_{x\to1}f(x)=f(1)$.
- 10 Using the signum function ($\operatorname{sgn}x=-1,0,1$ for $x\lt0$, $x=0$, $x\gt0$), decide whether $\displaystyle\lim_{x\to0}\operatorname{sgn}x$ and $\displaystyle\lim_{x\to0}(\operatorname{sgn}x)^2$ exist, and compare the second with $(\operatorname{sgn}0)^2$.
- 1 Find $\displaystyle\lim_{x\to a}[3f(x)+2g(x)]$.
- 2 Find $\displaystyle\lim_{x\to a}f(x)g(x)$.
- 3 Find $\displaystyle\lim_{x\to a}\dfrac{f(x)}{g(x)}$.
- 4 Find $\displaystyle\lim_{x\to a}[f(x)^2-g(x)^2]$.
- 5 Find $\displaystyle\lim_{x\to a}\dfrac{f(x)+p(x)}{g(x)-2}$.
- 6 Explain why Theorem 12.2 cannot be used to find $\displaystyle\lim_{x\to a}\dfrac{f(x)}{p(x)}$.
- 7 Use the rules, step by step, to find $\displaystyle\lim_{x\to-2}(x^3+4x)$.
- 8 Find $\displaystyle\lim_{x\to1}(2x+3)(x^2-5)$.
- 1 A stone dropped from a cliff falls $s=4.9t^2$ metres in $t$ seconds. Find its average speed over $[3,3.1]$ and over $[3,3.01]$, and its instantaneous speed at $t=3$.
- 2 A cyclist is $s=t^2+3t$ metres from the start after $t$ seconds. Show that the average speed over $[2,2+h]$ is $7+h$ and find the speed at $t=2$.
- 3 A square metal plate of side $x\ \text{cm}$ is heated and expands. Find the average rate of change of its area $A=x^2$ as $x$ changes from $5$ to $5+h$, and the limit of this rate as $h\to0$, with units.
- 4 A tank holds $V=1000-20t+0.1t^2$ litres of water $t$ minutes after a tap is opened ($0\le t\le100$). Find the average rate of change of $V$ over $[10,10+h]$ and its limit as $h\to0$. Interpret the sign.
- 5 A car park charges $C(t)=30+20[t]$ rupees for parking $t$ hours ($0\le t\lt5$). Find $\displaystyle\lim_{t\to2^-}C(t)$ and $\displaystyle\lim_{t\to2^+}C(t)$, and say what the difference means to a driver.
How this is examined: Board papers ask for one-sided limits of piecewise functions, $|x|$ and $[x]$ (1โ3 marks), and for constants that make a limit exist or make it equal the value of the function. JEE combines the algebra of limits with greatest-integer and modulus functions, and likes multiple-correct questions on whether a limit exists and whether it equals $f(a)$.
E1. Board ยท 1 mark $\displaystyle\lim_{x\to0}\dfrac{x}{|x|}$ is (A) $1$ (B) $-1$ (C) $0$ (D) does not exist
E2. Board ยท 2 marks $f(x)=\begin{cases}x^2+1, & x\le2\\ 3x-1, & x\gt2.\end{cases}$ Find $\displaystyle\lim_{x\to2}f(x)$, if it exists, and compare it with $f(2)$.
E3. Board ยท 3 marks $f(x)=\begin{cases}x+a, & x\lt0\\ x^2+1, & 0\le x\lt1\\ bx-2, & x\ge1.\end{cases}$ Find $a$ and $b$ so that $\displaystyle\lim_{x\to0}f(x)$ and $\displaystyle\lim_{x\to1}f(x)$ both exist.
E4. Board ยท Case study A stone is dropped from a bridge. Taking $g\approx10\ \text{m/s}^2$, it falls $s=5t^2$ metres in the first $t$ seconds. (i) Find its average speed during the first $2$ seconds. (1 mark) (ii) Show that its average speed over $[1,1+h]$ is $10+5h$ m/s. (1 mark) (iii) Find its speed at $t=1\ \text{s}$, and the time at which its speed is $25\ \text{m/s}$. (2 marks)
E5. JEE Main If $\displaystyle\lim_{x\to a}f(x)=2$ and $\displaystyle\lim_{x\to a}g(x)=-3$, then $\displaystyle\lim_{x\to a}\dfrac{f(x)^2+g(x)}{f(x)-2g(x)}$ equals (A) $\tfrac18$ (B) $-\tfrac14$ (C) $\tfrac{13}{8}$ (D) $\tfrac12$
E6. JEE Advanced One or more options correct. Let $f(x)=[x]+[-x]$, where $[\ ]$ is the greatest integer function. Then (A) $\displaystyle\lim_{x\to2}f(x)$ exists and equals $-1$ (B) $f(2)=0$ (C) $\displaystyle\lim_{x\to2}f(x)=f(2)$ (D) $\displaystyle\lim_{x\to2.5}f(x)=-1$
Research question. How fast is a ball rolling down a ramp at one particular instant โ and how short must a timing interval be before the average speed is a good estimate of that instantaneous speed?
Why it matters. Every speed measurement is secretly an average over a short interval: a cricket speed gun, a traffic radar, a phone's GPS speed and the timing gates of an athletics track all divide a small distance by a small time. Engineers have to choose the interval: too long and the speed changes during it; too short and the measuring errors swamp the tiny distance. The limit is the ideal they are trying to approach.
What to do.
- Make a gentle ramp (a long plank or a grooved ruler raised at one end) and stick a tape measure along it. Release a ball from rest at the top and film it with a phone, ideally in slow motion (many phones film at $120$ or $240$ frames per second).
- Step through the video frame by frame and record the position $s$ of the ball at several times $t$ (the time between frames is $\tfrac1{120}\ \text{s}$ or $\tfrac1{240}\ \text{s}$).
- Choose an instant $t_0$ near the middle of the run. Compute average speeds $\dfrac{s(t_0+h)-s(t_0)}{h}$ for $h$ equal to $0.5$, $0.2$, $0.1$, $0.05$ and one frame, on both sides of $t_0$ ($h\gt0$ and $h\lt0$).
- Tabulate the averages and see whether they settle. Estimate the instantaneous speed at $t_0$.
- Fit a model $s=ct^2$ to your data in a spreadsheet; for this model the speed at $t_0$ is $2ct_0$ (you will see why in Section 12.3). Compare.
Tools: A phone camera (slow motion if available), a plank or ruler, a tape measure, a spreadsheet
Hand in: Your table of positions, the table of average speeds for shrinking $h$ on both sides, your estimate of the speed at $t_0$, and a paragraph on why the smallest $h$ did not necessarily give the best estimate.
Going further. Repeat with the ramp twice as steep. How does $c$ change? Look up how an athletics photo-finish camera or a traffic radar works and describe which "$h$" it uses.
๐งช Self-check quiz
Q1. $\displaystyle\lim_{x\to3}\dfrac{x^2-9}{x-3}$ is
Q2. $\displaystyle\lim_{x\to4^-}[x]$ is
Q3. Which statement is always true?
Q4. If $\displaystyle\lim_{x\to a}f(x)=5$ and $\displaystyle\lim_{x\to a}g(x)=2$, then $\displaystyle\lim_{x\to a}\dfrac{f(x)-g(x)}{f(x)+g(x)}$ is
Q5. $f(x)=x+k$ for $x\lt1$ and $f(x)=3x$ for $x\ge1$. The limit of $f$ at $1$ exists when $k$ equals