SOLVER7 Study. Nothing Else.
2024 Board Paper Q26(b)

Find the value of \(a\) and \(b\) so that function \(f\) defined as :
$f(x)=\begin{cases}\dfrac{x-2}{|x-2|}+a,&\text{if x<2}\\ a+b,&\text{if x=2}\\ \dfrac{x-2}{|x-2|}+b,&\text{if x>2}\end{cases} is a continuous function.

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that splits into two lanes near a certain point. For a smooth ride, both lanes must meet perfectly at that junction. Here, the function behaves differently just before and just after \( x = 2 \). The tricky piece \( \frac{x-2}{|x-2|} \) acts like a sign flip — it equals \( -1 \) on the left side and \( +1 \) on the right side. For no bumps at \( x = 2 \), both sides must match the middle value exactly, which forces \( a = 1 \) and \( b = -1 \).

Answer: \( a = 1 \) and \( b = -1 \).

📖 Continuity: Finding a and b for a Piecewise Function

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) \). Here the tricky part is the term \( \dfrac{x-2}{|x-2|} \). Recall that \( |x-2| = -(x-2) \) when \( x < 2 \) and \( |x-2| = x-2 \) when \( x > 2 \). So this term equals \( -1 \) to the left of 2 and \( +1 \) to the right of 2. Using this, we compute the one-sided limits and set them equal to \( f(2) \) to solve for \( a \) and \( b \).

Formula Used

Continuity at \( x = c \): \( \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c) \), where \( \dfrac{x-2}{|x-2|} = -1 \) for \( x < 2 \) and \( +1 \) for \( x > 2 \).

Solution

  1. Step 1: Simplify the absolute value term on each side of \( x = 2 \). For \( x < 2 \), we have \( |x-2| = -(x-2) \), so \( \dfrac{x-2}{|x-2|} = \dfrac{x-2}{-(x-2)} = -1 \). For \( x > 2 \), we have \( |x-2| = x-2 \), so \( \dfrac{x-2}{|x-2|} = \dfrac{x-2}{x-2} = 1 \).
  2. Step 2: Find the left-hand limit at \( x = 2 \). Using the simplification for \( x < 2 \): \[ \lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} \left( \frac{x-2}{|x-2|} + a \right) = -1 + a. \]
  3. Step 3: Find the right-hand limit at \( x = 2 \). Using the simplification for \( x > 2 \): \[ \lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} \left( \frac{x-2}{|x-2|} + b \right) = 1 + b. \]
  4. Step 4: Write the value of the function at \( x = 2 \). It is given directly: \[ f(2) = a + b. \]
  5. Step 5: Apply the continuity condition, which requires all three quantities to be equal: \[ -1 + a = 1 + b = a + b. \] This gives two equations to solve.
  6. Step 6: Solve the equations. Take the left-hand limit equal to \( f(2) \): \[ -1 + a = a + b. \] Cancelling \( a \) from both sides gives \( -1 = b \), so \( b = -1 \). Next take the right-hand limit equal to \( f(2) \): \[ 1 + b = a + b. \] Cancelling \( b \) gives \( 1 = a \), so \( a = 1 \).
  7. Step 7: Verify: with \( a = 1 \) and \( b = -1 \), the left limit is \( -1 + 1 = 0 \), the right limit is \( 1 + (-1) = 0 \), and \( f(2) = 1 + (-1) = 0 \). All three are equal, so the function is continuous.

Final Answer

\( a = 1 \) and \( b = -1 \).

Common Mistake

A common mistake is treating \( \dfrac{x-2}{|x-2|} \) as equal to \( 1 \) on both sides. Students forget that for \( x < 2 \) the expression equals \( -1 \) because \( |x-2| = -(x-2) \), which leads to wrong values of \( a \) and \( b \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Analyse the absolute value expression \( |x-2| \) on each side of \( x = 2 \). When \( x < 2 \), we have \( x - 2 < 0 \), so \( |x-2| = -(x-2) \), giving \[ \frac{x-2}{|x-2|} = \frac{x-2}{-(x-2)} = -1. \] When \( x > 2 \), we have \( x - 2 > 0 \), so \( |x-2| = x-2 \), giving \[ \frac{x-2}{|x-2|} = \frac{x-2}{x-2} = 1. \] Reason: The expression \( \frac{x-2}{|x-2|} \) behaves differently on each side of \( x = 2 \), so we must simplify it separately before computing the one-sided limits.
  2. Step 2: Compute the left-hand limit (LHL) at \( x = 2 \). For \( x < 2 \), the function takes the form \( f(x) = \frac{x-2}{|x-2|} + a \), and from Step 1 the fraction equals \( -1 \). So: \[ \lim_{x \to 2^-} f(x) = -1 + a. \] Reason: We use the simplified form valid just to the left of \( x = 2 \) to evaluate the LHL.
  3. Step 3: Compute the right-hand limit (RHL) at \( x = 2 \). For \( x > 2 \), the function takes the form \( f(x) = \frac{x-2}{|x-2|} + b \), and from Step 1 the fraction equals \( 1 \). So: \[ \lim_{x \to 2^+} f(x) = 1 + b. \] Reason: We use the simplified form valid just to the right of \( x = 2 \) to evaluate the RHL.
  4. Step 4: Note the value of the function at \( x = 2 \). It is given directly in the definition: \[ f(2) = a + b. \] Reason: At the exact point \( x = 2 \), we use whichever piece of the piecewise function is defined there.
  5. Step 5: Apply the continuity condition LHL \( = \) RHL. Setting \( -1 + a = 1 + b \) gives: \[ a - b = 2. \] Reason: For continuity, the left-hand and right-hand limits must be equal; this gives us our first equation in \( a \) and \( b \).
  6. Step 6: Apply the continuity condition LHL \( = f(2) \). Setting \( -1 + a = a + b \) gives: \[ -1 = b, \] so \( b = -1 \). Reason: The limit from the left must also equal the function value at the point; this immediately determines \( b \).
  7. Step 7: Substitute \( b = -1 \) back into the equation \( a - b = 2 \): \[ a - (-1) = 2 \] \[ a + 1 = 2 \] \[ a = 1. \] Reason: With \( b \) known, we solve for \( a \) using the first equation obtained from the continuity condition.

Final Answer

\( a = 1 \) and \( b = -1 \).

Common Mistake

One common mistake: Students forget that \( \frac{x-2}{|x-2|} \) is not the same on both sides of \( x = 2 \) — they use the same value (either \( -1 \) or \( +1 \)) for both the LHL and RHL, which leads to incorrect equations for \( a \) and \( b \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: For \( x < 2 \): \( \dfrac{x-2}{|x-2|} = -1 \); for \( x > 2 \): \( \dfrac{x-2}{|x-2|} = 1 \)
  2. Step 2: Left-hand limit: \( \lim_{x \to 2^-} f(x) = -1 + a \); Right-hand limit: \( \lim_{x \to 2^+} f(x) = 1 + b \); \( f(2) = a + b \)
  3. Step 3: Setting equal: \( -1 + a = a + b \Rightarrow b = -1 \) and \( 1 + b = a + b \Rightarrow a = 1 \)

Answer: \( a = 1 \) and \( b = -1 \).

➕ More Examples

More Examples

Example 1

Question: Find the values of \(p\) and \(q\) so that the function \(f\) defined as \[f(x) = \begin{cases} \dfrac{x-5}{|x-5|} + p, & \text{if } x < 5 \\ p + q, & \text{if } x = 5 \\ \dfrac{x-5}{|x-5|} + q, & \text{if } x > 5 \end{cases}\] is continuous at \(x = 5\).

Solution: We need \(f\) to be continuous at \(x = 5\), so we require LHL \(=\) RHL \(=\) \(f(5)\). Step 1: Compute the Left-Hand Limit (LHL) as \(x \to 5^-\). For \(x < 5\), we have \(x - 5 < 0\), so \(|x-5| = -(x-5)\). Therefore: \[\frac{x-5}{|x-5|} = \frac{x-5}{-(x-5)} = -1\] Hence: \[\lim_{x \to 5^-} f(x) = -1 + p\] Step 2: Compute the Right-Hand Limit (RHL) as \(x \to 5^+\). For \(x > 5\), we have \(x - 5 > 0\), so \(|x-5| = x-5\). Therefore: \[\frac{x-5}{|x-5|} = \frac{x-5}{x-5} = 1\] Hence: \[\lim_{x \to 5^+} f(x) = 1 + q\] Step 3: Write the function value at \(x = 5\). \[f(5) = p + q\] Step 4: Apply the condition for continuity. LHL \(=\) RHL gives: \[-1 + p = 1 + q\] \[p - q = 2 \quad \cdots (1)\] LHL \(=\) \(f(5)\) gives: \[-1 + p = p + q\] \[-1 = q\] \[q = -1\] Substituting \(q = -1\) in equation (1): \[p - (-1) = 2\] \[p + 1 = 2\] \[p = 1\] Verification: LHL \(= -1 + 1 = 0\), RHL \(= 1 + (-1) = 0\), and \(f(5) = 1 + (-1) = 0\). All three are equal, confirming continuity.

Answer: \(p = 1\) and \(q = -1\)

Example 2

Question: Find the values of \(\alpha\) and \(\beta\) so that the function \(f\) defined as \[f(x) = \begin{cases} 2\left(\dfrac{x+3}{|x+3|}\right) + \alpha, & \text{if } x < -3 \\ \alpha - \beta, & \text{if } x = -3 \\ 2\left(\dfrac{x+3}{|x+3|}\right) + \beta, & \text{if } x > -3 \end{cases}\] is continuous at \(x = -3\).

Solution: We need \(f\) to be continuous at \(x = -3\), so we require LHL \(=\) RHL \(=\) \(f(-3)\). Step 1: Compute the Left-Hand Limit (LHL) as \(x \to -3^-\). For \(x < -3\), we have \(x + 3 < 0\), so \(|x+3| = -(x+3)\). Therefore: \[\frac{x+3}{|x+3|} = \frac{x+3}{-(x+3)} = -1\] Hence: \[\lim_{x \to -3^-} f(x) = 2(-1) + \alpha = -2 + \alpha\] Step 2: Compute the Right-Hand Limit (RHL) as \(x \to -3^+\). For \(x > -3\), we have \(x + 3 > 0\), so \(|x+3| = x+3\). Therefore: \[\frac{x+3}{|x+3|} = \frac{x+3}{x+3} = 1\] Hence: \[\lim_{x \to -3^+} f(x) = 2(1) + \beta = 2 + \beta\] Step 3: Write the function value at \(x = -3\). \[f(-3) = \alpha - \beta\] Step 4: Apply the condition for continuity. LHL \(=\) RHL gives: \[-2 + \alpha = 2 + \beta\] \[\alpha - \beta = 4 \quad \cdots (1)\] LHL \(=\) \(f(-3)\) gives: \[-2 + \alpha = \alpha - \beta\] \[-2 = -\beta\] \[\beta = 2\] Substituting \(\beta = 2\) in equation (1): \[\alpha - 2 = 4\] \[\alpha = 6\] Verification: LHL \(= -2 + 6 = 4\), RHL \(= 2 + 2 = 4\), and \(f(-3) = 6 - 2 = 4\). All three are equal, confirming continuity.

Answer: \(\alpha = 6\) and \(\beta = 2\)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the values of \( p \) and \( q \) so that the function \( f \) defined as \[ f(x) = \begin{cases} \dfrac{x - 3}{|x - 3|} + p, & \text{if } x < 3 \\ p + q, & \text{if } x = 3 \\ \dfrac{x - 3}{|x - 3|} + q, & \text{if } x > 3 \end{cases} \] is a continuous function.

Solution

  1. Step 1: Identify the point of possible discontinuity: The piecewise definition changes at \( x = 3 \). We must check continuity at \( x = 3 \) by computing the left-hand limit (LHL), right-hand limit (RHL), and comparing both with \( f(3) = p + q \).
  2. Step 2: Compute the Left-Hand Limit (LHL): For \( x < 3 \), we have \( x - 3 < 0 \), so \( |x - 3| = -(x - 3) \). Therefore: \[ \frac{x-3}{|x-3|} = \frac{x-3}{-(x-3)} = -1 \] Thus: \[ \lim_{x \to 3^-} f(x) = -1 + p \]
  3. Step 3: Compute the Right-Hand Limit (RHL): For \( x > 3 \), we have \( x - 3 > 0 \), so \( |x - 3| = x - 3 \). Therefore: \[ \frac{x-3}{|x-3|} = \frac{x-3}{x-3} = 1 \] Thus: \[ \lim_{x \to 3^+} f(x) = 1 + q \]
  4. Step 4: Apply the continuity condition: For \( f \) to be continuous at \( x = 3 \), we need LHL \( = \) RHL \( = f(3) \). Setting LHL equal to RHL: \[ -1 + p = 1 + q \] which gives \[ p - q = 2 \quad \ (i) \] Setting LHL equal to \( f(3) \): \[ -1 + p = p + q \] which simplifies to \[ q = -1 \quad \ (ii) \]
  5. Step 5: Solve for p and q: From equation \( (ii) \): \( q = -1 \). Substituting into equation \( (i) \): \[ p - (-1) = 2 \Rightarrow p + 1 = 2 \Rightarrow p = 1 \] Now verify with RHL: \( 1 + q = 1 + (-1) = 0 \) and LHL: \( -1 + p = -1 + 1 = 0 \) and \( f(3) = p + q = 1 + (-1) = 0 \). All three are equal, confirming continuity.
  6. Step 6: State the conclusion: The function \( f \) is continuous everywhere if and only if \( p = 1 \) and \( q = -1 \).

Answer: \( p = 1 \) and \( q = -1 \)

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