Elementary and Intermediate Algebra: Concepts & Applications (6th Edition)

Domain = $\mathbb{R}\backslash\{-2\}$ or $\{x\in \mathbb{R}\ |\ x\neq-2\}$ Range = $\mathbb{R}\backslash\{-4\}$ or $\{y\in \mathbb{R}\ |\ y \neq-4\}$
If the function is described by a graph, then the domain is the set of all first coordinates of the points on the graph. The range is the set of all second coordinates. The empty dot at $(-2,-4)$ indicates that the point does not belong to the graph. The first coordinate of a point of the graph can be any real number, except -2. Domain = $\mathbb{R}\backslash\{-2\}$ or $\{x\in \mathbb{R}\ |\ x\neq-2\}$, The second coordinate can be any real number, except $-4$. Range = $\mathbb{R}\backslash\{-4\}$ or $\{y\in \mathbb{R}\ |\ y \neq-4\}$