Skip to content
Worked Examples · Example 10

Q.Discuss the continuity of the function ff defined by f(x)={x+2,if x≤1x−2,if x>1f(x) = \begin{cases} x + 2, & \text{if } x \leq 1 \\ x - 2, & \text{if } x > 1 \end{cases}.

Sikkim CbseNCERTSubjective· 3mImportance★★★★★
16% · 44/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The function ff is defined by two linear pieces that meet at x=1x=1, but the left-hand limit (33) and right-hand limit (−1-1) are not equal, so ff is discontinuous at x=1x=1 — it has a jump discontinuity there.


Concept First: Continuity at a Point

A function is continuous at a point x=ax = a if three things hold:

  1. f(a)f(a) is defined.
  2. lim⁡x→af(x)\lim_{x \to a} f(x) exists.
  3. lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a).

The critical idea is that the function’s value and its limit must agree. For a piecewise function, the limit exists only when the left-hand limit and right-hand limit are equal. If they differ, the function “jumps” — and continuity fails.

Here, the two pieces are simple lines: x+2x+2 for x≤1x \le 1 and x−2x-2 for x>1x > 1. The only possible trouble spot is the boundary x=1x=1, because inside each piece the function is a polynomial (hence continuous). So we check x=1x=1 carefully.


Step-by-Step Solution

1. Find f(1)f(1).

Since x=1x=1 falls in the first case (x≤1x \le 1), we use f(x)=x+2f(x) = x+2.

f(1)=1+2=3.f(1) = 1 + 2 = 3.

2. Compute the left-hand limit as x→1−x \to 1^-.

For x<1x < 1, the function is x+2x+2. As xx approaches 11 from the left,

lim⁡x→1−f(x)=lim⁡x→1−(x+2)=1+2=3.\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (x+2) = 1 + 2 = 3.

3. Compute the right-hand limit as x→1+x \to 1^+.

For x>1x > 1, the function is x−2x-2. As xx approaches 11 from the right,

lim⁡x→1+f(x)=lim⁡x→1+(x−2)=1−2=−1.\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (x-2) = 1 - 2 = -1.

4. Compare the two one-sided limits.

Left-hand limit = 33, right-hand limit = −1-1. They are not equal.

Therefore, lim⁡x→1f(x)\lim_{x \to 1} f(x) does not exist.

Watch out

A common mistake is to assume that because f(1)f(1) is defined (=3=3), the function must be continuous. But continuity requires the limit to exist and match f(1)f(1). Here the limit doesn’t even exist — the jump is too large. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.