Skip to content
Home › Math lessons › College › Limits and Continuity: math lesson, College

Limits and Continuity: math lesson, College – download the PDF

  • by
Rate this post
Math lessons College : Limits and Continuity — Zyro the alien explorer of Planète Maths

How close can a function get to a value without ever touching it? Limits answer exactly that question, and they are the foundation of everything in calculus: derivatives, integrals, and infinite series all rest on them. In this chapter you will learn to read limits from tables and graphs, compute them with algebra, understand what happens at infinity, and use continuity to guarantee that a function has no surprises.

1. The intuitive idea of a limit

Definition (limit)

Let \(f\) be a function defined near \(a\) (it may be undefined at \(a\) itself). We write \(\displaystyle\lim_{x\to a} f(x)=L\) when the values \(f(x)\) get as close to \(L\) as we like by taking \(x\) close enough to \(a\), with \(x\neq a\).

The key phrase is “with \(x\neq a\)”. A limit describes the behavior near \(a\), not the value at \(a\). The function can even be undefined at \(a\), as in the next example.

Example 1: a hole in the graph

Let \(f(x)=\dfrac{x^2-4}{x-2}\). It is undefined at \(x=2\), but for \(x\neq 2\) we can factor: \(f(x)=\dfrac{(x-2)(x+2)}{x-2}=x+2\). Check numerically:

\(x\) 1.9 1.99 1.999 2.001 2.01 2.1
\(f(x)\) 3.9 3.99 3.999 4.001 4.01 4.1

The values approach 4 from both sides, so \(\displaystyle\lim_{x\to 2}\dfrac{x^2-4}{x-2}=4\). The graph is the line \(y=x+2\) with one point removed.

-3-2-112345-22468hole at (2, 4)

Zyro says A table of values gives you a good guess, never a proof. Use it to predict the limit, then confirm it with algebra.

2. One-sided limits

Sometimes the function behaves differently on each side of \(a\). We write \(\displaystyle\lim_{x\to a^-}f(x)\) for the left-hand limit (using only \(xright-hand limit (using only \(x>a\)).

Property (two sides)

\(\displaystyle\lim_{x\to a}f(x)=L\) if and only if \(\displaystyle\lim_{x\to a^-}f(x)=L\) and \(\displaystyle\lim_{x\to a^+}f(x)=L\). If the two one-sided limits differ, the limit does not exist.

Example 2: a jump

Let \(f(x)=x+1\) for \(x<2\) and \(f(x)=6-x\) for \(x\ge 2\). Then \(\displaystyle\lim_{x\to2^-}f(x)=2+1=3\) and \(\displaystyle\lim_{x\to2^+}f(x)=6-2=4\). Since \(3\neq4\), \(\displaystyle\lim_{x\to2}f(x)\) does not exist, even though \(f(2)=4\).

-112345-112345left limit 3f(2) = 4

One-sided limits also describe blow-up. For \(x\) slightly bigger than 0, \(\dfrac1x\) is a huge positive number, so \(\displaystyle\lim_{x\to0^+}\dfrac1x=+\infty\); on the left it is hugely negative, so \(\displaystyle\lim_{x\to0^-}\dfrac1x=-\infty\). The symbol \(\infty\) tells you how the function behaves, but it is not a real number, so such a limit is said to be infinite (and does not exist as a finite number).

3. Limit laws

Limit laws

Suppose \(\lim_{x\to a}f(x)=L\) and \(\lim_{x\to a}g(x)=M\) are both finite numbers, and let \(c\) be a constant. Then:

  • \(\lim (f+g)=L+M\) and \(\lim (f-g)=L-M\)
  • \(\lim\, c\,f=c\,L\) and \(\lim\, f\,g=L\,M\)
  • \(\lim \dfrac{f}{g}=\dfrac{L}{M}\) provided \(M\neq0\)
  • \(\lim \,(f(x))^n=L^n\) and \(\lim\sqrt[n]{f(x)}=\sqrt[n]{L}\) (when the root is defined)

For polynomials and many other functions, direct substitution works: \(\lim_{x\to a}f(x)=f(a)\). For example, \(\lim_{x\to 3}(2x^2-x)=18-3=15\). Trouble appears when substitution gives the indeterminate form \(\dfrac00\). Then you must rewrite the expression first.

Method: handling \(\frac00\)

  1. Substitute \(x=a\). If you get a nonzero number, you are done.
  2. If you get \(\frac00\), factor the numerator and denominator and cancel the common factor \((x-a)\); or, if a square root is involved, multiply top and bottom by the conjugate.
  3. Substitute again in the simplified expression.
Example 3: using a conjugate

Find \(\displaystyle\lim_{x\to3}\dfrac{\sqrt{x+1}-2}{x-3}\). Substitution gives \(\frac00\). Multiply by the conjugate \(\sqrt{x+1}+2\):

\[\dfrac{\sqrt{x+1}-2}{x-3}\cdot\dfrac{\sqrt{x+1}+2}{\sqrt{x+1}+2}=\dfrac{(x+1)-4}{(x-3)(\sqrt{x+1}+2)}=\dfrac{1}{\sqrt{x+1}+2}.\]

As \(x\to3\), this tends to \(\dfrac{1}{2+2}=\dfrac14\).

4. Limits at infinity and asymptotes

We also ask what happens when \(x\) becomes very large: \(\displaystyle\lim_{x\to+\infty}f(x)\) and \(\displaystyle\lim_{x\to-\infty}f(x)\). The basic fact is \(\displaystyle\lim_{x\to\pm\infty}\dfrac1{x^n}=0\) for every positive integer \(n\).

Method: rational functions at infinity

Divide the numerator and the denominator by the highest power of \(x\) that appears in the denominator, then use \(\frac1{x^n}\to0\).

Example 4: horizontal and vertical asymptotes

For \(g(x)=\dfrac{3x+1}{x-1}\), divide by \(x\): \(g(x)=\dfrac{3+\frac1x}{1-\frac1x}\to\dfrac{3}{1}=3\) as \(x\to\pm\infty\). So the line \(y=3\) is a horizontal asymptote. At \(x=1\) the denominator is 0 while the numerator is 4, so \(g\) blows up: \(x=1\) is a vertical asymptote.

-3-2-11234567-4-2246810

Asymptotes

The line \(y=L\) is a horizontal asymptote if \(\lim_{x\to+\infty}f(x)=L\) or \(\lim_{x\to-\infty}f(x)=L\). The line \(x=a\) is a vertical asymptote if at least one one-sided limit at \(a\) is \(+\infty\) or \(-\infty\).

Watch out When you take roots, signs matter: \(\sqrt{x^2}=|x|\), which equals \(-x\) when \(x\) is negative. The limits at \(+\infty\) and \(-\infty\) of \(\dfrac{\sqrt{x^2}}{x}\) are \(1\) and \(-1\).

5. The squeeze theorem

Squeeze theorem

If \(h(x)\le f(x)\le g(x)\) for all \(x\) near \(a\) (except possibly at \(a\)) and \(\lim_{x\to a}h(x)=\lim_{x\to a}g(x)=L\), then \(\lim_{x\to a}f(x)=L\). The same statement holds as \(x\to\pm\infty\).

Example 5: an oscillating function

Find \(\displaystyle\lim_{x\to0}x^2\sin\dfrac1x\). The function \(\sin\frac1x\) oscillates wildly and has no limit at 0, but it always lies between \(-1\) and \(1\). Multiplying by \(x^2\ge0\):

\[-x^2\le x^2\sin\tfrac1x\le x^2.\]

Both \(-x^2\) and \(x^2\) tend to 0, so the middle function also tends to 0.

-0.4-0.20.20.40.6-0.4-0.3-0.2-0.10.10.20.30.4

6. Continuity at a point

Definition (continuity)

A function \(f\) is continuous at \(a\) if three conditions hold:

  1. \(f(a)\) is defined;
  2. \(\lim_{x\to a}f(x)\) exists (as a finite number);
  3. \(\lim_{x\to a}f(x)=f(a)\).

Informally, you can draw the graph near \(a\) without lifting your pencil. Polynomials, \(\sin x\), \(\cos x\), \(e^x\), and roots are continuous wherever they are defined, and sums, products, quotients (with nonzero denominator), and compositions of continuous functions are continuous.

Example 6: choosing a value to repair a function

Let \(f(x)=\dfrac{x^2-9}{x-3}\) for \(x\neq3\). For which value \(k=f(3)\) is \(f\) continuous at 3? We have \(f(x)=x+3\) for \(x\neq3\), so \(\lim_{x\to3}f(x)=6\). Continuity requires \(f(3)=\lim_{x\to3}f(x)\), so \(k=6\).

7. Types of discontinuity

When one of the three conditions fails, \(f\) is discontinuous at \(a\). There are three classic shapes.

  • Removable: the limit exists but \(f(a)\) is undefined or different from the limit (a hole). You can repair it by redefining \(f(a)\).
  • Jump: both one-sided limits exist but are different numbers.
  • Infinite: at least one one-sided limit is \(\pm\infty\) (a vertical asymptote).
Common mistake “\(f(a)\) exists, so the limit exists.” False! The value at the point and the limit near the point are separate questions. Always check all three conditions.

8. The Intermediate Value Theorem

Intermediate Value Theorem (IVT)

If \(f\) is continuous on the closed interval \([a,b]\) and \(N\) is any number between \(f(a)\) and \(f(b)\), then there is at least one \(c\) in \([a,b]\) with \(f(c)=N\).

The theorem is most often used to show that an equation has a solution: if \(f\) is continuous and \(f(a)\) and \(f(b)\) have opposite signs, then \(f\) has a root between \(a\) and \(b\). Continuity is essential; a function with a jump can skip values.

Example 7: locating a root

Show that \(x^3+x-3=0\) has a solution in \((1,2)\). Let \(f(x)=x^3+x-3\), a polynomial and therefore continuous. We have \(f(1)=1+1-3=-1<0\) and \(f(2)=8+2-3=7>0\). Since \(0\) lies between \(-1\) and \(7\), the IVT gives some \(c\in(1,2)\) with \(f(c)=0\).

-112-6-4-2246810f(1) = -1f(2) = 7c = 1.21

Key takeaways

  • \(\lim_{x\to a}f(x)=L\) describes what \(f(x)\) approaches as \(x\) nears \(a\); it ignores \(f(a)\).
  • The limit exists exactly when the left-hand and right-hand limits exist and are equal.
  • For a \(\frac00\) form, factor and cancel, or use a conjugate, then substitute.
  • At infinity, divide by the highest power of \(x\); \(\frac1{x^n}\to0\). Horizontal asymptotes come from limits at \(\pm\infty\), vertical ones from infinite one-sided limits.
  • Squeeze theorem: a function trapped between two functions with the same limit has that limit.
  • Continuity at \(a\): \(f(a)\) defined, limit exists, and they are equal.
  • Discontinuities are removable, jump, or infinite.
  • IVT: continuous on \([a,b]\) means every value between \(f(a)\) and \(f(b)\) is reached.
Do the practice problems : Limits and Continuity: math lesson, College – Planète MathsTake the quiz : Limits and Continuity: math lesson, College – Planète Maths

Test yourself: quick challenge for College

Speed drill for College: how many in 60 seconds?

🚀 Keep exploring with Zyro