SOLVER7 Study. Nothing Else.
Chapter 5 Examples Q10

Discuss the continuity of the function \(f\) defined by \(f(x)\begin{cases}x+2,&\text {if x\)\le\(1}\\ x-2,&\text {if x> 1}\end{cases}\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine walking along a path that suddenly has a gap. Before the gap, the path climbs smoothly up to a point at height 3. After the gap, the path restarts much lower, at height -1. That sudden jump is exactly what happens with this function at \( x = 1 \). Everywhere else the path is perfectly smooth, because each piece is just a simple straight line. The jump at \( x = 1 \) means the function cannot be continuous there.

Answer: The function \( f \) is continuous at every point except \( x = 1 \). At \( x = 1 \) it is discontinuous because \[ \lim_{x \to 1^-} f(x) = 3 \quad \text{and} \quad \lim_{x \to 1^+} f(x) = -1 \] are not equal, giving a jump discontinuity as seen in the graph.

📖 Continuity of a Piecewise Function

Detailed Explanation

A function \( f \) is continuous at a point \( x = a \) if three conditions hold: the value \( f(a) \) exists, the limit \( \lim_{x \to a} f(x) \) exists (meaning left-hand limit equals right-hand limit), and these two are equal. For a piecewise function, the only point where continuity can fail is the point where the definition changes, here \( x = 1 \). Away from this point, each piece is a polynomial, and polynomials are continuous everywhere. The graph in Fig 5.4 confirms this idea: the line \( y = x + 2 \) rises up to the solid dot \( (1, 3) \) for \( x \le 1 \), while the line \( y = x - 2 \) starts from the open circle \( (1, -1) \) for \( x > 1 \). The break between the point \( (1, 3) \) and the point \( (1, -1) \) shows a jump, indicating a discontinuity 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 for \( x < 1 \). Here \( f(x) = x + 2 \), which is a polynomial. Since every polynomial is continuous, \( f \) is continuous at every point \( x < 1 \). This matches the smooth line rising to \( (1, 3) \) in the graph.
  2. Step 2: Check continuity for \( x > 1 \). Here \( f(x) = x - 2 \), which is also a polynomial and therefore continuous. So \( f \) is continuous at every point \( x > 1 \). This matches the smooth line starting near \( (1, -1) \).
  3. Step 3: Now examine the critical point \( x = 1 \). Find the value of the function using the piece for \( x \le 1 \): \[ f(1) = 1 + 2 = 3 \] This is the solid dot at \( (1, 3) \) in the figure.
  4. Step 4: Find the left-hand limit at \( x = 1 \). As \( x \to 1^- \) we use \( f(x) = x + 2 \): \[ \lim_{x \to 1^-} f(x) = 1 + 2 = 3 \]
  5. Step 5: Find the right-hand limit at \( x = 1 \). As \( x \to 1^+ \) we use \( f(x) = x - 2 \): \[ \lim_{x \to 1^+} f(x) = 1 - 2 = -1 \] This corresponds to the open circle at \( (1, -1) \).
  6. Step 6: Compare the two one-sided limits: \[ \lim_{x \to 1^-} f(x) = 3 \ne -1 = \lim_{x \to 1^+} f(x) \] Since the left-hand limit is not equal to the right-hand limit, the limit \( \lim_{x \to 1} f(x) \) does not exist. Therefore \( f \) is discontinuous at \( x = 1 \).

Final Answer

The function \( f \) is continuous at every point except \( x = 1 \). At \( x = 1 \) it is discontinuous because \[ \lim_{x \to 1^-} f(x) = 3 \quad \text{and} \quad \lim_{x \to 1^+} f(x) = -1 \] are not equal, giving a jump discontinuity as seen in the graph.

Common Mistake

A common mistake is to conclude the function is continuous just because each piece is a polynomial, forgetting to separately check the joining point \( x = 1 \). Students must always test the left-hand limit, right-hand limit, and function value at the point where the definition changes.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write out the piecewise definition clearly: \[ f(x) = \begin{cases} x + 2 & x \le 1 \\ x - 2 & x > 1 \end{cases} \] — Reason: Identifying which formula applies in which region tells us exactly where to look for a potential break in continuity.
  2. Step 2: Check continuity for all \( x < 1 \). In this region \( f(x) = x + 2 \), which is a polynomial. — Reason: Every polynomial is continuous everywhere on its domain, so \( f \) is automatically continuous at each point to the left of \( x = 1 \). This is also visible in the graph as a smooth line rising towards the solid dot at \( (1, 3) \).
  3. Step 3: Check continuity for all \( x > 1 \). In this region \( f(x) = x - 2 \), another polynomial. — Reason: Again, polynomial continuity guarantees no breaks here, so \( f \) is continuous at every point to the right of \( x = 1 \). The graph shows this as a smooth line starting from the open circle near \( (1, -1) \).
  4. Step 4: Evaluate the function value at the switch point. Since the rule for \( x \le 1 \) applies at \( x = 1 \), we get \( f(1) = 1 + 2 = 3 \). — Reason: We need \( f(1) \) to compare with the one-sided limits; the solid dot at \( (1, 3) \) on the graph confirms this value.
  5. Step 5: Compute the left-hand limit as \( x \to 1^- \). Using the piece \( f(x) = x + 2 \) valid for \( x \le 1 \): \[ \lim_{x \to 1^-} f(x) = 1 + 2 = 3. \] — Reason: The left-hand limit uses the formula that governs values just below 1, confirming the function approaches 3 from the left.
  6. Step 6: Compute the right-hand limit as \( x \to 1^+ \). Using the piece \( f(x) = x - 2 \) valid for \( x > 1 \): \[ \lim_{x \to 1^+} f(x) = 1 - 2 = -1. \] — Reason: The right-hand limit uses the formula that governs values just above 1, and it gives a completely different result, \( -1 \), shown by the open circle at \( (1, -1) \) in the graph.
  7. Step 7: Compare the two one-sided limits: \( \lim_{x \to 1^-} f(x) = 3 \) but \( \lim_{x \to 1^+} f(x) = -1 \). Since \( 3 \ne -1 \), the two-sided limit \( \lim_{x \to 1} f(x) \) does not exist. — Reason: For continuity we need both one-sided limits to agree; they do not, so the continuity condition fails at \( x = 1 \). The gap between 3 and \( -1 \) is called a jump discontinuity.

Final Answer

The function \( f \) is continuous at every point except \( x = 1 \). At \( x = 1 \) it is discontinuous because \[ \lim_{x \to 1^-} f(x) = 3 \quad \text{and} \quad \lim_{x \to 1^+} f(x) = -1 \] are not equal, giving a jump discontinuity as seen in the graph.

Common Mistake

One common mistake: students evaluate only the function value \( f(1) \) and, finding it equals 3, incorrectly conclude the function is continuous at \( x = 1 \) — they forget to separately check both one-sided limits and verify that all three quantities (left limit, right limit, and function value) are equal.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: For \( x < 1 \): \( f(x) = x + 2 \) (polynomial) — continuous. For \( x > 1 \): \( f(x) = x - 2 \) (polynomial) — continuous.
  2. Step 2: At \( x = 1 \): Left-hand limit: \( \lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (x + 2) = 3 \). Right-hand limit: \( \lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (x - 2) = -1 \).
  3. Step 3: Since \( \lim_{x \to 1^-} f(x) \ne \lim_{x \to 1^+} f(x) \), the limit does not exist at \( x = 1 \) — discontinuous (jump).

Answer: The function \( f \) is continuous at every point except \( x = 1 \). At \( x = 1 \) it is discontinuous because \[ \lim_{x \to 1^-} f(x) = 3 \quad \text{and} \quad \lim_{x \to 1^+} f(x) = -1 \] are not equal, giving a jump discontinuity as seen in the graph.

➕ More Examples

More Examples

Example 1

Question: Discuss the continuity of the function \( f \) defined by \[f(x) = \begin{cases} 2x + 3, & \text{if } x \le 2 \\ 2x - 3, & \text{if } x > 2 \end{cases}\]

Solution: The function is defined in two pieces, so we must check continuity at the boundary point \( x = 2 \). At all other points the function is a polynomial, hence continuous. Left-Hand Limit (LHL) at \( x = 2 \): \[\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (2x + 3) = 2(2) + 3 = 7\] Right-Hand Limit (RHL) at \( x = 2 \): \[\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (2x - 3) = 2(2) - 3 = 1\] Value of the function at \( x = 2 \): Since \( 2 \le 2 \), we use the first piece: \[f(2) = 2(2) + 3 = 7\] Since LHL \( = 7 \) and RHL \( = 1 \), we have LHL \( \ne \) RHL. Therefore \( \lim_{x \to 2} f(x) \) does not exist, and \( f \) is discontinuous at \( x = 2 \). Conclusion: \( f \) is continuous at every point in \( \mathbb{R} \) except at \( x = 2 \), where it has a jump discontinuity.

Answer: f is discontinuous at x = 2 (jump discontinuity); continuous everywhere else.

Example 2

Question: Discuss the continuity of the function \( g \) defined by \[g(x) = \begin{cases} 3 - x, & \text{if } x < 1 \\ 2, & \text{if } x = 1 \\ x + 1, & \text{if } x > 1 \end{cases}\]

Solution: The boundary point where the definition changes is \( x = 1 \). At all other points the function is either a polynomial or a constant, hence continuous. We check continuity at \( x = 1 \). Left-Hand Limit (LHL) at \( x = 1 \): \[\lim_{x \to 1^-} g(x) = \lim_{x \to 1^-} (3 - x) = 3 - 1 = 2\] Right-Hand Limit (RHL) at \( x = 1 \): \[\lim_{x \to 1^+} g(x) = \lim_{x \to 1^+} (x + 1) = 1 + 1 = 2\] Since LHL \( = \) RHL \( = 2 \), the limit exists: \[\lim_{x \to 1} g(x) = 2\] Value of the function at \( x = 1 \): \[g(1) = 2\] Since \( \lim_{x \to 1} g(x) = g(1) = 2 \), the function \( g \) is continuous at \( x = 1 \). Conclusion: \( g \) is continuous at every point in \( \mathbb{R} \), including \( x = 1 \).

Answer: g is continuous for all x in R, including at x = 1.

🎯 Try a Similar Question

Try a Similar Question

Question: Discuss the continuity of the function \( f \) defined by \[f(x) = \begin{cases} 2x + 3, & \text{if } x \le 2 \\ 2x - 3, & \text{if } x > 2 \end{cases}\]

Solution

  1. Step 1: Identify the point of interest: The function is defined by two different expressions. It is defined without any break for all \( x < 2 \) (a polynomial, hence continuous) and for all \( x > 2 \) (also a polynomial, hence continuous). The only point to check carefully is \( x = 2 \).
  2. Step 2: Compute the value of the function at x = 2: Since \( x = 2 \) satisfies \( x \le 2 \), we use the first piece: \[f(2) = 2(2) + 3 = 7\]
  3. Step 3: Compute the Left-Hand Limit (LHL) at x = 2: As \( x \to 2^- \), we use \( f(x) = 2x + 3 \): \[\lim_{x \to 2^-} f(x) = 2(2) + 3 = 7\]
  4. Step 4: Compute the Right-Hand Limit (RHL) at x = 2: As \( x \to 2^+ \), we use \( f(x) = 2x - 3 \): \[\lim_{x \to 2^+} f(x) = 2(2) - 3 = 1\]
  5. Step 5: Check the continuity condition at x = 2: We compare the three values: \[\lim_{x \to 2^-} f(x) = 7, \quad \lim_{x \to 2^+} f(x) = 1, \quad f(2) = 7\] Since \( \lim_{x \to 2^-} f(x) \ne \lim_{x \to 2^+} f(x) \), the overall limit at \( x = 2 \) does not exist. Therefore \( f \) is discontinuous at \( x = 2 \).
  6. Step 6: Conclusion: The function \( f \) is continuous at every point except \( x = 2 \). At \( x = 2 \), there is a jump discontinuity because the left-hand limit equals \( 7 \) while the right-hand limit equals \( 1 \), and these two one-sided limits are not equal.

Answer: The function \( f \) is continuous everywhere except at \( x = 2 \). At \( x = 2 \) it is discontinuous (jump discontinuity) because \[\lim_{x \to 2^-} f(x) = 7 \quad \text{and} \quad \lim_{x \to 2^+} f(x) = 1\] are not equal.

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 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 65/2/3 2026 / Section B Q23