SOLVER7 Study. Nothing Else.
Exercise 5.1 Q3(d)

Examine the following functions for continuity. \( f(x) = |x – 5|\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Think of \( |x - 5| \) like a rubber ruler that always shows distance from the number 5. It never jumps or breaks — it just bends smoothly at the point 5. On either side of 5, it behaves like a simple straight line. At the point 5 itself, the value is exactly 0, and the graph connects perfectly with no gap. Because there are no breaks or jumps anywhere, the function is smooth and unbroken at every single point on the number line.

Answer: Since \( f(x) = |x - 5| \) is continuous at every point \( c \ne 5 \) (being a polynomial locally) and is also continuous at \( x = 5 \) (as the left limit, right limit, and function value are all \( 0 \)), the function \( f(x) = |x - 5| \) is continuous for all real numbers, i.e. continuous everywhere.

📖 Continuity of f(x) = |x - 5|

Detailed Explanation

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) \). The function \( f(x) = |x - 5| \) is a modulus function. By the definition of absolute value, \( |x - 5| \) equals \( x - 5 \) when \( x \ge 5 \) and equals \( -(x - 5) \) when \( x < 5 \). Both of these are polynomial (linear) expressions, and polynomials are continuous everywhere. So the only point that needs careful checking is \( x = 5 \), where the definition of the function changes.

Formula Used

\[ f(x) = |x - 5| = \begin{cases} x - 5 & x \ge 5 \\ -(x - 5) & x < 5 \end{cases} \] Continuity at \( x = c \) requires \( \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c) \).

Solution

  1. Step 1: Write the function in piecewise form using the definition of modulus: \[ f(x) = \begin{cases} x - 5 & x \ge 5 \\ -(x - 5) & x < 5 \end{cases} \] Both pieces are linear expressions.
  2. Step 2: Consider any point \( c \ne 5 \). Near such a point the function is just one linear polynomial. Since every polynomial function is continuous at every real number, \( f \) is continuous at all points where \( c \ne 5 \).
  3. Step 3: Now check the doubtful point \( x = 5 \). First find the value of the function there: \[ f(5) = |5 - 5| = 0. \]
  4. Step 4: Find the left-hand limit as \( x \to 5^- \). Here \( x < 5 \), so \( f(x) = -(x - 5) \): \[ \lim_{x \to 5^-} f(x) = \lim_{x \to 5^-} -(x - 5) = -(5 - 5) = 0. \]
  5. Step 5: Find the right-hand limit as \( x \to 5^+ \). Here \( x \ge 5 \), so \( f(x) = x - 5 \): \[ \lim_{x \to 5^+} f(x) = \lim_{x \to 5^+} (x - 5) = 5 - 5 = 0. \]
  6. Step 6: Compare all three values at \( x = 5 \): \[ \lim_{x \to 5^-} f(x) = \lim_{x \to 5^+} f(x) = f(5) = 0. \] Since they are all equal, \( f \) is continuous at \( x = 5 \).

Final Answer

Since \( f(x) = |x - 5| \) is continuous at every point \( c \ne 5 \) (being a polynomial locally) and is also continuous at \( x = 5 \) (as the left limit, right limit, and function value are all \( 0 \)), the function \( f(x) = |x - 5| \) is continuous for all real numbers, i.e. continuous everywhere.

Common Mistake

A common mistake is to assume that because the modulus function has a sharp corner (a 'V' shape) at \( x = 5 \), it must be discontinuous there. In fact, a sharp corner only means the function is not differentiable at that point; it is still continuous, since the left and right limits both equal \( f(5) \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite \( f(x) = |x - 5| \) in piecewise form by applying the definition of absolute value: \[f(x) = \begin{cases} x - 5 & x \ge 5 \\ -(x - 5) & x < 5 \end{cases}\] Reason: The absolute value splits at the point where the expression inside becomes zero, i.e. at \( x = 5 \). Each piece is a linear (polynomial) expression, which will be useful in the next step.
  2. Step 2: For any point \( c \ne 5 \), the function coincides with exactly one linear polynomial in a neighbourhood around \( c \). Since every polynomial is continuous everywhere on \( \mathbb{R} \), we conclude that \( f \) is continuous at all \( c \ne 5 \). Reason: There is no ambiguity in the definition away from \( x = 5 \), so only the boundary point requires a separate check.
  3. Step 3: Evaluate the function at the boundary point \( x = 5 \): \[f(5) = |5 - 5| = |0| = 0\] Reason: We need the function value \( f(5) \) to compare it with the one-sided limits in the continuity test.
  4. Step 4: Compute the left-hand limit as \( x \to 5^- \). For \( x < 5 \), we use \( f(x) = -(x - 5) \): \[\lim_{x \to 5^-} f(x) = \lim_{x \to 5^-} -(x - 5) = -(5 - 5) = 0\] Reason: Approaching from the left means \( x < 5 \), so the second piece of the piecewise definition applies.
  5. Step 5: Compute the right-hand limit as \( x \to 5^+ \). For \( x \ge 5 \), we use \( f(x) = x - 5 \): \[\lim_{x \to 5^+} f(x) = \lim_{x \to 5^+} (x - 5) = 5 - 5 = 0\] Reason: Approaching from the right means \( x > 5 \), so the first piece of the piecewise definition applies.
  6. Step 6: Compare all three quantities at \( x = 5 \): \[\lim_{x \to 5^-} f(x) = 0, \quad \lim_{x \to 5^+} f(x) = 0, \quad f(5) = 0\] Since all three are equal, the continuity condition \( \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c) \) is satisfied at \( x = 5 \). Reason: This is the formal verification that no jump or gap exists at the only potentially problematic point.

Final Answer

Since \( f(x) = |x - 5| \) is continuous at every point \( c \ne 5 \) (being a polynomial locally) and is also continuous at \( x = 5 \) (as the left limit, right limit, and function value are all \( 0 \)), the function \( f(x) = |x - 5| \) is continuous for all real numbers, i.e. continuous everywhere.

Common Mistake

One common mistake: students sometimes forget to check the boundary point \( x = 5 \) altogether, assuming that because each piece is a polynomial the entire function is automatically continuous — but continuity at the joining point must always be verified explicitly by computing both one-sided limits and comparing them with the function value.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Continuity at \( c \ne 5 \): Each piece is a linear polynomial, so \( f \) is continuous at every \( c \ne 5 \).
  2. Step 2: Function value at \( x = 5 \): \[f(5) = |5 - 5| = 0\]
  3. Step 3: Left-hand and right-hand limits at \( x = 5 \): \[\lim_{x \to 5^-} f(x) = \lim_{x \to 5^-} -(x - 5) = 0, \quad \lim_{x \to 5^+} f(x) = \lim_{x \to 5^+} (x - 5) = 0\]
  4. Step 4: Continuity check at \( x = 5 \): \[\lim_{x \to 5^-} f(x) = \lim_{x \to 5^+} f(x) = f(5) = 0\]

Answer: Since \( f(x) = |x - 5| \) is continuous at every point \( c \ne 5 \) (being a polynomial locally) and is also continuous at \( x = 5 \) (as the left limit, right limit, and function value are all \( 0 \)), the function \( f(x) = |x - 5| \) is continuous for all real numbers, i.e. continuous everywhere.

➕ More Examples

More Examples

Example 1

Question: Examine the following function for continuity: \( f(x) = |x + 3| \).

Solution: We rewrite \( f(x) = |x + 3| \) as a piecewise function. The expression inside the absolute value equals zero when \( x = -3 \). So: \[ f(x) = \begin{cases} x + 3 & \text{if } x \ge -3 \\ -(x + 3) & \text{if } x < -3 \end{cases} \] Case 1: Continuity at \( x = -3 \). Left-hand limit: \[ \lim_{x \to -3^-} f(x) = \lim_{x \to -3^-} [-(x+3)] = -(-3+3) = 0 \] Right-hand limit: \[ \lim_{x \to -3^+} f(x) = \lim_{x \to -3^+} (x+3) = (-3+3) = 0 \] Value of the function: \[ f(-3) = |-3 + 3| = |0| = 0 \] Since the left-hand limit, right-hand limit, and \( f(-3) \) are all equal to \( 0 \), the function is continuous at \( x = -3 \). Case 2: Continuity at \( x = c \) where \( c \ne -3 \). If \( c > -3 \), then \( f(x) = x + 3 \) near \( c \), which is a polynomial, hence continuous. If \( c < -3 \), then \( f(x) = -(x+3) \) near \( c \), also a polynomial, hence continuous. Therefore, \( f(x) = |x + 3| \) is continuous for all \( x \in \mathbb{R} \).

Answer: \( f(x) = |x + 3| \) is continuous for all real numbers.

Example 2

Question: Examine the following function for continuity: \[ g(x) = \begin{cases} 2x - 7 & \text{if } x \ge \frac{7}{2} \\ 7 - 2x & \text{if } x < \frac{7}{2} \end{cases} \] Note: This is the same as \( g(x) = |2x - 7| \).

Solution: The function \( g(x) = |2x - 7| \) has its critical point where \( 2x - 7 = 0 \), i.e., at \( x = \frac{7}{2} \). Case 1: Continuity at \( x = \frac{7}{2} \). Left-hand limit: \[ \lim_{x \to \frac{7}{2}^-} g(x) = \lim_{x \to \frac{7}{2}^-} (7 - 2x) = 7 - 2 \cdot \frac{7}{2} = 7 - 7 = 0 \] Right-hand limit: \[ \lim_{x \to \frac{7}{2}^+} g(x) = \lim_{x \to \frac{7}{2}^+} (2x - 7) = 2 \cdot \frac{7}{2} - 7 = 7 - 7 = 0 \] Value of the function: \[ g\left(\frac{7}{2}\right) = \left|2 \cdot \frac{7}{2} - 7\right| = |7 - 7| = 0 \] Since LHL = RHL = \( g\left(\frac{7}{2}\right) = 0 \), the function is continuous at \( x = \frac{7}{2} \). Case 2: Continuity at \( x = c \) where \( c \ne \frac{7}{2} \). For \( c > \frac{7}{2} \), \( g(x) = 2x - 7 \) is a linear (polynomial) function, hence continuous. For \( c < \frac{7}{2} \), \( g(x) = 7 - 2x \) is also a linear function, hence continuous. Therefore, \( g(x) = |2x - 7| \) is continuous for all \( x \in \mathbb{R} \).

Answer: \( g(x) = |2x - 7| \) is continuous for all real numbers.

🎯 Try a Similar Question

Try a Similar Question

Question: Examine the following function for continuity: \( f(x) = |x + 3| \). Determine whether f is continuous at every real number, and justify your answer.

Solution

  1. Step 1: Rewrite as a piecewise function: The absolute value function can be written as a piecewise function. We note that \( x + 3 = 0 \) when \( x = -3 \), which is the critical point. So: \[f(x) = \begin{cases} x + 3 & \text{if } x \ge -3 \\ -(x + 3) & \text{if } x < -3 \end{cases}\]
  2. Step 2: Check continuity for x > -3: For \( x > -3 \), we have \( f(x) = x + 3 \), which is a polynomial. Polynomials are continuous everywhere, so f is continuous at every point \( c > -3 \).
  3. Step 3: Check continuity for x < -3: For \( x < -3 \), we have \( f(x) = -(x + 3) \), which is also a polynomial. Hence f is continuous at every point \( c < -3 \).
  4. Step 4: Check continuity at the critical point x = -3: We check the three conditions at \( x = -3 \). First, the function value: \[f(-3) = |-3 + 3| = |0| = 0\] Next, the left-hand limit: \[\lim_{x \to -3^-} f(x) = \lim_{x \to -3^-} [-(x + 3)] = -(-3 + 3) = 0\] Next, the right-hand limit: \[\lim_{x \to -3^+} f(x) = \lim_{x \to -3^+} (x + 3) = (-3 + 3) = 0\]
  5. Step 5: Conclusion at x = -3: Since the left-hand limit, right-hand limit, and function value are all equal to \( 0 \), i.e., \[\lim_{x \to -3^-} f(x) = \lim_{x \to -3^+} f(x) = f(-3) = 0\] the function f is continuous at \( x = -3 \).
  6. Step 6: Overall conclusion: Since f is continuous for all \( x > -3 \), for all \( x < -3 \), and also at \( x = -3 \), we conclude that \( f(x) = |x + 3| \) is continuous for all real numbers \( x \in \mathbb{R} \).

Answer: The function \( f(x) = |x + 3| \) is continuous at every real number. At the critical point \( x = -3 \), the left-hand limit, right-hand limit, and function value are all equal to \( 0 \). For all other points, f reduces to a polynomial and is trivially continuous. Hence \( f(x) = |x + 3| \) is continuous everywhere on \( \mathbb{R} \).

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