Let
f(x) = -x + 3 if x >= 1
f(x) = 2x + 1 if x < 1
Find the sum of all values of x such that f(x) = 0
.
-x + 3 = 0 2x + 1 = 0
3 = x 2x = -1
x = -1/2
3 + -1/2 = 5/2