Continuous Function Examples: 46 Problems with Answers

Worked examples of Continuous Function to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
Show that f(x)=3x2−5x+2 is continuous at x=1 using the three-part definition of continuity.
Show solution

Answer

f is continuous at x=1

First step

1.
Part 1 — f(1) exists: f(1)=3(1)−5(1)+2=0. ✓

Full solution

  1. 2.
    Part 2 — lim⁡x→1f(x) exists: since f is a polynomial, the limit equals the function value. lim⁡x→1(3x2−5x+2)=3−5+2=0. ✓
  2. 3.
    Part 3 — Limit equals function value: lim⁡x→1f(x)=0=f(1). ✓ All three conditions hold, so f is continuous at x=1.
Continuity requires three conditions: the function value exists, the limit exists, and they are equal. Polynomials satisfy all three at every point, making them everywhere continuous.

Example 2

hard
Find where f(x)=x2−4x−2 is discontinuous, classify the discontinuity, and determine if it can be removed.

Example 3

medium
Apply the IVT to show f(x)=x3+x−4 has a root in [1,2].

Example 4

medium
If f is continuous on [0,1] with f(0)=2 and f(1)=−1, must f take the value 0 somewhere on [0,1]?

Example 5

hard
Show that f(x)=cos⁡x−x has a root in [0,1].

Example 6

challenge
Show that any polynomial of odd degree has at least one real root.

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
Is g(x)=1x continuous on (−∞,∞)? If not, identify where and why.

Example 2

medium
Apply the Intermediate Value Theorem to show that h(x)=x3−x−1 has a root in the interval [1,2].

Example 3

easy
Can you draw f(x)=x without lifting your pencil?

Example 4

easy
Is f(x)=1x continuous at x=0?

Example 5

easy
Is f(x)=∣x∣ continuous at x=0?

Example 6

easy
Does continuous mean smooth (no corners)?

Example 7

easy
Is the polynomial f(x)=x3−2x+1 continuous for all real x?

Example 8

easy
At a removable discontinuity (hole), is the function continuous there?

Example 9

easy
Is a jump in a graph a sign of discontinuity?

Example 10

easy
Are removable discontinuities always visible at normal zoom?

Example 11

medium
Is f(x)=x2−4x−2 continuous at x=2?

Example 12

medium
For f(x)={x+2x<13xx≥1, is f continuous at x=1?

Example 13

medium
Where is f(x)=x+1x2−x−6 discontinuous?

Example 14

medium
Is f(x)=x continuous at x=0?

Example 15

medium
A function jumps from 2 (left) to 5 (right) at x=3. What is the jump size?

Example 16

medium
Is f(x)=1x2+1 continuous for all real x?

Example 17

medium
State the three conditions for f to be continuous at x=a.

Example 18

medium
Is f(x)=tan⁡x continuous on (−π2,π2)?

Example 19

medium
Is f(x)=xx−1 continuous at x=0?

Example 20

challenge
Find k so that f(x)={x2−9x−3x≠3kx=3 is continuous at x=3.

Example 21

challenge
By the Intermediate Value Theorem, must f(x)=x3+x−1 have a root in [0,1]? Justify.

Example 22

challenge
For f(x)={x2x≤1ax+bx>1, find a relation between a and b for continuity at x=1.

Example 23

easy
Is f(x)=5x−7 continuous on R?

Example 24

easy
Is f(x)=ex continuous on R?

Example 25

easy
Where is f(x)=1x2−4 discontinuous?

Example 26

easy
Is f(x)=sin⁡x continuous on R?

Example 27

easy
Can a continuous function have a vertical asymptote within its domain?

Example 28

medium
Find the value(s) of x where f(x)=x+3x2+x−6 is discontinuous.

Example 29

medium
Is the product of two continuous functions continuous?

Example 30

medium
For f(x)={x2+1x≤23x−1x>2, is f continuous at x=2?

Example 31

medium
Is f(x)=ln⁡(x2+1) continuous on R?

Example 32

medium
Find k so that f(x)={x2−25x−5x≠5kx=5 is continuous at x=5.

Example 33

medium
On what set is f(x)=1sin⁡x continuous?

Example 34

medium
True or false: if f is continuous at a, then ∣f∣ is continuous at a.

Example 35

hard
Find a,b so that f(x)={ax+1x<2x2+bx≥2 is continuous at x=2 and f(2)=7.

Example 36

hard
If f is continuous on [0,1] and f(x)∈[0,1] for all x∈[0,1], show f has a fixed point.

Example 37

medium
Is f(x)=x2+1x2+1 continuous everywhere?

Example 38

medium
True or false: f(x)=tan⁡x is continuous on [0,π].

Example 39

hard
Let f be continuous on R with f(x+y)=f(x)+f(y) for all real x,y. Show f(x)=cx for some constant c.

Example 40

challenge
True or false: if f is continuous on [0,2] with f(0)=1 and f(2)=3, then f must have a fixed point in [0,2].

What to focus on

Core idea: A continuous function has no jumps, holes, or breaks; its limit equals its value at every point.

Common stuck point: The procedure for continuous function is the easy part; the trap is assuming defined-everywhere means continuous. Asking "Can the graph be drawn through this point without lifting the pencil?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Can the graph be drawn through this point without lifting the pencil?

Concept recap

A function is continuous at a point if the limit equals the function value there, with no jumps, holes, or vertical asymptotes in the interval of interest.

A continuous function is like a hiking trail with no gaps: to climb from 200 m to 500 m of altitude, you pass every altitude in between. A trail with a missing bridge has a break where you would have to leap. A trail can still turn sharply and be unbroken, just as a continuous graph can have corners.

Read the full lesson on Continuous Function

Continuous Function is covered with related ideas in the guide Functions and Graphs: Complete Foundations for Algebra and Calculus.

Background knowledge

These ideas may be useful before you work through the harder examples.

function definition