SOLVER7 Study. Nothing Else.
Exercise 12.1 Q30

If \(f(x)=\begin{cases}|x|+1,&x<0\\ 0,&x=0\\ |x|-1,&x>0\end{cases}\)
For what value \((s)\) of \(a\) does \(lim_{x\rightarrow a}f(x)\) exists\(?\)

CBSE Class 11 Maths · Limits and Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that suddenly changes its rules right at a traffic light placed at zero. Before the light, cars follow one rule, and after the light, they follow a different rule. For any spot away from the light, everything is smooth and predictable — you can guess what happens nearby. But right at the light, the road behaves differently from the left side compared to the right side, so you cannot make one consistent guess. That mismatch only happens at the single point zero, so everywhere else the limit exists perfectly fine.

Answer: The limit \( \lim_{x \to a} f(x) \) exists for all \( a \in \mathbb{R} \) except \( a = 0 \); that is, for every \( a \ne 0 \).

📖 Values of a for which the limit exists

Detailed Explanation

For a piecewise function, \( \lim_{x \to a} f(x) \) exists only when the left-hand limit (LHL) and the right-hand limit (RHL) at that point are equal. That is, we need \( \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) \). The actual value \( f(a) \) does NOT need to match the limit; the limit is about the behaviour of the function near \( a \), not at \( a \). The only place where the definition of the function changes is at \( x = 0 \), so away from \( 0 \) the function is just a simple absolute-value expression whose limit always exists. The critical point to test is \( a = 0 \).

Formula Used

\( \lim_{x \to a} f(x) \) exists if and only if \( \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) \).

Solution

  1. Step 1: Understand the function. For \( x < 0 \) we have \( f(x) = |x| + 1 = -x + 1 \), for \( x = 0 \) we have \( f(0) = 0 \), and for \( x > 0 \) we have \( f(x) = |x| - 1 = x - 1 \).
  2. Step 2: Check any point \( a < 0 \). Near such a point the function follows a single rule \( f(x) = -x + 1 \), which is a polynomial. So \( \lim_{x \to a} f(x) = -a + 1 \) exists for every \( a < 0 \).
  3. Step 3: Check any point \( a > 0 \). Near such a point the function follows the single rule \( f(x) = x - 1 \), also a polynomial. So \( \lim_{x \to a} f(x) = a - 1 \) exists for every \( a > 0 \).
  4. Step 4: Now test the joining point \( a = 0 \). Compute the left-hand limit using the rule for \( x < 0 \): \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x + 1) = 0 + 1 = 1. \]
  5. Step 5: Compute the right-hand limit using the rule for \( x > 0 \): \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x - 1) = 0 - 1 = -1. \]
  6. Step 6: Compare the one-sided limits at \( 0 \). Since \( \lim_{x \to 0^-} f(x) = 1 \) and \( \lim_{x \to 0^+} f(x) = -1 \), we have \( 1 \ne -1 \). Hence the limit does NOT exist at \( a = 0 \).
  7. Step 7: Combine the results. The limit exists at every point except \( x = 0 \). So \( \lim_{x \to a} f(x) \) exists for all real numbers \( a \) with \( a \ne 0 \).

Final Answer

The limit \( \lim_{x \to a} f(x) \) exists for all \( a \in \mathbb{R} \) except \( a = 0 \); that is, for every \( a \ne 0 \).

Common Mistake

Students often think the limit fails everywhere just because the function is piecewise, or they check the value \( f(0) = 0 \) instead of comparing LHL and RHL. The limit only breaks at \( x = 0 \) because there the left limit \( 1 \) and right limit \( -1 \) disagree; at every other point the two-sided limit is fine.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write out the piecewise definition explicitly. For \( x < 0 \): since \( x \) is negative, \( |x| = -x \), so \( f(x) = -x + 1 \). At \( x = 0 \): \( f(0) = 0 \). For \( x > 0 \): since \( x \) is positive, \( |x| = x \), so \( f(x) = x - 1 \). — Reason: Simplifying the absolute value in each region turns the function into ordinary polynomials, which are much easier to evaluate near any point.
  2. Step 2: Identify where the rule of the function changes. The definition switches at exactly one point: \( x = 0 \). Everywhere else — whether \( a < 0 \) or \( a > 0 \) — only a single polynomial rule applies in a neighbourhood of \( a \). — Reason: Limits can only fail to exist at points where the function's defining rule changes, so those are the only points that need careful testing.
  3. Step 3: Handle all points \( a < 0 \). In an entire neighbourhood of any such \( a \), the function obeys the single rule \( f(x) = -x + 1 \). Because this is a polynomial, the limit equals the function value there: \[ \lim_{x \to a} f(x) = -a + 1. \] — Reason: Polynomials are continuous everywhere, so their limit at any point is simply found by direct substitution, and the limit always exists.
  4. Step 4: Handle all points \( a > 0 \). In an entire neighbourhood of any such \( a \), the function obeys the single rule \( f(x) = x - 1 \). Again using direct substitution for this polynomial: \[ \lim_{x \to a} f(x) = a - 1. \] — Reason: Same reasoning as Step 3 — a single polynomial rule near \( a \) guarantees the limit exists.
  5. Step 5: Compute the left-hand limit at the critical point \( a = 0 \). As \( x \to 0^{-} \), we use the rule \( f(x) = -x + 1 \): \[ \lim_{x \to 0^{-}} f(x) = \lim_{x \to 0^{-}} (-x + 1) = 0 + 1 = 1. \] — Reason: To approach \( 0 \) from the left means \( x < 0 \), so we must use the branch valid for negative \( x \).
  6. Step 6: Compute the right-hand limit at \( a = 0 \). As \( x \to 0^{+} \), we use the rule \( f(x) = x - 1 \): \[ \lim_{x \to 0^{+}} f(x) = \lim_{x \to 0^{+}} (x - 1) = 0 - 1 = -1. \] — Reason: Approaching \( 0 \) from the right means \( x > 0 \), so the branch for positive \( x \) applies.
  7. Step 7: Compare the one-sided limits at \( a = 0 \). The left-hand limit is \( 1 \) and the right-hand limit is \( -1 \). Since \( 1 \ne -1 \), the two one-sided limits are unequal, so \[ \lim_{x \to 0} f(x) \text{ does not exist.} \] — Reason: The existence criterion requires both one-sided limits to be equal; a mismatch means the limit fails to exist at that point.
  8. Step 8: Combine all findings. The limit exists for every \( a < 0 \) (value: \( -a + 1 \)) and for every \( a > 0 \) (value: \( a - 1 \)), but fails to exist at \( a = 0 \) because the left-hand and right-hand limits differ. — Reason: Collecting the results from Steps 3, 4, and 7 gives the complete answer about which values of \( a \) allow the limit to exist.

Final Answer

The limit \( \lim_{x \to a} f(x) \) exists for all \( a \in \mathbb{R} \) except \( a = 0 \); that is, for every \( a \ne 0 \).

Common Mistake

One common mistake: students check whether \( f(0) \) equals the limit, and when \( f(0) = 0 \) does not match either one-sided limit they conclude the limit somehow exists 'in between' — but the limit's existence depends solely on whether the left-hand and right-hand limits equal each other, with \( f(0) \) playing no role at all.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: The function is defined as: \( f(x) = -x + 1 \) for \( x < 0 \), \( f(0) = 0 \), and \( f(x) = x - 1 \) for \( x > 0 \).
  2. Step 2: For any \( a \ne 0 \), only one rule applies near \( a \), so \( \lim_{x \to a} f(x) \) exists for all \( a < 0 \) and all \( a > 0 \).
  3. Step 3: At \( a = 0 \): \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x + 1) = 1 \) and \( \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x - 1) = -1 \).
  4. Step 4: Since \( 1 \ne -1 \), the limit does not exist at \( a = 0 \).

Answer: The limit \( \lim_{x \to a} f(x) \) exists for all \( a \in \mathbb{R} \) except \( a = 0 \); that is, for every \( a \ne 0 \).

➕ More Examples

More Examples

Example 1

Question: Let \( g(x) = \begin{cases} 2x + 3, & x < 0 \\ 1, & x = 0 \\ 2x - 3, & x > 0 \end{cases} \). For what value(s) of \( a \) does \( \lim_{x \to a} g(x) \) exist?

Solution: We must find all values of \( a \) for which the left-hand limit (LHL) equals the right-hand limit (RHL). Step 1: Analyse the structure of \( g(x) \). The function changes its rule at \( x = 0 \). For any \( a \ne 0 \), the function is given by a single rule on both sides of \( a \), so the limit exists there. We must check the critical point \( a = 0 \) separately. Step 2: For \( a \ne 0 \). Case (i): \( a < 0 \). Both the left and right neighbourhoods of \( a \) lie entirely in \( x < 0 \), so \( g(x) = 2x + 3 \) on both sides. Thus \[ \lim_{x \to a} g(x) = 2a + 3, \] which exists for every \( a < 0 \). Case (ii): \( a > 0 \). Both the left and right neighbourhoods of \( a \) lie entirely in \( x > 0 \), so \( g(x) = 2x - 3 \) on both sides. Thus \[ \lim_{x \to a} g(x) = 2a - 3, \] which exists for every \( a > 0 \). Step 3: Check \( a = 0 \). Left-hand limit (approaching \( 0 \) from the left, so \( x < 0 \)): \[ \lim_{x \to 0^-} g(x) = \lim_{x \to 0^-} (2x + 3) = 2(0) + 3 = 3. \] Right-hand limit (approaching \( 0 \) from the right, so \( x > 0 \)): \[ \lim_{x \to 0^+} g(x) = \lim_{x \to 0^+} (2x - 3) = 2(0) - 3 = -3. \] Since \( 3 \ne -3 \), the LHL and RHL at \( x = 0 \) are not equal. Therefore \( \lim_{x \to 0} g(x) \) does NOT exist. Conclusion: The limit \( \lim_{x \to a} g(x) \) exists for all \( a \ne 0 \), i.e., for \( a \in \mathbb{R} \setminus \{0\} \).

Answer: \( \lim_{x \to a} g(x) \) exists for all \( a \ne 0 \).

Example 2

Question: Let \( h(x) = \begin{cases} x^2 - 4, & x < 2 \\ 0, & x = 2 \\ 4 - x^2, & x > 2 \end{cases} \). For what value(s) of \( a \) does \( \lim_{x \to a} h(x) \) exist?

Solution: The function changes its defining rule at \( x = 2 \). We check the limit at \( x = 2 \) and then argue about all other points. Step 1: For \( a \ne 2 \). Case (i): \( a < 2 \). In a small neighbourhood around \( a \) (with \( a < 2 \)), only the rule \( h(x) = x^2 - 4 \) applies on both sides. So \[ \lim_{x \to a} h(x) = a^2 - 4, \] which exists for all \( a < 2 \). Case (ii): \( a > 2 \). In a small neighbourhood around \( a \) (with \( a > 2 \)), only the rule \( h(x) = 4 - x^2 \) applies on both sides. So \[ \lim_{x \to a} h(x) = 4 - a^2, \] which exists for all \( a > 2 \). Step 2: Check \( a = 2 \). Left-hand limit (\( x \to 2^- \), using \( h(x) = x^2 - 4 \)): \[ \lim_{x \to 2^-} h(x) = (2)^2 - 4 = 4 - 4 = 0. \] Right-hand limit (\( x \to 2^+ \), using \( h(x) = 4 - x^2 \)): \[ \lim_{x \to 2^+} h(x) = 4 - (2)^2 = 4 - 4 = 0. \] Since LHL \( = \) RHL \( = 0 \), the limit at \( x = 2 \) exists and equals \( 0 \), even though \( h(2) = 0 \) is given separately (the limit value coincidentally equals \( h(2) \), making the function continuous there). Conclusion: The limit \( \lim_{x \to a} h(x) \) exists for ALL real values of \( a \), i.e., for every \( a \in \mathbb{R} \).

Answer: \( \lim_{x \to a} h(x) \) exists for all \( a \in \mathbb{R} \).

🎯 Try a Similar Question

Try a Similar Question

Question: Let \( g(x) = \begin{cases} x + 2, & x < 1 \\ 0, & x = 1 \\ x - 2, & x > 1 \end{cases} \). For what value(s) of \( a \) does \( \lim_{x \to a} g(x) \) exist?

Solution

  1. Step 1: Identify the critical point: The function \( g(x) \) is defined by three separate rules, and the definitions change at \( x = 1 \). This is the only boundary point, so we must check whether the limit exists at \( x = 1 \). For all other values of \( a \), the function is given by a single polynomial rule in a neighbourhood of \( a \), so the limit will automatically exist and equal the polynomial value.
  2. Step 2: Compute the left-hand limit at x = 1: For \( x < 1 \), the rule is \( g(x) = x + 2 \). Taking the left-hand limit: \[ \lim_{x \to 1^-} g(x) = \lim_{x \to 1^-} (x + 2) = 1 + 2 = 3. \]
  3. Step 3: Compute the right-hand limit at x = 1: For \( x > 1 \), the rule is \( g(x) = x - 2 \). Taking the right-hand limit: \[ \lim_{x \to 1^+} g(x) = \lim_{x \to 1^+} (x - 2) = 1 - 2 = -1. \]
  4. Step 4: Compare the one-sided limits at x = 1: Since \( \lim_{x \to 1^-} g(x) = 3 \) and \( \lim_{x \to 1^+} g(x) = -1 \), and \( 3 \ne -1 \), the two one-sided limits are not equal. Therefore \( \lim_{x \to 1} g(x) \) does NOT exist. Note also that \( g(1) = 0 \), which equals neither one-sided limit, confirming the limit does not exist at \( x = 1 \).
  5. Step 5: Check all other values of a: For any \( a < 1 \), the function equals \( x + 2 \) throughout some open interval around \( a \) (not containing 1). Since \( x + 2 \) is a polynomial, \[ \lim_{x \to a} g(x) = a + 2, \] which exists. Similarly, for any \( a > 1 \), the function equals \( x - 2 \) in some open interval around \( a \), so \[ \lim_{x \to a} g(x) = a - 2, \] which also exists.
  6. Step 6: State the conclusion: The limit \( \lim_{x \to a} g(x) \) exists for every real number \( a \) except \( a = 1 \). In other words, the limit exists for all \( a \in \mathbb{R} \) with \( a \ne 1 \).

Answer: The limit \( \lim_{x \to a} g(x) \) exists for all \( a \in \mathbb{R} \) except \( a = 1 \); that is, for every \( a \ne 1 \).

Everything you get with Solver7

More questions in Limits and Derivatives