I am trying to type some text to the side of a cases environment. Below is my MWE. I seem to have two issues: Extra space between the numbers of the enumerated list and the contents of said list and the brackets not being large enough. My first attempt (which used the cases environment exclusively) resulted in errors. I saw this somewhere on the web (some tex forum, sorry not sure which one) and tried this.
\documentclass{article}
\usepackage[left=1.65cm,right=1.65cm,top=2.45cm,bottom=2.60cm]{geometry}
\usepackage{amsmath,amssymb,amscd,amsbsy,array,color}
\usepackage{fancyhdr,framed,latexsym,multicol,pstricks,slashed,xcolor,multicol}
\usepackage{picture}
\usepackage{indentfirst}
\usepackage{enumitem}
\usepackage[amsmath,framed,thmmarks]{ntheorem}
\title{Analysis Notes}
\author{Michael Dykes}
\begin{document}
\maketitle
Prove that:
\begin{enumerate}
\item \begin{align*}
\begin{split}
2-x, &\textrm{ if } x \le 1\\
\frac{1}{x}, &\textrm{ if } x> 1.
\end{split}\;\bigg\} \quad \text{is one-to-one but not onto $\mathbb{R}$.}
\end{align*}
\item \begin{align*}
\begin{split}
x+4, &\textrm{ if } x \le -2\\
-x, &\textrm{ if } -2 < x < 2\\
x-4 &\textrm{ if } x \ge 2.
\end{split}\;\bigg\} \quad \text{is onto $\mathbb{R}$ but not one-to-one.}
\end{align*}
\end{enumerate}
\end{document}
I am not sure what to do from here.
-MD


