If the domain of the function log x^2 is x < a or x > b, for some a and b, find a + b.
a + b = 4 + (-2) = 2.