← Back to learning objective

Checking continuity at a point using the three-part definition

Consider the piecewise function z(x)={∣x+1∣x<0x2+1x≥0z(x) = \begin{cases} |x+1| & x < 0 \\ x^2 + 1 & x \geq 0 \end{cases}

Using the three-part definition of continuity, determine whether z(x)z(x) is continuous at x=0x = 0. Be sure to check: (1) whether z(0)z(0) is defined, (2) whether lim⁡x→0z(x)\lim_{x \to 0} z(x) exists, and (3) whether that limit equals z(0)z(0). State your conclusion, and if zz is discontinuous at x=0x=0, classify the discontinuity as removable, jump, or infinite.

Hint

Compute z(0)z(0) directly from the rule for x≥0x \geq 0. Then compute the left-hand limit using ∣x+1∣|x+1| as x→0−x \to 0^- and the right-hand limit using x2+1x^2+1 as x→0+x \to 0^+, and compare all three values.

Step-by-step solution

First, evaluate z(0)z(0): since 0≥00 \geq 0, we use the rule z(x)=x2+1z(x) = x^2+1, giving z(0)=02+1=1z(0) = 0^2+1 = 1. So condition (1) is satisfied — z(0)z(0) is defined and equals 11.

Next, find the one-sided limits. As x→0−x \to 0^-, z(x)=∣x+1∣→∣0+1∣=1z(x) = |x+1| \to |0+1| = 1. As x→0+x \to 0^+, z(x)=x2+1→1z(x) = x^2+1 \to 1. Since both one-sided limits equal 11, lim⁡x→0z(x)=1\lim_{x\to 0} z(x) = 1 exists (condition 2 satisfied).

Finally, compare the limit to the function value: lim⁡x→0z(x)=1=z(0)\lim_{x\to 0} z(x) = 1 = z(0), so condition (3) is also satisfied. All three conditions hold, so z(x)z(x) is continuous at x=0x=0 — there is no discontinuity to classify.

Identifying which continuity condition was tested first

Hint
Step-by-step solution

The first condition checked was whether z of zero is defined. This matches the standard order of the three-part continuity test, where you first confirm the function value exists before examining limits. In the solution, z of zero was computed directly from the rule for x greater than or equal to zero, giving a value of one. Only afterward were the one-sided limits evaluated and compared.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap