School › Grade 12

Limits & Continuity

Grade 12 · More topics

📖 Short lecture

The limit $\lim_{x\to a}f(x)=L$ means that $f(x)$ gets as close to $L$ as we like when $x$ is close enough to $a$ (but not equal to it). The function need not be defined at $a$: for $f(x)=\frac{x^2-1}{x-1}$ we get $\lim_{x\to1}f(x)=2$ although $f(1)$ is undefined.

A function is continuous at $a$ if $\lim_{x\to a}f(x)=f(a)$: its graph has no hole, jump or break there. Polynomials, $\sin$, $\cos$ and $e^x$ are continuous everywhere. Limits at infinity describe the behaviour for large $x$, e.g. $\lim_{x\to\infty}\frac1x=0$.

⚠️ Common mistakes

  • $\frac{0}{0}$ is not an answer: it means “simplify first”.
  • The limit at $a$ can exist even if $f(a)$ is undefined, and it can differ from $f(a)$.
  • If the left and right limits differ, the two-sided limit does not exist.

🔑 Key formulas

$$\lim_{x\to a}f(x)=L$$
Limit
$$\lim_{x\to0}\frac{\sin x}{x}=1$$
A famous limit
$$\lim_{x\to a}f(x)=f(a)$$
Continuity at $a$
$$\lim_{x\to0}\frac{\sin x}{x}=1$$
A special limit
$$f\ \text{continuous at }a\iff\lim_{x\to a}f(x)=f(a)$$
Continuity

✏️ Worked example

Find $\lim_{x\to3}\frac{x^2-9}{x-3}$ and $\lim_{x\to\infty}\frac{2x+1}{x-5}$.

  1. $\displaystyle \frac{(x-3)(x+3)}{x-3}=x+3\to6$
  2. $\displaystyle \frac{2+\frac1x}{1-\frac5x}\to\frac{2}{1}=2$

✔ $6$ and $2$.

🧮 More worked examples

Each step says what we do and why.

Example 2Find $\lim_{x\to4}\dfrac{\sqrt x-2}{x-4}$.

  1. Multiply by the conjugate.$$\frac{x-4}{(x-4)(\sqrt x+2)}=\frac{1}{\sqrt x+2}$$
  2. Substitute.$$\frac14$$
✔ $\frac14$.

Example 3$f(x)=\begin{cases}x+1,&x\lt2\\5-x,&x\ge2\end{cases}$. Find $\lim_{x\to2}f(x)$.

  1. One-sided limits.$$\lim_{x\to2^-}=3,\qquad\lim_{x\to2^+}=3$$
  2. They agree.$$\lim_{x\to2}f(x)=3=f(2)$$
✔ $3$; $f$ is continuous at $2$.

Example 4Find $\lim_{x\to\infty}\dfrac{3x^2-x}{5x^2+2}$ and $\lim_{x\to-\infty}\dfrac{x}{x^2+1}$.

  1. Equal degrees: ratio of leading coefficients.$$\frac35$$
  2. Bigger denominator degree.$$0$$
✔ $\frac35$ and $0$.

Example 5Find $\lim_{x\to0}\dfrac{\sqrt{x+9}-3}{x}$.

  1. Multiply by the conjugate.$$\frac{x}{x(\sqrt{x+9}+3)}=\frac{1}{\sqrt{x+9}+3}$$
  2. Substitute.$$\frac16$$
✔ $\frac16$.

Example 6Find $\lim_{x\to2}\dfrac{x^3-8}{x^2-4}$.

  1. Factor both.$$\frac{(x-2)(x^2+2x+4)}{(x-2)(x+2)}$$
  2. Cancel and substitute.$$\frac{4+4+4}{4}=3$$
✔ $3$.

Example 7Find $k$ so that $f(x)=\begin{cases}kx+1,&x\lt3\\x^2-2,&x\ge3\end{cases}$ is continuous.

  1. Match the one-sided limits at $3$.$$3k+1=9-2=7$$
  2. Solve.$$k=2$$
✔ $k=2$.

🖐️ Interactive demo & illustration

Move the sliders or press the buttons: the figure and the numbers update immediately. Try to predict the result before you look.

🎬 Approach from both sides

Two points slide towards $x=a$, one from the left and one from the right. If both heights approach the same number $L$, then $\lim_{x\to a}f(x)=L$, whatever happens exactly at $a$. Compare a hole, a jump and a vertical asymptote.

🎞️ The ε–δ game: how close is close enough?

$\lim_{x\to a}f(x)=L$ means: for every tolerance $\varepsilon\gt0$ around $L$ (green band) there is a window $\delta\gt0$ around $a$ (orange band) such that every $x$ in the window gives $f(x)$ inside the green band. Shrink $\varepsilon$ and watch $\delta$ shrink with it; it never becomes impossible.

🌍 Modelling problems

Real-life situations: translate the words into mathematics, solve, then interpret the answer.

📞 Phone plan

A plan costs $C(m)=\begin{cases}50,&m\le300\\50+0.2(m-300),&m\gt300\end{cases}$ ($m$ minutes). Is it continuous at $300$?

Show the solution
  1. Both sides at $300$.$$\lim_{m\to300^-}C=50,\qquad\lim_{m\to300^+}C=50,\qquad C(300)=50$$

✔ Yes, continuous.

🏭 Long-run average

The cost per item is $A(x)=\dfrac{8x+1200}{x}$. What happens for very large production?

Show the solution
  1. Limit at infinity.$$\lim_{x\to\infty}\left(8+\frac{1200}{x}\right)=8$$

✔ The cost per item approaches $8$ AED.

🐟 Fish population

A lake's fish population is $P(t)=\dfrac{2000t+100}{t+1}$. Find $P(0)$ and the long-run population.

Show the solution
  1. Evaluate.$$P(0)=100$$
  2. Limit.$$\lim_{t\to\infty}P(t)=2000$$

✔ $100$ at the start, approaching $2000$.

🏦 The limit behind $e$

$10\,000$ AED earns $5\%$ compounded $n$ times a year. What is the amount after one year as $n\to\infty$?

Show the solution
  1. Limit.$$\lim_{n\to\infty}\left(1+\tfrac{0.05}{n}\right)^n=e^{0.05}\approx1.05127$$

✔ About $10\,512.7$ AED.

🚗 Instant speed

A car's position is $s(t)=t^2$ m. Use average velocities on $[3,3+h]$ to find its speed at $t=3$.

Show the solution
  1. Average velocity.$$\frac{(3+h)^2-9}{h}=6+h$$
  2. Let $h\to0$.$$6$$

✔ $6$ m/s.

✉️ Postage

Postage costs $3$ AED per started $100$ g. Is the cost continuous at $200$ g?

Show the solution
  1. One-sided limits.$$\lim_{w\to200^-}C=6,\qquad\lim_{w\to200^+}C=9$$

✔ No: there is a jump from $6$ to $9$ AED.

🏆 Challenge problems

Harder problems for students aiming higher. Try first, then open the solution.

🏆 Infinity minus infinity

Find $\lim_{x\to\infty}\left(\sqrt{x^2+x}-x\right)$.

Show the solution
  1. Multiply by the conjugate.$$\frac{x}{\sqrt{x^2+x}+x}$$
  2. Divide by $x$.$$\frac{1}{\sqrt{1+\frac1x}+1}\to\frac12$$

✔ $\frac12$.

🏆 A trigonometric limit

Find $\lim_{x\to0}\dfrac{1-\cos x}{x^2}$.

Show the solution
  1. Multiply by $1+\cos x$.$$\frac{\sin^2x}{x^2(1+\cos x)}$$
  2. Use $\frac{\sin x}{x}\to1$.$$1\cdot\frac12$$

✔ $\frac12$.

✅ Multiple-choice quiz

📝 Short essay

Why can the limit of $f(x)$ at $a$ exist even when $f(a)$ is not defined? Give an example.