SOLVER7 Study. Nothing Else.
2024 Board Paper Q4

A function \(f(x) = |1 – x + |x|\ |\) is : (A)discontinuous at \(x=1\) only (B) discontinuous at \(x=0\) only (C)discontinuous at \(x=0,1\) (D) continuous everywhere

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a machine that always outputs a smooth, unbroken ribbon of paper — no tears, no gaps. The function \( f(x) = |1 - x + |x|| \) works like that machine. When \( x \) is zero or positive, the inner part always equals 1, so the output is always 1. When \( x \) is negative, the inner part is always bigger than 1, so the outer modulus changes nothing. The ribbon never breaks anywhere, which means the function is perfectly smooth and connected at every single point.

Answer: The function simplifies to \( f(x) = 1 \) for \( x \ge 0 \) and \( f(x) = 1 - 2x \) for \( x < 0 \), and it is continuous at every point. So the correct option is (D) continuous everywhere.

📖 Continuity of f(x) = |1 - x + |x||

Detailed Explanation

A function is continuous at a point if there is no break, jump, or hole in its graph there. For a function made only of absolute values (modulus), we should worry about continuity at points where the expression inside a modulus becomes zero, because that is where the definition can change. A key fact from the CBSE syllabus is that the modulus function \( |x| \) is continuous everywhere. Also, sums, differences, and compositions of continuous functions are continuous. Here \( f(x) = |1 - x + |x|| \) is built by composing and combining continuous functions, so we expect it to be continuous everywhere. To confirm, we simplify the inner expression \( 1 - x + |x| \) by splitting into cases and then apply the outer modulus.

Formula Used

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

Solution

  1. Step 1: First simplify the inner expression \( g(x) = 1 - x + |x| \) by removing the modulus using cases. For \( x \ge 0 \) we have \( |x| = x \), so \[ g(x) = 1 - x + x = 1. \] For \( x < 0 \) we have \( |x| = -x \), so \[ g(x) = 1 - x - x = 1 - 2x. \]
  2. Step 2: Now write the full function by applying the outer modulus to \( g(x) \). For \( x \ge 0 \), \( g(x) = 1 \ge 0 \), so \( |g(x)| = 1 \). For \( x < 0 \), \( g(x) = 1 - 2x \); since \( x < 0 \) gives \( -2x > 0 \), we get \( 1 - 2x > 1 > 0 \), so the outer modulus does nothing. Hence \[ f(x) = \begin{cases} 1 & x \ge 0 \\ 1 - 2x & x < 0. \end{cases} \]
  3. Step 3: Check continuity at \( x = 0 \), the point where the pieces meet. The left limit is \[ \lim_{x \to 0^-} (1 - 2x) = 1. \] The right limit is \[ \lim_{x \to 0^+} 1 = 1. \] The value is \( f(0) = 1 \). Since left limit, right limit, and value are all equal to \( 1 \), the function is continuous at \( x = 0 \).
  4. Step 4: Check the other candidate point \( x = 1 \). Near \( x = 1 \) we are in the region \( x \ge 0 \), where \( f(x) = 1 \), a constant. A constant function is continuous, so there is no break at \( x = 1 \). Away from these points, each piece (\( 1 \) and \( 1 - 2x \)) is a polynomial, hence continuous. Therefore \( f \) is continuous for every real number.

Final Answer

The function simplifies to \( f(x) = 1 \) for \( x \ge 0 \) and \( f(x) = 1 - 2x \) for \( x < 0 \), and it is continuous at every point. So the correct option is (D) continuous everywhere.

Common Mistake

A common mistake is assuming the function must be discontinuous at \( x = 0 \) and \( x = 1 \) just because these are the points where the moduli 'switch'. Students often forget to actually simplify the inner expression; after simplification the \( x \) terms cancel for \( x \ge 0 \), leaving a constant, so there is no jump anywhere.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify where simplification is needed: The function is \( f(x) = |1 - x + |x|| \). It contains a nested absolute value, so we must simplify the inner expression \( |x| \) first. The only point where \( |x| \) changes its rule is \( x = 0 \), so we split our work into two cases: \( x \ge 0 \) and \( x < 0 \). — Reason: The definition of \( |x| \) differs on either side of zero, so we must handle each region separately to avoid errors.
  2. Step 2: Simplify the inner expression for \( x \ge 0 \): Let \( g(x) = 1 - x + |x| \). For \( x \ge 0 \), we use \( |x| = x \), giving \[g(x) = 1 - x + x = 1\] — Reason: Substituting the correct branch of \( |x| \) allows us to cancel terms and get a plain number, making the next step easier.
  3. Step 3: Simplify the inner expression for \( x < 0 \): For \( x < 0 \), we use \( |x| = -x \), giving \[g(x) = 1 - x + (-x) = 1 - 2x\] — Reason: In this region \( -x \) is positive, so \( 1 - 2x > 1 \), which we will use in the next step.
  4. Step 4: Apply the outer modulus for \( x \ge 0 \): For \( x \ge 0 \), we found \( g(x) = 1 \). Since \( 1 > 0 \), the outer modulus leaves it unchanged: \[|g(x)| = |1| = 1\] So \( f(x) = 1 \) for all \( x \ge 0 \). — Reason: The modulus of a positive number is the number itself, so no further change is needed here.
  5. Step 5: Apply the outer modulus for \( x < 0 \): For \( x < 0 \), we found \( g(x) = 1 - 2x \). Since \( x < 0 \), we have \( -2x > 0 \), which means \( 1 - 2x > 1 > 0 \). Therefore the outer modulus again leaves it unchanged: \[|g(x)| = |1 - 2x| = 1 - 2x\] So \( f(x) = 1 - 2x \) for all \( x < 0 \). — Reason: Confirming that \( g(x) \) is strictly positive here ensures we do not incorrectly flip the sign when applying the outer modulus.
  6. Step 6: Write the full piecewise form: Combining both cases, the simplified function is \[f(x) = \begin{cases} 1 & x \ge 0 \\ 1 - 2x & x < 0 \end{cases}\] — Reason: Writing the full piecewise form makes it easy to check continuity at \( x = 0 \) and at all other points.
  7. Step 7: Check continuity at \( x = 0 \) (the only potential trouble point): Compute the left-hand limit as \( x \to 0^- \): using the branch \( 1 - 2x \), \[\lim_{x \to 0^-} f(x) = 1 - 2(0) = 1\] Compute the right-hand limit as \( x \to 0^+ \): using the branch \( 1 \), \[\lim_{x \to 0^+} f(x) = 1\] The value at \( x = 0 \) is \( f(0) = 1 \). Since the left limit, right limit, and function value are all equal to \( 1 \), the function is continuous at \( x = 0 \). For all other points, each piece is a polynomial (constant or linear), so it is automatically continuous there. — Reason: The only suspected break point is \( x = 0 \); verifying that both one-sided limits match the function value there confirms continuity across the entire real line.

Final Answer

The function simplifies to \( f(x) = 1 \) for \( x \ge 0 \) and \( f(x) = 1 - 2x \) for \( x < 0 \), and it is continuous at every point. So the correct option is (D) continuous everywhere.

Common Mistake

One common mistake: Students sometimes forget to check whether \( g(x) \) is positive or negative before applying the outer modulus, and incorrectly write \( f(x) = -(1 - 2x) \) for \( x < 0 \). Always verify the sign of the inner expression first — since \( 1 - 2x > 0 \) whenever \( x < 0 \), the outer modulus does not flip its sign.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Simplify inner expression \( g(x) = 1 - x + |x| \): for \( x \ge 0 \), \( g(x) = 1 - x + x = 1 \); for \( x < 0 \), \( g(x) = 1 - x - x = 1 - 2x \).
  2. Step 2: For \( x \ge 0 \): \( g(x) = 1 > 0 \), so \( f(x) = |1| = 1 \). For \( x < 0 \): \( g(x) = 1 - 2x > 1 > 0 \), so \( f(x) = 1 - 2x \).
  3. Step 3: \[f(x) = \begin{cases} 1 & x \ge 0 \\ 1 - 2x & x < 0 \end{cases}\] Both pieces are continuous, and at \( x = 0 \): \( \lim_{x \to 0^-}(1 - 2x) = 1 = f(0) \).

Answer: The function simplifies to \( f(x) = 1 \) for \( x \ge 0 \) and \( f(x) = 1 - 2x \) for \( x < 0 \), and it is continuous at every point. So the correct option is (D) continuous everywhere.

➕ More Examples

More Examples

Example 1

Question: Examine the continuity of the function \( f(x) = |2 - x + |x|| \). Is it: (A) discontinuous at \( x = 2 \) only, (B) discontinuous at \( x = 0 \) only, (C) discontinuous at \( x = 0 \) and \( x = 2 \), or (D) continuous everywhere?

Solution: We analyse \( f(x) = |2 - x + |x|| \) by considering cases based on the sign of \( x \), since \( |x| \) changes definition at \( x = 0 \). Case 1: When \( x \ge 0 \), we have \( |x| = x \), so the inner expression becomes \( 2 - x + x = 2 \). Thus \( f(x) = |2| = 2 \). Case 2: When \( x < 0 \), we have \( |x| = -x \), so the inner expression becomes \( 2 - x + (-x) = 2 - 2x \). Since \( x < 0 \), we have \( -2x > 0 \), so \( 2 - 2x > 2 > 0 \). Thus \( f(x) = |2 - 2x| = 2 - 2x \). So the piecewise form is: \[ f(x) = \begin{cases} 2 - 2x & x < 0 \\ 2 & x \ge 0 \end{cases} \] Now check continuity at \( x = 0 \): Left-hand limit: \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (2 - 2x) = 2 - 2(0) = 2 \) Right-hand limit: \( \lim_{x \to 0^+} f(x) = 2 \) Value at 0: \( f(0) = 2 \) Since LHL = RHL = f(0) = 2, the function is continuous at \( x = 0 \). For \( x > 0 \): \( f(x) = 2 \), a constant, so it is continuous. For \( x < 0 \): \( f(x) = 2 - 2x \), a polynomial, so it is continuous. There are no other potential points of discontinuity. Therefore, \( f(x) \) is continuous everywhere.

Answer: (D) Continuous everywhere

Example 2

Question: Determine the nature of continuity of \( g(x) = |3 + x - |x|| \). Choose the correct option: (A) discontinuous at \( x = 3 \) only, (B) discontinuous at \( x = 0 \) only, (C) discontinuous at \( x = 0 \) and \( x = 3 \), or (D) continuous everywhere.

Solution: We simplify \( g(x) = |3 + x - |x|| \) by considering the sign of \( x \). Case 1: When \( x \ge 0 \), we have \( |x| = x \), so the inner expression becomes \( 3 + x - x = 3 \). Thus \( g(x) = |3| = 3 \). Case 2: When \( x < 0 \), we have \( |x| = -x \), so the inner expression becomes \( 3 + x - (-x) = 3 + 2x \). We need to check the sign of \( 3 + 2x \) for \( x < 0 \). Sub-case 2a: When \( -\frac{3}{2} \le x < 0 \), we have \( 3 + 2x \ge 0 \), so \( g(x) = 3 + 2x \). Sub-case 2b: When \( x < -\frac{3}{2} \), we have \( 3 + 2x < 0 \), so \( g(x) = -(3 + 2x) = -3 - 2x \). The piecewise form is: \[ g(x) = \begin{cases} -3 - 2x & x < -\dfrac{3}{2} \\ 3 + 2x & -\dfrac{3}{2} \le x < 0 \\ 3 & x \ge 0 \end{cases} \] Check continuity at \( x = 0 \): Left-hand limit: \( \lim_{x \to 0^-} (3 + 2x) = 3 \) Right-hand limit: \( \lim_{x \to 0^+} 3 = 3 \) Value: \( g(0) = 3 \) So \( g \) is continuous at \( x = 0 \). Check continuity at \( x = -\frac{3}{2} \): Left-hand limit: \( \lim_{x \to -\frac{3}{2}^-} (-3 - 2x) = -3 - 2\left(-\dfrac{3}{2}\right) = -3 + 3 = 0 \) Right-hand limit: \( \lim_{x \to -\frac{3}{2}^+} (3 + 2x) = 3 + 2\left(-\dfrac{3}{2}\right) = 3 - 3 = 0 \) Value: \( g\left(-\dfrac{3}{2}\right) = 3 + 2\left(-\dfrac{3}{2}\right) = 0 \) So \( g \) is also continuous at \( x = -\frac{3}{2} \). In each piece, \( g(x) \) is a polynomial (or constant), hence continuous on its respective interval. Since \( g \) is continuous at every potential trouble point and on every open interval, it is continuous everywhere.

Answer: (D) Continuous everywhere

🎯 Try a Similar Question

Try a Similar Question

Question: Examine the continuity of the function \( f(x) = |2 + x - |x|| \). Which of the following is correct? (A) f is discontinuous at x = 0 only (B) f is discontinuous at x = 2 only (C) f is discontinuous at x = 0 and x = 2 (D) f is continuous everywhere except at x = 1

Solution

  1. Step 1: Recall the definition of |x|: We know that \( |x| = x \) when \( x \ge 0 \) and \( |x| = -x \) when \( x < 0 \). So we split into two cases.
  2. Step 2: Simplify for x ≥ 0: When \( x \ge 0 \), we have \( |x| = x \). Substituting: \[ 2 + x - |x| = 2 + x - x = 2 \] Since \( 2 > 0 \), we get \[ f(x) = |2| = 2 \] So \( f(x) = 2 \) for all \( x \ge 0 \).
  3. Step 3: Simplify for x < 0: When \( x < 0 \), we have \( |x| = -x \). Substituting: \[ 2 + x - |x| = 2 + x - (-x) = 2 + 2x \] Now, \( 2 + 2x \) can be positive, zero, or negative depending on x. Specifically, \( 2 + 2x \ge 0 \) when \( x \ge -1 \), and \( 2 + 2x < 0 \) when \( x < -1 \).
  4. Step 4: Further split for x < 0: For \( -1 \le x < 0 \): \( 2 + 2x \ge 0 \), so \( f(x) = |2 + 2x| = 2 + 2x \). For \( x < -1 \): \( 2 + 2x < 0 \), so \( f(x) = |2 + 2x| = -(2 + 2x) = -2 - 2x \). So the full piecewise definition is: \[ f(x) = \begin{cases} -2 - 2x & x < -1 \\ 2 + 2x & -1 \le x < 0 \\ 2 & x \ge 0 \end{cases} \]
  5. Step 5: Check continuity at x = 0: Left-hand limit as \( x \to 0^- \): using \( f(x) = 2 + 2x \), \[ \lim_{x \to 0^-} f(x) = 2 + 2(0) = 2 \] Right-hand limit as \( x \to 0^+ \): using \( f(x) = 2 \), \[ \lim_{x \to 0^+} f(x) = 2 \] Also, \( f(0) = 2 \). Since both one-sided limits equal \( f(0) \), f is continuous at \( x = 0 \).
  6. Step 6: Check continuity at x = −1: Left-hand limit as \( x \to -1^- \): using \( f(x) = -2 - 2x \), \[ \lim_{x \to -1^-} f(x) = -2 - 2(-1) = -2 + 2 = 0 \] Right-hand limit as \( x \to -1^+ \): using \( f(x) = 2 + 2x \), \[ \lim_{x \to -1^+} f(x) = 2 + 2(-1) = 0 \] Also, \( f(-1) = 2 + 2(-1) = 0 \). So f is continuous at \( x = -1 \).
  7. Step 7: Check continuity everywhere else: On each of the three intervals \( x < -1 \), \( -1 \le x < 0 \), and \( x \ge 0 \), the function is a polynomial (linear), hence continuous throughout each interval. Combined with continuity at the boundary points, f is continuous on all of \( \mathbb{R} \).
  8. Step 8: Identify the correct option: Since none of the options (A), (B), (C), or (D) correctly describe the function's behavior — the function is actually continuous everywhere — the answer is none of (A), (B), (C); the correct conclusion is that f is continuous everywhere. Among the given options, none of (A) through (D) is correct as stated, but the underlying result is that f is discontinuous at x = -1 is FALSE. The function is continuous everywhere, which matches neither (A), (B), (C) nor (D) as described. However, re-reading the options: since (A), (B), (C) all claim discontinuity at specific points (which is false), and (D) claims discontinuity at x = 1 (also false), the intended correct response based on the structure is that the function is continuous everywhere — making NONE of the listed options correct as written. This demonstrates how carefully one must simplify before concluding.

Answer: The function simplifies to \[ f(x) = \begin{cases} -2 - 2x & x < -1 \\ 2 + 2x & -1 \le x < 0 \\ 2 & x \ge 0 \end{cases} \] It is continuous at every point, including at \( x = -1 \) and \( x = 0 \). The function is discontinuous nowhere. All options (A), (B), (C), and (D) incorrectly claim discontinuity at some point, so none of the given options is correct — the function is continuous everywhere on \( \mathbb{R} \). (This differs from the original because the simplified pieces and the critical point \( x = -1 \) are different, and the piecewise structure has three parts rather than two.)

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