Unit 1 · Topic 1.12 Beta

Continuity on an Interval

A function is continuous on an interval when it is continuous at every point of it, with one-sided continuity at closed endpoints.

Practice 3: Justification

Question set for this topic

Part 1 · Hook

Why this matters

A hiking trail is only usable if every step of it is passable, not just the start and the finish. Calculus asks the same of a function on an interval: it must be continuous at every point along the way. Luckily, most functions you know come with that guarantee on their whole domain.

Part 2 · Before you start

What this builds on

Part 3 · Prerequisite check

Quick check before you start

1. ff is continuous at cc when

  1. f(c)f(c) is defined, limx→cf(x)\lim_{x \to c} f(x) exists, and they are equal
  2. f(c)f(c) is defined
  3. limx→cf(x)\lim_{x \to c} f(x) exists
  4. f(c)=0f(c) = 0
Show the answer

All three conditions are needed.

  • Correct: f(c)f(c) is defined, limx→cf(x)\lim_{x \to c} f(x) exists, and they are equal:
  • f(c)f(c) is defined:
  • limx→cf(x)\lim_{x \to c} f(x) exists:
  • f(c)=0f(c) = 0:

2. What is the domain of ln⁡x\ln x?

  1. x>0x > 0
  2. x≥0x \ge 0
  3. every real number
  4. x≥1x \ge 1
Show the answer

A logarithm is defined only for positive inputs.

  • Correct: x>0x > 0:
  • x≥0x \ge 0:
  • every real number:
  • x≥1x \ge 1:

3. Where is 1x−4\frac{1}{x - 4} undefined?

  1. x=4x = 4
  2. x=−4x = -4
  3. x=0x = 0
  4. x=1x = 1
Show the answer

The denominator is 0 at x = 4.

  • Correct: x=4x = 4:
  • x=−4x = -4:
  • x=0x = 0:
  • x=1x = 1:

Part 4 · See it

See it first

The graph of f(x) = x/2 + 1 for x < 1 and f(x) = 1/(3 − x) for x ≥ 1, x not 3. The left piece is a line ending at an open circle at (1, 1.5). The right piece starts at a closed dot at (1, 0.5), rises without bound as x approaches 3 from the left, and comes up from below on the other side of the dashed vertical asymptote x = 3. Brackets under the axis mark the intervals where f is continuous: (−∞, 1), [1, 3) and (3, ∞).
A function and the intervals on which it is continuous. LevlPrep original diagram.

Part 5 · Step by step

How it works, step by step

  1. A function is continuous at every point of an open intervalit is continuous on that interval: its graph has no break there
  2. The interval is closed, [a,b][a, b]at the endpoints only the one-sided limit from inside counts: limx→a+f(x)\lim_{x \to a^+} f(x)=f(a)= f(a) and limx→b−f(x)\lim_{x \to b^-} f(x)=f(b)= f(b)
  3. Polynomial, rational, root, exponential, logarithmic and trigonometric functionsare continuous on their domains, so you only check where they are undefined
  4. Continuous functions are combined by sums, products, quotients or compositionthe result is continuous wherever it is defined; only break points of piecewise rules need a separate check

Part 6 · Key ideas

Key ideas

  • Continuous on an interval: continuous at every point of it. At a closed endpoint, only the one-sided limit from inside must match the value.
  • Polynomials, exe^x, sin⁡x\sin x and cos⁡x\cos x are continuous on (−∞,∞)(-\infty, \infty).
  • Rational functions, roots, ln⁡x\ln x and tan⁡x\tan x are continuous on their domains: avoid zeros of denominators, negative inputs to even roots, inputs to ln⁡\ln that are not positive, and zeros of cos⁡x\cos x for tan⁡x\tan x.
  • Sums, products, quotients (denominator not 0) and compositions of continuous functions are continuous.
  • For a piecewise function, each piece is handled by the rules above; check each break point with the three conditions.

Part 7 · Misconception

A common mistake

The wrong idea: If ff is continuous on (1,5)(1, 5) and on [5,8][5, 8], it is continuous on (1,8](1, 8].

What actually happens: Continuity on [5,8][5, 8] only guarantees continuity from the right at 5. The left-hand limit at 5 can still differ from f(5)f(5), so ff may jump there. Check the shared point with all three conditions.

Part 8 · Check yourself

Check yourself

Exam-style questions. Anything you miss goes into your review queue.

Graph

The graph of ff on [−3,5][-3, 5]

−3−2−112345−1123456xyf

1. On which of these intervals is ff continuous?

  1. [0,2)[0, 2)
  2. [−3,0][-3, 0]
  3. [−3,2)[-3, 2)
  4. (0,5](0, 5]
Show the answer

On (0,2)(0, 2) the curve is unbroken. At the left endpoint 0, the right-hand limit is 3 and f(0)=3f(0) = 3, so ff is continuous from the right there. That is all a closed left endpoint needs.

  • Correct: [0,2)[0, 2): Unbroken inside, and limx→0+f(x)\lim_{x \to 0^+} f(x)=3= 3=f(0)= f(0) at the closed endpoint.
  • [−3,0][-3, 0]: At the right endpoint 0, the left-hand limit is 2 but f(0)=3f(0) = 3, so ff is not continuous from the left there.
  • [−3,2)[-3, 2): This interval contains the jump at x=0x = 0 in its interior.
  • (0,5](0, 5]: f(2)f(2) is undefined, and 2 is inside this interval.

2. At x=0x = 0, the function ff is continuous

  1. from the left, but not from the right
  2. from the right, but not from the left
  3. from both the left and the right
  4. from neither the left nor the right
Show the answer

limx→0+f(x)\lim_{x \to 0^+} f(x)=3= 3=f(0)= f(0), so ff is continuous from the right. limx→0−f(x)\lim_{x \to 0^-} f(x)=2≠f(0)= 2 \ne f(0), so it is not continuous from the left.

  • from the left, but not from the right: The left piece heads to the open circle at height 2, not to f(0)=3f(0) = 3.
  • Correct: from the right, but not from the left: The closed dot (0,3)(0, 3) sits where the right piece starts.
  • from both the left and the right: The left side arrives at 2, not at f(0)=3f(0) = 3.
  • from neither the left nor the right: From the right, the curve arrives exactly at f(0)=3f(0) = 3.

Table

Four functions

Four functions, each continuous on its domain
FunctionFormula
ppp(x)=x−1p(x) = \sqrt{x - 1}
qqq(x)=ln⁡(x+2)q(x) = \ln(x + 2)
rrr(x)=x+1x2−4r(x) = \frac{x + 1}{x^2 - 4}
ttt(x)=tan⁡xt(x) = \tan x

3. Which is the largest interval on which pp is continuous?

  1. (1,∞)(1, \infty)
  2. [0,∞)[0, \infty)
  3. [1,∞)[1, \infty)
  4. (−∞,∞)(-\infty, \infty)
Show the answer

x−1\sqrt{x - 1} is defined for x≥1x \ge 1. At the endpoint 1, limx→1+p(x)\lim_{x \to 1^+} p(x)=0= 0=p(1)= p(1), so it is continuous from the right, and the interval includes 1.

  • (1,∞)(1, \infty): This leaves out 1, where pp is continuous from the right. It is not the largest.
  • [0,∞)[0, \infty): p(0)=−1p(0) = \sqrt{-1} is not a real number.
  • Correct: [1,∞)[1, \infty): Defined and continuous for x≥1x \ge 1, with one-sided continuity at 1.
  • (−∞,∞)(-\infty, \infty): pp is undefined for x<1x < 1.

4. Let f(x)=exf(x) = e^x for x<0x < 0 and f(x)=x+1f(x) = x + 1 for x≥0x \ge 0. Where is ff continuous?

  1. On (−∞,∞)(-\infty, \infty)
  2. On (−∞,0)(-\infty, 0) and (0,∞)(0, \infty), not at 0
  3. On [0,∞)[0, \infty), and nowhere to the left of 0
  4. On (−∞,0](-\infty, 0], and nowhere to the right of 0
Show the answer

Each piece is continuous on its own interval. At 0: limx→0−ex=1\lim_{x \to 0^-} e^x = 1, limx→0+(x+1)\lim_{x \to 0^+} (x + 1)=1= 1, and f(0)=1f(0) = 1. So ff is continuous at 0 as well.

  • Correct: On (−∞,∞)(-\infty, \infty): Both pieces are continuous, and they meet at (0,1)(0, 1), which is f(0)f(0).
  • On (−∞,0)(-\infty, 0) and (0,∞)(0, \infty), not at 0: e0=1e^0 = 1 and 0+1=10 + 1 = 1: the pieces meet, so 0 is not a break.
  • On [0,∞)[0, \infty), and nowhere to the left of 0: exe^x is continuous for x<0x < 0.
  • On (−∞,0](-\infty, 0], and nowhere to the right of 0: x+1x + 1 is continuous for x>0x > 0.

5. At how many real numbers is f(x)=x−1x3−xf(x) = \frac{x - 1}{x^3 - x} not continuous?

No calculator. Type the exact value (a fraction, π, e or a root is fine).

Show the answer

ff is a rational function, so it is continuous except where x3−xx^3 - x=x(x−1)(x+1)= x(x - 1)(x + 1)=0= 0: at x=−1x = -1, 00 and 11. That is 3 points (removable at 1, infinite at 0 and −1-1).

  • Answer: 3

6. A function ff is continuous on (1,5)(1, 5) and on [5,8][5, 8]. Is ff continuous on (1,8](1, 8]?

  1. Not necessarily: limx→5−f(x)\lim_{x \to 5^-} f(x) might differ from f(5)f(5)
  2. Yes: together the two intervals cover (1,8](1, 8]
  3. Yes: f(5)f(5) is defined because 55 is in [5,8][5, 8]
  4. No: two touching intervals of continuity force a break at 5
Show the answer

Continuity on [5,8][5, 8] only says ff is continuous from the right at 5. Continuity at 5 also needs limx→5−f(x)\lim_{x \to 5^-} f(x)=f(5)= f(5), which nothing guarantees; ff could jump at 5.

  • Correct: Not necessarily: limx→5−f(x)\lim_{x \to 5^-} f(x) might differ from f(5)f(5): The left side at 5 is not covered by either fact, so a jump at 5 is possible.
  • Yes: together the two intervals cover (1,8](1, 8]: Covering the points is not enough; the left-hand limit at 5 must match f(5)f(5).
  • Yes: f(5)f(5) is defined because 55 is in [5,8][5, 8]: A defined value is one condition; the two-sided limit at 5 must equal it.
  • No: two touching intervals of continuity force a break at 5: Two such intervals need not break; for example, f(x)=xf(x) = x is continuous on both intervals and on (1,8](1, 8].

Part 9 · Summary

Summary

A function is continuous on an interval when it is continuous at every point of it, with one-sided continuity at closed endpoints. The familiar function families are continuous on their domains, and sums, products, quotients and compositions keep that. So you only need to check where a function is undefined and where a piecewise rule switches.

Part 10 · Up next

What comes next

Part 11 · Connections

Connections