SOLVER7 Study. Nothing Else.
Chapter 5 Examples Q13

Discuss the continuity of the function defined by \(f(x) =\begin{cases}x,&\text{if x\)\ge\(0}\\ x^2,&\text {if x<0}\end{cases}\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine drawing a curve without lifting your pencil. This function is like two friends handing off a baton — one draws a curved path for the left side, another draws a straight line on the right. At the handoff point \(x = 0\), both arrive at exactly the same spot, which is \(0\). Because both friends draw smooth, unbroken paths, and they meet perfectly at the middle, the whole drawing is one smooth, unbroken line from start to finish.

Answer: The function \(f\) is continuous at every real number. It is continuous for \(x < 0\) and \(x > 0\) because both pieces are polynomials, and it is also continuous at the joining point \(x = 0\) since LHL = RHL = \(f(0) = 0\). Therefore \(f\) is continuous on all of \(\mathbb{R}\).

📖 Continuity of a Piecewise Function

Detailed Explanation

A function \(f\) is continuous at a point \(x = c\) if three conditions hold: the value \(f(c)\) exists, the limit \(\lim_{x \to c} f(x)\) exists, and these two are equal. For a limit to exist, the left-hand limit (LHL) and right-hand limit (RHL) must be equal. In the graph (Fig 5.7), the curve for \(x < 0\) is the parabola \(y = x^2\) (passing through points like \((-2,4)\) and \((-1,1)\)), while for \(x \ge 0\) it is the straight line \(y = x\) (passing through \((1,1)\) and \((2,2)\)). Both pieces meet smoothly at the origin, and each piece is a polynomial. Since polynomials are continuous everywhere, the only point that needs careful checking is the joining point \(x = 0\), where the definition changes.

Formula Used

\(f\) is continuous at \(x = c\) if \[\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c)\]

Solution

  1. Step 1: Identify the two pieces and the point of concern. For \(x < 0\), \(f(x) = x^2\) (a polynomial), and for \(x \ge 0\), \(f(x) = x\) (a polynomial). Every polynomial is continuous at all real numbers, so the only doubtful point is where the definition changes, namely \(x = 0\).
  2. Step 2: Check continuity for any point \(c > 0\). Here \(f(x) = x\), so \[\lim_{x \to c} f(x) = \lim_{x \to c} x = c = f(c).\] Hence \(f\) is continuous for all \(x > 0\).
  3. Step 3: Check continuity for any point \(c < 0\). Here \(f(x) = x^2\), so \[\lim_{x \to c} f(x) = \lim_{x \to c} x^2 = c^2 = f(c).\] Hence \(f\) is continuous for all \(x < 0\).
  4. Step 4: Now test the joining point \(x = 0\). First find the value of the function. Since \(0 \ge 0\), we use \(f(x) = x\), giving \[f(0) = 0.\]
  5. Step 5: Compute the left-hand limit (approaching from \(x < 0\), where \(f(x) = x^2\)): \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} x^2 = 0.\] This matches the parabola falling to the origin in the graph.
  6. Step 6: Compute the right-hand limit (approaching from \(x \ge 0\), where \(f(x) = x\)): \[\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x = 0.\] This matches the straight line rising from the origin.
  7. Step 7: Compare the three quantities at \(x = 0\): \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 0.\] Since all three are equal, \(f\) is continuous at \(x = 0\).

Final Answer

The function \(f\) is continuous at every real number. It is continuous for \(x < 0\) and \(x > 0\) because both pieces are polynomials, and it is also continuous at the joining point \(x = 0\) since LHL = RHL = \(f(0) = 0\). Therefore \(f\) is continuous on all of \(\mathbb{R}\).

Common Mistake

A common mistake is checking only one side at \(x = 0\). Students often forget that the left-hand limit must use the piece \(x^2\) while the right-hand limit uses the piece \(x\). Both one-sided limits must be computed separately with the correct piece and then compared with \(f(0)\).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write out the piecewise definition clearly: The given function is \[f(x) = \begin{cases} x^2 & x < 0 \\ x & x \ge 0 \end{cases}\] — Reason: Identifying each piece and the exact boundary between them tells us where to focus our continuity check.
  2. Step 2: Confirm continuity for all \(x < 0\): For any point \(c < 0\), the active piece is \(f(x) = x^2\), which is a polynomial. For any \(c < 0\): \[\lim_{x \to c} f(x) = \lim_{x \to c} x^2 = c^2 = f(c)\] — Reason: Polynomials are continuous at every real number by a standard theorem, so no separate verification is needed for points strictly to the left of zero.
  3. Step 3: Confirm continuity for all \(x > 0\): For any point \(c > 0\), the active piece is \(f(x) = x\), also a polynomial. For any \(c > 0\): \[\lim_{x \to c} f(x) = \lim_{x \to c} x = c = f(c)\] — Reason: Again, the polynomial theorem guarantees continuity at every such point without needing to split into one-sided limits.
  4. Step 4: Find the value \(f(0)\): Since \(x = 0\) satisfies \(x \ge 0\), we use the second piece: \[f(0) = 0\] — Reason: Before comparing limits, we must know the actual function value at the joining point, which is required by the continuity definition.
  5. Step 5: Compute the Left-Hand Limit at \(x = 0\): Approaching from the left means \(x < 0\), so we use \(f(x) = x^2\): \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} x^2 = 0\] — Reason: The left-hand limit captures what the function does as we approach \(x = 0\) through negative values, where the parabola piece applies.
  6. Step 6: Compute the Right-Hand Limit at \(x = 0\): Approaching from the right means \(x > 0\), so we use \(f(x) = x\): \[\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x = 0\] — Reason: The right-hand limit captures what the function does as we approach \(x = 0\) through positive values, where the linear piece applies.
  7. Step 7: Apply the continuity condition at \(x = 0\): We found \(\lim_{x \to 0^-} f(x) = 0\), \(\lim_{x \to 0^+} f(x) = 0\), and \(f(0) = 0\). Since all three quantities are equal: \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 0\] the function is continuous at \(x = 0\) — Reason: The three-way equality is the exact definition of continuity at a point, so its satisfaction confirms no break or jump exists at the joining point.

Final Answer

The function \(f\) is continuous at every real number. It is continuous for \(x < 0\) and \(x > 0\) because both pieces are polynomials, and it is also continuous at the joining point \(x = 0\) since LHL = RHL = \(f(0) = 0\). Therefore \(f\) is continuous on all of \(\mathbb{R}\).

Common Mistake

One common mistake: Students forget to check whether the function definition at the boundary point itself matches the limit — for example, they verify LHL = RHL but never confirm that \(f(0)\) equals that common limit value, which is equally required for continuity.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Continuity on \( x < 0 \) and \( x > 0 \): Both pieces \( f(x) = x^2 \) and \( f(x) = x \) are polynomials, hence continuous on their respective domains.
  2. Step 2: LHL at \( x = 0 \): \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} x^2 = 0 \]
  3. Step 3: RHL and value at \( x = 0 \): \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x = 0 = f(0) \]
  4. Step 4: Conclusion: LHL = RHL = \( f(0) = 0 \), so \( f \) is continuous at \( x = 0 \).

Answer: The function \(f\) is continuous at every real number. It is continuous for \(x < 0\) and \(x > 0\) because both pieces are polynomials, and it is also continuous at the joining point \(x = 0\) since LHL = RHL = \(f(0) = 0\). Therefore \(f\) is continuous on all of \(\mathbb{R}\).

➕ More Examples

More Examples

Example 1

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

Solution: The function is defined in two pieces: \( x^2 + 2 \) for \( x < 1 \) and \( x + 3 \) for \( x \ge 1 \). The only point where continuity is in question (other than obvious continuity within each piece) is at \( x = 1 \). For \( x < 1 \), \( f(x) = x^2 + 2 \) is a polynomial, hence continuous on \( (-\infty, 1) \). For \( x \ge 1 \), \( f(x) = x + 3 \) is a polynomial, hence continuous on \( [1, \infty) \). Now we check continuity at \( x = 1 \). Left-hand limit: \[\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (x^2 + 2) = 1^2 + 2 = 3\] Right-hand limit: \[\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (x + 3) = 1 + 3 = 4\] Value of the function at \( x = 1 \): \[f(1) = 1 + 3 = 4\] Since \( \lim_{x \to 1^-} f(x) = 3 \ne 4 = \lim_{x \to 1^+} f(x) \), the left-hand limit does not equal the right-hand limit. Therefore, \( f \) is NOT continuous at \( x = 1 \). The function is continuous at every point in \( \mathbb{R} \) except at \( x = 1 \), where it has a jump discontinuity.

Answer: f is continuous on \( (-\infty, 1) \cup (1, \infty) \) but discontinuous (jump discontinuity) at \( x = 1 \).

Example 2

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

Solution: The function is defined in two pieces: \( 2x + 1 \) for \( x < 2 \) and \( x^2 - 1 \) for \( x \ge 2 \). The only boundary point is \( x = 2 \). For \( x < 2 \), \( g(x) = 2x + 1 \) is a polynomial, hence continuous on \( (-\infty, 2) \). For \( x \ge 2 \), \( g(x) = x^2 - 1 \) is a polynomial, hence continuous on \( [2, \infty) \). Now we check continuity at \( x = 2 \). Left-hand limit: \[\lim_{x \to 2^-} g(x) = \lim_{x \to 2^-} (2x + 1) = 2(2) + 1 = 5\] Right-hand limit: \[\lim_{x \to 2^+} g(x) = \lim_{x \to 2^+} (x^2 - 1) = 2^2 - 1 = 3\] Value of the function at \( x = 2 \): \[g(2) = 2^2 - 1 = 3\] Since \( \lim_{x \to 2^-} g(x) = 5 \ne 3 = \lim_{x \to 2^+} g(x) \), the left-hand and right-hand limits are not equal. Therefore, \( g \) is NOT continuous at \( x = 2 \). It is continuous at every other point of \( \mathbb{R} \), with a jump discontinuity at \( x = 2 \).

Answer: g is continuous on \( (-\infty, 2) \cup (2, \infty) \) but discontinuous (jump discontinuity) at \( x = 2 \).

🎯 Try a Similar Question

Try a Similar Question

Question: Discuss the continuity of the function \( f \) defined by \[ f(x) = \begin{cases} x + 2 & \text{if } x \ge 0 \\ x^2 + 1 & \text{if } x < 0 \end{cases} \]

Solution

  1. Step 1: Continuity for x > 0: For \( x > 0 \), we have \( f(x) = x + 2 \), which is a polynomial (linear function). Every polynomial is continuous everywhere. Hence \( f \) is continuous for all \( x > 0 \).
  2. Step 2: Continuity for x < 0: For \( x < 0 \), we have \( f(x) = x^2 + 1 \), which is also a polynomial. Polynomials are continuous everywhere. Hence \( f \) is continuous for all \( x < 0 \).
  3. Step 3: Check continuity at the joining point x = 0: We need to check whether \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) \).
  4. Step 4: Compute the Left-Hand Limit (LHL): As \( x \to 0^- \), we use the piece \( f(x) = x^2 + 1 \). So \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (x^2 + 1) = 0^2 + 1 = 1. \]
  5. Step 5: Compute the Right-Hand Limit (RHL): As \( x \to 0^+ \), we use the piece \( f(x) = x + 2 \). So \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x + 2) = 0 + 2 = 2. \]
  6. Step 6: Compute f(0): Since \( 0 \ge 0 \), we use the first piece: \( f(0) = 0 + 2 = 2 \).
  7. Step 7: Compare LHL, RHL, and f(0): We have LHL \( = 1 \), RHL \( = 2 \), and \( f(0) = 2 \). Since LHL \( \ne \) RHL, the limit \( \lim_{x \to 0} f(x) \) does not exist. Therefore \( f \) is NOT continuous at \( x = 0 \).
  8. Step 8: Conclusion: The function \( f \) is continuous for all \( x < 0 \) and for all \( x > 0 \), but it is discontinuous at \( x = 0 \) because the left-hand limit \( (= 1) \) is not equal to the right-hand limit \( (= 2) \).

Answer: The function \( f \) is continuous for all \( x \in \mathbb{R} \) except at \( x = 0 \), where it is discontinuous. This is because \( \lim_{x \to 0^-} f(x) = 1 \ne 2 = \lim_{x \to 0^+} f(x) \), so the limit at \( x = 0 \) does not exist.

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 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