Even and Odd Towns

by yayups, Aug 3, 2017, 5:41 AM

Attached is a nice pdf format of the writeup.


We will discuss two problems, one of Odd town, and one of Even town.

Odd town

We have a town of $n$ people that is divided into $m$ clubs $C_1,\ldots,C_m$. Every club has an odd number of people, and the intersection of any two clubs has an even number of people. We are trying to find the maximum number of clubs that Odd town can have. In fact, we have the following theorem.

Theorem 1.1
There can be at most $n$ clubs, i.e. $m\le n$.

Note that this is sharp, since we can take the clubs to be of one person each.

We will now prove Theorem 1.1 using a most surprising technique: Linear Algebra. More specifically, we will be doing linear algebra over the vector space $(\mathbb{Z}/2\mathbb{Z})^n$. The way we will associate clubs with vectors is by using the \textit{characteristic vector} $v_i$ of $C_i$, i.e. the $j$th component of $v_i$ is $1$ if $j\in C_i$, and $0$ otherwise.

Proof of Theorem 1.1
All equalities in this proof are in $\mathbb{Z}/2\mathbb{Z}$.

The key idea is to show that the vectors $v_1,v_2,\ldots,v_m$ are linearly independent. This would imply the theorem, since we can have at most $n$ linearly independent vectors in a vector space of dimension $n$, which in this case is $(\mathbb{Z}/2\mathbb{Z})^n$. The way to do this is to consider dot products. Note that
\[v_i\cdot v_j=\sum_{k=1}^n(v_i)_k(v_j)_k=|C_i\cap C_j|.\]Thus, $v_i\cdot v_j=0$ if $i\not=j$ (since the sizes of the intersections of the clubs are even), and $v_i\cdot v_i=1$ (since the sizes of the clubs are odd).

Now, assume that
\[\sum_{k=1}^m \alpha_k v_k=0.\]The goal is to show that $\alpha_i=0$ for all $i$. We do this by taking the dot product with $v_i$ of the above equation. This gives us that
\[v_i\cdot\sum_{k=1}^m \alpha_k v_k=0\]or
\[\sum_{k=1}^m\alpha_k v_i\cdot v_k=0\]which means that $\alpha_i=0$ since the only term that survives in the above sum is the one where $k=i$. This shows that all the $\alpha_i$ are $0$, so the characteristic vectors of the clubs are linearly independent, which as we saw above, completes the proof. $\blacksquare$


Even town

We have a town of $2n$ people that is divided into $m$ clubs $C_1,\ldots,C_m$. Every club now has an \textit{even} number of people, and the intersection of any two clubs has an even number of people. We are trying to find the maximum number of clubs that Even town can have.

The first observation is that Even town can have a lot more clubs than Odd town. The way to see this is to divide Even town into $n$ couples, and require that couples must be together in clubs. This satisfies the constraints, and we have $2^n$ clubs, one for each subset of the couples. In fact, we have the following theorem.

Theorem 2.1
There can be at most $2^n$ clubs, i.e. $m\le 2^n$.

To prove this theorem, we need some preliminaries from linear algebra.

Definition 2.2
Let $V$ be a subspace of $W$. Then, define
\[V^\perp = \{w\in W : w\cdot v=0\text{ for all }v\in V\}.\]
Lemma 2.3
Let $V$ be a subspace of $W$. Then, $\dim V + \dim V^\perp = \dim W$.

Proof of Lemma 2.3
Let $n=\dim W$ and $m=\dim V$. Then, choose a basis $e_1,e_2,\ldots,e_n$ of $W$ such that $e_1,e_2,\ldots,e_m$ is a basis of $V$. Then, define the projection map
\begin{align*}
f:W &\to V \\
\alpha_1 e_1+\cdots+\alpha_n e_n &\mapsto \alpha_1 e_1 + \cdots + \alpha_m e_m.
\end{align*}We note that $\mathrm{im} f = V$ and $\mathrm{ker} f = V^\perp$, so the rank-nullity theorem implies the lemma. $\blacksquare$

We can now prove theorem 2.1.

Proof of Theorem 2.1
We define the vectors $v_1,\ldots,v_m$ the same way as in the proof of theorem \ref{main_odd}. Now, since the size of any club is even, we have that $v_i\cdot v_j=0$ \textit{for all} $i$ and $j$ (even possibly equal). Now, define $V$ to be the span of the vectors $v_1,\ldots,v_m$. Then, the dot product condition gives us that $V$ is a subspace of $V^\perp$. Thus, $\dim V^\perp\ge \dim V$. Now, by lemma \ref{rn}, we have that
\[\dim V+\dim V^\perp = 2n\]so
\[2n\ge 2\dim V\]which means that $\dim V\le n$. Thus, $V$ has at most $2^n$ elements, but clearly all the $v_i$ are in $V$. Thus, $m\le 2^n$, proving the theorem. $\blacksquare$
Attachments:
MCSP.pdf (130kb)
This post has been edited 3 times. Last edited by yayups, Oct 3, 2017, 7:25 AM

Comment

1 Comment

The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
This problem from China is an interesting twist:
A set $T$ is called even if it has an even number of elements. Let $n$ be a positive even integer, and let $S_1,...,S_n$ be even subsets of $[n]$. Prove these exists $i,j$ such that $i \neq j$ and $S_i \cap S_j$ is even.

by JasperL, Sep 2, 2017, 11:07 PM

Random Math Tidbits

avatar

yayups
Shouts
Submit
  • i searched up moving points and found this
    what the actual orz

    by balllightning37, Mar 24, 2024, 9:24 PM

  • what the orz have I seen here

    by avisioner, Feb 7, 2024, 2:50 PM

  • yayups howsopro ORZORZ

    by the_mathmagician, Oct 20, 2021, 12:09 AM

  • orzorzorzorzorzorzorzorzorzorzorzorzorzorzorzorzorzorzorzorzorzorz

    by 554183, Oct 18, 2021, 3:32 PM

  • One of the best blogs I have come across :omighty:

    by lneis1, Jul 26, 2021, 2:17 PM

  • Are u surprised by him making IMO
    looking at his posts, it was very likely any way

    by 554183, Jul 8, 2021, 6:05 AM

  • WAIT WHAT HE MADE IMO 2020

    HOW TO BE SO GOD TIER

    ORZORZORZORZ

    by OlympusHero, Jun 6, 2021, 3:00 AM

  • give contrib thanqies

    by RedFireTruck, May 5, 2021, 5:16 PM

  • hey there

    by yofro, Apr 13, 2021, 1:44 AM

  • @below He is contestant 2 :omighty:

    by Gaussian_cyber, Sep 20, 2020, 10:37 AM

  • did you make IMO 2020? :)
    which contestant are you?

    by Orestis_Lignos, Sep 18, 2020, 2:27 PM

  • yayups IMO 2020 :omighty:

    by fukano_2, Sep 10, 2020, 6:30 AM

  • how do u know he made IMO?

    by Puffer13, Sep 6, 2020, 12:12 PM

  • Congrats on USA IMO!

    by Imayormaynotknowcalculus, Aug 15, 2020, 4:52 PM

  • IMO 2020 :o :omighty:

    by cmsgr8er, Aug 7, 2020, 8:16 PM

93 shouts
Contributors
padyayups
Tags
About Owner
  • Posts: 1614
  • Joined: Apr 17, 2013
Blog Stats
  • Blog created: Jun 26, 2017
  • Total entries: 45
  • Total visits: 37299
  • Total comments: 64
Search Blog
a