← Back to learning objective

Checking the three-part continuity test at a piecewise boundary

Consider the piecewise function t(x)={cos⁡(x)x<π/21−xx≥π/2t(x) = \begin{cases} \cos(x) & x < \pi/2 \\ 1 - x & x \ge \pi/2 \end{cases}

Determine whether t(x)t(x) is continuous at x=π/2x = \pi/2. Use the three-part definition of continuity: (1) is t(π/2)t(\pi/2) defined, (2) does lim⁡x→π/2t(x)\lim_{x \to \pi/2} t(x) exist, and (3) does the limit equal t(π/2)t(\pi/2)? Based on your work, state whether tt is continuous at x=π/2x = \pi/2, and if it is not, identify which condition fails and classify the type of discontinuity (removable, jump, or infinite).

Hint

Since tt is defined by different formulas on either side of π/2\pi/2, compute the left-hand limit using cos⁡(x)\cos(x) and the right-hand limit using 1−x1-x separately, then compare both to the value t(π/2)t(\pi/2) given by the piece that includes π/2\pi/2.

Step-by-step solution

First check condition (1): since x=π/2x = \pi/2 falls under the rule 1−x1-x (because that piece applies for x≥π/2x \ge \pi/2), we have t(π/2)=1−π/2t(\pi/2) = 1 - \pi/2, so t(π/2)t(\pi/2) is defined. Next check condition (2): compute the one-sided limits. The left-hand limit uses cos⁡(x)\cos(x) since that piece applies for x<π/2x < \pi/2, giving lim⁡x→(π/2)−cos⁡(x)=cos⁡(π/2)=0\lim_{x \to (\pi/2)^-} \cos(x) = \cos(\pi/2) = 0. The right-hand limit uses 1−x1-x, giving lim⁡x→(π/2)+(1−x)=1−π/2≈−0.5708\lim_{x \to (\pi/2)^+} (1-x) = 1 - \pi/2 \approx -0.5708.

Since the left-hand limit (0)(0) and right-hand limit (1−π/2≈−0.5708)(1-\pi/2 \approx -0.5708) are not equal, lim⁡x→π/2t(x)\lim_{x\to \pi/2} t(x) does not exist, so condition (2) fails. Because both one-sided limits exist (they're just unequal, and finite), this is a jump discontinuity — the graph literally jumps from height 00 to height about −0.5708-0.5708 at x=π/2x=\pi/2. Therefore t(x)t(x) is not continuous at x=π/2x = \pi/2.

Checking the three-part continuity test at a piecewise boundary — solution graph

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap