Browse · MathNet
PrintIranian Mathematical Olympiad
Iran counting and probability
Problem
Numbers and are given positive integers. There are people in a party, standing in the shape of an grid. Some of these people are police officers and the rest are the guests. Some of the guests may be criminals. The goal is to determine whether there is a criminal between the guests or not.
Two people are considered adjacent if they have a common side. Any police officer can see their adjacent people and for every one of them, know that they're criminal or not. On the other hand, any criminal will threaten exactly one of their adjacent people (which is likely an officer!) to murder. A threatened officer will be too scared, that they deny the existence of any criminal between their adjacent people. Find the least possible number of officers such that they can take position in the party, in a way that the goal is achievable. (Note that the number of criminals is unknown and it is possible to have zero criminals.)


Two people are considered adjacent if they have a common side. Any police officer can see their adjacent people and for every one of them, know that they're criminal or not. On the other hand, any criminal will threaten exactly one of their adjacent people (which is likely an officer!) to murder. A threatened officer will be too scared, that they deny the existence of any criminal between their adjacent people. Find the least possible number of officers such that they can take position in the party, in a way that the goal is achievable. (Note that the number of criminals is unknown and it is possible to have zero criminals.)
Solution
Answer. .
There are two steps for the proof, first showing that this number is enough, and for any smaller number of officers, show a way for some of the guests to be criminals and to threaten the officers such that the existence of the criminals remains unknown.
For the first part, consider two cases:
is an odd number.
Consider the coloring of the grid with two colors, such that no two adjacent nodes are of the same color. Place the officers on the places that have the majority color. Since any criminal can threaten exactly one person (which in this case, is definitely an officer), and since the number of officers is greater than the number of the guests (and so, greater than the number of criminals), if there exists a criminal between the guests, there will be an officer, adjacent to a criminal, whom is not threatened and can identify the criminal.
is an even number.
Without loss of generality, assume that is an even number. Consider the same coloring of the nodes of the grid. Again, of the officers can take position at the nodes with the majority color, and the last officer can take position at an arbitrary node with the opposite color. Similar to the previous case, since the number of officers is greater than the largest possible number of criminals, one officer will be able to identify a criminal, if there's any.
Now for the second part, consider a group of people such that the number of police officers is not greater than half of the total. It suffices to show a way for some of the guests to be criminals and to threaten the officers such that the officers will fail to reach the goal.
Construct a graph with vertices, each vertex representing a person in the party. Partition the nodes of the graph into two sections and , where every node in represents a police officer and every node in represents a guest. Construct an edge, connecting a node from to a node from if the people they represent are adjacent in the party.
The assumption is that . Also, any node in is connected to at least another node in , because otherwise, it suffices for the person representing this node to be a criminal; Officers would not be able to identify this person.
It suffices to prove that there exists a non-empty subset of the vertices of , like such that there is a matching between the vertices of and the vertices of a subset of , like , and the vertices of are not connected to any other node outside of .
If the graph contains a matching, including all the vertices of , the desired claim is concluded; Otherwise, according to Hall's Theorem, there exists a subset of , such that the number of the vertices of that are connected to a node of this subset, is less than the number of the vertices of itself. Without loss of generality, let be the largest subset with the described property. Let be the subset of the nodes of that are connected to some vertex of .
If vertices of both and are removed, the assumptions of Hall's theorem holds true. Because if there is a subset of like where the number of the nodes of are less than the number of the vertices of , then in has the same described property as , thus could not be the largest subset with that property. Now, considering the complete matching between the nodes of this new graph, the claim is concluded; Because the nodes of are not connected to any node outside of . Note that , because all vertices of have the degree of at least one, and also . Therefore the given number is proved to be the correct answer.
Therefore the given number is proved to be the correct answer.
There are two steps for the proof, first showing that this number is enough, and for any smaller number of officers, show a way for some of the guests to be criminals and to threaten the officers such that the existence of the criminals remains unknown.
For the first part, consider two cases:
is an odd number.
Consider the coloring of the grid with two colors, such that no two adjacent nodes are of the same color. Place the officers on the places that have the majority color. Since any criminal can threaten exactly one person (which in this case, is definitely an officer), and since the number of officers is greater than the number of the guests (and so, greater than the number of criminals), if there exists a criminal between the guests, there will be an officer, adjacent to a criminal, whom is not threatened and can identify the criminal.
is an even number.
Without loss of generality, assume that is an even number. Consider the same coloring of the nodes of the grid. Again, of the officers can take position at the nodes with the majority color, and the last officer can take position at an arbitrary node with the opposite color. Similar to the previous case, since the number of officers is greater than the largest possible number of criminals, one officer will be able to identify a criminal, if there's any.
Now for the second part, consider a group of people such that the number of police officers is not greater than half of the total. It suffices to show a way for some of the guests to be criminals and to threaten the officers such that the officers will fail to reach the goal.
Construct a graph with vertices, each vertex representing a person in the party. Partition the nodes of the graph into two sections and , where every node in represents a police officer and every node in represents a guest. Construct an edge, connecting a node from to a node from if the people they represent are adjacent in the party.
The assumption is that . Also, any node in is connected to at least another node in , because otherwise, it suffices for the person representing this node to be a criminal; Officers would not be able to identify this person.
It suffices to prove that there exists a non-empty subset of the vertices of , like such that there is a matching between the vertices of and the vertices of a subset of , like , and the vertices of are not connected to any other node outside of .
If the graph contains a matching, including all the vertices of , the desired claim is concluded; Otherwise, according to Hall's Theorem, there exists a subset of , such that the number of the vertices of that are connected to a node of this subset, is less than the number of the vertices of itself. Without loss of generality, let be the largest subset with the described property. Let be the subset of the nodes of that are connected to some vertex of .
If vertices of both and are removed, the assumptions of Hall's theorem holds true. Because if there is a subset of like where the number of the nodes of are less than the number of the vertices of , then in has the same described property as , thus could not be the largest subset with that property. Now, considering the complete matching between the nodes of this new graph, the claim is concluded; Because the nodes of are not connected to any node outside of . Note that , because all vertices of have the degree of at least one, and also . Therefore the given number is proved to be the correct answer.
Therefore the given number is proved to be the correct answer.
Final answer
floor(mn/2) + 1
Techniques
Matchings, Marriage Lemma, Tutte's theoremColoring schemes, extremal arguments