SOLVER7 Study. Nothing Else.
Chapter 5 Examples Q3

Discuss the continuity of the function \(f\) given by \( f(x) = | x |\) at \(x = 0.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine walking along a path and reaching a bridge. Continuity just means there is no gap or jump at that bridge. For the function \( f(x) = |x| \), the point we care about is \( x = 0 \). Coming from the left side, the path smoothly reaches zero. Coming from the right side, the path also smoothly reaches zero. The bridge itself sits exactly at zero too, so everything matches perfectly and there is no break.

Answer: Since \( \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{+}} f(x) = f(0) = 0 \), the function \( f(x) = |x| \) is continuous at \( x = 0 \).

📖 Continuity of f(x) = |x| at x = 0

Detailed Explanation

A function \( f \) is said to be continuous at a point \( x = a \) if three conditions hold together: the function is defined at \( a \), the limit \( \lim_{x \to a} f(x) \) exists, and this limit equals the function value \( f(a) \). To check that the limit exists at \( a \), we compute the left-hand limit (LHL) as \( x \to a^{-} \) and the right-hand limit (RHL) as \( x \to a^{+} \); the limit exists only when LHL = RHL. Here the modulus function can be written as a piecewise function, so we evaluate the two one-sided limits separately and compare them with the value of the function at \( x = 0 \).

Formula Used

\( f \) is continuous at \( x = a \) if \( \lim_{x \to a^{-}} f(x) = \lim_{x \to a^{+}} f(x) = f(a) \). Also \( |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases} \)

Solution

  1. Step 1: Write the modulus function in piecewise form so we can handle each side of \( x = 0 \) separately: \[ f(x) = |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases} \] This is needed because \( |x| \) behaves differently for negative and non-negative values of \( x \).
  2. Step 2: Find the value of the function at the point. Since \( 0 \ge 0 \), we use the rule \( f(x) = x \): \[ f(0) = |0| = 0 \] So the function is defined at \( x = 0 \).
  3. Step 3: Compute the left-hand limit. As \( x \to 0^{-} \), we have \( x < 0 \), so we use \( f(x) = -x \): \[ \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{-}} (-x) = 0 \]
  4. Step 4: Compute the right-hand limit. As \( x \to 0^{+} \), we have \( x > 0 \), so we use \( f(x) = x \): \[ \lim_{x \to 0^{+}} f(x) = \lim_{x \to 0^{+}} x = 0 \]
  5. Step 5: Compare the results. Since \[ \lim_{x \to 0^{-}} f(x) = 0, \quad \lim_{x \to 0^{+}} f(x) = 0, \quad f(0) = 0, \] all three quantities are equal. Therefore the limit exists and equals the function value, so the three conditions of continuity are satisfied.

Final Answer

Since \( \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{+}} f(x) = f(0) = 0 \), the function \( f(x) = |x| \) is continuous at \( x = 0 \).

Common Mistake

A common mistake is to think that because \( |x| \) has a sharp corner at \( x = 0 \), it must be discontinuous there. The corner means the function is not differentiable at \( x = 0 \), but it is still continuous, since both one-sided limits equal \( f(0) \). Continuity and differentiability are different things.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite \( f(x) = |x| \) in piecewise form: \[f(x) = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\] Reason: The absolute value behaves differently on each side of \( x = 0 \), so splitting it lets us evaluate the left-hand and right-hand limits using the appropriate rule.
  2. Step 2: Find the function value at the point of interest. Since \( 0 \ge 0 \), we use the rule \( f(x) = x \), giving \[f(0) = |0| = 0\] Reason: Continuity requires the function to be defined at \( x = 0 \), so we must first confirm and record the value \( f(0) \).
  3. Step 3: Compute the left-hand limit (LHL). As \( x \to 0^{-} \), values of \( x \) are negative, so we use \( f(x) = -x \): \[\lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{-}} (-x) = 0\] Reason: Approaching \( 0 \) from the left means \( x < 0 \), so the piecewise rule \( -x \) applies here.
  4. Step 4: Compute the right-hand limit (RHL). As \( x \to 0^{+} \), values of \( x \) are positive, so we use \( f(x) = x \): \[\lim_{x \to 0^{+}} f(x) = \lim_{x \to 0^{+}} (x) = 0\] Reason: Approaching \( 0 \) from the right means \( x > 0 \), so the piecewise rule \( x \) applies here.
  5. Step 5: Compare LHL, RHL, and \( f(0) \): \[\lim_{x \to 0^{-}} f(x) = 0, \quad \lim_{x \to 0^{+}} f(x) = 0, \quad f(0) = 0\] Since all three values are equal, every condition for continuity is satisfied. Reason: The formal definition of continuity at a point requires LHL = RHL = function value; verifying this equality is the decisive step.

Final Answer

Since \( \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{+}} f(x) = f(0) = 0 \), the function \( f(x) = |x| \) is continuous at \( x = 0 \).

Common Mistake

One common mistake: Students sometimes apply the wrong branch of the piecewise definition when computing the one-sided limits — for example, using \( f(x) = x \) even when \( x \to 0^{-} \) (where \( x < 0 \)). Always check which branch of \( |x| \) corresponds to the direction from which you are approaching.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Piecewise form: \[f(x) = |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\] Value at point: \( f(0) = 0 \)
  2. Step 2: Left-hand limit: \( \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{-}} (-x) = 0 \)
  3. Step 3: Right-hand limit: \( \lim_{x \to 0^{+}} f(x) = \lim_{x \to 0^{+}} (x) = 0 \)
  4. Step 4: \( \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{+}} f(x) = f(0) = 0 \)

Answer: Since \( \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{+}} f(x) = f(0) = 0 \), the function \( f(x) = |x| \) is continuous at \( x = 0 \).

➕ More Examples

More Examples

Example 1

Question: Discuss the continuity of the function \( f \) defined by \[ f(x) = \begin{cases} 3x + 2 & x > 0 \\ 2 & x = 0 \\ 3x - 2 & x < 0 \end{cases} \] at \( x = 0 \).

Solution: We check the three conditions for continuity at \( x = 0 \). Step 1 — Value of the function at \( x = 0 \): \[ f(0) = 2 \] Step 2 — Left-Hand Limit (LHL): As \( x \to 0^- \), we use \( f(x) = 3x - 2 \). \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (3x - 2) = 3(0) - 2 = -2 \] Step 3 — Right-Hand Limit (RHL): As \( x \to 0^+ \), we use \( f(x) = 3x + 2 \). \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (3x + 2) = 3(0) + 2 = 2 \] Step 4 — Comparing LHL and RHL: \[ \lim_{x \to 0^-} f(x) = -2 \ne 2 = \lim_{x \to 0^+} f(x) \] Since LHL \( \ne \) RHL, the limit of \( f(x) \) as \( x \to 0 \) does not exist. Therefore, \( f \) is NOT continuous at \( x = 0 \).

Answer: f is discontinuous at x = 0 because the left-hand limit (−2) does not equal the right-hand limit (2).

Example 2

Question: Examine the continuity of the function \( g \) at \( x = 1 \), where \[ g(x) = \begin{cases} x^2 - 1 & x < 1 \\ 0 & x = 1 \\ 2x - 2 & x > 1 \end{cases} \]

Solution: We verify the three conditions for continuity at \( x = 1 \). Step 1 — Value of the function at \( x = 1 \): \[ g(1) = 0 \] Step 2 — Left-Hand Limit (LHL): As \( x \to 1^- \), we use \( g(x) = x^2 - 1 \). \[ \lim_{x \to 1^-} g(x) = \lim_{x \to 1^-} (x^2 - 1) = (1)^2 - 1 = 0 \] Step 3 — Right-Hand Limit (RHL): As \( x \to 1^+ \), we use \( g(x) = 2x - 2 \). \[ \lim_{x \to 1^+} g(x) = \lim_{x \to 1^+} (2x - 2) = 2(1) - 2 = 0 \] Step 4 — Checking all three conditions: \[ \lim_{x \to 1^-} g(x) = 0, \quad \lim_{x \to 1^+} g(x) = 0, \quad g(1) = 0 \] Since LHL \( = \) RHL \( = g(1) = 0 \), all three conditions are satisfied. Therefore, \( g \) IS continuous at \( x = 1 \).

Answer: g is continuous at x = 1 because LHL = RHL = g(1) = 0.

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Find the value of the function at x = 2: Since \( x = 2 \) falls in the case \( x \ge 2 \), we use \( f(x) = 2x - 1 \). Thus \[ f(2) = 2(2) - 1 = 3. \]
  2. Step 2: Find the Left-Hand Limit (LHL): The left-hand limit is computed using the expression for \( x < 2 \): \[ \lim_{x \to 2^{-}} f(x) = \lim_{x \to 2^{-}} (x + 3) = 2 + 3 = 5. \]
  3. Step 3: Find the Right-Hand Limit (RHL): The right-hand limit is computed using the expression for \( x \ge 2 \): \[ \lim_{x \to 2^{+}} f(x) = \lim_{x \to 2^{+}} (2x - 1) = 2(2) - 1 = 3. \]
  4. Step 4: Compare LHL, RHL, and f(2): We have \( \lim_{x \to 2^{-}} f(x) = 5 \), \( \lim_{x \to 2^{+}} f(x) = 3 \), and \( f(2) = 3 \). Since \[ \lim_{x \to 2^{-}} f(x) \ne \lim_{x \to 2^{+}} f(x), \] the limit at \( x = 2 \) does not exist.
  5. Step 5: Conclusion: Since the left-hand limit and the right-hand limit are not equal, the function \( f \) is NOT continuous at \( x = 2 \).

Answer: The function \( f \) is discontinuous at \( x = 2 \), because \( \lim_{x \to 2^{-}} f(x) = 5 \ne 3 = \lim_{x \to 2^{+}} f(x) \), so the limit does not exist at \( x = 2 \).

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 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 65/2/3 2026 / Section B Q23