← Back to learning objective

Checking continuity at x = 2 using the three-part test

Consider the piecewise function g(x)={3x+1x<2x2+3x≥2g(x) = \begin{cases} 3x+1 & x < 2 \\ x^2+3 & x \ge 2 \end{cases}

Use the three-part definition of continuity to determine whether g(x)g(x) is continuous at x=2x = 2. Show that you have checked each of the three conditions (value defined, limit exists, limit equals value), and state your final conclusion. If gg is discontinuous at x=2x=2, classify the discontinuity as removable, jump, or infinite.

Hint

Compute g(2)g(2) from the formula that applies at x=2x=2, then compute the left-hand limit using 3x+13x+1 and the right-hand limit using x2+3x^2+3. Compare all three values to decide which condition(s) of continuity hold or fail.

Step-by-step solution

First check that g(2)g(2) is defined: since 2≥22 \ge 2, we use g(x)=x2+3g(x) = x^2+3, so g(2)=22+3=7g(2) = 2^2+3 = 7. Next find the left-hand limit using the piece for x<2x<2: lim⁡x→2−g(x)=lim⁡x→2−(3x+1)=3(2)+1=7\lim_{x\to 2^-} g(x) = \lim_{x\to 2^-}(3x+1) = 3(2)+1 = 7. Then find the right-hand limit using the piece for x≥2x\ge 2: lim⁡x→2+g(x)=lim⁡x→2+(x2+3)=22+3=7\lim_{x\to 2^+} g(x) = \lim_{x\to 2^+}(x^2+3) = 2^2+3 = 7.

Since the left-hand and right-hand limits both equal 77, the two-sided limit lim⁡x→2g(x)=7\lim_{x\to 2} g(x) = 7 exists. Comparing this to g(2)=7g(2) = 7, all three conditions of continuity are satisfied: g(2)g(2) is defined, the limit exists, and the limit equals g(2)g(2). Therefore gg is continuous at x=2x=2, and there is no discontinuity to classify.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap