\documentclass[11pt]{book}
\usepackage{fancyhdr}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{graphicx, pstcol, pst-plot}
\usepackage{pstricks, pst-node}
\usepackage{hyperref}
\usepackage{units}
\newcommand{\ds}{\displaystyle}
\newcommand{\testname}{Homework \#2}
\newcommand{\testdate}{\today}
%		Problem
\newcounter{problemnumber}
\newcommand{\Problem}{\stepcounter{problemnumber}
       \item[\fbox{\parbox{.25in}{\hfil\theproblemnumber\hfil}}]}
\newcommand{\ProblemStar}{\stepcounter{problemnumber}
       \item[\fbox{\parbox{.25in}{$\star$\hfil\theproblemnumber\hfil}}]}
\newcommand{\Points}[1]{(#1 points) \ }
%		Examheader
\newcommand{\Examheader}{\setcounter{problemnumber}{0}
\centerline{\Large\bf \testname}

}
\lhead{\bf Advanced Calculus (MAA 4211)}
%\rhead{\bf Name: \rule{2in}{.2pt}}
\rhead{Due Friday 9/21}
\cfoot{}
\pagestyle{fancy}
%
%
\begin{document}
\thispagestyle{fancy}
\Examheader

\newcommand{\st}{\::\:}

%
%
%
%

\bigskip

\begin{enumerate}

\Problem Let $(X,d)$ be a metric space. Define the function $d_\ast$ by
\[
	d_\ast(x,y)=\frac{d(x,y)}{1+d(x,y)}.
\]
Prove that $(X,d_\ast)$ is also a metric space.

\Problem For the following subsets of the metric space $(\mathbb{R}^n, d_2)$, determine (with justification) whether they are open and/or closed (you may use any results we have proved in class):
\[\begin{array}{l}
	\{(x,y)\st x,y>0\},\\
	\{(x,y)\st xy=1\},\\
	\{(x,y)\st |x-y|>1\}.
\end{array}\]

\end{enumerate}

\end{document}








