\documentclass[12pt]{article}

\usepackage[margin=0.5in,top=0.7in,dvips]{geometry}
\usepackage{fancyhdr,lastpage}
\usepackage{amsmath,amsthm}
\usepackage{tikz}
\usepackage{multirow}
\usepackage{substr}
\usepackage{pgfplots}

\makeatletter
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
  \hskip -\arraycolsep
  \let\@ifnextchar\new@ifnextchar
  \array{#1}}
\makeatother

% Include "solution" in your filename to make sure the right mode is
% used below.

\IfSubStringInString{\detokenize{solution}}{\jobname}{%
  % Solutions
  \newcommand\qfill{}
  \newcommand\qpage{}
  \newcommand\qonly[1]{}
  \newcommand\answer[1]{#1}
  \newcommand\question[1]{{\em #1}}
}
{%
  % Problems
  \newcommand\qfill{\vfill}
  \newcommand\qpage{\newpage}
  \newcommand\qonly[1]{#1}
  \newcommand\answer[1]{}
  \newcommand\question[1]{#1}
}

\pagestyle{fancy}
\lhead{MATH 311--01}
\chead{Problem of the Day\answer{ solution}}
\rhead{\answer{YOUR NAME HERE}}
\lfoot{}
\cfoot{\answer{Page \thepage\ of \pageref{LastPage}}}
\rfoot{due Tuesday, September 2, 2014}

\begin{document}
\question{For both of the following compound statements, convert the
  English statement into a symbolic statement in propositional logic,
  complete a truth table for the symbolic statement, and identify the
  statement as either a tautology, a contradiction, or neither.}

\begin{itemize}
\item \question{If both $P$ and $Q$ are true, then $P$ is false.}
  
  \answer{

  }
  
\item \question{Either $P$ is true or the truth of $P$ implies that
    $Q$ is false.}

  \answer{

  }

\end{itemize}
\end{document}