\begin{frame} \frametitle{Functions: Examples} \begin{exampleblock}{} What is the domain and range of $f(x) = \sqrt{x+2}$? \begin{itemize} \item domain $=\pause \{x \mid x \ge -2\} = [-2,\infty)$ \item range $=\pause \{y \mid y \ge 0\} = [0,\infty)$ \end{itemize} \end{exampleblock} \pause\bigskip \begin{exampleblock}{} What is the domain of $g(x) = \frac{1}{x^2- x}$? \pause \begin{align*} g(x) = \frac{1}{x^2- x} = \onslide<6->{\frac{1}{x(x- 1)}} \end{align*} \pause\pause Thus $g(x)$ is \emph{not} defined if \pause $x= 0$ or $x=1$. \pause The domain is \pause \begin{align*} \{x \mid x\ne 0,\; x\ne 1\} \end{align*} \pause which can also be written as \begin{align*} (-\infty,0) \cup (0,1) \cup (1,\infty) \end{align*} \end{exampleblock} \end{frame}