\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{jeffe,handout,multicol,tikz}
\usetikzlibrary{arrows,automata}
%\usepackage[latin1]{inputenc}

\tikzstyle{vertex}=[circle,draw]

\newcommand{\kgmcomment}[1]{}

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


\begin{document}
\headers{Math303}{Quiz 5}{Mon. Sep. 28, 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 \,}
\renewcommand{\emptyset}{\varnothing}
\newcommand{\PS}{\mathcal{P}}
\newcommand{\comp}[1]{\overline{#1}}

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

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

\begin{enumerate}

\item\ppoints{6}{1} We define the following statements and open sentences.
\begin{align*}
	P &\st\mbox{$0=1$}   & Q(x) &\st\mbox{$x>0$} \\
	R(a,b,c) &\st\mbox{$a^2+b^2=c^2$}  &  S(A) &\st\mbox{$A$ is a finite set.} 
\end{align*}
Decide whether the following are true or false; indicate your answer by writing the entire word ``true'' or the entire word ``false''.  Give brief justifications for partial credit.
\begin{enumerate}
	\item $\sim P$
	\vfill
	
	\item $P \implies Q(1)$
	\vfill
	
	\item $(P \vee R(3,4,5)) \implies Q(0)$
	\vfill
	
	\item $Q(0) \iff P$
	\vfill 
	
	\item $Q((-1)^2) \implies S(\PS(\{1,2,3,4,5\}))$
	\vfill
	
	\item $\sim S(\{x\in\RR\st x^2 -6x + 2 = 0\}) \iff (R(3,2,1) \implies Q(2))$
	\vfill
\end{enumerate}

\newpage

\item\ppoints{2}{1} Truth tables and logical equivalence.
\begin{enumerate}
	\item Write a truth table for $P\implies (Q\implies R)$
	\vfill
	
	\item Give a simple statement using only logical operands in $\{\sim,\vee,\wedge\}$ which is logically equivalent to $P\implies (Q\implies R)$.
	\vspace{2cm}
\end{enumerate}

\item\ppoints{2}{1} Let $P$, $Q$, and $R$ be statements.  Use the standard logical operands $\sim, \lor, \land, \implies, \iff$ to express the following statements.
\begin{enumerate}
	\item If any one of the statements in $\{P,Q,R\}$ is true, then they all are true.
	\vfill
	
	\item Whenever two of the statements in $\{P,Q,R\}$ are true, the third is also true.
	\vfill
\end{enumerate}

\end{enumerate}
\end{document}
