Continuity Exercises

Continuity Exercises

Use the following exercises to consolidate and test your grasp of continuity.

Basic Concept Exercises

These three check the definition itself: given a function and a point, decide whether the function is continuous there, and say which of the three conditions fails when it is not.

Exercise 1

Determine whether f(x)=1xf(x) = \frac{1}{x} is continuous at x=0x = 0, and explain why.

continuityfunction continuity

Approach: Check whether the function is defined at that point.

Steps:

  1. The function f(x)=1xf(x) = \frac{1}{x} is undefined at x=0x = 0

  2. Therefore the function is discontinuous at x=0x = 0

Answer: Discontinuous, because the function is undefined at x=0x = 0.

Exercise 2

Determine the continuity of f(x)={x2,x≤12x−1,x>1f(x) = \begin{cases} x^2, & x \leq 1 \\ 2x - 1, & x > 1 \end{cases} at x=1x = 1, and state which type of point of discontinuity it is (if any).

continuityfunction continuity

Approach: Compute the left limit, the right limit and the function value separately, and see whether the three are equal.

Steps:

  1. Left limit: lim⁡x→1−f(x)=lim⁡x→1−x2=1\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x^2 = 1

  2. Right limit: lim⁡x→1+f(x)=lim⁡x→1+(2x−1)=2×1−1=1\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (2x - 1) = 2 \times 1 - 1 = 1

  3. Function value: f(1)=12=1f(1) = 1^2 = 1

  4. The three are equal, so the function is continuous at x=1x = 1

Answer: Continuous at x=1x = 1, with no point of discontinuity.

Exercise 3

Determine the continuity of f(x)=sin⁡xf(x) = \sin x on R\mathbb{R}.

continuityfunction continuity

Approach: Use the basic results about the continuity of elementary functions.

Steps:

  1. sin⁡x\sin x is a basic elementary function (a trigonometric function)

  2. By the continuity theorem for elementary functions, every elementary function is continuous on its domain

  3. The domain of sin⁡x\sin x is R\mathbb{R}

Answer: Continuous everywhere on R\mathbb{R}.

Classification of Points of Discontinuity Exercises

These three ask you to name the kind of break at a point — removable, jump, or infinite — and to justify the classification from the one-sided limits rather than from the graph alone.

Exercise 4

Determine the type of discontinuity of f(x)=x2−9x−3f(x) = \frac{x^2 - 9}{x - 3} at x=3x = 3.

continuityfunction continuity

Approach: Compute the limit and determine the type of discontinuity.

Steps:

  1. The function is undefined at x=3x = 3

  2. Compute the limit: lim⁡x→3x2−9x−3=lim⁡x→3(x−3)(x+3)x−3=lim⁡x→3(x+3)=6\lim_{x \to 3} \frac{x^2 - 9}{x - 3} = \lim_{x \to 3} \frac{(x-3)(x+3)}{x-3} = \lim_{x \to 3} (x+3) = 6

  3. The limit exists but is not equal to the function value (the function value is undefined)

Answer: x=3x = 3 is a removable discontinuity.

Exercise 5

Determine the type of discontinuity of f(x)={x2,x<0x+1,x≥0f(x) = \begin{cases} x^2, & x < 0 \\ x + 1, & x \geq 0 \end{cases} at x=0x = 0.

continuityfunction continuity

Approach: Compute the left and right limits separately and compare them.

Steps:

  1. Left limit: lim⁡x→0−f(x)=lim⁡x→0−x2=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} x^2 = 0

  2. Right limit: lim⁡x→0+f(x)=lim⁡x→0+(x+1)=1\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x + 1) = 1

  3. Function value: f(0)=0+1=1f(0) = 0 + 1 = 1

  4. The left limit is not equal to the right limit

Answer: x=0x = 0 is a jump discontinuity.

Exercise 6

Determine the type of discontinuity of f(x)=1x2f(x) = \frac{1}{x^2} at x=0x = 0.

continuityfunction continuity

Approach: Compute the left and right limits and decide.

Steps:

  1. The function is undefined at x=0x = 0

  2. Left limit: lim⁡x→0−1x2=+∞\lim_{x \to 0^-} \frac{1}{x^2} = +\infty

  3. Right limit: lim⁡x→0+1x2=+∞\lim_{x \to 0^+} \frac{1}{x^2} = +\infty

  4. Neither the left nor the right limit exists (they are infinite)

Answer: x=0x = 0 is a discontinuity of the second kind.

Continuity of Elementary Functions Exercises

These three apply what you know about elementary functions to find the intervals on which a function is continuous, including the points where the expression itself is undefined.

Exercise 7

Determine the intervals of continuity of f(x)=ln⁡(x2−1)f(x) = \ln(x^2 - 1).

continuityfunction continuity

Approach: Analyse the domain of the function, then use the continuity of elementary functions.

Steps:

  1. The domain of the function f(x)=ln⁡(x2−1)f(x) = \ln(x^2 - 1) is given by x2−1>0x^2 - 1 > 0

  2. Solve the inequality: x2−1>0x^2 - 1 > 0, giving x<−1x < -1 or x>1x > 1

  3. Therefore the domain is (−∞,−1)∪(1,+∞)(-\infty, -1) \cup (1, +\infty)

  4. By the continuity theorem for elementary functions, the function is continuous on its domain

Answer: The function is continuous on (−∞,−1)∪(1,+∞)(-\infty, -1) \cup (1, +\infty).

Exercise 8

Determine the intervals of continuity of f(x)=x2−4x−2f(x) = \frac{x^2 - 4}{x - 2}.

continuityfunction continuity

Approach: Analyse the domain of the rational function.

Steps:

  1. The domain of the function f(x)=x2−4x−2f(x) = \frac{x^2 - 4}{x - 2} is given by x−2≠0x - 2 \neq 0

  2. That is, x≠2x \neq 2, so the domain is (−∞,2)∪(2,+∞)(-\infty, 2) \cup (2, +\infty)

  3. By the continuity theorem for elementary functions, a rational function is continuous on its domain

Answer: The function is continuous on (−∞,2)∪(2,+∞)(-\infty, 2) \cup (2, +\infty).

Exercise 9

Determine the intervals of continuity of f(x)=tan⁡xf(x) = \tan x.

continuityfunction continuity

Approach: Analyse the domain of the trigonometric function.

Steps:

  1. The domain of the function f(x)=tan⁡xf(x) = \tan x is given by x≠π2+kπx \neq \frac{\pi}{2} + k\pi (kk an integer)

  2. That is, the domain is R∖{π2+kπ:k∈Z}\mathbb{R} \setminus \{\frac{\pi}{2} + k\pi : k \in \mathbb{Z}\}

  3. By the continuity theorem for elementary functions, a trigonometric function is continuous on its domain

Answer: The function is continuous on R∖{π2+kπ:k∈Z}\mathbb{R} \setminus \{\frac{\pi}{2} + k\pi : k \in \mathbb{Z}\}.

Properties of Continuous Functions on Closed Intervals Exercises

These three turn the theorems of a closed interval into tools: they ask you to prove the existence of a point with a given property, not to compute anything.

Exercise 10

Let f(x)f(x) be continuous on [0,2][0, 2], with f(0)=−1,f(2)=3f(0) = -1, f(2) = 3. Prove that f(x)f(x), in (0,2)(0, 2), has at least one point x0x_0 with f(x0)=0f(x_0) = 0.

continuityfunction continuity

Approach: Use the zero point theorem.

Steps:

  1. The function f(x)f(x) is continuous on [0,2][0, 2]

  2. f(0)=−1<0f(0) = -1 < 0, f(2)=3>0f(2) = 3 > 0

  3. f(0)⋅f(2)=(−1)×3=−3<0f(0) \cdot f(2) = (-1) \times 3 = -3 < 0

  4. By the zero point theorem, there exists x0∈(0,2)x_0 \in (0, 2) with f(x0)=0f(x_0) = 0

Answer: There exists x0∈(0,2)x_0 \in (0, 2) with f(x0)=0f(x_0) = 0.

Exercise 11

Let f(x)f(x) be continuous on [a,b][a, b]. Show whether f(x)f(x) is necessarily bounded and attains a maximum and a minimum value.

continuityfunction continuity

Approach: Use the boundedness theorem and the extreme value theorem.

Steps:

  1. By the boundedness theorem, a function continuous on a closed interval must be bounded

  2. By the extreme value theorem, a function continuous on a closed interval must attain a maximum and a minimum value

  3. Therefore f(x)f(x) is necessarily bounded, and it attains a maximum and a minimum value

Answer: It is necessarily bounded, and it attains a maximum and a minimum value.

Exercise 12

Prove that the equation x3−x−1=0x^3 - x - 1 = 0 has a solution in (1,2)(1, 2).

continuityfunction continuity

Approach: Use the zero point theorem.

Steps:

  1. Let f(x)=x3−x−1f(x) = x^3 - x - 1

  2. f(1)=13−1−1=−1<0f(1) = 1^3 - 1 - 1 = -1 < 0

  3. f(2)=23−2−1=5>0f(2) = 2^3 - 2 - 1 = 5 > 0

  4. The function is continuous on [1,2][1, 2]

  5. By the zero point theorem, there exists ξ∈(1,2)\xi \in (1, 2) with f(ξ)=0f(\xi) = 0

Answer: The equation has a solution in (1,2)(1, 2).

Comprehensive Exercises

These three combine several ideas at once: piecewise definitions, discontinuities that are easy to miss, and the theorems from the previous group.

Exercise 13

Determine the continuity of f(x)={x2,x≤12x−1,x>1f(x) = \begin{cases} x^2, & x \leq 1 \\ 2x - 1, & x > 1 \end{cases} at x=1x = 1.

continuityfunction continuity

Approach: Compute the left limit, the right limit and the function value separately, and see whether the three are equal.

Steps:

  1. Left limit: lim⁡x→1−f(x)=lim⁡x→1−x2=1\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x^2 = 1

  2. Right limit: lim⁡x→1+f(x)=lim⁡x→1+(2x−1)=2×1−1=1\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (2x - 1) = 2 \times 1 - 1 = 1

  3. Function value: f(1)=12=1f(1) = 1^2 = 1

  4. The three are equal, so the function is continuous at x=1x = 1

Answer: The function is continuous at x=1x = 1.

Exercise 14

Determine the type of discontinuity of f(x)=x2−1x−1f(x) = \frac{x^2 - 1}{x - 1} at x=1x = 1.

continuityfunction continuity

Approach: Compute the limit and determine the type of discontinuity.

Steps:

  1. The function is undefined at x=1x = 1

  2. Compute the limit: lim⁡x→1x2−1x−1=lim⁡x→1(x−1)(x+1)x−1=lim⁡x→1(x+1)=2\lim_{x \to 1} \frac{x^2 - 1}{x - 1} = \lim_{x \to 1} \frac{(x-1)(x+1)}{x-1} = \lim_{x \to 1} (x+1) = 2

  3. The limit exists but is not equal to the function value (the function value is undefined)

Answer: x=1x = 1 is a removable discontinuity.

Exercise 15

Prove that the equation cos⁡x=x\cos x = x has a solution in (0,1)(0, 1).

continuityfunction continuity

Approach: Use the zero point theorem.

Steps:

  1. Let f(x)=cos⁡x−xf(x) = \cos x - x

  2. f(0)=cos⁡0−0=1>0f(0) = \cos 0 - 0 = 1 > 0

  3. f(1)=cos⁡1−1<0f(1) = \cos 1 - 1 < 0 (because cos⁡1<1\cos 1 < 1)

  4. The function is continuous on [0,1][0, 1]

  5. By the zero point theorem, there exists ξ∈(0,1)\xi \in (0, 1) with f(ξ)=0f(\xi) = 0

Answer: The equation has a solution in (0,1)(0, 1).

Advanced Exercises

These three are the hardest of the set. Each one hides a subtlety that a careless reading would miss, and each needs a complete argument rather than a single computation.

Exercise 16

Determine the continuity of f(x)={x2,x<00,x=0x+1,x>0f(x) = \begin{cases} x^2, & x < 0 \\ 0, & x = 0 \\ x + 1, & x > 0 \end{cases} at x=0x = 0.

continuityfunction continuity

Approach: Compute the left limit, the right limit and the function value.

Steps:

  1. Left limit: lim⁡x→0−f(x)=lim⁡x→0−x2=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} x^2 = 0

  2. Right limit: lim⁡x→0+f(x)=lim⁡x→0+(x+1)=1\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x + 1) = 1

  3. Function value: f(0)=0f(0) = 0

  4. The left limit equals the function value, but differs from the right limit

Answer: The function is discontinuous at x=0x = 0; it is a jump discontinuity.

Exercise 17

Determine the type of discontinuity of f(x)=e1xf(x) = e^{\frac{1}{x}} at x=0x = 0.

continuityfunction continuity

Approach: Compute the left and right limits and decide.

Steps:

  1. The function is undefined at x=0x = 0

  2. Left limit: lim⁡x→0−e1x=0\lim_{x \to 0^-} e^{\frac{1}{x}} = 0

  3. Right limit: lim⁡x→0+e1x=+∞\lim_{x \to 0^+} e^{\frac{1}{x}} = +\infty

  4. The left and right limits are not equal, and the right limit does not exist (it is infinite)

Answer: x=0x = 0 is a discontinuity of the second kind.

Exercise 18

Let f(x)f(x) be continuous on [a,b][a, b], with f(a)=f(b)f(a) = f(b). Prove that there exists c∈(a,b)c \in (a, b) with f(c)=f(a)f(c) = f(a).

continuityfunction continuity

Approach: Use the intermediate value theorem.

Steps:

  1. The function f(x)f(x) is continuous on [a,b][a, b]

  2. f(a)=f(b)f(a) = f(b)

  3. For any value between f(a)f(a) and f(b)f(b) (including f(a)f(a) itself), the intermediate value theorem gives a c∈(a,b)c \in (a, b) with f(c)=f(a)f(c) = f(a)

Answer: There exists c∈(a,b)c \in (a, b) with f(c)=f(a)f(c) = f(a).


Advice on Solving the Exercises

  1. Progress step by step: start with the basic concept exercises and work your way up to the comprehensive exercises
  2. Understand the reasoning: not only be able to solve them, but understand the approach and the method
  3. Generalise: once you have grasped the method, try solving similar problems
  4. Find and fill the gaps: use the exercises to spot gaps in your knowledge and fill them promptly
  5. Summarise: gather the methods and techniques into a summary of your own

What to Master

Determining Continuity

  • Be able to judge accurately whether a function is continuous at a given point
  • Understand the definition and the geometric meaning of continuity

Classification of Points of Discontinuity

  • Be able to identify the type of a point of discontinuity correctly
  • Understand the characteristics of each type of point of discontinuity

Continuity of Elementary Functions

  • Master the basic results on the continuity of elementary functions
  • Be able to analyse the continuity of composite functions

Properties of Continuous Functions on Closed Intervals

  • Understand and apply the boundedness theorem, the extreme value theorem, the intermediate value theorem and the zero point theorem
  • Be able to use these theorems to solve practical problems

Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
R\mathbb{R}Mathematical symbolBlackboard bold R (Real numbers)The set of all real numbers

Found an issue with this content?

Tell us what could be improved.