SOLVER7 Study. Nothing Else.
Exercise 5.1 Q34

Find all the points of discontinuity of \(f\) defined by \(f(x) = |x| – |x + 1|.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Think of a function like a machine that gives you a number for every input. A continuous function is like a road with no sudden jumps or holes. The function \( f(x) = |x| - |x + 1| \) uses absolute values, which just flip negative numbers to positive. Even though it looks like it might break at certain spots, when you check those tricky points carefully, the road stays perfectly smooth everywhere. There are no gaps or jumps at all, no matter which number you put in.

Answer: The function \( f(x) = |x| - |x + 1| \) is continuous for all real \( x \); there are no points of discontinuity.

📖 Points of Discontinuity of f(x) = |x| - |x + 1|

Detailed Explanation

A function \( f \) is continuous at a point \( x = a \) if \( \lim_{x \to a} f(x) = f(a) \). For continuity, the left-hand limit, the right-hand limit, and the value of the function must all be equal at that point. The given function contains two modulus (absolute value) expressions, \( |x| \) and \( |x + 1| \). Each modulus function is defined differently on different intervals depending on the sign of the quantity inside it. So the first task is to rewrite \( f \) as a piecewise function using the critical points where the expressions inside the modulus change sign. Here \( |x| \) changes at \( x = 0 \) and \( |x + 1| \) changes at \( x = -1 \). On each open interval the function becomes a simple polynomial (a linear expression), which is always continuous. So the only points we must check carefully are the break points \( x = -1 \) and \( x = 0 \).

Formula Used

\( |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases} \) and continuity at \( x = a \) requires \( \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a) \).

Solution

  1. Step 1: Identify the critical points where the modulus expressions change sign. The expression inside \( |x| \) is zero at \( x = 0 \), and the expression inside \( |x + 1| \) is zero at \( x = -1 \). These two values divide the number line into three intervals: \( x < -1 \), \( -1 \le x < 0 \), and \( x \ge 0 \).
  2. Step 2: Case 1: For \( x < -1 \), both \( x \) and \( x + 1 \) are negative, so \( |x| = -x \) and \( |x + 1| = -(x + 1) \). Then \[ f(x) = -x - \left(-(x + 1)\right) = -x + x + 1 = 1. \]
  3. Step 3: Case 2: For \( -1 \le x < 0 \), here \( x \) is negative so \( |x| = -x \), but \( x + 1 \ge 0 \) so \( |x + 1| = x + 1 \). Then \[ f(x) = -x - (x + 1) = -x - x - 1 = -2x - 1. \]
  4. Step 4: Case 3: For \( x \ge 0 \), both \( x \) and \( x + 1 \) are non-negative, so \( |x| = x \) and \( |x + 1| = x + 1 \). Then \[ f(x) = x - (x + 1) = -1. \]
  5. Step 5: Collect the piecewise form: \[ f(x) = \begin{cases} 1 & x < -1 \\ -2x - 1 & -1 \le x < 0 \\ -1 & x \ge 0 \end{cases} \] Each piece is a polynomial, so \( f \) is continuous on each open interval. Only the join points \( x = -1 \) and \( x = 0 \) need checking.
  6. Step 6: Check continuity at \( x = -1 \). Left-hand limit: \[ \lim_{x \to -1^-} f(x) = 1. \] Right-hand limit using \( -2x - 1 \): \[ \lim_{x \to -1^+} f(x) = -2(-1) - 1 = 1. \] Value of the function: \[ f(-1) = -2(-1) - 1 = 1. \] All three are equal to \( 1 \), so \( f \) is continuous at \( x = -1 \).
  7. Step 7: Check continuity at \( x = 0 \). Left-hand limit using \( -2x - 1 \): \[ \lim_{x \to 0^-} f(x) = -2(0) - 1 = -1. \] Right-hand limit using \( -1 \): \[ \lim_{x \to 0^+} f(x) = -1. \] Value of the function: \[ f(0) = -1. \] All three equal \( -1 \), so \( f \) is continuous at \( x = 0 \).
  8. Step 8: Since \( f \) is continuous on each interval and also continuous at both critical points \( x = -1 \) and \( x = 0 \), the function is continuous everywhere on its domain.

Final Answer

The function \( f(x) = |x| - |x + 1| \) is continuous for all real \( x \); there are no points of discontinuity.

Common Mistake

A common mistake is to assume that a modulus function must be discontinuous at its corner points (like \( x = -1 \) or \( x = 0 \)). In fact, corners cause non-differentiability, not discontinuity. Students must actually check the left-hand limit, right-hand limit, and function value at each break point rather than declaring discontinuity just because a modulus is present.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Locate the critical points: Find the values of \( x \) where each modulus expression equals zero. For \( |x| \), the expression inside is zero at \( x = 0 \). For \( |x+1| \), the expression inside is zero at \( x = -1 \). These two points are the only places where the definition of \( f \) can potentially change its algebraic form. — Reason: On any open interval between these points, \( f(x) \) reduces to a polynomial (linear expression), which is automatically continuous everywhere; so only the break points \( x = -1 \) and \( x = 0 \) need careful checking.
  2. Step 2: Write f(x) as a piecewise function: The two critical points \( x = -1 \) and \( x = 0 \) divide the real line into three regions. In each region, determine the signs of \( x \) and \( x+1 \) and simplify. Case 1 — when \( x < -1 \): both \( x < 0 \) and \( x+1 < 0 \), so \( |x| = -x \) and \( |x+1| = -(x+1) \). Then \( f(x) = -x - (-(x+1)) = -x + x + 1 = 1 \). Case 2 — when \( -1 \le x < 0 \): here \( x < 0 \) but \( x+1 \ge 0 \), so \( |x| = -x \) and \( |x+1| = x+1 \). Then \( f(x) = -x - (x+1) = -2x - 1 \). Case 3 — when \( x \ge 0 \): both \( x \ge 0 \) and \( x+1 > 0 \), so \( |x| = x \) and \( |x+1| = x+1 \). Then \( f(x) = x - (x+1) = -1 \). The complete piecewise form is: \[ f(x) = \begin{cases} 1 & x < -1 \\ -2x - 1 & -1 \le x < 0 \\ -1 & x \ge 0 \end{cases} \] — Reason: Expressing \( f \) without modulus signs makes it straightforward to compute limits and function values at each critical point.
  3. Step 3: Check continuity at x = -1: Compute the left-hand limit (LHL), right-hand limit (RHL), and the function value at \( x = -1 \). Left-hand limit: as \( x \to -1^- \), we use the formula for \( x < -1 \), which gives \( f(x) = 1 \). So \( \lim_{x \to -1^-} f(x) = 1 \). Right-hand limit: as \( x \to -1^+ \), we use the formula for \( -1 \le x < 0 \), which gives \( f(x) = -2x - 1 \). Substituting \( x = -1 \): \( -2(-1) - 1 = 2 - 1 = 1 \). So \( \lim_{x \to -1^+} f(x) = 1 \). Function value: \( f(-1) = -2(-1) - 1 = 1 \). Since LHL \( = \) RHL \( = f(-1) = 1 \), the function is continuous at \( x = -1 \). — Reason: All three quantities must agree for continuity; here they do, so \( x = -1 \) is not a point of discontinuity.
  4. Step 4: Check continuity at x = 0: Compute LHL, RHL, and the function value at \( x = 0 \). Left-hand limit: as \( x \to 0^- \), we use the formula for \( -1 \le x < 0 \), which gives \( f(x) = -2x - 1 \). Substituting \( x = 0 \): \( -2(0) - 1 = -1 \). So \( \lim_{x \to 0^-} f(x) = -1 \). Right-hand limit: as \( x \to 0^+ \), we use the formula for \( x \ge 0 \), which gives \( f(x) = -1 \). So \( \lim_{x \to 0^+} f(x) = -1 \). Function value: \( f(0) = -1 \) (from the case \( x \ge 0 \)). Since LHL \( = \) RHL \( = f(0) = -1 \), the function is continuous at \( x = 0 \) as well. — Reason: Again, all three quantities match, confirming no discontinuity at \( x = 0 \) either.
  5. Step 5: Confirm continuity on the open intervals: On each of the three open intervals — \( x < -1 \), \( -1 < x < 0 \), and \( x > 0 \) — the function equals a constant or a linear polynomial. Specifically: \( f(x) = 1 \) for \( x < -1 \), \( f(x) = -2x - 1 \) for \( -1 < x < 0 \), and \( f(x) = -1 \) for \( x > 0 \). Every polynomial is continuous on its domain. — Reason: Since polynomials (including constants) are continuous everywhere, no additional checking is required on the open intervals; the only genuine risk of discontinuity was at the two break points, both of which passed the test.
  6. Step 6: State the conclusion: The function is continuous at every critical point (\( x = -1 \) and \( x = 0 \)) and also continuous on all three open intervals between and beyond those points. Combining these results, \( f(x) = |x| - |x+1| \) is continuous for all \( x \in \mathbb{R} \), with no points of discontinuity. — Reason: Continuity on overlapping regions that together cover the entire real line guarantees global continuity.

Final Answer

The function \( f(x) = |x| - |x + 1| \) is continuous for all real \( x \); there are no points of discontinuity.

Common Mistake

One common mistake: Students often check only one of the two critical points (usually \( x = 0 \)) and forget to test \( x = -1 \), or they forget to verify that the function value \( f(a) \) itself equals the common limit — matching just LHL and RHL is not sufficient for continuity if the function value differs.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Write f(x) as a piecewise function: Critical points: \( x = 0 \) and \( x = -1 \). Piecewise form: \[f(x) = \begin{cases} -x - (-(x+1)) = 1 & x < -1 \\ -x - (x+1) = -2x - 1 & -1 \le x < 0 \\ x - (x+1) = -1 & x \ge 0 \end{cases}\]
  2. Step 2: Check continuity at x = -1: \( \lim_{x \to -1^{-}} f(x) = 1 \), \( \lim_{x \to -1^{+}} f(x) = -2(-1)-1 = 1 \), \( f(-1) = 1 \). All three equal, so \( f \) is continuous at \( x = -1 \).
  3. Step 3: Check continuity at x = 0: \( \lim_{x \to 0^{-}} f(x) = -2(0)-1 = -1 \), \( \lim_{x \to 0^{+}} f(x) = -1 \), \( f(0) = -1 \). All three equal, so \( f \) is continuous at \( x = 0 \).

Answer: The function \( f(x) = |x| - |x + 1| \) is continuous for all real \( x \); there are no points of discontinuity.

➕ More Examples

More Examples

Example 1

Question: Find all points of discontinuity of the function \( f \) defined by \( f(x) = |x - 2| - |x + 3| \).

Solution: Step 1: Identify critical points. The expressions inside the absolute values are \( x - 2 \) and \( x + 3 \). These equal zero at \( x = 2 \) and \( x = -3 \) respectively. These are the only candidates for discontinuity. Step 2: Write f(x) as a piecewise function by considering the three intervals determined by \( x = -3 \) and \( x = 2 \). For \( x < -3 \): both \( x - 2 < 0 \) and \( x + 3 < 0 \), so \[ f(x) = -(x-2) - (-(x+3)) = -x+2+x+3 = 5. \] For \( -3 \le x < 2 \): \( x - 2 < 0 \) and \( x + 3 \ge 0 \), so \[ f(x) = -(x-2) - (x+3) = -x+2-x-3 = -2x - 1. \] For \( x \ge 2 \): both \( x - 2 \ge 0 \) and \( x + 3 > 0 \), so \[ f(x) = (x-2) - (x+3) = x - 2 - x - 3 = -5. \] Step 3: Check continuity at \( x = -3 \). Left-hand limit: \( \lim_{x \to -3^-} f(x) = 5 \). Right-hand limit: \( \lim_{x \to -3^+} f(x) = -2(-3) - 1 = 6 - 1 = 5 \). Function value: \( f(-3) = -2(-3) - 1 = 5 \). Since all three equal 5, f is continuous at \( x = -3 \). Step 4: Check continuity at \( x = 2 \). Left-hand limit: \( \lim_{x \to 2^-} f(x) = -2(2) - 1 = -5 \). Right-hand limit: \( \lim_{x \to 2^+} f(x) = -5 \). Function value: \( f(2) = -5 \). Since all three equal \( -5 \), f is continuous at \( x = 2 \). Step 5: Conclusion. Since f(x) is a constant (or a linear function of x) on each piece, and it is continuous at both critical points, f is continuous everywhere on \( \mathbb{R} \). There are no points of discontinuity.

Answer: f has no points of discontinuity; it is continuous everywhere on \( \mathbb{R} \).

Example 2

Question: Find all points of discontinuity of the function \( f \) defined by \( f(x) = |2x - 1| - |x - 3| \).

Solution: Step 1: Identify critical points. The expression \( 2x - 1 = 0 \) gives \( x = \tfrac{1}{2} \), and \( x - 3 = 0 \) gives \( x = 3 \). These are the only candidates for discontinuity. Step 2: Write f(x) as a piecewise function on the three intervals determined by \( x = \tfrac{1}{2} \) and \( x = 3 \). For \( x < \tfrac{1}{2} \): \( 2x - 1 < 0 \) and \( x - 3 < 0 \), so \[ f(x) = -(2x-1) - (-(x-3)) = -2x+1+x-3 = -x - 2. \] For \( \tfrac{1}{2} \le x < 3 \): \( 2x - 1 \ge 0 \) and \( x - 3 < 0 \), so \[ f(x) = (2x-1) - (-(x-3)) = 2x - 1 + x - 3 = 3x - 4. \] For \( x \ge 3 \): both \( 2x - 1 > 0 \) and \( x - 3 \ge 0 \), so \[ f(x) = (2x-1) - (x-3) = 2x - 1 - x + 3 = x + 2. \] Step 3: Check continuity at \( x = \tfrac{1}{2} \). Left-hand limit: \( \lim_{x \to (1/2)^-} f(x) = -\tfrac{1}{2} - 2 = -\tfrac{5}{2} \). Right-hand limit: \( \lim_{x \to (1/2)^+} f(x) = 3\left(\tfrac{1}{2}\right) - 4 = \tfrac{3}{2} - 4 = -\tfrac{5}{2} \). Function value: \( f\!\left(\tfrac{1}{2}\right) = 3\left(\tfrac{1}{2}\right) - 4 = -\tfrac{5}{2} \). All three equal \( -\tfrac{5}{2} \), so f is continuous at \( x = \tfrac{1}{2} \). Step 4: Check continuity at \( x = 3 \). Left-hand limit: \( \lim_{x \to 3^-} f(x) = 3(3) - 4 = 9 - 4 = 5 \). Right-hand limit: \( \lim_{x \to 3^+} f(x) = 3 + 2 = 5 \). Function value: \( f(3) = 3 + 2 = 5 \). All three equal 5, so f is continuous at \( x = 3 \). Step 5: Conclusion. Since f(x) is continuous at both critical points and is continuous (being linear) on each open interval, f is continuous everywhere on \( \mathbb{R} \). There are no points of discontinuity.

Answer: f has no points of discontinuity; it is continuous everywhere on \( \mathbb{R} \).

🎯 Try a Similar Question

Try a Similar Question

Question: Find all the points of discontinuity of the function \( f \) defined by \( f(x) = |x - 1| + |x + 2| \).

Solution

  1. Step 1: Identify critical points: The expressions inside the absolute values are \( x - 1 \) and \( x + 2 \). These equal zero at \( x = 1 \) and \( x = -2 \) respectively. So the critical points to examine are \( x = 1 \) and \( x = -2 \).
  2. Step 2: Write f(x) as a piecewise function: We split the real line into three intervals using the critical points \( x = -2 \) and \( x = 1 \). For \( x < -2 \): both \( x - 1 < 0 \) and \( x + 2 < 0 \), so \( f(x) = -(x-1) + (-(x+2)) = -x + 1 - x - 2 = -2x - 1 \). For \( -2 \le x < 1 \): \( x - 1 < 0 \) and \( x + 2 \ge 0 \), so \( f(x) = -(x-1) + (x+2) = -x + 1 + x + 2 = 3 \). For \( x \ge 1 \): both \( x - 1 \ge 0 \) and \( x + 2 > 0 \), so \( f(x) = (x-1) + (x+2) = 2x + 1 \). Thus: \[ f(x) = \begin{cases} -2x - 1 & x < -2 \\ 3 & -2 \le x < 1 \\ 2x + 1 & x \ge 1 \end{cases} \]
  3. Step 3: Check continuity at x = -2: Left-hand limit: \( \lim_{x \to -2^-} f(x) = \lim_{x \to -2^-} (-2x - 1) = -2(-2) - 1 = 4 - 1 = 3 \). Right-hand limit: \( \lim_{x \to -2^+} f(x) = \lim_{x \to -2^+} 3 = 3 \). Function value: \( f(-2) = 3 \). Since LHL = RHL = \( f(-2) = 3 \), the function is continuous at \( x = -2 \).
  4. Step 4: Check continuity at x = 1: Left-hand limit: \( \lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} 3 = 3 \). Right-hand limit: \( \lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (2x + 1) = 2(1) + 1 = 3 \). Function value: \( f(1) = 2(1) + 1 = 3 \). Since LHL = RHL = \( f(1) = 3 \), the function is continuous at \( x = 1 \).
  5. Step 5: Check continuity on the open intervals: On each of the three intervals, \( f(x) \) is a polynomial (either linear or constant). Polynomials are continuous everywhere on their domains. Therefore \( f \) is continuous at every point except possibly \( x = -2 \) and \( x = 1 \), which we already verified above.
  6. Step 6: Conclusion: Since \( f \) is continuous at \( x = -2 \), at \( x = 1 \), and at every other real number, the function \( f(x) = |x - 1| + |x + 2| \) is continuous for all \( x \in \mathbb{R} \). There are no points of discontinuity.

Answer: The function \( f(x) = |x - 1| + |x + 2| \) is continuous for all real \( x \). However, it is not differentiable at \( x = 1 \) and \( x = -2 \) (where the slope changes). There are no points of discontinuity.

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