Limits and Derivatives • Topic 1 of 3

Intuitive Idea and Algebra of Limits

A limit describes the value a function approaches as its input creeps towards some number $a$ — not the value at $a$, which the function may never actually reach (or may not even be defined there). We write $\lim_{x \to a} f(x) = L$ to mean: as $x$ gets arbitrarily close to $a$, the output $f(x)$ gets arbitrarily close to $L$. A quick numerical table makes the idea concrete — for $f(x) = \dfrac{x^2 - 1}{x - 1}$ near $x = 1$, feeding in $0.9, 0.99, 0.999$ and $1.1, 1.01, 1.001$ produces outputs marching towards $2$ from both sides, even though $f(1)$ itself is undefined.

One-sided limits. Because $x$ can approach $a$ from two directions, we distinguish the left-hand limit (LHL), approaching through values smaller than $a$, and the right-hand limit (RHL), approaching through larger values:

$$\text{LHL} = \lim_{x \to a^-} f(x), \qquad \text{RHL} = \lim_{x \to a^+} f(x)$$

To compute a one-sided limit of a piecewise function, you must use the piece that applies on that side of $a$ — the rule for $x < a$ for the LHL, the rule for $x > a$ for the RHL.

Existence of a limit. The limit at $a$ exists if and only if both one-sided limits exist and agree. This is the single most-tested idea of the topic:

$$\lim_{x \to a} f(x) \text{ exists} \iff \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x)$$

If the two sides disagree — as happens at a jump — the limit simply does not exist, no matter how nicely the function behaves elsewhere. A classic case is $f(x) = |x|/x$ at $x = 0$: the LHL is $-1$ and the RHL is $+1$, so $\lim_{x \to 0} f(x)$ does not exist.

Algebra of limits. Provided $\lim_{x \to a} f(x)$ and $\lim_{x \to a} g(x)$ both exist, limits respect the basic operations. Let $\lim f = L$ and $\lim g = M$:

LawStatement
Sum / Difference$\lim (f \pm g) = L \pm M$
Constant multiple$\lim (k\,f) = kL$
Product$\lim (f \cdot g) = L \cdot M$
Quotient$\lim \dfrac{f}{g} = \dfrac{L}{M}, \;\; M \ne 0$
Power$\lim \big(f\big)^{n} = L^{n}$

These laws are why limits are computable at all: a complicated expression is broken into pieces, each piece's limit is taken separately, and the results are recombined. The one trap is the quotient law — it is only valid when the denominator's limit $M \ne 0$.

Polynomials and rational functions. Polynomials are continuous everywhere, so for any polynomial $p(x)$ you get the limit by direct substitution: $\lim_{x \to a} p(x) = p(a)$. For a rational function $\dfrac{p(x)}{q(x)}$, substitution works as long as $q(a) \ne 0$, in which case $\lim_{x \to a} \dfrac{p(x)}{q(x)} = \dfrac{p(a)}{q(a)}$.

The $\dfrac{0}{0}$ form. When both numerator and denominator vanish at $a$, substitution gives the meaningless symbol $\dfrac{0}{0}$ — an indeterminate form. It does not mean the limit fails to exist; it means more work is needed. There are two standard cures:

  • Factor and cancel: when both parts are polynomials, $(x - a)$ is a common factor of each. Factor it out, cancel it, then substitute.
  • Rationalise: when a square root is present, multiply numerator and denominator by the conjugate to convert the surd difference into a difference of squares, which then cancels the offending factor.
$$\lim_{x \to 2}\dfrac{x^2 - 4}{x - 2} = \lim_{x \to 2}\dfrac{(x-2)(x+2)}{x-2} = \lim_{x \to 2}(x+2) = 4$$

Deeper Insight — a limit is about the journey, not the destination: The whole power of the limit concept comes from a deliberate separation between what a function does near a point and what it is at that point. In the example above, $\dfrac{x^2-4}{x-2}$ is genuinely undefined at $x = 2$ — there is a hole in the graph — yet the limit is a perfectly definite $4$, because every nearby value of the function is close to $4$. This is exactly why cancelling the factor $(x-2)$ is legitimate: for all $x \ne 2$ the two expressions are identical, and the limit only ever cares about $x \ne a$. The $\dfrac{0}{0}$ symbol is not an answer but a signal that a hidden common factor is masking the true behaviour, and learning to read that signal — factor, rationalise, or simplify — is the skill that the entire calculus syllabus is built upon.

Function approaching a limit value L from both sides A Limit: f(x) → L as x → a La from left →← from right LHL = RHL = L, even though f(a) may be undefined Removable hole created by a zero over zero form 0/0 form: a removable hole 42 y = (x²−4)/(x−2) undefined at x = 2, but limit = 4
1
Worked Example
Evaluate $\lim_{x \to 3}\,(2x^2 - 5x + 1)$.
Solution
  1. A polynomial is continuous everywhere, so use direct substitution.
  2. $2(3)^2 - 5(3) + 1 = 18 - 15 + 1 = 4$.

Answer: $\lim_{x \to 3}\,(2x^2 - 5x + 1) = 4$.

2
Worked Example
Evaluate $\lim_{x \to 1}\dfrac{x^2 - 1}{x - 1}$.
Solution
  1. Substituting $x = 1$ gives $\dfrac{0}{0}$ — an indeterminate form.
  2. Factorise the numerator: $x^2 - 1 = (x - 1)(x + 1)$.
  3. Cancel the common factor $(x - 1)$: $\dfrac{(x-1)(x+1)}{x-1} = x + 1$ for $x \ne 1$.
  4. Now substitute: $\lim_{x \to 1}(x + 1) = 2$.

Answer: $\lim_{x \to 1}\dfrac{x^2 - 1}{x - 1} = 2$.

3
Worked Example
Test whether $\lim_{x \to 0} f(x)$ exists for $f(x) = \begin{cases} x + 2, & x < 0 \\ 3 - x, & x \ge 0 \end{cases}$.
Solution
  1. Left-hand limit: $\lim_{x \to 0^-}(x + 2) = 0 + 2 = 2$.
  2. Right-hand limit: $\lim_{x \to 0^+}(3 - x) = 3 - 0 = 3$.
  3. Since LHL $= 2 \ne 3 = $ RHL, the one-sided limits disagree.

Answer: The limit does not exist at $x = 0$ (a jump).

4
Worked Example
Evaluate $\lim_{x \to 2}\dfrac{x^2 - 5x + 6}{x^2 - 4}$.
Solution
  1. Substituting $x = 2$ gives $\dfrac{0}{0}$, so factorise both parts.
  2. Numerator: $x^2 - 5x + 6 = (x - 2)(x - 3)$.
  3. Denominator: $x^2 - 4 = (x - 2)(x + 2)$.
  4. Cancel $(x - 2)$: $\dfrac{x - 3}{x + 2}$, then substitute: $\dfrac{2 - 3}{2 + 2} = -\dfrac{1}{4}$.

Answer: $\lim_{x \to 2}\dfrac{x^2 - 5x + 6}{x^2 - 4} = -\dfrac{1}{4}$.

5
Worked Example
Evaluate $\lim_{x \to 0}\dfrac{\sqrt{1 + x} - 1}{x}$.
Solution
  1. Direct substitution gives $\dfrac{0}{0}$; rationalise by multiplying by the conjugate $\sqrt{1+x}+1$.
  2. $\dfrac{(\sqrt{1+x}-1)(\sqrt{1+x}+1)}{x(\sqrt{1+x}+1)} = \dfrac{(1+x) - 1}{x(\sqrt{1+x}+1)} = \dfrac{x}{x(\sqrt{1+x}+1)}$.
  3. Cancel $x$: $\dfrac{1}{\sqrt{1+x}+1}$, then substitute $x = 0$: $\dfrac{1}{1 + 1} = \dfrac{1}{2}$.

Answer: $\lim_{x \to 0}\dfrac{\sqrt{1 + x} - 1}{x} = \dfrac{1}{2}$.

6
Worked Example
Given $\lim_{x \to a} f(x) = 4$ and $\lim_{x \to a} g(x) = -2$, find $\lim_{x \to a}\dfrac{3f(x) + g(x)}{f(x)\,g(x)}$.
Solution
  1. Apply the algebra of limits term by term.
  2. Numerator: $3(4) + (-2) = 12 - 2 = 10$.
  3. Denominator: $f \cdot g \to (4)(-2) = -8$, which is non-zero, so the quotient law applies.
  4. Divide: $\dfrac{10}{-8} = -\dfrac{5}{4}$.

Answer: $\lim_{x \to a}\dfrac{3f(x) + g(x)}{f(x)\,g(x)} = -\dfrac{5}{4}$.

7
Worked Example
Evaluate the limit of $f(x) = \dfrac{|x|}{x}$ as $x \to 0$, if it exists.
Solution
  1. For $x > 0$, $|x| = x$, so $f(x) = \dfrac{x}{x} = 1$; hence RHL $= \lim_{x \to 0^+} f(x) = 1$.
  2. For $x < 0$, $|x| = -x$, so $f(x) = \dfrac{-x}{x} = -1$; hence LHL $= \lim_{x \to 0^-} f(x) = -1$.
  3. LHL $= -1 \ne 1 = $ RHL.

Answer: The limit does not exist at $x = 0$, since LHL $\ne$ RHL.

8
Worked Example
Evaluate $\lim_{x \to 3}\dfrac{x^2 - 9}{x^2 - x - 6}$.
Solution
  1. At $x = 3$ both parts vanish, giving $\dfrac{0}{0}$.
  2. Factorise: numerator $x^2 - 9 = (x-3)(x+3)$; denominator $x^2 - x - 6 = (x-3)(x+2)$.
  3. Cancel $(x-3)$: $\dfrac{x+3}{x+2}$.
  4. Substitute $x = 3$: $\dfrac{3+3}{3+2} = \dfrac{6}{5}$.

Answer: $\lim_{x \to 3}\dfrac{x^2 - 9}{x^2 - x - 6} = \dfrac{6}{5}$.

9
Worked Example
Evaluate $\lim_{x \to 0}\dfrac{\sqrt{1 + x} - \sqrt{1 - x}}{x}$.
Solution
  1. Substitution gives $\dfrac{0}{0}$; multiply top and bottom by the conjugate $\sqrt{1+x} + \sqrt{1-x}$.
  2. The numerator becomes $(1+x) - (1-x) = 2x$.
  3. So the expression is $\dfrac{2x}{x\big(\sqrt{1+x} + \sqrt{1-x}\big)} = \dfrac{2}{\sqrt{1+x} + \sqrt{1-x}}$.
  4. Substitute $x = 0$: $\dfrac{2}{1 + 1} = 1$.

Answer: $\lim_{x \to 0}\dfrac{\sqrt{1 + x} - \sqrt{1 - x}}{x} = 1$.

10
Worked Example
Find the value of $\lim_{x \to 1}\dfrac{x^3 - 1}{x^2 - 1}$.
Solution
  1. At $x = 1$ the form is $\dfrac{0}{0}$.
  2. Factorise: $x^3 - 1 = (x-1)(x^2 + x + 1)$ and $x^2 - 1 = (x-1)(x+1)$.
  3. Cancel $(x-1)$: $\dfrac{x^2 + x + 1}{x + 1}$.
  4. Substitute $x = 1$: $\dfrac{1 + 1 + 1}{1 + 1} = \dfrac{3}{2}$.

Answer: $\lim_{x \to 1}\dfrac{x^3 - 1}{x^2 - 1} = \dfrac{3}{2}$.

11
Worked Example
For what value of $k$ does $\lim_{x \to 1} f(x)$ exist, where $f(x) = \begin{cases} kx + 1, & x \le 1 \\ 3x - 2, & x > 1 \end{cases}$?
Solution
  1. LHL: $\lim_{x \to 1^-}(kx + 1) = k + 1$.
  2. RHL: $\lim_{x \to 1^+}(3x - 2) = 3 - 2 = 1$.
  3. The limit exists only if LHL $=$ RHL: $k + 1 = 1$.
  4. Solve: $k = 0$.

Answer: The limit exists when $k = 0$ (both sides then equal $1$).

Key Points

  • A limit captures what $f(x)$ approaches near $a$, not its value at $a$ — the function may have a hole there.
  • $\lim_{x \to a} f(x)$ exists if and only if $\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x)$ (LHL $=$ RHL).
  • Use the correct piece of a piecewise function on each side; a jump means the limit does not exist.
  • For polynomials and well-defined rational functions ($q(a) \ne 0$), use direct substitution.
  • The $\dfrac{0}{0}$ form is indeterminate, not undefined — factor and cancel, or rationalise the common factor, then substitute.
  • Algebra of limits: $\lim(f \pm g) = L \pm M$, $\lim(kf) = kL$, $\lim(fg) = LM$, $\lim \dfrac{f}{g} = \dfrac{L}{M}$ provided $M \ne 0$.
  • For $|x|/x$ at $x = 0$ the one-sided limits are $\pm 1$, so the limit does not exist — a standard worked counterexample.
Tap an option to check your answer0 / 4
Q1.$\displaystyle\lim_{x\to2}(x+3)=$
Explanation: Substitute $x=2$.
Q2.$\displaystyle\lim_{x\to a} c=$ (where $c$ is constant):
Explanation: Limit of a constant is the constant.
Q3.$\displaystyle\lim_{x\to0} x^2=$
Explanation: Substitute $x=0$.
Q4.$\displaystyle\lim_{x\to a}\big(f(x)+g(x)\big)=$
Explanation: Sum law of limits.