← Back to learning objective

Continuity check at x = 2

Consider the piecewise function f(x)={x2+1x≤25x−5x>2f(x) = \begin{cases} x^2 + 1 & x \le 2 \\ 5x - 5 & x > 2 \end{cases} defined on the interval [0,3][0,3].

Determine whether ff is continuous at x=2x = 2. Justify your answer by checking the three-part definition of continuity (that f(2)f(2) is defined, that lim⁡x→2f(x)\lim_{x\to 2} f(x) exists, and that this limit equals f(2)f(2)), and state the conclusion.

Hint

Compute f(2)f(2) using the top piece, then compute the left-hand and right-hand limits as x→2x \to 2 separately using the appropriate formulas, and compare all three values.

Step-by-step solution

Since 2≤22 \le 2, we use the first piece: f(2)=22+1=5f(2) = 2^2 + 1 = 5. For the left-hand limit, as x→2−x \to 2^- we also use x2+1x^2+1, giving lim⁡x→2−f(x)=5\lim_{x\to 2^-} f(x) = 5. For the right-hand limit, as x→2+x \to 2^+ we use 5x−55x-5, giving lim⁡x→2+f(x)=5(2)−5=5\lim_{x\to 2^+} f(x) = 5(2)-5 = 5.

Since both one-sided limits equal 5, lim⁡x→2f(x)=5\lim_{x\to 2} f(x) = 5 exists. This matches f(2)=5f(2) = 5, so all three conditions of continuity are satisfied at x=2x=2. Therefore ff is continuous at x=2x = 2, and in fact continuous on all of [0,3][0,3].

Applying the IVT to show f(c) = 4

Using the Intermediate Value Theorem, show that there exists a value cc in (0,3)(0,3) such that f(c)=4f(c) = 4. State the theorem's hypotheses you are verifying and identify an interval [a,b]⊆[0,3][a,b] \subseteq [0,3] on which they hold.

Hint

First confirm f is continuous on [0,3] (using your result from part (a) and the fact each piece is a polynomial). Then evaluate f at the endpoints 0 and 3, and find a smaller interval where f changes from below 4 to above 4, or use these endpoint values directly if 4 lies between them.

Step-by-step solution

Each piece of ff is a polynomial, hence continuous on its domain, and part (a) showed the pieces agree in value and limit at x=2x=2, so ff is continuous on the entire closed interval [0,3][0,3].

Evaluate at the endpoints: f(0)=02+1=1f(0) = 0^2+1 = 1 and f(3)=5(3)−5=10f(3) = 5(3)-5 = 10. Since ff is continuous on [0,3][0,3] and 44 lies strictly between f(0)=1f(0)=1 and f(3)=10f(3)=10, the Intermediate Value Theorem guarantees there exists at least one cc in (0,3)(0,3) with f(c)=4f(c) = 4.

Value of f at three, used for IVT

Hint
Step-by-step solution

The answer is ten. In part (b), the right piece five x minus five was used since three is greater than two, giving five times three minus five, which equals ten. This value served as the upper endpoint for applying the Intermediate Value Theorem.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap