📖 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
✏️ Worked example
Find $\lim_{x\to3}\frac{x^2-9}{x-3}$ and $\lim_{x\to\infty}\frac{2x+1}{x-5}$.
- $\displaystyle \frac{(x-3)(x+3)}{x-3}=x+3\to6$
- $\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}$.
- Multiply by the conjugate.$$\frac{x-4}{(x-4)(\sqrt x+2)}=\frac{1}{\sqrt x+2}$$
- Substitute.$$\frac14$$
Example 3$f(x)=\begin{cases}x+1,&x\lt2\\5-x,&x\ge2\end{cases}$. Find $\lim_{x\to2}f(x)$.
- One-sided limits.$$\lim_{x\to2^-}=3,\qquad\lim_{x\to2^+}=3$$
- They agree.$$\lim_{x\to2}f(x)=3=f(2)$$
Example 4Find $\lim_{x\to\infty}\dfrac{3x^2-x}{5x^2+2}$ and $\lim_{x\to-\infty}\dfrac{x}{x^2+1}$.
- Equal degrees: ratio of leading coefficients.$$\frac35$$
- Bigger denominator degree.$$0$$
Example 5Find $\lim_{x\to0}\dfrac{\sqrt{x+9}-3}{x}$.
- Multiply by the conjugate.$$\frac{x}{x(\sqrt{x+9}+3)}=\frac{1}{\sqrt{x+9}+3}$$
- Substitute.$$\frac16$$
Example 6Find $\lim_{x\to2}\dfrac{x^3-8}{x^2-4}$.
- Factor both.$$\frac{(x-2)(x^2+2x+4)}{(x-2)(x+2)}$$
- Cancel and substitute.$$\frac{4+4+4}{4}=3$$
Example 7Find $k$ so that $f(x)=\begin{cases}kx+1,&x\lt3\\x^2-2,&x\ge3\end{cases}$ is continuous.
- Match the one-sided limits at $3$.$$3k+1=9-2=7$$
- Solve.$$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
- 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
- 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
- Evaluate.$$P(0)=100$$
- 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
- 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
- Average velocity.$$\frac{(3+h)^2-9}{h}=6+h$$
- 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
- 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
- Multiply by the conjugate.$$\frac{x}{\sqrt{x^2+x}+x}$$
- 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
- Multiply by $1+\cos x$.$$\frac{\sin^2x}{x^2(1+\cos x)}$$
- 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.
A limit describes what happens near $a$, not at $a$. For $f(x)=\frac{x^2-1}{x-1}$, $f(1)$ is undefined, but for $x\neq1$ the function equals $x+1$, so its values approach $2$. The graph is a line with a hole at $(1,2)$.