Question:

Is the function \(f(x)\) defined by
\[ f(x) = \begin{cases} x, & \text{if } x \le 1 \\ 5, & \text{if } x \gt 1 \end{cases} \]
continuous at \(x = 1\)?

Show Hint

Compare \(f(1)=1\), the left hand limit \(\lim_{x\to1^-}x = 1\) and the right hand limit \(5\). They are not all equal, so \(f\) is discontinuous at \(x=1\).
Updated On: Nov 19, 2026
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: Understanding the Concept.
A function \(f\) is continuous at \(x=1\) only when three numbers agree: the left hand limit, the right hand limit, and the value \(f(1)\). If any two differ, the function is discontinuous there.

Step 2: Key Formula or Approach.
\[ \lim_{x\to 1^-} f(x) = \lim_{x\to 1^+} f(x) = f(1) \]

Step 3: Value at the point.
The first rule applies for \(x \le 1\), so \(x=1\) is covered by it.
\[ f(1) = 1 \]

Step 4: Left hand limit.
For \(x\) slightly less than 1 we use \(f(x)=x\).
\[ \lim_{x\to 1^-} f(x) = \lim_{x\to 1^-} x = 1 \]

Step 5: Right hand limit.
For \(x\) slightly more than 1 we use \(f(x)=5\).
\[ \lim_{x\to 1^+} f(x) = 5 \]

Step 6: Compare.
The left hand limit is 1 and the right hand limit is 5. They are not equal, so the limit at \(x=1\) does not exist. The function makes a jump of \(5-1=4\) at \(x=1\).

Final Answer:
The function is not continuous at \(x=1\). \[ \boxed{\text{No, } f \text{ is discontinuous at } x=1 \text{ (LHL}=1,\ \text{RHL}=5)} \]
Was this answer helpful?
0
0