Before answering the question for each function, I want to know if my defininition of domain and range is correct.

Domain = the x-coordinate and Range = the y-coordinate, right?

In other words, I can think of domain and range this way:

(domain, range) = (x, y), right? If NOT, what is the CORRECT definition of domain and range in SIMPLE TERMS?

QUESTIONS:

Find the domain for each function below.

(1) f(x) = x/(sqrt{x - 4})

(2) q(x) = sqrt{x^2 - x - 2}

Thanks!