SOLVER7 Study. Nothing Else.
Chapter 5 Examples Q7

Is the function defined by \(f(x) = | x |,\) a continuous function?

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Think of \( |x| \) as a machine that always gives back a positive number. For positive inputs it does nothing special, for negative inputs it flips the sign. Imagine walking along a road — whether you walk forward or backward, your distance from home is always a smooth, unbroken number. There are no sudden jumps or gaps in your distance, even when you switch direction at zero. Because nothing ever breaks or jumps, the function is perfectly smooth everywhere on the number line.

Answer: Yes. The function \( f(x) = |x| \) is continuous at every point of its domain, so it is a continuous function on \( \mathbb{R} \).

📖 Continuity of f(x) = |x|

Detailed Explanation

The modulus function \( f(x) = |x| \) can be written as a piecewise function \[f(x) = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\] A function \( f \) is continuous at a point \( x = c \) if the left-hand limit, the right-hand limit and the value of the function at that point are all equal, that is \[\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).\] For \( x > 0 \) and \( x < 0 \), the function is a straight line (a polynomial), which is always continuous. So the only point that needs careful checking is \( x = 0 \), where the definition of the function 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: Write \( f(x) = |x| \) as a piecewise function: \[f(x) = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\]
  2. Step 2: Check continuity for \( c > 0 \). Here \( f(x) = x \), so \( \lim_{x \to c} f(x) = c \) and \( f(c) = c \). Since they are equal, \( f \) is continuous for every \( c > 0 \).
  3. Step 3: Check continuity for \( c < 0 \). Here \( f(x) = -x \), so \( \lim_{x \to c} f(x) = -c \) and \( f(c) = -c \). Since they are equal, \( f \) is continuous for every \( c < 0 \).
  4. Step 4: Check continuity at \( c = 0 \), the point where the definition changes. First find \( f(0) \): \[f(0) = |0| = 0.\]
  5. Step 5: Find the left-hand limit. For \( x < 0 \), \( f(x) = -x \), so \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x) = 0.\]
  6. Step 6: Find the right-hand limit. For \( x \ge 0 \), \( f(x) = x \), so \[\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x = 0.\]
  7. Step 7: Compare the values. We have \[\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 \) as well.
  8. Step 8: Combine the results. The function is continuous for \( x > 0 \), for \( x < 0 \), and at \( x = 0 \). Hence it is continuous at every real number.

Final Answer

Yes. The function \( f(x) = |x| \) is continuous at every point of its domain, so it is a continuous function on \( \mathbb{R} \).

Common Mistake

A common mistake is to think that \( f(x) = |x| \) is discontinuous at \( x = 0 \) because it has a sharp corner there. The corner only means \( f \) is not differentiable at \( x = 0 \); it is still continuous there, since the left-hand limit, right-hand limit and \( f(0) \) all equal \( 0 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite \( f(x) = |x| \) as a piecewise function: \[ f(x) = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases} \] Reason: Breaking the modulus into cases makes it possible to apply standard limit and continuity rules to each piece separately.
  2. Step 2: Check continuity for any \( c > 0 \). In this region \( f(x) = x \), so \[ \lim_{x \to c} f(x) = c \quad \text{and} \quad f(c) = c. \] Since the limit equals the function value, \( f \) is continuous at every \( c > 0 \). Reason: Polynomials are continuous everywhere, so no detailed three-part check is needed here—both sides of the limit coincide automatically.
  3. Step 3: Check continuity for any \( c < 0 \). Here \( f(x) = -x \), so \[ \lim_{x \to c} f(x) = -c \quad \text{and} \quad f(c) = -c. \] The limit and the function value match, confirming continuity at every \( c < 0 \). Reason: Again, \( -x \) is a polynomial and is continuous on its entire domain.
  4. Step 4: Evaluate \( f \) at the critical point \( x = 0 \): \[ f(0) = |0| = 0. \] Reason: Before computing limits, we must know the actual function value at \( x = 0 \) so we can compare it with the one-sided limits.
  5. Step 5: Compute the left-hand limit at \( x = 0 \). For \( x < 0 \), the rule is \( f(x) = -x \), so \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x) = 0. \] Reason: Approaching from the left means we use the piece defined for negative values of \( x \).
  6. Step 6: Compute the right-hand limit at \( x = 0 \). For \( x \ge 0 \), the rule is \( f(x) = x \), so \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x = 0. \] Reason: Approaching from the right means we use the piece defined for non-negative values of \( x \).
  7. Step 7: Compare all three values at \( x = 0 \): \[ \lim_{x \to 0^-} f(x) = 0, \quad \lim_{x \to 0^+} f(x) = 0, \quad f(0) = 0. \] Since all three are equal, \( f \) is continuous at \( x = 0 \). Reason: The three-part condition for continuity is satisfied, so the potential trouble-point poses no problem.
  8. Step 8: Combine the results from Steps 2, 3, and 7: \( f(x) = |x| \) is continuous for all \( c > 0 \), all \( c < 0 \), and at \( c = 0 \), which together cover every real number. Reason: Since no point in \( \mathbb{R} \) fails the continuity test, we conclude that \( f \) is continuous on its entire domain.

Final Answer

Yes. The function \( f(x) = |x| \) is continuous at every point of its domain, so it is a continuous function on \( \mathbb{R} \).

Common Mistake

One common mistake: Students often assume that because \( f(x) = |x| \) has a sharp corner at \( x = 0 \), it must be discontinuous there. Continuity requires only that the limit equals the function value—it says nothing about the function being smooth or differentiable. The sharp corner makes \( f \) non-differentiable at \( x = 0 \), but it remains perfectly continuous.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: For \( c > 0 \): \( \lim_{x \to c} f(x) = c = f(c) \). For \( c < 0 \): \( \lim_{x \to c} f(x) = -c = f(c) \). Continuous at all \( c \ne 0 \).
  2. Step 2: At \( c = 0 \): \( f(0) = 0 \).
  3. Step 3: LHL: \( \lim_{x \to 0^-} (-x) = 0 \). RHL: \( \lim_{x \to 0^+} (x) = 0 \). So \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 0 \). Continuous at \( x = 0 \).

Answer: Yes. The function \( f(x) = |x| \) is continuous at every point of its domain, so it is a continuous function on \( \mathbb{R} \).

➕ More Examples

More Examples

Example 1

Question: Examine the continuity of the function \( f(x) = |x - 3| \) at every real number.

Solution: We write the absolute value function as a piecewise function: \[ f(x) = \begin{cases} x - 3 & x \ge 3 \\ -(x - 3) & x < 3 \end{cases} \] Case 1: Continuity at x = 3 (the critical point where definition changes). Left-hand limit as x approaches 3: \[ \lim_{x \to 3^-} f(x) = \lim_{x \to 3^-} -(x - 3) = -(3 - 3) = 0 \] Right-hand limit as x approaches 3: \[ \lim_{x \to 3^+} f(x) = \lim_{x \to 3^+} (x - 3) = (3 - 3) = 0 \] Value of the function at x = 3: \[ f(3) = 3 - 3 = 0 \] Since left-hand limit = right-hand limit = f(3) = 0, the function is continuous at x = 3. Case 2: Continuity at any x < 3. For x < 3, \( f(x) = -(x - 3) = 3 - x \), which is a polynomial and hence continuous everywhere in this region. Case 3: Continuity at any x > 3. For x > 3, \( f(x) = x - 3 \), which is also a polynomial and hence continuous everywhere in this region. Since f is continuous at every real number, we conclude that \( f(x) = |x - 3| \) is a continuous function on \( \mathbb{R} \).

Answer: \( f(x) = |x - 3| \) is continuous at every real number.

Example 2

Question: Is the function \( g(x) = |2x + 1| \) a continuous function? Justify your answer.

Solution: We express g(x) as a piecewise function by finding where \( 2x + 1 = 0 \), i.e., \( x = -\dfrac{1}{2} \): \[ g(x) = \begin{cases} 2x + 1 & x \ge -\dfrac{1}{2} \\ -(2x + 1) & x < -\dfrac{1}{2} \end{cases} \] We check continuity at the critical point \( x = -\dfrac{1}{2} \). Left-hand limit: \[ \lim_{x \to -\frac{1}{2}^-} g(x) = \lim_{x \to -\frac{1}{2}^-} -(2x + 1) = -\left(2 \cdot \left(-\frac{1}{2}\right) + 1\right) = -(-1 + 1) = 0 \] Right-hand limit: \[ \lim_{x \to -\frac{1}{2}^+} g(x) = \lim_{x \to -\frac{1}{2}^+} (2x + 1) = 2 \cdot \left(-\frac{1}{2}\right) + 1 = -1 + 1 = 0 \] Value of g at \( x = -\dfrac{1}{2} \): \[ g\!\left(-\frac{1}{2}\right) = 2 \cdot \left(-\frac{1}{2}\right) + 1 = -1 + 1 = 0 \] Since left-hand limit = right-hand limit = \( g\!\left(-\dfrac{1}{2}\right) = 0 \), the function is continuous at \( x = -\dfrac{1}{2} \). For \( x < -\dfrac{1}{2} \), we have \( g(x) = -(2x+1) \), a linear (polynomial) function, which is continuous on that entire interval. For \( x > -\dfrac{1}{2} \), we have \( g(x) = 2x + 1 \), also a linear function, continuous on that entire interval. Therefore, \( g(x) = |2x + 1| \) is continuous for all \( x \in \mathbb{R} \).

Answer: \( g(x) = |2x + 1| \) is continuous at every real number.

🎯 Try a Similar Question

Try a Similar Question

Question: Examine the continuity of the function \( f(x) = |x - 3| \) at \( x = 3 \), and hence determine whether \( f \) is continuous on \( \mathbb{R} \).

Solution

  1. Step 1: Write the function in piecewise form: Recall that the absolute value \( |x - 3| \) changes its rule at \( x = 3 \). We write: \[f(x) = \begin{cases} x - 3 & x \ge 3 \\ -(x - 3) & x < 3 \end{cases}\] which simplifies to \[f(x) = \begin{cases} x - 3 & x \ge 3 \\ 3 - x & x < 3 \end{cases}\]
  2. Step 2: Find the value of the function at x = 3: Using the piecewise definition, \( f(3) = 3 - 3 = 0 \).
  3. Step 3: Compute the Left-Hand Limit (LHL) at x = 3: For \( x < 3 \), we use \( f(x) = 3 - x \). The left-hand limit is \[\lim_{x \to 3^-} f(x) = \lim_{x \to 3^-} (3 - x) = 3 - 3 = 0.\]
  4. Step 4: Compute the Right-Hand Limit (RHL) at x = 3: For \( x \ge 3 \), we use \( f(x) = x - 3 \). The right-hand limit is \[\lim_{x \to 3^+} f(x) = \lim_{x \to 3^+} (x - 3) = 3 - 3 = 0.\]
  5. Step 5: Check the continuity condition at x = 3: We have \( \lim_{x \to 3^-} f(x) = 0 \), \( \lim_{x \to 3^+} f(x) = 0 \), and \( f(3) = 0 \). Since all three values are equal, \( f \) is continuous at \( x = 3 \).
  6. Step 6: Check continuity for x ≠ 3: For \( x > 3 \), \( f(x) = x - 3 \) is a polynomial, which is continuous everywhere on \( (3, \infty) \). For \( x < 3 \), \( f(x) = 3 - x \) is also a polynomial, which is continuous everywhere on \( (-\infty, 3) \). Hence \( f \) is continuous at every point of \( \mathbb{R} \).
  7. Step 7: Conclusion: Since \( f(x) = |x - 3| \) is continuous at \( x = 3 \) as well as at all other points in \( \mathbb{R} \), the function is continuous on \( \mathbb{R} \). However, note that \( f \) is NOT differentiable at \( x = 3 \), because the left-hand derivative equals \( -1 \) while the right-hand derivative equals \( 1 \), so these are not equal.

Answer: The function \( f(x) = |x - 3| \) is continuous at every point of \( \mathbb{R} \), including at \( x = 3 \). However, it is NOT differentiable at \( x = 3 \) (the left and right derivatives differ), making it an example of a function that is continuous but not differentiable at a specific point.

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