\DocumentMetadata{
  pdfstandard=ua-2, 
  lang=en-US,
  tagging=on,
  tagging-setup = {
    math/setup=mathml-SE,
    math/alt/use,
    table/header-rows = 1
  }
}

\documentclass[11pt]{article}
\usepackage{kgm2,multicol,tikz}
\usepackage{babel}[english]

\newcommand{\kgmcomment}[1]{}
\def\columnseprule{0.4pt}
\newtheorem{theorem}{Theorem}{}

\begin{document}
\newcommand{\kgmclass}{Math303}
\newcommand{\kgmtitle}{Test 2}
\newcommand{\kgmdate}{Oct 16, 2026}

\hypersetup{
  pdftitle={\kgmtitle},  			% Registers the PDF Title metadata
  pdfauthor={K.G. Milans},          % Registers the Author metadata
  pdfdisplaydoctitle=true           % Tells PDF viewers to display the title, not filename
}

\headers{\kgmclass}{\kgmtitle}{\kgmdate}
% Invisible H1 landmark for accessibility checkers:
\section*{\vspace{-2em}\smash{\phantom{Solutions}}}

%\makeatletter
%\def\@oddfoot{}
%\makeatother

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

\newcommand{\liff}{\Leftrightarrow}
\newcommand{\limp}{\Rightarrow}
\newtheorem{lem}{Lemma}
\renewcommand{\emptyset}{\varnothing}
%\newcommand{\PS}{\mathcal{P}}

\def\columnseprule{0.4pt}

~

\noindent
\textbf{Directions:} Solve the following problems.  Give supporting work/justification where appropriate.


\begin{enumerate}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% P1: Memorization / Definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\item\ppoints{4}{4} Identify the logical connectors and give their definitions.
\newcommand{\myspc}{\vspace{4cm}\\~}
\begin{multicols}{2}
\begin{enumerate}
	\item $P \lor Q$
	\myspc
	
	\item $P \liff Q$
	\myspc
	
	\columnbreak
	\item $\forall x \in S, P(x)$
	\myspc
	
	\item $\sim P$
	\myspc
\end{enumerate}
\end{multicols}

\item\points{4} What is the difference between a Lemma and a Theorem?
\vfill

\item\points{4} Give the definitions of even and odd integers.
\vfill

\newpage
%\headers{Name: }{\kgmtitle}{\kgmdate}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% P2: Ch 2 Logic
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\item\ppoints{2}{5} Let $\varphi$ be the statement $(P \vee Q) \wedge (Q \limp P)$.
\begin{enumerate}
	\item Give the truth table for $\varphi$.
	\vfill
	
	\item Give a simple sentence that is logically equivalent to $\varphi$.
	\vfill
\end{enumerate}

%\item Give a simple statement $\varphi$ in symbolic logic which is true if and only if $P$ and $Q$ have the same truth value and $R$ has the other truth value.
%\vfill

\item\ppoints{3}{5} Translate the following statements in symbolic logic into English as naturally as possible.  Indicate if the statement is true or false by writing the entire word.
\begin{align*}
	P(a,b) &: \exists c\in\ZZ, a < c < b & Q(a,b) &: ab \ge 0
\end{align*}
\begin{enumerate}
	\item $P(\sqrt{2}, \pi)$
	\vfill
	
	\item $\forall x\in\RR, \forall y\in\RR, |x-y| \ge 5 \limp Q(x,y)$
	\vfill
	
	\item $\forall S\subseteq\RR, |S| \ge 3 \implies \exists x\in S,\exists y\in S, x\ne y \land Q(x,y)$
	\vfill
\end{enumerate}


\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% P3: 4.3 Negation, simple Direct Proof
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\item\ppoints{2}{5} Negate each sentence below in English as naturally as possible.
\begin{enumerate}
	\item Every integer gets larger when multiplied by two.
	\vfill
	
	\item For all positive real numbers $x$ and $y$, if $x < 1$, then there exists an integer $z$ such that $y < xz < y+1$.   
	\vfill
\end{enumerate}

\item\ppoints{2}{5} Let $\phi(x,y,z)$ be the implication ``If $x < y$ and $y < z$, then $x<z$.''  Write the following implications in English.
\begin{enumerate}
	\item The converse of $\phi(x,y,z)$.
	\vspace{3cm}

	\item The contrapositive of $\phi(x,y,z)$.
	\vspace{3cm}
\end{enumerate}

\item\points{7} Let $x\in\ZZ$.  Prove that if $x$ is even, then $x^2 + 1$ is odd.
\vfill

\newpage
%\headers{Name: }{\kgmtitle}{\kgmdate}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% P4: 4.4, 4.5, 5.1 Similar Cases / Contrapositive
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\item\points{8} Let $x,y\in\RR$.  Prove that if $x\ne y$, then $(x+y)^2 > 4xy$.
\vfill

\item\points{8} Note that $x\nmid y$ means that $x$ does not divide $y$.  Let $a,b,d\in\ZZ$.  Prove that if $d^2 \nmid ab$, then $d \nmid a$ or $d\nmid b$.
\vfill

\item\points{8} Let $a\in\ZZ$.  Without using prime factorizations, prove that if $2\mid a$ and $3\mid a$, then $6\mid a$.  Hint: apply the division algorithm.
\vfill

\end{enumerate}
\newpage
Blank page

\end{document}
