Question:medium

If $f(x) = \begin{cases} ax + b, & x \leq 3 \\ 7, & 5<x \end{cases}$ is continuous in $\mathbb{R}$, then the values of $a$ and $b$ are:

Show Hint

For piecewise functions to be continuous, ensure the limits from both sides match at the point of transition.
Updated On: Feb 25, 2026
  • $a = 3, b = -8$
  • $a = 3, b = 8$
  • $a = -3, b = -8$
  • $a = -3, b = 8$
Show Solution

The Correct Option is C

Solution and Explanation

For continuity at $x = 3$ and $x = 5$, left-hand and right-hand limits must be equal. At $x = 3$, the condition is: \[ a(3) + b = 7 \quad \text{(matching the second function part)} \] This yields $3a + b = 7$. For the condition at $x = 5$: \[ a(5) + b = 7 \quad \text{(again, matching the second function part)} \] Solving these simultaneous equations results in $a = -3$ and $b = -8$.
Was this answer helpful?
0