# How do you find the domain and range of y = sqrt(2-x)?

Refer to explanation

#### Explanation:

The domain for $y$ is all the real values of $x$ for which

$2 - x \ge 0 \implies 2 \ge x$ Hence $D \left(f\right) = \left(- \infty , 2\right]$

Now for the range we notice that

$y = \sqrt{2 - x} \ge 0$ hence $R \left(f\right) = \left[0 , + \infty\right)$