SOLVER7 Study. Nothing Else.
Exercise 5.1 Q5

Is the function \(f\) defined by \(f(x)=\begin{cases}x,&\text{if x\)\le\(1}\\ 5,&\text{if x\)>\(1}\end{cases}\) continuous at \(x = 0?\) At \(x = 1?\) At \(x = 2?\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that changes its speed limit at a certain point. If cars coming from the left and cars coming from the right both expect the same speed at that spot, the road is smooth. For this function, near \( x = 0 \) and \( x = 2 \), both sides agree perfectly. But at \( x = 1 \), the left side gives a value of \( 1 \) while the right side jumps to \( 5 \). That sudden jump means the function is broken at that point.

Answer: The function \( f \) is continuous at \( x = 0 \) and at \( x = 2 \), but it is discontinuous at \( x = 1 \) because \( \lim_{x \to 1^-} f(x) = 1 \ne 5 = \lim_{x \to 1^+} f(x) \).

📖 Continuity of a Piecewise Function at Given Points

Detailed Explanation

A function \( f \) is said to be continuous at a point \( x = a \) if three conditions hold: the function value \( f(a) \) exists, the limit \( \lim_{x \to a} f(x) \) exists, and these two are equal. When the point lies inside a single piece of a piecewise function, we simply use that formula. But at a point where the definition changes (a break point), we must compute the left-hand limit and the right-hand limit separately, because the function is defined by different rules on either side. Here \( f(x) = x \) for \( x \le 1 \) and \( f(x) = 5 \) for \( x > 1 \), so the rule changes at \( x = 1 \).

Formula Used

\( f \) is continuous at \( x = a \) if \( \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a) \).

Solution

  1. Step 1: Check continuity at \( x = 0 \). Since \( 0 \le 1 \), the point lies in the region where \( f(x) = x \), and points near \( 0 \) also satisfy \( x \le 1 \). So we use only this formula. Here \( f(0) = 0 \) and \[ \lim_{x \to 0} f(x) = \lim_{x \to 0} x = 0. \] Since the limit equals the function value, \( f \) is continuous at \( x = 0 \).
  2. Step 2: Check continuity at \( x = 1 \), the break point. First find the function value. Since \( 1 \le 1 \), we use \( f(x) = x \), so \( f(1) = 1 \).
  3. Step 3: Compute the left-hand limit at \( x = 1 \). For \( x \) slightly less than \( 1 \), we have \( x \le 1 \), so \( f(x) = x \). Therefore \[ \lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x = 1. \]
  4. Step 4: Compute the right-hand limit at \( x = 1 \). For \( x \) slightly greater than \( 1 \), we have \( x > 1 \), so \( f(x) = 5 \). Therefore \[ \lim_{x \to 1^+} f(x) = 5. \] Since the left-hand limit \( 1 \) is not equal to the right-hand limit \( 5 \), the limit does not exist, so \( f \) is not continuous (it is discontinuous) at \( x = 1 \).
  5. Step 5: Check continuity at \( x = 2 \). Since \( 2 > 1 \), the point lies in the region where \( f(x) = 5 \), and points near \( 2 \) also satisfy \( x > 1 \). So \( f(2) = 5 \) and \[ \lim_{x \to 2} f(x) = 5. \] Since the limit equals the function value, \( f \) is continuous at \( x = 2 \).

Final Answer

The function \( f \) is continuous at \( x = 0 \) and at \( x = 2 \), but it is discontinuous at \( x = 1 \) because \( \lim_{x \to 1^-} f(x) = 1 \ne 5 = \lim_{x \to 1^+} f(x) \).

Common Mistake

A common mistake is to plug \( x = 1 \) into just one formula and conclude continuity without checking both one-sided limits. At a break point you must always compute the left-hand and right-hand limits separately; here they differ, so the function is discontinuous.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the pieces of the function. The given function is \[f(x) = \begin{cases} x & x \le 1 \\ 5 & x > 1 \end{cases}\] — Reason: Recognising where the defining rule changes (at \( x = 1 \)) tells us which points need a one-sided limit check and which do not.
  2. Step 2: Check continuity at \( x = 0 \). Since \( 0 \le 1 \), the formula \( f(x) = x \) applies both at and near \( x = 0 \). The function value is \( f(0) = 0 \) and the limit is \[\lim_{x \to 0} f(x) = \lim_{x \to 0} x = 0.\] Because the limit equals the function value, \( f \) is continuous at \( x = 0 \). — Reason: When a point lies strictly inside one piece (far from the break point), a single two-sided limit is enough.
  3. Step 3: Evaluate the function at the break point \( x = 1 \). Since \( 1 \le 1 \), the rule \( f(x) = x \) applies, giving \( f(1) = 1 \). — Reason: We need the actual function value to compare with the one-sided limits in the continuity check.
  4. Step 4: Compute the left-hand limit at \( x = 1 \). For \( x \) approaching 1 from the left, \( x \le 1 \), so \( f(x) = x \). Therefore \[\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x = 1.\] — Reason: The left-hand limit uses the rule that governs values just below the break point.
  5. Step 5: Compute the right-hand limit at \( x = 1 \). For \( x \) approaching 1 from the right, \( x > 1 \), so \( f(x) = 5 \). Therefore \[\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} 5 = 5.\] — Reason: The right-hand limit uses the rule that governs values just above the break point.
  6. Step 6: Compare the two one-sided limits at \( x = 1 \). We have \( \lim_{x \to 1^-} f(x) = 1 \) and \( \lim_{x \to 1^+} f(x) = 5 \). Since \( 1 \ne 5 \), the two-sided limit does not exist, so \( f \) is discontinuous at \( x = 1 \). — Reason: Continuity requires both one-sided limits to agree with each other and with \( f(1) \); failing even one condition is enough to conclude discontinuity.
  7. Step 7: Check continuity at \( x = 2 \). Since \( 2 > 1 \), the formula \( f(x) = 5 \) applies both at and near \( x = 2 \). The function value is \( f(2) = 5 \) and the limit is \[\lim_{x \to 2} f(x) = \lim_{x \to 2} 5 = 5.\] Because the limit equals the function value, \( f \) is continuous at \( x = 2 \). — Reason: Just like \( x = 0 \), the point \( x = 2 \) lies strictly inside one piece, so a single two-sided limit suffices.

Final Answer

The function \( f \) is continuous at \( x = 0 \) and at \( x = 2 \), but it is discontinuous at \( x = 1 \) because \( \lim_{x \to 1^-} f(x) = 1 \ne 5 = \lim_{x \to 1^+} f(x) \).

Common Mistake

One common mistake: students forget to check the right-hand limit separately at the break point and assume continuity because \( f(1) = 1 \) matches the left-hand limit, overlooking that the right-hand limit equals 5, which destroys continuity.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: At \( x = 0 \): \( f(0) = 0 \), \[\lim_{x \to 0} f(x) = \lim_{x \to 0} x = 0 = f(0)\] so \( f \) is continuous at \( x = 0 \).
  2. Step 2: At \( x = 1 \): \( f(1) = 1 \), \[\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x = 1\] \[\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} 5 = 5\] Since \( 1 \ne 5 \), \( f \) is discontinuous at \( x = 1 \).
  3. Step 3: At \( x = 2 \): both one-sided limits use \( f(x) = 5 \), so \[\lim_{x \to 2} f(x) = 5 = f(2)\] and \( f \) is continuous at \( x = 2 \).

Answer: The function \( f \) is continuous at \( x = 0 \) and at \( x = 2 \), but it is discontinuous at \( x = 1 \) because \( \lim_{x \to 1^-} f(x) = 1 \ne 5 = \lim_{x \to 1^+} f(x) \).

➕ More Examples

More Examples

Example 1

Question: Let \( g \) be the function defined by \[ g(x) = \begin{cases} 2x + 1 & \text{if } x \le 2 \\ 7 & \text{if } x > 2 \end{cases} \] Examine the continuity of \( g \) at \( x = 0 \), at \( x = 2 \), and at \( x = 3 \).

Solution: At x = 0: Since \( 0 \le 2 \), the function is given by \( g(x) = 2x + 1 \) near \( x = 0 \). The left-hand limit is \[ \lim_{x \to 0^-} g(x) = 2(0) + 1 = 1 \] The right-hand limit is \[ \lim_{x \to 0^+} g(x) = 2(0) + 1 = 1 \] The function value is \( g(0) = 2(0) + 1 = 1 \). Since all three are equal to 1, \( g \) is continuous at \( x = 0 \). At x = 2 (boundary point): The left-hand limit is \[ \lim_{x \to 2^-} g(x) = 2(2) + 1 = 5 \] The right-hand limit is \[ \lim_{x \to 2^+} g(x) = 7 \] Since \( \lim_{x \to 2^-} g(x) = 5 \ne 7 = \lim_{x \to 2^+} g(x) \), the limit does not exist. Hence \( g \) is NOT continuous at \( x = 2 \). At x = 3: Since \( 3 > 2 \), the function is given by \( g(x) = 7 \) in an entire open neighbourhood of \( x = 3 \). The left-hand limit is \[ \lim_{x \to 3^-} g(x) = 7 \] The right-hand limit is \[ \lim_{x \to 3^+} g(x) = 7 \] The function value is \( g(3) = 7 \). Since all three equal 7, \( g \) is continuous at \( x = 3 \).

Answer: g is continuous at x = 0 and at x = 3, but NOT continuous at x = 2.

Example 2

Question: A function \( h \) is defined as \[ h(x) = \begin{cases} x^2 - 1 & \text{if } x < 3 \\ 8 & \text{if } x \ge 3 \end{cases} \] Check whether \( h \) is continuous at \( x = 1 \), at \( x = 3 \), and at \( x = 4 \).

Solution: At x = 1: Since \( 1 < 3 \), the function is given by \( h(x) = x^2 - 1 \) near \( x = 1 \). The left-hand limit is \[ \lim_{x \to 1^-} h(x) = (1)^2 - 1 = 0 \] The right-hand limit is \[ \lim_{x \to 1^+} h(x) = (1)^2 - 1 = 0 \] The function value is \( h(1) = (1)^2 - 1 = 0 \). All three values equal 0, so \( h \) is continuous at \( x = 1 \). At x = 3 (boundary point): The left-hand limit is \[ \lim_{x \to 3^-} h(x) = (3)^2 - 1 = 8 \] The right-hand limit is \[ \lim_{x \to 3^+} h(x) = 8 \] The function value is \( h(3) = 8 \) (since \( 3 \ge 3 \)). Since \( \lim_{x \to 3^-} h(x) = 8 = \lim_{x \to 3^+} h(x) = h(3) \), the function \( h \) is continuous at \( x = 3 \). At x = 4: Since \( 4 \ge 3 \), the function is given by \( h(x) = 8 \) in an entire open neighbourhood of \( x = 4 \). The left-hand limit is \[ \lim_{x \to 4^-} h(x) = 8 \] The right-hand limit is \[ \lim_{x \to 4^+} h(x) = 8 \] The function value is \( h(4) = 8 \). All three equal 8, so \( h \) is continuous at \( x = 4 \).

Answer: h is continuous at x = 1, at x = 3, and at x = 4.

🎯 Try a Similar Question

Try a Similar Question

Question: Is the function \( f \) defined by \[ f(x) = \begin{cases} 3x + 1, & \text{if } x \le 2 \\ 9, & \text{if } x > 2 \end{cases} \] continuous at \( x = 0 \)? At \( x = 2 \)? At \( x = 3 \)?

Solution

  1. Step 1: Check continuity at x = 0: Since \( x = 0 \le 2 \), the function is given by \( f(x) = 3x + 1 \) in a neighbourhood of \( x = 0 \). We find: \[ f(0) = 3(0) + 1 = 1 \] The left-hand limit: \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (3x + 1) = 1 \] The right-hand limit: \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (3x + 1) = 1 \] Since both one-sided limits equal \( f(0) = 1 \), the function is continuous at \( x = 0 \).
  2. Step 2: Check continuity at x = 2: At \( x = 2 \), the function value is \[ f(2) = 3(2) + 1 = 7 \] The left-hand limit (using \( f(x) = 3x + 1 \) for \( x \le 2 \)): \[ \lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (3x + 1) = 7 \] The right-hand limit (using \( f(x) = 9 \) for \( x > 2 \)): \[ \lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} 9 = 9 \] Since \( \lim_{x \to 2^-} f(x) = 7 \ne 9 = \lim_{x \to 2^+} f(x) \), the limit at \( x = 2 \) does not exist. Therefore, \( f \) is discontinuous at \( x = 2 \).
  3. Step 3: Check continuity at x = 3: Since \( x = 3 > 2 \), the function is given by \( f(x) = 9 \) in a neighbourhood of \( x = 3 \). We find: \[ f(3) = 9 \] The left-hand limit: \[ \lim_{x \to 3^-} f(x) = \lim_{x \to 3^-} 9 = 9 \] The right-hand limit: \[ \lim_{x \to 3^+} f(x) = \lim_{x \to 3^+} 9 = 9 \] Since both one-sided limits equal \( f(3) = 9 \), the function is continuous at \( x = 3 \).
  4. Step 4: Conclusion: The function \( f \) is continuous at \( x = 0 \) and at \( x = 3 \), but it is discontinuous at \( x = 2 \) because \( \lim_{x \to 2^-} f(x) = 7 \ne 9 = \lim_{x \to 2^+} f(x) \).

Answer: The function \( f \) is continuous at \( x = 0 \) and at \( x = 3 \), but it is discontinuous at \( x = 2 \) because \( \lim_{x \to 2^-} f(x) = 7 \ne 9 = \lim_{x \to 2^+} f(x) \).

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24