\documentclass[11pt]{article}
\usepackage{fullpage}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{xifthen}%
\usepackage{tikz}
\usepackage[hidelinks,colorlinks]{hyperref}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
		\node[shape=circle,draw,inner sep=2pt] (char) {$#1$};}}

\newcounter{question}
\setlength\parindent{0pt}

\newcommand{\question}[2]{%
	\stepcounter{question}
	\vspace{.25in} \textbf{Q\arabic{question}
		\ifthenelse{\isempty{#1}}%
		{}%
		{[#1 Points]\ }%
		#2} \vspace{.10in}
}

\newcommand{\qpart}[2]{%
	\vspace{.10in} \textbf{(#1)}
	\ifthenelse{\isempty{#2}}%
	{}%
	{[#2 Points]}%
}

\newcommand{\solution}[1] {\vspace{.25in} \textbf{Solution to Q#1} \vspace{.10in}}
\newcommand{\solpart}[1] {\vspace{.10in} \textbf{(#1)}}
\newcommand{\set}[1]{\{#1\}}
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator*{\argmax}{arg\,max}
\newcommand{\E}{\mathbb{E}}
\begin{document}

\medskip
\begin{center}
{\Large CSC304 \,\, Fall'26}\\[0.2cm]
{\Large Assignment 3}\\[0.2cm]
{\large Due: December 5, 2026, by 11:59pm ET}\\[0.2cm]
\emph{More questions may be added to this assignment before the due date.}
\end{center}

\textbf{Instructions:}
\begin{enumerate}
	\item Typed assignments are preferred (e.g., using LaTeX or Word), especially if your handwriting is possibly illegible or if you do not have access to a good quality scanner. Please submit a single PDF to MarkUs. You may work in groups of size up to $3$; only one member of each group should submit.
	\item Remember our citation policy. You are free to read online material (though, if you find the exact homework problem, do not read the solution), to discuss any problems with your peers, and to use language models. There are two rules you must follow: You must write the solution in your own words (it helps to not take any pictures or notes from your discussions), and for each question, you must cite any peer (by name), online source (by link), or language model (by chat link) you consulted. There is no penalty for citing, but failing to do so counts as plagiarism.
	\item Attempt to solve each problem, but if you have no clue how to approach a (sub)problem, remember the $20\%$ rule: You get $20\%$ of the points for a (sub)problem if you leave it blank or scratch off everything you have written for it.
\end{enumerate}

\question{20}{Cake Cutting}

Imagine a cake consisting of the interval $[0,1]$. The cake has three homogeneous sections: $[0,5/12]$ is strawberry flavoured, $[5/12,7/12]$ is vanilla flavoured, and $[7/12,1]$ is chocolate flavoured. Here, homogeneous means that within each flavour, different parts of the cake are indistinguishable from each other. There are three agents with the following preferences.

\begin{itemize}\setlength\itemsep{0em}
	\item Agent 1 has no preference over flavours, so she has value $1$ spread out uniformly across the entire cake $[0,1]$.
	\item Agent 2 only likes the strawberry flavour, so she has value $1$ spread out uniformly across $[0,5/12]$ and has zero value for the remaining cake.
	\item Agent 3 only likes the chocolate flavour, so she has value $1$ spread out uniformly across $[7/12,1]$ and has zero value for the remaining cake.
\end{itemize}

\qpart{a}{5} Suppose we cut each of the three sections ($[0,5/12]$, $[5/12,7/12]$, and $[7/12,1]$) into $3$ equal parts, and give each agent one part from each section. Is this proportional? Is it envy-free? Is it Pareto optimal? Justify your answer.

\begin{minipage}{\linewidth}
\qpart{b}{10} Recall that the social welfare of an allocation $A$ is simply the sum of the values derived by the three agents, i.e., $sw(A)=\sum_{i=1}^3 V_i(A_i)$. Answer the following questions, and justify your answers.
\begin{itemize}\setlength\itemsep{0em}
	\item Which allocation has the highest social welfare?
	\item Which envy-free allocation has the highest social welfare among all envy-free allocations?
	\item Which Pareto optimal allocation has the highest social welfare among all Pareto optimal allocations?
\end{itemize}
\end{minipage}

\qpart{c}{5} In class, we learned that there always exists a perfect partition $A = (A_1,\ldots,A_n)$ of the cake to $n$ players in which $V_i(A_k) = 1/n$ for every $i,k \in \set{1,\ldots,n}$. Construct an example in which no perfect partition is Pareto optimal.

\question{20}{Allocating Indivisible Goods}

Consider the round robin method for allocating indivisible goods from the class. Players $1,2,\ldots,n$ are first arranged in some order. This can be represented by a bijection $\sigma: \set{1,\ldots,n} \to \set{1,\ldots,n}$ where $\sigma(k)$ is the player who is $k^{\text{th}}$ in the order. Then, players take turns in a cyclic fashion. Each player, in her turn, picks her most favorite good among those that are still available. For example, agent $\sigma(1)$ picks her most favorite good in round $1$. Then in round $2$, agent $\sigma(2)$ picks her most favorite good among the goods still available in round $2$. Once we reach round $n$ in which agent $\sigma(n)$ picks a good, agent $\sigma(1)$ gets to go again in round $n+1$. This continues until all goods are allocated.

\qpart{a}{10} Show that irrespective of the ordering $\sigma$, the allocation produced by the round robin method is envy-free up to one good.

\qpart{b}{10} Prove that the round robin method is \emph{not} strategyproof by constructing an example in which an agent can gain by misreporting her valuations. [Hint: There is such an example with just two players and four goods.]

\question{20}{Do voting rules think alike?}

A group of 100 students voted to elect their monitor. They submitted ranked votes over $4$ candidates: Alex, Charlie, Pat, and Kim. The votes are as follows:
\begin{itemize}
	\item $32$ students voted Alex $\succ$ Kim $\succ$ Charlie $\succ$ Pat
	\item $27$ students voted Charlie $\succ$ Pat $\succ$ Kim $\succ$ Alex
	\item $25$ students voted Pat $\succ$ Charlie $\succ$ Kim $\succ$ Alex
	\item $16$ students voted Kim $\succ$ Pat $\succ$ Alex $\succ$ Charlie
\end{itemize}

Calculate the winner of the election according to plurality, Borda, STV, Copeland, and maximin. Show your work.

\newpage

\question{20}{Voting on a Line}

Suppose $n$ voters and $m$ candidates are located on the real line. The location of voter $i$ is $x_i$, and the location of candidate $j$ is $y_j$. Assume that all locations are distinct, voters and candidates are sorted (so $x_1 \le \ldots \le x_n$ and $y_1 \le \ldots \le y_m$), and no voter is ever equidistant to two candidates (for all $i,j,j'$: $|x_i-y_j| \neq |x_i - y_{j'}|$).\\[-0.2cm]

Suppose each voter $i$ ranks the candidates in the increasing order of their distance to her, i.e., $j \succ_i j'$ if and only if $|x_i-y_j| < |x_i-y_{j'}|$. Prove that in the resulting preference profile, there must exist a \emph{weak} Condorcet winner (who is preferred to every other candidate by at least $n/2$ voters).\\[-0.2cm]

[Hint: For each candidate $j$, consider the interval $B_j = \left[\frac{y_{j-1}+y_{j}}{2},\frac{y_{j}+y_{j+1}}{2}\right]$, where $y_0 = -\infty$ and $y_{m+1}=\infty$. Now, consider the smallest $j$ such that the number of voters in $\cup_{k=1}^j B_k$ is at least $n/2$.]

\end{document}
