AP Calculus AB · Topic 1.12 · Reading guide, about 5 min

Where common functions are continuous

Find where polynomial, rational, root, exponential, log and trig functions are continuous, and use closed-interval endpoints.

In one minute

Checking the three-part test at every point would be exhausting. Fortunately, the functions you meet most often are continuous everywhere they are defined, and combining continuous functions keeps them continuous. This topic gives you that shortcut and the exact language for continuity on an interval.

The skill is to look at a formula and state its intervals of continuity: find the domain, remove the bad points, and write what remains.

Key terms

Continuous on an interval
Continuous at every point of the interval. At a closed endpoint, only the one-sided limit from inside the interval is required.
Right-continuous at aa
lim⁡x→a+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a). This is the endpoint test for the left end of [a,b][a, b].
Left-continuous at bb
lim⁡x→b−f(x)=f(b)\lim_{x \to b^-} f(x) = f(b). This is the endpoint test for the right end of [a,b][a, b].
Domain
The set of inputs for which the formula gives a real output; continuity of a basic function is claimed only on its domain.
Polynomial
A sum of terms axna x^n with whole-number powers; continuous for all real numbers.
Rational function
A polynomial divided by a polynomial; continuous wherever the denominator is not zero.
Composite function
A function built by feeding one function into another, as in f(g(x))f(g(x)); continuous where the inside is continuous and the outside is continuous at the inside value.
Algebra of continuity
Sums, differences, products and quotients (with a nonzero denominator) of continuous functions are continuous.

The library of continuous functions

Each of these is continuous at every point of its domain. Polynomials such as x3−4xx^3 - 4x: all real numbers. Rational functions such as x+1x2−4\dfrac{x+1}{x^2-4}: all numbers except where the denominator is zero (x=±2x = \pm 2). Root functions such as x\sqrt{x}: x≥0x \ge 0. Exponentials such as exe^x: all real numbers. Logarithms such as ln⁡x\ln x: x>0x > 0. Sine and cosine: all real numbers. Tangent: all numbers except odd multiples of π2\dfrac{\pi}{2}, where the cosine is zero.

Notice that "continuous on its domain" does not mean "no breaks anywhere on the number line." The function 1x\dfrac{1}{x} is continuous on (−∞,0)(-\infty, 0) and on (0,∞)(0, \infty). It is not continuous at 00, but 00 is not in its domain, so the question of continuity there does not even arise in the usual sense. On the exam you will say it has an infinite discontinuity at x=0x = 0.

Common functions and where they are continuous
FunctionDomain and continuity
PolynomialAll real numbers
Rational, p(x)/q(x)p(x)/q(x)All xx with q(x)≠0q(x) \ne 0
x\sqrt{x}On [0,∞)[0, \infty), right-continuous at 00
exe^x, sin⁡x\sin x, cos⁡x\cos xAll real numbers
ln⁡x\ln xOn (0,∞)(0, \infty)
tan⁡x\tan xAll xx except π2+nπ\dfrac{\pi}{2} + n\pi

Building from pieces

If ff and gg are continuous at cc, then so are f+gf + g, f−gf - g and fgfg. The quotient f/gf/g is continuous at cc as long as g(c)≠0g(c) \ne 0. Composites work too: cos⁡(x2+1)\cos(x^2 + 1) is continuous everywhere because the inside is a polynomial and cosine is continuous everywhere. The function etan⁡xe^{\tan x} is continuous wherever tan⁡x\tan x is, which means everywhere except odd multiples of π2\dfrac{\pi}{2}.

This lets you justify continuity by naming the building blocks: "ff is a quotient of continuous functions with a nonzero denominator at cc, so ff is continuous at cc." Write the reason, not just the conclusion.

Worked example: intervals of continuity

Find the intervals where f(x)=x+2x2−1f(x) = \dfrac{\sqrt{x+2}}{x^2 - 1} is continuous. First the domain. The square root needs x+2≥0x + 2 \ge 0, so x≥−2x \ge -2. The denominator is zero when x2=1x^2 = 1, that is x=1x = 1 or x=−1x = -1. Remove these from [−2,∞)[-2, \infty).

What is left is [−2,−1)[-2, -1), (−1,1)(-1, 1) and (1,∞)(1, \infty). On each, ff is a quotient of continuous functions with a nonzero denominator. At x=−2x = -2 only the right-hand side exists, so ff is right-continuous there: lim⁡x→−2+f(x)=03=0=f(−2)\lim_{x \to -2^+} f(x) = \dfrac{0}{3} = 0 = f(-2). The check: (−2)2−1=3(-2)^2 - 1 = 3 and 0=0\sqrt{0} = 0, so the value is 00. At x=±1x = \pm 1 the denominator is zero while the numerator is 3\sqrt{3} or 1\sqrt{1} (nonzero), so those are vertical asymptotes.

Endpoints and a half circle

The function h(x)=4−x2h(x) = \sqrt{4 - x^2} has domain [−2,2][-2, 2], the upper half of a circle of radius 22. It is continuous on the closed interval [−2,2][-2, 2]. At the right end, lim⁡x→2−h(x)=4−4=0=h(2)\lim_{x \to 2^-} h(x) = \sqrt{4 - 4} = 0 = h(2), so it is left-continuous at 22. At the left end, the same calculation gives right-continuity at −2-2. No two-sided limit exists at an endpoint, so a one-sided test is the only fair one.

This matters later: several theorems require continuity on a closed interval [a,b][a, b], which means continuity at every interior point plus the one-sided conditions at aa and bb.

How it connects

  • Back to 1.11: the three-part test is what the library of functions lets you skip.
  • Back to 1.10: rational functions are where holes and asymptotes arise, at zeros of the denominator.
  • Forward to 1.16: the Intermediate Value Theorem requires continuity on a closed interval.
  • Forward to 5.2: the Extreme Value Theorem also needs continuity on a closed interval.

Common mistakes

  • Saying a function is continuous "everywhere" without checking the domain. Roots, logs and quotients each have restrictions.
  • Forgetting both conditions for a quotient. The denominator must be nonzero, and a zero numerator at the same point may give a hole instead of an asymptote.
  • Requiring a two-sided limit at an endpoint. On a closed interval use the one-sided limit from inside.
  • Claiming continuity because the graph "looks" connected. Cite the function type and the algebra of continuity.

How it shows up on the exam

  • A formula with a root, log or fraction, asking for the intervals on which it is continuous or the xx-values where it is not.
  • A justification that a function is continuous on a closed interval before a theorem is applied, naming the function type.
  • A composite function where you decide whether it is continuous at a given value from the continuity of its parts.

Check yourself

  1. What are the intervals of continuity of ln⁡(x−3)\ln(x - 3)?
  2. Why is a polynomial divided by a polynomial continuous except at zeros of the denominator?
  3. What does it mean for ff to be continuous on [a,b][a, b], and which limits does it use at aa and bb?
  4. Where is tan⁡x\tan x not continuous, and why?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.