Example 1
Question: Suppose \( g(x) = \begin{cases} 3 + cx, & x < 2 \\ 7, & x = 2 \\ cx^2 - d, & x > 2 \end{cases} \) and \( \lim_{x \to 2} g(x) = g(2) \). Find the possible values of \( c \) and \( d \).
Solution: We are given that \( g(2) = 7 \) and the function is continuous at \( x = 2 \), so we need the left-hand limit and right-hand limit to both equal 7. Left-Hand Limit (LHL): As \( x \to 2^- \), we use \( g(x) = 3 + cx \). \[ \lim_{x \to 2^-} g(x) = 3 + c(2) = 3 + 2c \] For continuity, LHL must equal \( g(2) \): \[ 3 + 2c = 7 \] \[ 2c = 4 \] \[ c = 2 \] Right-Hand Limit (RHL): As \( x \to 2^+ \), we use \( g(x) = cx^2 - d \). \[ \lim_{x \to 2^+} g(x) = c(2)^2 - d = 4c - d \] Substituting \( c = 2 \): \[ 4(2) - d = 8 - d \] For continuity, RHL must equal \( g(2) \): \[ 8 - d = 7 \] \[ d = 1 \] Verification: With \( c = 2 \) and \( d = 1 \), LHL \( = 3 + 2(2) = 7 \), RHL \( = 4(2) - 1 = 7 \), and \( g(2) = 7 \). All three are equal, confirming continuity.
Answer: \( c = 2 \) and \( d = 1 \)
Example 2
Question: A function is defined as \( h(x) = \begin{cases} px + q, & x < -1 \\ 5, & x = -1 \\ p - qx, & x > -1 \end{cases} \). If \( \lim_{x \to -1} h(x) = h(-1) \), find the values of \( p \) and \( q \).
Solution: We are given that \( h(-1) = 5 \) and the function is continuous at \( x = -1 \). Left-Hand Limit (LHL): As \( x \to -1^- \), we use \( h(x) = px + q \). \[ \lim_{x \to -1^-} h(x) = p(-1) + q = -p + q \] Setting LHL equal to \( h(-1) \): \[ -p + q = 5 \quad \text{...(i)} \] Right-Hand Limit (RHL): As \( x \to -1^+ \), we use \( h(x) = p - qx \). \[ \lim_{x \to -1^+} h(x) = p - q(-1) = p + q \] Setting RHL equal to \( h(-1) \): \[ p + q = 5 \quad \text{...(ii)} \] Adding equations (i) and (ii): \[ (-p + q) + (p + q) = 5 + 5 \] \[ 2q = 10 \] \[ q = 5 \] Substituting \( q = 5 \) into equation (ii): \[ p + 5 = 5 \] \[ p = 0 \] Verification: With \( p = 0 \) and \( q = 5 \), LHL \( = -(0) + 5 = 5 \), RHL \( = 0 + 5 = 5 \), and \( h(-1) = 5 \). All three are equal.
Answer: \( p = 0 \) and \( q = 5 \)