help how do i find domain
Find the domain of the function \[f(x) = \frac{2-x}{\log (2 - x)} where $\log$ is the base $10$ logarithm function. Express your answer in interval notation.
\([f(x) = \frac{2-x}{\log (2 - x)}\)
Only the denominator matters
We can't take the log of a non-zero number
Therefore the domain is ( -inf , 2)