Let
f(x) = 8x + 3 if x <= 3
f(x) = 16 - 2x if x > 4
Find the sum of all values of x such that f(x)=0
We have two cases.
Case 1: x <= 3
8x + 3 = 0
x = -3/8
x is less than or equal to 3, so this solution is valid.
Case 2: x > 4
16 - 2x = 0
x = 8
x is greater than 4, so this solution is valid.
Add the solutions to get 61/8.