MathematicsCore18 min read

Functions & Limits

What a function approaches, whether or not it arrives

This topic appears in:

01

A limit asks where you are heading, not where you land

Consider f(x) = (x² − 1)/(x − 1) at x = 1. Substituting gives 0/0, which is meaningless. But factorise the top into (x−1)(x+1), cancel, and you are left with x + 1 everywhere except at the one forbidden point.

So as x creeps toward 1 from either side, f(x) creeps toward 2 — even though f(1) does not exist at all. That is the whole idea: a limit describes the destination the function is aiming for, and does not care whether the function actually gets there.

lim(x→a) f(x) = Lread as: f(x) can be made as close to L as you like by taking x close enough to a
02

Left and right have to agree

Approach a from below and you get the left-hand limit. Approach from above and you get the right-hand limit. The limit exists only if the two are equal.

For f(x) = |x|/x at zero, the left-hand limit is −1 and the right-hand limit is +1. They disagree, so the limit does not exist — the graph jumps. This is exactly how the sharp corners and jumps in a function get detected.

lim(x→a⁻) f(x) = lim(x→a⁺) f(x) = Lboth one-sided limits must exist and be equal

"Does not exist" is a valid answer

Students often assume every limit must be a number. A limit fails to exist when the two sides disagree, when the function oscillates forever like sin(1/x) near zero, or when it runs off to infinity. Saying so is the correct answer, not a failure to solve.

03

The laws let you break big limits into small ones

Limits pass straight through addition, subtraction, multiplication and division — with one caveat on division. That means you can evaluate a complicated expression piece by piece instead of all at once.

For a well-behaved function, "taking the limit" is just substitution. The interesting cases are precisely the ones where substitution fails: 0/0 and ∞/∞. Those are indeterminate forms, and they are a signal to factorise, rationalise or cancel before trying again.

LawStatement
Sumlim(f + g) = lim f + lim g
Productlim(f · g) = lim f · lim g
Quotientlim(f / g) = lim f / lim g, provided lim g ≠ 0
Powerlim(fⁿ) = (lim f)ⁿ
Standardlim(θ→0) sin θ / θ = 1, with θ in radians
04

Continuity is the limit behaving itself

A function is continuous at a when three things all hold: f(a) exists, the limit as x → a exists, and the two are equal. Informally, you can draw it through that point without lifting your pen.

Continuity is what everything later depends on. The derivative is built from a limit, so a function with a jump has no derivative there. This is why limits come first in every calculus course — they are the foundation the rest is poured onto.

Ignore the tangent line for a moment and just watch the gap readout as you drag h toward zero. The secant slope never equals the tangent slope at any h you can set — but it approaches it. That approach is the limit, and it is how the derivative is defined.

05

When substitution gives 0/0

Most limits are found by simply substituting the value — that is what continuity means. The interesting ones are those where substitution produces 0/0, which is not an answer but a signal: the expression is indeterminate and needs rearranging before it will tell you anything.

Two techniques handle almost every case at this level. If the expression is a ratio of polynomials, factorise and cancel the factor that is causing the zero. If it contains a square root, multiply by the conjugate to move the root out of the way.

Worked example

Evaluate lim(x→3) (x² − 9)/(x − 3) and lim(x→0) (√(x+4) − 2)/x.

  1. For the first, substituting gives 0/0, so factorise: (x − 3)(x + 3)/(x − 3).The common factor (x − 3) is exactly what is making both parts zero.
  2. Cancel — legitimate because x approaches 3 without ever equalling it — leaving x + 3, so the limit is 6.The function is undefined at x = 3, but the limit does not care what happens at the point itself.
  3. For the second, multiply top and bottom by the conjugate √(x+4) + 2.The numerator becomes a difference of two squares and the root disappears.
  4. Numerator: (x + 4) − 4 = x, so the expression is x / [x(√(x+4) + 2)] = 1/(√(x+4) + 2).The x now cancels, which was the whole purpose.
  5. Substituting x = 0 gives 1/(2 + 2) = 1/4.With the indeterminate form removed, ordinary substitution works.

First limit 6; second limit 1/4

06

Limits at infinity, and the two standard results

Asking what happens as x → ∞ is asking about the long-run behaviour of a function — the shape of its graph far out to the right. For a ratio of polynomials the method is mechanical: divide every term, top and bottom, by the highest power of x appearing in the denominator, then use the fact that 1/xⁿ → 0.

The outcome depends only on the degrees. Equal degrees give the ratio of the leading coefficients; a larger degree on top sends the limit to infinity; a larger degree below sends it to zero.

lim(x→∞) 1/xⁿ = 0(n > 0)lim(θ→0) sin θ / θ = 1(θ in radians)lim(n→∞) (1 + 1/n)ⁿ = e ≈ 2.71828the sin θ / θ result holds only in radians — in degrees the limit is π/180, which is why calculus always uses radians

∞ is not a number you may substitute

Writing ∞/∞ = 1 or ∞ − ∞ = 0 is meaningless, and both are indeterminate forms exactly like 0/0. Divide through by the highest power first and the expression will resolve into ordinary arithmetic. The same applies to 0 × ∞: rearrange it into a quotient before evaluating.

Practice questions

6 questions · 24 marks · full working on every one

Try each one on paper first, then open the working. The marks are shown where they are actually awarded, because that is where they are actually lost.

Short questions

3 · 7 marks

Two marks each, in the style of the short-question section of the paper. Answer in two or three lines.

SQ1[2 marks]
Explain what the statement lim(x→2) f(x) = 5 means.
Model answer

As x is taken closer and closer to 2 from either side, the value of f(x) gets closer and closer to 5. It says nothing about the value of f(2) itself.

Examiner tip. The second sentence is the mark most often missed. A limit is about approach, not arrival.

SQ2[2 marks]
Evaluate lim(x→3) (x² − 9)/(x − 3).
Model answer

Factorise: (x − 3)(x + 3)/(x − 3) = x + 3, so the limit is 6.

Examiner tip. A 0/0 form is an instruction to factorise and cancel, not a signal that the limit does not exist.

SQ3[3 marks]
State the three conditions for a function to be continuous at x = a.
Model answer

f(a) must exist; lim(x→a) f(x) must exist; and the two must be equal.

Examiner tip. Three conditions, three marks. List them as three separate lines.

Long questions

2 · 12 marks

Theory and numerical together, as they appear in the long-question section.

LQ1[6 marks]
A function is defined by f(x) = (x² − 4)/(x − 2) for x ≠ 2, and f(2) = 3.
  1. Find lim(x→2) f(x). [3]
  2. State whether f is continuous at x = 2, giving a reason. [2]
  3. State the value f(2) would need for f to be continuous there. [1]
Mark scheme
  1. Factorises: x² − 4 = (x − 2)(x + 2)[1]
  2. Cancels to give x + 2 for x ≠ 2[1]
  3. Limit = 4[1]
  4. It is not continuous at x = 2[1]
  5. Because the limit is 4 but f(2) = 3, so they are not equal[1]
  6. f(2) would have to be 4a removable discontinuity[1]

(a) 4 (b) not continuous (c) 4

Examiner tip. This is the textbook picture of a removable discontinuity: a curve with one point lifted off it. The limit is fine; the value is simply in the wrong place.

LQ2[6 marks]
Evaluate the following limits, showing your method.
  1. lim(x→∞) (3x² + 5x)/(2x² − 1) [3]
  2. lim(x→0) (√(x + 4) − 2)/x [3]
Mark scheme
  1. Divides every term by the highest power, [1]
  2. (3 + 5/x)/(2 − 1/x²), and the fractions tend to 0[1]
  3. Limit = 3/2[1]
  4. Multiplies top and bottom by the conjugate √(x + 4) + 2[1]
  5. Numerator becomes (x + 4) − 4 = x, giving 1/(√(x + 4) + 2)[1]
  6. Limit = 1/4[1]

(a) 3/2 (b) 1/4

Examiner tip. Two standard tricks: divide by the highest power when x → ∞, multiply by the conjugate when a square root gives 0/0. Recognising which one applies is most of the work.

Exam questions

1 · 5 marks

Multi-part questions with a full mark scheme.

Q1[5 marks]
The gradient of the chord joining (2, 4) and (2 + h, (2 + h)²) on y = x² is to be investigated.
  1. Show that the gradient of the chord is 4 + h. [3]
  2. Explain what happens as h → 0 and what the result represents. [2]
Mark scheme
  1. Gradient = [(2 + h)² − 4] / h[1]
  2. Expands: (4 + 4h + h² − 4)/h = (4h + h²)/h[1]
  3. Cancels h to give 4 + hvalid because h ≠ 0[1]
  4. As h → 0 the gradient tends to 4[1]
  5. This is the gradient of the tangent at x = 2, that is, the derivative[1]

gradient → 4, the derivative of x² at x = 2

Examiner tip. This is differentiation from first principles in disguise. You may cancel the h because h is never actually zero — it only approaches zero.