\documentclass[11pt]{article}
\usepackage{jeffe,handout,multicol,tikz}
\usetikzlibrary{arrows,automata}
\usepackage[latin1]{inputenc}

\tikzstyle{vertex}=[circle,draw]

\newcommand{\kgmcomment}[1]{}

\begin{document}
\headers{Math 303}{Homework 1}{Due Wed. Aug. 26, 2026}

%\makeatletter
%\def\@oddfoot{\hfill \tikz \node[draw] {over} ; }
%\makeatother

\makeatletter
\def\@oddfoot{}
\makeatother

%\noindent
%\hfill Name: \underline{\hspace{3.5in}} 

%\begin{flushright}
%Name: \underline{\hspace{3.5in}} \\
%\end{flushright}
%\hrule

\def\columnseprule{0.4pt}

\newcommand{\QQ}{\mathbb{Q}}
\newcommand{\ZZ}{\mathbb{Z}}
\newcommand{\NN}{\mathbb{N}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\st}{\colon \,}

\noindent
\textbf{Directions:} You may work to solve these problems in groups, but all written work must be your own.  Unless the problem indicates otherwise, all problems require some justification; a correct answer without supporting reasoning is not sufficient.  See ``Guidelines and advice'' on the course webpage for more information.

\begin{enumerate}
\item Express the following sets using a list between braces, using the ellipses if necessary.
\begin{enumerate}
	\item $\{x\in\NN\st -2<x\le 7\}$
	\item $\{5x\st\mbox{$x\in \ZZ$ and $|2x| \le 8$}\}$
	\item $\{x\in\RR\st \cos x = 1\}$
	\item $\{x\in\ZZ\st |2x| < 8\}$
\end{enumerate}

\item Determine whether the following sets are infinite or finite.  If the set is finite, then determine its cardinality.
\begin{enumerate}
	\item $\{0,\emptyset\}$
	\item $\{1,2,\{1,2\},\{1,2,1\}\}$
	\item $\{\emptyset, \{\emptyset\}, \{\{\emptyset\}\}\}$
	\item $\{n\in \NN\st\mbox{$n$ is prime and $n\le 25$}\}$
	\item $\{x\in \QQ\st 3\le x \le \pi\}$
	\item $\{x\in\RR\st x^3 - x = 0\}$.
	\item $\{A\st\mbox{$A$ is a set with $|A| = 0$}\}$.
\end{enumerate}


\item Use set-builder notation to express the following sets in a compact way.
\begin{enumerate}
	\item $\{5,6,7,8,9,10\}$
	\item $\{0,4,16,36,64,100,\ldots\}$
	\item $\{3,6,11,18,27,38,\ldots\}$
	\item The set of points in the plane $\RR^2$ that are contained inside the boundary of the square centered at $(0,0)$ with side length $1$.
	\item The set of points in the plane $\RR^2$ that are contained inside or along the boundary of the square centered at $(0,0)$ with side length $1$.
\end{enumerate}

\item Sketch the following sets of points in the $x,y$-plane $\RR^2$.  Use dashes to denote boundaries that are excluded from the set.
\begin{enumerate}
	\item $\{(x,y)\in\RR^2\st x > 1\}$.
	\item $\{(x,x+y)\st\mbox{$x\in \RR$ and $y\in \ZZ$}\}$
\end{enumerate}

\item A fly is resting on the front of a train that is hurtling forward at 60 kilometers per hour.  On the same track, 300 kilometers straight ahead, another train is hurtling towards the first train at 60 kilometers per hour.  At that moment, when the trains are 300 km apart, the fly takes off at 90 km per hour.  He continually flies back and forth between the trains, flying just above the track and instantaneously turning around when he reaches a train.  What is the total distance traveled by the fly before the two trains crash together, squishing the fly between them in the process? 


\end{enumerate}

\end{document}
