girgit.org

Limits and Derivatives

Left-hand and right-hand limits: when does a limit exist?

The big ideaYou can come up to a point from the left or from the right; the limit exists only when both ways lead to the same value.

In simple words

Two roads lead to a river, one from each bank, and a bridge is to join them. If both roads arrive at the same height, the bridge fits. If one road arrives high and the other low, no straight bridge can join them. A limit is the bridge: it is there only when the left road and the right road meet at the same height.

Two ways to approach a number

On the number line, \( x \) can come close to \( a \) through numbers smaller than \( a \) (from the left) or through numbers bigger than \( a \) (from the right). Each way gives its own limit:

  • The left hand limit, \( \lim_{x \to a^-} f(x) \): the value \( f \) is heading for, judged only by \( x \) just below \( a \).
  • The right hand limit, \( \lim_{x \to a^+} f(x) \): the value \( f \) is heading for, judged only by \( x \) just above \( a \).

The little minus or plus sign on \( a \) tells you which side you come from. If the two agree, their common value is the limit:

\[ \lim_{x \to a} f(x) = l \quad \text{exactly when} \quad \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = l \]

For \( 2x + 1 \) at 4, the left values 8.8, 8.98 and the right values 9.2, 9.02 both head for 9, so the limit is 9. For smooth graphs the two sides always agree. The interesting cases are graphs with a jump.

A jump: no limit

Let \( f(x) = x - 3 \) for \( x \lt 0 \), \( f(0) = 0 \), and \( f(x) = x + 3 \) for \( x \gt 0 \).

\( x \)−0.1−0.01−0.0010.0010.010.1
\( f(x) \)−3.1−3.01−3.0013.0013.013.1

From the left the values head for −3; from the right, for 3. So \( \lim_{x \to 0^-} f(x) = -3 \) and \( \lim_{x \to 0^+} f(x) = 3 \). They differ, so \( \lim_{x \to 0} f(x) \) does not exist, even though \( f(0) = 0 \) is perfectly well defined. The graph has a jump of 6 at 0.

The same happens with \( \dfrac{|x|}{x} \): it is −1 for every negative \( x \) and 1 for every positive \( x \), so its left and right hand limits at 0 are −1 and 1, and there is no limit.

A hole filled in the wrong place

Now let \( f(x) = x^2 \) for \( x \ne 2 \), but define \( f(2) = 0 \). Near 2, from both sides, \( x^2 \) is close to 4, so both one-sided limits are 4 and \( \lim_{x \to 2} f(x) = 4 \). Yet \( f(2) = 0 \). The limit exists, the value exists, and they are different.

Only one side, and limits that run off

Sometimes only one side makes sense. If \( f(x) = \frac{1}{x^2} \) is given only for \( x \gt 0 \), there are no points to the left of 0, so we look only from the right. There the values grow without end: 100 at \( x = 0.1 \), 10000 at \( x = 0.01 \), \( 10^{2n} \) at \( x = 10^{-n} \). We write \( \lim_{x \to 0^+} f(x) = +\infty \), meaning \( f(x) \) beats any number you name. This is not a real number, so the limit does not exist in the usual sense; such limits are outside this course.

Guess first: defined means limit?

Guess: if \( f(a) \) is a perfectly good number, must \( \lim_{x \to a} f(x) \) exist and equal \( f(a) \)?

Commit to an answer, then walk in from each side on five different graphs.

See what happens
No, on both counts. In the jump example \( f(0) = 0 \) is defined but there is no limit at 0. In the hole example the limit at 2 is 4 but \( f(2) = 0 \). And in \( \frac{x^2 - 9}{x - 3} \) the limit at 3 exists while the value does not. The value at a point and the limit at that point are two separate questions.

Checklist for a limit at \( a \)

  • Find the left hand limit using the rule that applies just left of \( a \).
  • Find the right hand limit using the rule that applies just right of \( a \).
  • Equal: that is the limit. Different: the limit does not exist. The value \( f(a) \) plays no part.

Try it. (a) \( f(x) = 2x + 1 \) for \( x \lt 1 \) and \( f(x) = 4 - x \) for \( x \ge 1 \). Does \( \lim_{x \to 1} f(x) \) exist? (b) Find \( \lim_{x \to 5} |x - 5| \).

Answer
(a) Left: \( 2(1) + 1 = 3 \). Right: \( 4 - 1 = 3 \). Equal, so the limit exists and is 3. (b) From both sides \( |x - 5| \) shrinks to 0, so the limit is 0 (the V-shaped graph has its corner there, but no jump).

Just remember

The little signs on \( a \) are a convention, and easy to mix up under exam pressure. Two hooks, and the number line rebuilds both.

\( x \to a^- \) is from the left, \( x \to a^+ \) from the right
Hook: "minus, less, left": numbers a little less than \( a \), like \( a - 0.001 \), sit to the left of it. "Plus, more, right" is the other one. Rebuild: draw the number line, put \( a - 0.01 \) and \( a + 0.01 \) on it.
\( +\infty \) is not a number
Writing \( \lim_{x \to 0^+} \frac{1}{x^2} = +\infty \) is shorthand for "grows past every number"; the limit still does not exist. Hook: "infinity is a direction, not a destination".

Words to know

Left hand limit
\( \lim_{x \to a^-} f(x) \): where \( f \) heads as \( x \) comes up to \( a \) from below.
Right hand limit
\( \lim_{x \to a^+} f(x) \): where \( f \) heads as \( x \) comes down to \( a \) from above.
Limit exists
Both one-sided limits are the same real number.
Limit does not exist
The two sides disagree, or the values run off without end.
\( +\infty \)
Not a number: shorthand for "grows bigger than any number".

For a function, \( \lim_{x \to 2^-} f(x) = 5 \), \( \lim_{x \to 2^+} f(x) = 5 \) and \( f(2) = 7 \). What is \( \lim_{x \to 2} f(x) \)?

  1. 7
  2. 5
  3. It does not exist

What is \( \lim_{x \to 0} \dfrac{|x|}{x} \)?

  1. 1
  2. 0
  3. It does not exist

\( f(x) = x + 2 \) for \( x \lt 1 \) and \( f(x) = kx \) for \( x \ge 1 \). For which \( k \) does \( \lim_{x \to 1} f(x) \) exist?

  1. \( k = 3 \)
  2. \( k = 1 \)
  3. Any \( k \)

Deep dive · optional

Which value belongs at a jump?

Why one road from each side is the whole test, what nature does at a jump, and a machine from 1898 that drew it. The exam does not need any of this; it makes one-sided limits feel like something real.

  1. The roots
  2. The story
  3. See it
  4. Solve it
  5. Connect it
  6. Still confused?

The roots: why two sides decide everything

  1. Why must the left and right limits agree?Because "\( x \) close to \( a \)" means close on either side. A single limit \( l \) has to be near the values of \( f \) on the left and on the right at the same time.
  2. At a jump from −3 to 3, why not settle on the middle, 0?Because every value just left of the jump is about 3 below 0, and every value just right is about 3 above it. Getting closer to the jump never shrinks that gap. In the \( \varepsilon \) game of page 2, a band of half-height 1 round 0 can never be met.
  3. Then why bother with each side on its own?Because each side still has an honest answer. Many functions live on one side only (\( \sqrt{x} \) at 0, time after a switch is pressed), or follow different rules on the two sides (a fare that rises in slabs). The one-sided limits say exactly what happens on each side, even when the two-sided limit fails.
  4. And the value \( f(a) \) at the jump itself?It is whatever the person defining the function chose. The limit never looks at it, so it cannot help or spoil the limit.
  5. And underneath?The number line. You can walk up to a point from exactly two directions, and nothing else.

So a limit is two questions asked at once: where is \( f \) heading from the left, and from the right? One answer to both means a limit. Two answers mean a jump, and the size of the jump is the right-hand limit minus the left-hand one.

The story: adding waves to make a jump

See it: waves closing in on a jump

Six machine-drawn curves stacked down a page: a single smooth wave at the top, then sums of more and more sine waves that turn into a square wave with sharp jumps at the bottoma small horn at each jump79 waves: almost a clean jump
Michelson and Stratton's machine adding sine waves (1898): one, three, five, seven, 21 and 79 terms of the square wave. Each new wave sharpens the jumps.

Now add the waves yourself. The grey steps are a square wave: −1 to the left of 0, 1 to the right. Its left-hand limit at 0 is −1 and its right-hand limit is 1. Add more sine waves and watch the blue sum hug each step more closely, pass through 0 at the jump every single time, and keep its little horn near the top.

{"view": [-3.4, 3.4, -1.65, 1.65], "aspect": 0.56, "grid": false, "ticks": {"x": "pi", "y": 1, "xunit": "pi"}, "params": {"n": {"min": 1, "max": 25, "value": 3, "step": 1, "label": "sine waves", "digits": 0, "play": true, "period": 12}}, "items": [{"seg": [[-3.1416, -1], [0, -1]], "color": "dim", "width": 3}, {"seg": [[0, 1], [3.1416, 1]], "color": "dim", "width": 3}, {"fn": "4/pi*((n>0 ? sin(1*x)/1 : 0) + (n>1 ? sin(3*x)/3 : 0) + (n>2 ? sin(5*x)/5 : 0) + (n>3 ? sin(7*x)/7 : 0) + (n>4 ? sin(9*x)/9 : 0) + (n>5 ? sin(11*x)/11 : 0) + (n>6 ? sin(13*x)/13 : 0) + (n>7 ? sin(15*x)/15 : 0) + (n>8 ? sin(17*x)/17 : 0) + (n>9 ? sin(19*x)/19 : 0) + (n>10 ? sin(21*x)/21 : 0) + (n>11 ? sin(23*x)/23 : 0) + (n>12 ? sin(25*x)/25 : 0) + (n>13 ? sin(27*x)/27 : 0) + (n>14 ? sin(29*x)/29 : 0) + (n>15 ? sin(31*x)/31 : 0) + (n>16 ? sin(33*x)/33 : 0) + (n>17 ? sin(35*x)/35 : 0) + (n>18 ? sin(37*x)/37 : 0) + (n>19 ? sin(39*x)/39 : 0) + (n>20 ? sin(41*x)/41 : 0) + (n>21 ? sin(43*x)/43 : 0) + (n>22 ? sin(45*x)/45 : 0) + (n>23 ? sin(47*x)/47 : 0) + (n>24 ? sin(49*x)/49 : 0))", "color": "b", "width": 2.5}, {"point": [0, 1], "color": "d"}, {"text": "right-hand: 1", "at": [0.12, 1.42], "color": "d"}, {"point": [0, -1], "color": "e", "label": "left-hand: −1", "dx": 8, "dy": 18}, {"point": [0, 0], "color": "c", "label": "every sum: 0", "dx": 8, "dy": 18}, {"point": ["pi/(2*n)", "4/pi*((n>0 ? sin(1*(pi/(2*n)))/1 : 0) + (n>1 ? sin(3*(pi/(2*n)))/3 : 0) + (n>2 ? sin(5*(pi/(2*n)))/5 : 0) + (n>3 ? sin(7*(pi/(2*n)))/7 : 0) + (n>4 ? sin(9*(pi/(2*n)))/9 : 0) + (n>5 ? sin(11*(pi/(2*n)))/11 : 0) + (n>6 ? sin(13*(pi/(2*n)))/13 : 0) + (n>7 ? sin(15*(pi/(2*n)))/15 : 0) + (n>8 ? sin(17*(pi/(2*n)))/17 : 0) + (n>9 ? sin(19*(pi/(2*n)))/19 : 0) + (n>10 ? sin(21*(pi/(2*n)))/21 : 0) + (n>11 ? sin(23*(pi/(2*n)))/23 : 0) + (n>12 ? sin(25*(pi/(2*n)))/25 : 0) + (n>13 ? sin(27*(pi/(2*n)))/27 : 0) + (n>14 ? sin(29*(pi/(2*n)))/29 : 0) + (n>15 ? sin(31*(pi/(2*n)))/31 : 0) + (n>16 ? sin(33*(pi/(2*n)))/33 : 0) + (n>17 ? sin(35*(pi/(2*n)))/35 : 0) + (n>18 ? sin(37*(pi/(2*n)))/37 : 0) + (n>19 ? sin(39*(pi/(2*n)))/39 : 0) + (n>20 ? sin(41*(pi/(2*n)))/41 : 0) + (n>21 ? sin(43*(pi/(2*n)))/43 : 0) + (n>22 ? sin(45*(pi/(2*n)))/45 : 0) + (n>23 ? sin(47*(pi/(2*n)))/47 : 0) + (n>24 ? sin(49*(pi/(2*n)))/49 : 0))"], "color": "b"}], "read": ["value at x = 0: {4/pi*((n>0 ? sin(1*0)/1 : 0) + (n>1 ? sin(3*0)/3 : 0) + (n>2 ? sin(5*0)/5 : 0) + (n>3 ? sin(7*0)/7 : 0) + (n>4 ? sin(9*0)/9 : 0) + (n>5 ? sin(11*0)/11 : 0) + (n>6 ? sin(13*0)/13 : 0) + (n>7 ? sin(15*0)/15 : 0) + (n>8 ? sin(17*0)/17 : 0) + (n>9 ? sin(19*0)/19 : 0) + (n>10 ? sin(21*0)/21 : 0) + (n>11 ? sin(23*0)/23 : 0) + (n>12 ? sin(25*0)/25 : 0) + (n>13 ? sin(27*0)/27 : 0) + (n>14 ? sin(29*0)/29 : 0) + (n>15 ? sin(31*0)/31 : 0) + (n>16 ? sin(33*0)/33 : 0) + (n>17 ? sin(35*0)/35 : 0) + (n>18 ? sin(37*0)/37 : 0) + (n>19 ? sin(39*0)/39 : 0) + (n>20 ? sin(41*0)/41 : 0) + (n>21 ? sin(43*0)/43 : 0) + (n>22 ? sin(45*0)/45 : 0) + (n>23 ? sin(47*0)/47 : 0) + (n>24 ? sin(49*0)/49 : 0))|2}", "highest point: {4/pi*((n>0 ? sin(1*(pi/(2*n)))/1 : 0) + (n>1 ? sin(3*(pi/(2*n)))/3 : 0) + (n>2 ? sin(5*(pi/(2*n)))/5 : 0) + (n>3 ? sin(7*(pi/(2*n)))/7 : 0) + (n>4 ? sin(9*(pi/(2*n)))/9 : 0) + (n>5 ? sin(11*(pi/(2*n)))/11 : 0) + (n>6 ? sin(13*(pi/(2*n)))/13 : 0) + (n>7 ? sin(15*(pi/(2*n)))/15 : 0) + (n>8 ? sin(17*(pi/(2*n)))/17 : 0) + (n>9 ? sin(19*(pi/(2*n)))/19 : 0) + (n>10 ? sin(21*(pi/(2*n)))/21 : 0) + (n>11 ? sin(23*(pi/(2*n)))/23 : 0) + (n>12 ? sin(25*(pi/(2*n)))/25 : 0) + (n>13 ? sin(27*(pi/(2*n)))/27 : 0) + (n>14 ? sin(29*(pi/(2*n)))/29 : 0) + (n>15 ? sin(31*(pi/(2*n)))/31 : 0) + (n>16 ? sin(33*(pi/(2*n)))/33 : 0) + (n>17 ? sin(35*(pi/(2*n)))/35 : 0) + (n>18 ? sin(37*(pi/(2*n)))/37 : 0) + (n>19 ? sin(39*(pi/(2*n)))/39 : 0) + (n>20 ? sin(41*(pi/(2*n)))/41 : 0) + (n>21 ? sin(43*(pi/(2*n)))/43 : 0) + (n>22 ? sin(45*(pi/(2*n)))/45 : 0) + (n>23 ? sin(47*(pi/(2*n)))/47 : 0) + (n>24 ? sin(49*(pi/(2*n)))/49 : 0))|3}"]}

Solve it

Solve it

\( f(x) = kx + 1 \) for \( x \lt 2 \) and \( f(x) = x^2 - 1 \) for \( x \ge 2 \). Find \( k \) so that \( \lim_{x \to 2} f(x) \) exists. Then say how big the jump is when \( k = 3 \).

Answer
Left-hand limit \( 2k + 1 \); right-hand limit \( 4 - 1 = 3 \). They agree when \( 2k + 1 = 3 \), so \( k = 1 \). With \( k = 3 \) the left side heads for 7 and the right side for 3: a jump of \( 3 - 7 = -4 \), a step down of 4.

Solve it (JEE style)

\( [x] \) is the greatest integer function. Find the left-hand and right-hand limits of \( [x] \) at \( x = 2 \), and the limit of \( [x] \) at \( x = 2.5 \). Then find \( \lim_{x \to 2^-} \left(x - [x]\right) \) and \( \lim_{x \to 2^+} \left(x - [x]\right) \).

Hint
Just left of 2, say 1.999, the greatest integer not above it is 1. Just right, say 2.001, it is 2.
Answer
\( \lim_{x \to 2^-} [x] = 1 \) and \( \lim_{x \to 2^+} [x] = 2 \): no limit at 2. Near 2.5, \( [x] = 2 \) on both sides, so the limit is 2. For the fractional part \( x - [x] \): from the left it is \( x - 1 \to 1 \); from the right it is \( x - 2 \to 0 \). Again two different answers, so no limit at 2.

Predict, then check

A signal is 2 volts for a moment, then switches to 0 volts, again and again (a square wave between 0 and 2). If it is built from sine waves, what value will the sum give exactly at a switch?

Answer
The one-sided limits at a switch are 2 and 0, so by Dirichlet's result the sum of waves gives their midpoint, \( \tfrac{1}{2}(2 + 0) = 1 \) volt, at every switch, however many waves you add.

Connect it

Connect it

  • Signum and greatest integer, Ch 2. The two standard jump functions: signum and [x]. Signum is \( \frac{|x|}{x} \) with a value chosen at 0.
  • The ε game, page 2. Why a jump defeats every claimed limit: the ε–δ game.
  • A corner, page 9. At the corner of \( |x| \) the slopes from the left and right are −1 and 1: one-sided limits again, this time of a difference quotient: what is a derivative?
  • Class 12, continuity. A function is continuous at \( a \) when left limit = right limit = \( f(a) \): jumps and the 1/x surprise.
  • Daily life. Anything charged in slabs, like parking by the hour or parcels by weight, jumps at each slab edge: just below the edge you pay one amount, just above it the next.

Still confused?

At a jump, isn't the limit just \( f(a) \), since that is where the function actually is?

No. \( f(a) \) is one chosen point; the limit is about the crowd of points around it. In the jump example \( f(0) = 0 \) sits exactly between −3 and 3, yet no value near 0 is close to 0. The limit is decided by the neighbours, and here the neighbours disagree.

If the left-hand limit is \( +\infty \) and the right-hand limit is \( +\infty \), does the limit exist?

Not as a real number. Both sides agree that \( f \) grows without end, which is worth saying (\( \lim_{x \to 0} \frac{1}{x^2} = +\infty \) is common shorthand), but \( +\infty \) is not a value \( f \) can be close to. In this course, "the limit exists" means a real number.