Find the domain of the given function

f(x) = log(2-x)

2 answers

also I don't know how to do this one

h(x) = log(-x)
you know that the domain of log(n) is n>0

So, the domain of log(2-x) is

2-x > 0
x < 2

similarly for the even easier 2nd one.