Continuity — three classic examples
About this app
Three classroom examples: parameter c in 2x+c (for which c is f continuous?), x/(x+2) | (x+1)/2 with pole and jump, |x+3| + |x−4| − 5 as a piecewise linear bend.
Continuity at a point
A function f is continuous at a if the left-hand limit, the right-hand limit and the function value agree: lim f(x) as x → a⁻ equals lim f(x) as x → a⁺ equals f(a). For piecewise functions the joins are the critical points. Being defined there is not enough; the two one-sided limits must match. A pole, by contrast, is a gap in the domain where f grows without bound.
The three exercises
Example 1: f(x) = x² for 0 ≤ x ≤ 1 and 2x + c for x > 1. A slider sets c and the app shows the jump Δ; f becomes continuous when 2 + c = 1, so c = −1. Example 2: x/(x + 2) for x < 1 and (x + 1)/2 for x ≥ 1. At x = 1, f jumps from ⅓ to 1 and is only right-continuous; at x = −2 there is a pole. Example 3: |x + 3| + |x − 4| − 5 splits into −2x − 4, the constant 2 and 2x − 6.
What to look for
The verdict panel lists the left-hand and right-hand limits, f(1) and the jump Δ side by side. In example 3 you can highlight the corners at x = −3 and x = 4: the one-sided limits agree there, so f is continuous everywhere. The pieces have different slopes at the corners, however, so f is not differentiable there. The plot can be zoomed and panned.
Frequently asked questions
- How do you check continuity of a piecewise function?
- At each join a, compute the left-hand limit using the left rule and the right-hand limit using the right rule. If both equal f(a), f is continuous there. Inside the pieces, polynomials and most standard functions are continuous anyway.
- How do you find a parameter that makes a function continuous?
- Set the two one-sided limits at the join equal and solve for the parameter. For x² when x ≤ 1 and 2x + c when x > 1 this gives 1 = 2 + c, so c = −1.
- Is a function with a corner continuous?
- Yes. At a corner the graph is connected but the slope jumps. An example is |x + 3| + |x − 4| − 5 at x = −3 and x = 4. The function is continuous there but not differentiable.
- What does the app show for each example?
- The graph with open and filled endpoints, the one-sided limits, the function value and a verdict such as “continuous”, “discontinuous (jump)” or “continuous everywhere”. In example 1 you set c with a slider or jump straight to c = −1.
Subject: Analysis (one-dimensional)
More from Analysis (one-dimensional)
- Derivative as a sequence of secants
- Bounded growth
- Units of an integral: rate times time
- Exponential growth and decay
- Optimisation: the largest rectangle
- Area between curves
- Area function is an antiderivative
- Sequential continuity
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps