Informal Limits

In this article, we discuss the concept of a limit, and its relationship to contintuity and discontinuity. The earliest evidence of the concept of a limit dates to the 3 B.C. to measure volumes of spheres. Archimedes of Syracuse posultated that if you could carve the spheres into smaller pieces and approximated the volumes of those pieces, then increasing the number of pieces would return the volume of the overall sphere (i.e., the limit of the sum of the smaller pieces).

Limits Informally

Below is the informal definition of a limit.

limit. Let aR{a \in \reals} be a constant and nR{n \in \reals} a variable, such that an.{a \neq n.} Let f{f} be a function on an open interval about x=a,{x=a,} except f(a){f(a)} need not be defined. If, and only if, there exists a number ,{\ell,} such that, using any value of n{n} close but not equal to a,{a,} the value f(n){f(n)} can be arbitrarily close to ,{\ell,} then we say that {\ell} is the limit of f{f} as x{x} approaches a,{a,} and write limxaf(x)=.{\lim_{x \to a}f(x)=\ell.}

Informally, we can think of the limit as a tool that allows us to find the slope of a curve at any given point along the curve. Recall that earlier, we saw how the limit allows us to find the slope of the tangent line. The procedure of finding that slope is the method of differentiation. In later sections, we will determine how to find the area under a curve. This procedure is called the method of integration. Both methods cannot be done with algebra alone. We need limits.

Limits are what allow us to go from the secant line, an approximation of the slope at a given point, to the tangent line, a much better approximation. The diagram below is a static representation of this process. We start with some line pq7.{\overleftrightarrow{\rm pq_7}.} p{p} remains fixed, but as we get closer and closer to p,{p,} (going from q7{q_7} towards q1,{q_1,}) the approximation gets better and better, until we eventually get to something that looks very much like a tangent line. The end result: A secant line so close to a tangent line that the difference is negligable:

Secant and tangent line

A crucial point that cannot be overstated: We never actually get to the point p.{p.} We can get very close, but we never get there. This is because our application of the limit is restricted to the secant line. That was our starting premise. Without the secant line, the argument is nonsensical. And to have a secant line, we need two points. If we arrive at p,{p,} we no longer have two points. Without two points, there is no secant line, and without a secant line, the argument falls apart. We never — never — get to the point p.{p.}

The idea of the limit (specifically the limit of some value x{x} moving closer and closer to 0{0}) represents this process of bringing some point q{q} closer and closer and closer to p.{p.} Bring q{q} closer and closer to p{p} is just another way of saying that the distance between p{p} and q{q} gets smaller and smaller. Thus, that value x{x} that's moving closer and closer to 0{0} is the distance between p{p} and q.{q.}

Limits can be investigated through algebraic manipulation; we can treat them as terms in and of themselves. This is done through the limit laws:

Axiom. Where a,x,CR{a, x, C \in \reals}:

  • limxax=a{\lim\limits_{x \to a}x = a}
  • limxaC=C{\lim\limits_{x \to a} C = C}

For example, limx05=5,{\lim\limits_{x \to 0}5 = 5,} limxπx=π.{\lim\limits_{x \to \pi} x = \pi.} We then have the following limit laws:

Limit Laws. Suppose f(x){f(x)} and g(x){g(x)} are functions defined for all xa{x \neq a} over some open interval containing a,{a,} where aR.{a \in \reals.} Further suppose L,MR,{L, M \in \reals,} where L=limxaf(x){L = \lim\limits_{x \to a}f(x)} and M=limxag(x).{M = \lim\limits_{x \to a}g(x).} Finally, suppose C{C} is a constant. The following laws hold:

  1. Limit Constant Multiple Law. limxaCf(x)=Climxaf(x)=cL{\lim\limits_{x \to a}C f(x) = C \cdot \lim\limits_{x \to a}f(x) = cL}
  2. Limit Sum Law. limxa[f(x)+g(x)]=limxaf(x)+limxag(x)=L+M{\lim\limits_{x \to a}[f(x) + g(x)] = \lim\limits_{x \to a}f(x) + \lim\limits_{x \to a}g(x) = L + M}
  3. Limit Difference Law. limxa[f(x)g(x)]=limxaf(x)limxag(x)=LM{\lim\limits_{x \to a}[f(x) - g(x)] = \lim\limits_{x \to a}f(x) - \lim\limits_{x \to a}g(x) = L - M}
  4. Limit Product Law. limxa[f(x)g(x)]=limxaf(x)limxag(x)=LM{\lim\limits_{x \to a}[f(x) \cdot g(x)] = \lim\limits_{x \to a} f(x) \cdot \lim\limits_{x \to a}g(x) = L \cdot M}
  5. Limit Quotient Law. limxaf(x)g(x)=limxaf(x)limxag(x)=LM,{\lim\limits_{x \to a} \dfrac{f(x)}{g(x)} = \dfrac{\lim\limits_{x \to a}f(x)}{\lim\limits_{x \to a}g(x)} = \dfrac{L}{M},} provided M0{M \neq 0}
  6. Limit Power Law. limxa[f(x)]n=(limxaf(x))n=Ln,{\lim\limits_{x \to a}[f(x)]^n = \left( \lim\limits_{x \to a} f(x) \right)^n = L^n,} for all nN.{n \in \nat.}
  7. Limit Root Law. limxaf(x)n=limxaf(x)n=Ln;{\lim\limits_{x \to a}\sqrt[n]{f(x)} = \sqrt[n]{\lim\limits_{x \to a} f(x)} = \sqrt[n]{L};} if n{n} is odd, for all L,{L,} if n{n} is even, for all L0,{L \geq 0,} and for all f(x)0.{f(x) \geq 0.}

Limits & Continuity

In this section, we tie limits to continuity. So far, we've been using these ideas somewhat sloppily. To make best use of these concepts, we must subject them to more rigorous treatment. As a first step, let's revisit the informal definition. Suppose we have a function, f(x).{f(x).} If we can get f(x){f(x)} as close as possible to some real number A{A} by making x{x} as close as possible, but not equal, to some real number a,{a,} then we say that f(x){f(x)} has a limit of A{A} as x{x} approaches a.{a.} We denote this proposition with the notation:

limxaf(x)=A. \lim\limits_{x \to a} f(x) = A.

In turn, when we write limxaf(x)=A,{\lim\limits_{x \to a} f(x) = A,} we say that f(x){f(x)} converges to A{A} as x{x} approaches a.{a.} Some limits are relatively easy to compute. We just have to substitute:

limx2x2+3x+1=(2)2+3(2)+1=4+33=73. \lim\limits_{x \to 2} \dfrac{x^2 + 3}{x + 1} = \dfrac{(2)^2 + 3}{(2) + 1} = \dfrac{4 + 3}{3} = \dfrac{7}{3}.

Usually, derivatives are harder to compute than simple limits. This is because we are computing the limit of a quotient that takes functions as inputs:

limx0f(x0+Δx)f(x0)xx0. \lim\limits_{x \to _0} \dfrac{f(x_0 + \Delta x) - f(x_0) }{x - x_0}.

This is a good example of how framing, or rewriting, propositions and expressions can dramatically change a problem. Here's an interesting point: If we suppose x=x0,{x = x_0,} then we always get 00.{\frac{0}{0}.} And as we know, 00{\frac{0}{0}} is something we do not want in continuous mathematics. In other words, the assumption x=x0{x = x_0} doesn't work in the context of the difference quotient. Because of this issue, we must always have some form of cancellation, or simplification, of the difference quotient. To better understand limits, we need a few more pieces of notation. The expression:

limxx0+f(x) \lim\limits_{x \to x_0^+} f(x)

is called the right-hand limit. The right-hand limit expresses two propositions:

  1. x{x} is approaching x0,{x_0,} and
  2. x>x0{x > x_0}

In other words, "x{x} is approaching x0{x_0} from the right" (hence, the "right-hand limit"). Since x>x0,{x > x_0,} the two propositions allow us to infer that x{x} is getting smaller and smaller. In contrast, the expression:

limxx0f(x) \lim\limits_{x \to x_0^-} f(x)

is called the left-hand limit. The left-hand limit expresses two propositions:

  1. x{x} is approaching x0{x_0} and
  2. x<x0{x < x_0}

Thus, the notation encapsulates the statement, "x{x} is approaching x0{x_0} from the left." Since x<0,{x < 0,} this statement implies that x{x} is getting bigger and bigger.

Left and right hand limits

The left- and right-hand limits are the component propositions of limxx0f(x).{\lim\limits_{x \to x_0} f(x).} More formally:

definition. limxx0f(x)=L{limxx0f(x)=Llimxx0+f(x)=L\lim\limits*{x \to x_0} f(x) = L \nc \begin{cases} &\lim\limits*{x \to x*0^-} f(x) = L \\ \\ &\land \\ \\ &\lim\limits*{x \to x_0^+} f(x) = L \end{cases}

Notice the direction of the implication. It only goes one way. The fact that there are left- and right-hand limits does not imply that there is a general limit. However, the fact that there is a general limit implies that there are left- and right-hand limits. As we will see with infinite discontinuities, a function can have left- and right-hand limits without having a general limit. Having these two notations allows us to decompose difficult limits. Instead of trying to tackle the limit by thinking of it all at once, we divide it into two parts, (1) the limit from the left, and (2) the limit from the right. Limits for piecewise functions are the most likely contenders for difficult computation:

f(x)={x+1x>0x+2x<0 f(x) = \begin{cases} x + 1 &x > 0 \\[1em] -x + 2 &x < 0 \end{cases}

Graphically, this function looks like:

Piecewise Function

What is the limit of f(x)?{f(x)?} The notation we just covered is helpful:

limx0+f(x)=limx0(x+1)=1limx0f(x)=limx0(x+2)=2 \lim\limits_{x \to 0^+} f(x) = \lim\limits_{x \to 0} (x + 1) = 1 \\ \lim\limits_{x \to 0^-} f(x) = \lim\limits_{x \to 0} (-x + 2) = 2

Notice that we did not use x=0{x = 0} as a value.

Introduction to Continuity

Having elaborated further on limits, we now address the concept of continuity. To begin, recall that functions come in various shapes and sizes. For example, some functions continue forever. Functions like y=ex,{y = e^x,} y=x,{y = \sqrt{x},} y=lnx,{y = \ln x,} and the trigonometric functions like sinx{\sin x} continue indefinitely. In contrast, there are functions that have a "hole" along their graph, like f(x)=x21x1.{f(x) = \dfrac{x^2 - 1}{x - 1}.} Finally, there are functions with two or more branches which are not connected. E.g., f(x)=1x.{f(x) = \dfrac{1}{x}.}

We now formalize this phenomenon.

definition. If and only if f{f} is continuous at x0,{x_0,} then the limit of f(x){f(x)} as x{x} approaches 0 is equal to f(x0).{f(x_0).}

In other words:

f(x){f(x)} is continuous at x0{x_0} > > limxx0f(x)=f(x0){\iff \lim\limits_{x \to x_0} f(x) = f(x_0)}

Functions that continue indefinitely, without any holes, are said to be continuous. More specifically, we say that such functions are "continuous on its whole domain." If a function f{f} is not continous — i.e., does not continue indefinitely given its domain — then are three possibilities: (1) f{f} is not continuous at some value (a hole in the function's graph); (2) f{f} is discontinuous at some value (a "jump" in f{f}'s graph'); or (3) f{f} has a discontinuity at some value (a "break" in the f{f}'s graph, such as a vertical asymptote'). We will explore these possibilities in the next section.

Our definition for continuity contains numerous propositions. When we say, "f{f} is continuous at x0{x_0}" we imply:

limxx0f(x){\lim\limits_{x \to x_0} f(x)} exists.

The proposition above then implies:

limxx0+f(x){\lim\limits_{x \to x_0^+} f(x)} exists limxx0f(x){\lim\limits_{x \to x_0^-} f(x)} exists

I.e., that there are left- and right-hand limits for f(x).{f(x).} Moreover, continuity implies that these the left- and right-hand limits are the same. Furthermore, continuity implies that f(x0){f(x_0)} is defined. There can never be continuity if f(x0){f(x_0)} is undefined. This is why understanding a function's domain is critical.

To summarize, to prove a function f{f} is continuous at x=a{x = a} we must prove that the following propositions are true:

  • f(a){f(a)} is defined
  • limxaf(x){\lim\limits_{x \to a} f(x)} exists
  • f(a)=limxaf(x){f(a) = \lim\limits_{x \to a} f(x)}

We should be very clear about defining continuity. When we say that f(x0){f(x_0)} is continuous, we are implying that:

limxx0f(x)=f(x0){\lim\limits_{x \to x_0} f(x) = f(x_0)}

The left and right-hand side of the equation above are completely independent. At no point is x=x0.{x = x_0.} In fact, xx0.{x \neq x_0.} The limit is intended to express what happens when f{f} is close to x0.{x_0.} Earlier, we said that some limits are easy, in that we can just substitute values. The limit above is the opposite. These are the kinds of limits that are more difficult, in that we cannot simply just substitute values.

The expression f(x0){f(x_0)} is the result of an "easy limit" — the kind of limit where we can simply substitute. The other expression, limxx0f(x){\lim\limits_{x \to x_0} f(x)} are the more difficult limits. The ones where we cannot just use substitution. Instead, limxx0f(x){\lim\limits_{x \to x_0} f(x)} is the kind of limit where we must decompose the limit into its left- and right-hand sides or find some form of cancellation, then determine whether they are equivalent to f(x0.){f(x_0.)}

Introduction to Discontinuity

As stated earlier, not all functions are continuous; some functions are discontinuous, or discontinuous at certain points. Accordingly, we should address these functions briefly. To recap, there if a function is not continuous, there are possibilities: (1) The function f{f} is not continuous at some value (e.g., a hole); (2) the function f{f} is discontinuous at some some value (e.g., a jump); or (3) the function has a discontinuity at some value (e.g., a vertical asymptote). More formally:

For some functions, we can remove these discontinuities. For others, we cannot. Formally:

definition. Suppose f{f} is a function discontinuous at x=a.{x = a.} If limxaf(x){\lim\limits_{x \to a} f(x)} exists, then f{f} has a removable discontinuity at x=a.{x = a.} Else, f{f} has an essential discontinuity at x=a.{x = a.}

Discontinuity comes in various forms. The first such form we explore are the jump discontinuities. A jump discontinuity occurs when both left- and right-hand limits exist, but are not equal.

Definition: Jump Discontinuity. A jump discontinuity exists if and only if:

  1. limxx0f(x),{\exists \lim\limits_{x \to x_0^-} f(x),}
  2. limxx0+f(x),{\exists \lim\limits_{x \to x_0^+} f(x),} and
  3. limxx0f(x)limxx0+f(x){\lim\limits_{x \to x_0^-} f(x) \neq \lim\limits_{x \to x_0^+} f(x)}

The piecewise function we saw earlier is an example of a function with a jump discontinuity. One limit was 1, the other limit was 2.

Another form of discontinuity is the removable discontinuity. In a function with a removable discontinuity, the left- and right-hand limits are equal, but there is some hole, or gap, in the function's graph. For example:

Removable discontinuity

Consider, for example, the following functions:

  • g(x)=sinxx{g(x) = \dfrac{\sin x}{x}}
  • h(x)=1cosxx{h(x) = \dfrac{1 - \cos x}{x}}

Notice that g(0){g(0)} is undefined. It turns out, however, that g(x){g(x)} has a removable discontinuity:

limx0sinxx=1 \lim\limits_{x \to 0} \dfrac{\sin x}{x} = 1

Similarly, h(0){h(0)} is also undefined, and h{h} also has a removable discontinuity:

limx01cosxx=0 \lim\limits_{x \to 0} \dfrac{1 - \cos x}{x} = 0

Based on these facts, we say that g(x)=sinxx{g(x) = \dfrac{\sin x}{x}} and h(x)=1cosxx{h(x) = \dfrac{1 - \cos x}{x}} have removable discontinuities at x=0.{x = 0.} The two facts above will be used extensively in later sections when we handle the derivatives of trigonometric functions.

The third form of a discontinuity is the infinite discontinuity. Consider the function f(x)=1/x.{f(x) = 1/x.} Its graph appears as:

Infinite discontinuity

Viewing this graph, limx0+1x=.{\lim\limits_{x \to 0^+} \dfrac{1}{x} = \infty.} In contrast, limx01x=.{\lim\limits_{x \to 0^-} \dfrac{1}{x} = - \infty.} The graph of 1x{\dfrac{1}{x}} demonstrates that there are, in fact, definite limits of 1x.{\dfrac{1}{x}.} However, there is no such thing as limx01x.{\lim\limits_{x \to 0} \dfrac{1}{x}.} Notice this distinction. There are left- and right-hand limits, but there is no general limit.

Let's briefly consider the derivative of y=1x.{y = \dfrac{1}{x}.} We know that y=1x=x1,{y = \dfrac{1}{x} = x^{-1},} so y=(1)(x)2.{y' = (-1)(x)^{-2}.} In other words, y=1x2.{y' = -\dfrac{1}{x^2}.} The graph:

Derivative in question

Note how the graph looks entirely different from 1x{\dfrac{1}{x}}. Newcomers to the kingdom of calculus often think that derivatives ought to look similar to their undifferentiated forms. This intuition is very tempting, and it is very wrong. More often than note, derivatives look nothing like their undifferentiated forms, and we must rid ourselves of such notions.

The graph of a derivative is a graphical representation of how the function's slope changes. In the graph of 1x,{\dfrac{1}{x},} the right branch's slope gets less steep as we get closer and closer to x=0.{x = 0.} This is why the right branch of 1x2{-\dfrac{1}{x^2}} gets closer and closer to x=0.{x = 0.} Similarly, as the right branch gets closer to y=0,{y = 0,} the corresponding right branch in 1x2{- \dfrac{1}{x^2}} gets closer and closer to y=0.{y = 0.} The slope of 1x,{\dfrac{1}{x},} however, is always negative, hence the position of the right branch of 1x2.{- \dfrac{1}{x^2}.} The same analysis goes for the left branch of 1x.{\dfrac{1}{x}.}

The graph of y=1x2{y' = - \dfrac{1}{x^2}} confirms our understanding of the left- and right-hand limits. limx0y=.{\lim\limits_{x \to 0} y' = - \infty.} This general limit implies that limx0+y=,{\lim\limits_{x \to 0^+} y' = - \infty,} and limx0y=.{\lim\limits_{x \to 0^-} y' = - \infty.}

1x{\dfrac{1}{x}} and its derivative 1x2{- \dfrac{1}{x^2}} is a good example of another phenomenon. The function y=1x{y = \dfrac{1}{x}} is an odd function, and the function y=1x2{y' = - \dfrac{1}{x^2}} is an even function. This is not a coincidence. The derivative of an odd function will always return an even function.

There is one final form of discontinuities we might encounter. We colloquially call these ugly discontinuities. There are many variants of ugly discontinuities, but one that we are likely to encounter most is limx0y=sin1x.{\lim\limits_{x \to 0} y = \sin \dfrac{1}{x}.} There are no left- or right- hand limits for this function. This appears to violate our rule regarding general limits, but there is a work-around for these functions. However, we will not worry about these limits for now. We mention them here in the event they appear.

Differentiability Implies Continuity

Now that we've had a more rigorous treatment of limits, we can now state an important theorem in calculus:

theorem. If f{f} is differentiable (i.e., there exists a derivative for f{f}) at x0,{x_0,} then f{f} is continuous at x0.{x_0.}

This theorem is what underlies the product rule and the quotient rule, two critical rules for differentiating.

Proof. The proposition to be proved: limxx0f(x)f(x0)=0.{\lim\limits_{x \to x_0} f(x) - f(x_0) = 0.} We can rewrite the proposition as limxx0f(x)f(x0)xx0(xx0).{\lim\limits_{x \to x_0} \dfrac{f(x) - f(x_0)}{x - x_0} (x-x_0).} Taking the limit, we have limxx0f(x)f(x0)xx0(xx0)=f(x0)0=0.{\lim\limits_{x \to x_0} \dfrac{f(x) - f(x_0)}{x - x_0} (x-x_0) = f'(x_0) \cdot 0 = 0.} Thus, limxx0f(x)f(x0)=0.{\lim\limits_{x \to x_0} f(x) - f(x_0) = 0.} {\blacksquare}