SOLVER7 Study. Nothing Else.
Exercise 5.1 Q16

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

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road with no sudden jumps or gaps — you can walk it smoothly without lifting your feet. This function \( f \) is like that road. It is built from three simple pieces joined together. At the joining points, each piece meets the next one perfectly, with no gap or jump. Because all three pieces connect smoothly everywhere, the whole road is unbroken from start to finish.

Answer: The function \( f \) is continuous at every point of its domain, that is, \( f \) is continuous on \( \mathbb{R} \).

📖 Continuity of a Piecewise Function

Detailed Explanation

A function \( f \) is continuous at a point \( x = a \) if three things hold: \( f(a) \) exists, the limit \( \lim_{x \to a} f(x) \) exists (meaning the left-hand limit equals the right-hand limit), and these two values are equal, that is \( \lim_{x \to a} f(x) = f(a) \). For a piecewise function, the only points that need careful checking are the points where the formula changes, here \( x = -1 \) and \( x = 1 \). At all other points each piece is a polynomial (either a constant or a linear function), and polynomials are continuous everywhere. So we test continuity only at the junction points.

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: Write down the definition clearly. \[ f(x) = \begin{cases} -2 & x \le -1 \\ 2x & -1 < x \le 1 \\ 2 & x > 1 \end{cases} \] The pieces \( -2 \), \( 2x \) and \( 2 \) are all polynomials, so \( f \) is automatically continuous for every \( x \) except possibly at the breakpoints \( x = -1 \) and \( x = 1 \).
  2. Step 2: Check continuity at \( x = -1 \). First find the function value. Since \( x \le -1 \) uses \( f(x) = -2 \), we get \[ f(-1) = -2. \] Now the left-hand limit (approaching from \( x < -1 \), where \( f(x) = -2 \)): \[ \lim_{x \to -1^-} f(x) = -2. \] Now the right-hand limit (approaching from \( -1 < x \le 1 \), where \( f(x) = 2x \)): \[ \lim_{x \to -1^+} f(x) = 2(-1) = -2. \]
  3. Step 3: Compare the three values at \( x = -1 \). We have \[ \lim_{x \to -1^-} f(x) = -2, \quad \lim_{x \to -1^+} f(x) = -2, \quad f(-1) = -2. \] Since all three are equal, \( f \) is continuous at \( x = -1 \).
  4. Step 4: Check continuity at \( x = 1 \). First the function value. Since \( -1 < x \le 1 \) uses \( f(x) = 2x \), we get \[ f(1) = 2(1) = 2. \] Now the left-hand limit (approaching from \( -1 < x \le 1 \), where \( f(x) = 2x \)): \[ \lim_{x \to 1^-} f(x) = 2(1) = 2. \] Now the right-hand limit (approaching from \( x > 1 \), where \( f(x) = 2 \)): \[ \lim_{x \to 1^+} f(x) = 2. \]
  5. Step 5: Compare the three values at \( x = 1 \). We have \[ \lim_{x \to 1^-} f(x) = 2, \quad \lim_{x \to 1^+} f(x) = 2, \quad f(1) = 2. \] Since all three are equal, \( f \) is continuous at \( x = 1 \) as well.
  6. Step 6: Combine the results. The function is continuous at both junction points and continuous everywhere else because each piece is a polynomial. Therefore \( f \) is continuous for all real numbers.

Final Answer

The function \( f \) is continuous at every point of its domain, that is, \( f \) is continuous on \( \mathbb{R} \).

Common Mistake

A common mistake is to use the wrong piece when computing a one-sided limit. When approaching \( x = 1 \) from the right you must use the piece valid for \( x > 1 \), namely \( f(x) = 2 \), not \( 2x \). Always match each one-sided limit to the interval that side lies in.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write the piecewise function clearly: \[ f(x) = \begin{cases} -2 & x \le -1 \\ 2x & -1 < x \le 1 \\ 2 & x > 1 \end{cases} \] — Reason: Identifying each piece and its domain helps us see which formula applies near each breakpoint. Since every piece is a polynomial (a constant or a linear function), \( f \) is automatically continuous at all points except possibly the breakpoints \( x = -1 \) and \( x = 1 \), so we only need to check those two points.
  2. Step 2: Find \( f(-1) \). Because \( x = -1 \) satisfies \( x \le -1 \), the first piece applies, giving \[ f(-1) = -2. \] — Reason: We must know the actual function value at the breakpoint before we can compare it with the one-sided limits.
  3. Step 3: Compute the one-sided limits at \( x = -1 \). For the left-hand limit, values just below \( -1 \) use the piece \( f(x) = -2 \): \[ \lim_{x \to -1^-} f(x) = -2. \] For the right-hand limit, values just above \( -1 \) use the piece \( f(x) = 2x \): \[ \lim_{x \to -1^+} f(x) = 2(-1) = -2. \] — Reason: Checking both one-sided limits confirms whether the function approaches the same value from each side.
  4. Step 4: Compare all three values at \( x = -1 \): \[ \lim_{x \to -1^-} f(x) = \lim_{x \to -1^+} f(x) = f(-1) = -2. \] Since all three are equal, \( f \) is continuous at \( x = -1 \). — Reason: The three-way equality is precisely the definition of continuity at a point.
  5. Step 5: Find \( f(1) \). Because \( x = 1 \) satisfies \( -1 < x \le 1 \), the second piece applies: \[ f(1) = 2(1) = 2. \] — Reason: We again need the actual function value at the second breakpoint before comparing with one-sided limits.
  6. Step 6: Compute the one-sided limits at \( x = 1 \). For the left-hand limit, values just below \( 1 \) use \( f(x) = 2x \): \[ \lim_{x \to 1^-} f(x) = 2(1) = 2. \] For the right-hand limit, values just above \( 1 \) use the piece \( f(x) = 2 \): \[ \lim_{x \to 1^+} f(x) = 2. \] — Reason: These one-sided limits test whether the function joins up smoothly at \( x = 1 \).
  7. Step 7: Compare all three values at \( x = 1 \): \[ \lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1) = 2. \] Since all three are equal, \( f \) is continuous at \( x = 1 \). — Reason: Again, the three-way equality confirms continuity at this breakpoint.
  8. Step 8: Combine all results: each individual piece is a polynomial and therefore continuous on its own interval; additionally, \( f \) is continuous at both breakpoints \( x = -1 \) and \( x = 1 \). Together, this covers every real number. — Reason: Continuity on the whole real line follows once we confirm continuity at the junctions, since polynomials handle everything in between.

Final Answer

The function \( f \) is continuous at every point of its domain, that is, \( f \) is continuous on \( \mathbb{R} \).

Common Mistake

One common mistake: students forget to check whether the function value \( f(a) \) itself equals the common limit — they only verify that the left-hand and right-hand limits are equal, which is necessary but not sufficient for continuity.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Piecewise definition: \[f(x) = \begin{cases} -2 & x \le -1 \\ 2x & -1 < x \le 1 \\ 2 & x > 1 \end{cases}\] Each piece is a polynomial, so check only at \( x = -1 \) and \( x = 1 \).
  2. Step 2: Check at \( x = -1 \): \( f(-1) = -2 \), \( \lim_{x \to -1^-} f(x) = -2 \), \( \lim_{x \to -1^+} f(x) = 2(-1) = -2 \). Since all three are equal, \( f \) is continuous at \( x = -1 \).
  3. Step 3: Check at \( x = 1 \): \( f(1) = 2(1) = 2 \), \( \lim_{x \to 1^-} f(x) = 2(1) = 2 \), \( \lim_{x \to 1^+} f(x) = 2 \). Since all three are equal, \( f \) is continuous at \( x = 1 \).

Answer: The function \( f \) is continuous at every point of its domain, that is, \( f \) is continuous on \( \mathbb{R} \).

➕ More Examples

More Examples

Example 1

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

Solution: The function changes its definition at \( x = -2 \) and \( x = 1 \). We check continuity at each of these points. For any \( x < -2 \), \( f(x) = 3 \) (constant), which is continuous. For \( -2 < x < 1 \), \( f(x) = 3x + 7 \) (polynomial), which is continuous. For \( x > 1 \), \( f(x) = -2 \) (constant), which is continuous. So we only need to check at the boundary points. At \( x = -2 \): Left-hand limit: \[ \lim_{x \to -2^-} f(x) = \lim_{x \to -2^-} 3 = 3 \] Right-hand limit: \[ \lim_{x \to -2^+} f(x) = \lim_{x \to -2^+} (3x + 7) = 3(-2) + 7 = -6 + 7 = 1 \] Since the left-hand limit \( = 3 \) and the right-hand limit \( = 1 \), we have \[ \lim_{x \to -2^-} f(x) \ne \lim_{x \to -2^+} f(x) \] so \( f \) is discontinuous at \( x = -2 \). At \( x = 1 \): Left-hand limit: \[ \lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (3x + 7) = 3(1) + 7 = 10 \] Right-hand limit: \[ \lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (-2) = -2 \] Since the left-hand limit \( = 10 \) and the right-hand limit \( = -2 \), we have \[ \lim_{x \to 1^-} f(x) \ne \lim_{x \to 1^+} f(x) \] so \( f \) is discontinuous at \( x = 1 \). Conclusion: \( f \) is discontinuous at \( x = -2 \) and at \( x = 1 \). It is continuous at every other real number.

Answer: f is discontinuous at x = -2 and x = 1; continuous everywhere else.

Example 2

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

Solution: The function changes its definition at \( x = 0 \) and \( x = 2 \). We check continuity at each boundary point. For \( x < 0 \), \( g(x) = x + 3 \) (polynomial — continuous). For \( 0 \le x \le 2 \), \( g(x) = 3 \) (constant — continuous). For \( x > 2 \), \( g(x) = 2x - 1 \) (polynomial — continuous). So we only need to check at the two boundary points. At \( x = 0 \): Left-hand limit: \[ \lim_{x \to 0^-} g(x) = \lim_{x \to 0^-} (x + 3) = 0 + 3 = 3 \] Right-hand limit: \[ \lim_{x \to 0^+} g(x) = \lim_{x \to 0^+} 3 = 3 \] Value of function: \[ g(0) = 3 \] Since \[ \lim_{x \to 0^-} g(x) = \lim_{x \to 0^+} g(x) = g(0) = 3 \] the function \( g \) is continuous at \( x = 0 \). At \( x = 2 \): Left-hand limit: \[ \lim_{x \to 2^-} g(x) = \lim_{x \to 2^-} 3 = 3 \] Right-hand limit: \[ \lim_{x \to 2^+} g(x) = \lim_{x \to 2^+} (2x - 1) = 2(2) - 1 = 3 \] Value of function: \[ g(2) = 3 \] Since \[ \lim_{x \to 2^-} g(x) = \lim_{x \to 2^+} g(x) = g(2) = 3 \] the function \( g \) is continuous at \( x = 2 \). Conclusion: \( g \) is continuous at both boundary points \( x = 0 \) and \( x = 2 \), and it is also continuous on each piece. Therefore, \( g \) is continuous for all real numbers \( x \in \mathbb{R} \).

Answer: g is continuous everywhere on \( \mathbb{R} \).

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Identify the boundary points: The function is defined by different expressions on three intervals. The potential points of discontinuity (where expressions change) are \( x = 0 \) and \( x = 2 \). For all other values of \( x \), each piece is a polynomial or constant, hence continuous.
  2. Step 2: Check continuity at x = 0: Left-hand limit: \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (3x + 1) = 3(0) + 1 = 1 \] Right-hand limit: \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} 4 = 4 \] Function value: \[ f(0) = 4 \] Since \( \lim_{x \to 0^-} f(x) = 1 \ne 4 = \lim_{x \to 0^+} f(x) \), the left-hand limit does NOT equal the right-hand limit. Therefore \( f \) is discontinuous at \( x = 0 \).
  3. Step 3: Check continuity at x = 2: Left-hand limit: \[ \lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} 4 = 4 \] Right-hand limit: \[ \lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (2x - 1) = 2(2) - 1 = 3 \] Function value: \[ f(2) = 4 \] Since \( \lim_{x \to 2^-} f(x) = 4 \ne 3 = \lim_{x \to 2^+} f(x) \), the left-hand limit does NOT equal the right-hand limit. Therefore \( f \) is discontinuous at \( x = 2 \).
  4. Step 4: Conclusion: The function \( f \) is continuous for all \( x \in (-\infty, 0) \cup (0, 2) \cup (2, \infty) \), but is discontinuous at \( x = 0 \) and at \( x = 2 \).

Answer: The function \( f \) is discontinuous at \( x = 0 \) and at \( x = 2 \). It is continuous at all other real numbers.

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