Whether you are sketching curves, evaluating derivatives, or determining area under a graph, continuity is one of the foundational building blocks of mathematical analysis.

Intuitively, a function is continuous if you can draw its graph on paper without lifting your pencil—meaning there are no gaps, holes, or sudden vertical jumps. However, in A-Level Maths and introductory university calculus, intuition must be backed up by a precise, formal definition using limits.

The best Maths tutors available
Poonam
5
5 (79 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (60 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Anthony
5
5 (87 reviews)
Anthony
£15
/h
Gift icon
1st lesson free!
Johann
5
5 (61 reviews)
Johann
£60
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£75
/h
Gift icon
1st lesson free!
Hiren
5
5 (34 reviews)
Hiren
£85
/h
Gift icon
1st lesson free!
Harjinder
4.9
4.9 (165 reviews)
Harjinder
£25
/h
Gift icon
1st lesson free!
Poonam
5
5 (79 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (60 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Anthony
5
5 (87 reviews)
Anthony
£15
/h
Gift icon
1st lesson free!
Johann
5
5 (61 reviews)
Johann
£60
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£75
/h
Gift icon
1st lesson free!
Hiren
5
5 (34 reviews)
Hiren
£85
/h
Gift icon
1st lesson free!
Harjinder
4.9
4.9 (165 reviews)
Harjinder
£25
/h
Gift icon
1st lesson free!
Let's go

What is a Continuous Function?

An informal way to visualise a continuous function is a smooth, uninterrupted curve over its entire domain. If a graph breaks, leaps across a vertical gap, or shoots off to infinity, the function is discontinuous at that specific point.

Graph illustrating how a continuous function has no breaks, gaps or asymptotes
Image Source: Gianpiero Placidi

The Formal 3-Step Test for Continuity at a Point

To prove mathematically that a function f(x)f(x) is continuous at a specific point x=cx = c, it must satisfy all three of the following conditions:

1. f(c) is defined (c is in the domain of f)\text{1. } f(c) \text{ is defined } (c \text{ is in the domain of } f)

ie. is f(c) a solid point on the graph?

2. limxcf(x) exists (meaning limxcf(x)=limxc+f(x))\text{2. } \lim_{x \to c} f(x) \text{ exists } \left(\text{meaning } \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x)\right)

ie. does the left-hand limit = right-hand limit?

3. limxcf(x)=f(c)\text{3. } \lim_{x \to c} f(x) = f(c)

ie. does the limit equal the exact value?

If any single condition fails, the function f(x) is discontinuous at x = c.

Algebra and Properties of Continuous Functions

If two functions f(x)f(x) and g(x)g(x) are both continuous at x=cx = c, then the following algebraic combinations are also continuous at x=cx = c:

Sum and Difference:(f±g)(x)=f(x)±g(x)(f \pm g)(x) = f(x) \pm g(x)

Constant Multiple:(kf)(x)=kf(x)(k \cdot f)(x) = k \cdot f(x) for any real constant kk

Product:(fg)(x)=f(x)g(x)(f \cdot g)(x) = f(x) \cdot g(x)

Quotient:(fg)(x)=f(x)g(x)\left(\dfrac{f}{g}\right)(x) = \dfrac{f(x)}{g(x)}, provided g(c)0g(c) \neq 0

Composite Function:(fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)), provided gg is continuous at cc and ff is continuous at g(c)g(c)

Standard Functions Continuous on Their Domains

The following basic family of functions are continuous at every point in their respective domains:

Polynomial functions (e.g., f(x)=x34x+2f(x) = x^3 - 4x + 2) — continuous for all xx \in \mathbb{R}.

Rational functions (e.g., f(x)=P(x)Q(x)f(x) = \dfrac{P(x)}{Q(x)}) — continuous at all points where Q(x)0Q(x) \neq 0.

Exponential functions (e.g., f(x)=exf(x) = e^x) — continuous for all xx \in \mathbb{R}.

Logarithmic functions (e.g., f(x)=ln(x)f(x) = \ln(x)) — continuous for all x>0x > 0.

Trigonometric functions (sinx\sin x and cosx\cos x on \mathbb{R}; tanx\tan x wherever cosx0\cos x \neq 0).

Types of Discontinuity

When a function fails the 3-step continuity test at x=cx = c, the failure generally falls into one of three distinct categories:

1. Removable Discontinuity (Point Discontinuity)

A removable discontinuity occurs when the limit limxcf(x)\lim_{x \to c} f(x) exists, but either f(c)f(c) is undefined or f(c)limxcf(x)f(c) \neq \lim_{x \to c} f(x)Graphically, this appears as a single "hole" in the curve:

limxcf(x)=limxc+f(x)=Lbutf(c)L\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = L \quad \text{but} \quad f(c) \neq L

2. Jump Discontinuity

A jump discontinuity occurs when the left-hand limit and right-hand limit both exist as finite numbers, but they are not equal. Graphically, the curve "jumps" vertically from one line level to another.

limxcf(x)limxc+f(x)\lim_{x \to c^-} f(x) \neq \lim_{x \to c^+} f(x)

3. Infinite Discontinuity (Essential Discontinuity)

An infinite discontinuity occurs when one or both of the one-sided limits approach ±\pm \infty. Graphically, this represents a vertical asymptote at x=cx = c.

limxcf(x)=±orlimxc+f(x)=±\lim_{x \to c^-} f(x) = \pm \infty \quad \text{or} \quad \lim_{x \to c^+} f(x) = \pm \infty

Continuity in Piecewise Functions

A piecewise function is defined by different sub-functions across different intervals of its domain. A piecewise function is continuous overall if:

  1. Each constituent sub-function is continuous on its open interval.
  2. The left-hand limit, right-hand limit, and exact function value match at every boundary transition point.
Illustration of a continuous piecewise function meeting all the boundary conditions
Image Source: Gianpiero Placidi

Are Radical Functions Continuous?

Radical functions of the form:

f(x)=xnf(x) = \sqrt[n]{x}

are continuous at every point across their entire domain. For odd root indices (such as the cube root f(x)=x3f(x) = \sqrt[3]{x}), the domain spans all real numbers (,-\infty, \infty), making the function continuous everywhere on \mathbb{R}. For even root indices (such as the standard square root f(x)=xf(x) = \sqrt{x}), the function is defined and continuous on the interval [0,)[0, \infty), satisfying right-continuity at the boundary endpoint x=0x = 0 because:

limx0+x=f(0)=0\lim_{x \to 0^+} \sqrt{x} = f(0) = 0

In exam questions, note that values outside the domain (such as negative inputs for even roots) are points where the function is undefined, rather than points of discontinuity—a function is considered continuous if it is continuous at every point where it is defined.

Worked Examples & Solutions

Example 1: Testing Continuity at a Point

Question: Test whether the function f(x)=x24x2f(x) = \dfrac{x^2 - 4}{x - 2} is continuous at x=2x = 2. If discontinuous, identify the type of discontinuity.

Step-by-Step Solution:

Check Condition 1 (f(2)f(2) exists):

f(2)=22422=00(Undefined)f(2) = \dfrac{2^2 - 4}{2 - 2} = \dfrac{0}{0} \quad \text{(Undefined)}

Because f(2)f(2) is undefined, f(x)f(x) fails Condition 1 and is discontinuous at x=2x = 2.

Check Condition 2 (limx2f(x)\lim_{x \to 2} f(x) exists):

Factorise the numerator for x2x \neq 2:

limx2(x2)(x+2)x2=limx2(x+2)=2+2=4\lim_{x \to 2} \dfrac{(x - 2)(x + 2)}{x - 2} = \lim_{x \to 2} (x + 2) = 2 + 2 = 4

The limit exists and equals 44.

Classification:

Because limx2f(x)=4\lim_{x \to 2} f(x) = 4 exists but f(2)f(2) is undefined, f(x)f(x) has a removable discontinuity at x=2x = 2.

Example 2: Finding a Constant for Piecewise Continuity

Question: Find the value of the constant kk that makes the piecewise function g(x)g(x) continuous for all real numbers:

g(x)={kx2+2x,x23x2,x>2g(x) = \begin{cases} kx^2 + 2x, & x \le 2 \\ 3x - 2, & x > 2 \end{cases}

Step-by-Step Solution:

Identify the boundary point: The transition occurs at x=2x = 2. Both sub-functions (kx2+2xkx^2 + 2x and 3x23x - 2) are polynomials and thus continuous on their own intervals.

Calculate the left-hand limit and function value at x=2x = 2:

limx2g(x)=g(2)=k(2)2+2(2)=4k+4\lim_{x \to 2^-} g(x) = g(2) = k(2)^2 + 2(2) = 4k + 4

Calculate the right-hand limit at x=2x = 2:

limx2+g(x)=3(2)2=62=4\lim_{x \to 2^+} g(x) = 3(2) - 2 = 6 - 2 = 4

Equate limits for continuity:

4k+4=44k=0𝐤=𝟎4k + 4 = 4 \implies 4k = 0 \implies \mathbf{k = 0}

Example 3: Trigonometric Piecewise Continuity

Question: Find the value of AA such that the function f(x)f(x) is continuous at x=0x = 0 :

f(x)={sin(3x)x,x0A,x=0f(x) = \begin{cases} \dfrac{\sin(3x)}{x}, & x \neq 0 \\ A, & x = 0 \end{cases}

Step-by-Step Solution:

Evaluate the limit as x0x \to 0:

limx0sin(3x)x=limx0(3sin(3x)3x)\lim_{x \to 0} \dfrac{\sin(3x)}{x} = \lim_{x \to 0} \left( 3 \cdot \dfrac{\sin(3x)}{3x} \right)

Using the standard limit identity limu0sinuu=1\lim_{u \to 0} \dfrac{\sin u}{u} = 1:

limx0f(x)=3(1)=3\lim_{x \to 0} f(x) = 3(1) = 3

Set f(0)=limx0f(x)f(0) = \lim_{x \to 0} f(x):

A=3𝐀=𝟑A = 3 \implies \mathbf{A = 3}

Summarise with AI:

Did you like this article? Rate it!

4.00 (5 rating(s))
Loading...

Gianpiero Placidi

UK-based Chemistry graduate with a passion for education, providing clear explanations and thoughtful guidance to inspire student success.