Let \(f(x) = \left\{ \begin{array}{cl} ax+3, &\text{ if }x>2, \\ x-5 &\text{ if } -2 \le x \le 2, \\ 2x-b &\text{ if } x <-2. \end{array} \right.\) Find a+b if the piecewise function is continuous (which means that its graph can be drawn without lifting your pencil from the paper).
Put 2 into each of the first two functions for x and set them equal
a(2) + 3 = 2 - 5
2a = 2 - 5 - 3
2a = -6
a = -3
Put - 2 into each of the last two functions for x and set them equal
-2 - 5 = 2(-2) - b
-7 = -4 - b
b = -4 + 7
b = 3
a + b = 3 + -3 = 0
Rigorously, continuity is defined below:
For every \(k\) in the domain of \(f\);