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