Let
f(n) = n^2 - 2 if n < 0
f(n) = 2n + 20 if n >= 0
What is the positive difference between the two values of a that satisfy the equation f(2) + f(-2) - f(a) = 0?
For the first, we find n^2 = 28, n < 0 so it is n = -2√7.
For the second, we have 6 - 2n = 0, n >= 0 so it is n = 3
|-2√7 - 3| = 3 + 2√7