Book's kind of skimpy on this

Find the domain of each function.

f(x) = x / 3x - 1

another one

f(x) = 5x + 4 / x^2 + 3x + 2

From how the book explains it, the only way I know to solve these is to plug random numbers in and see, but that's not exactly practical.

Thank you for any help.