In a group of five people any two are either friends or enemies , no three of them are friends of each other and no three of them are enemies of each other . Prove that every person in this group has exactly two friends .
Problem 1426
Official solution
1. Assume a person has three friends:
- Let's denote this person as and their three friends as and .
- According to the problem, no three people can be mutual friends. Therefore, among and , at least one pair must be enemies.
- Without loss of generality, assume and are enemies.
2. **Consider the implications of and being enemies:**
- Since and are enemies, and they are both friends with , we need to check the relationship between and , and and .
- If and are friends, and and are friends, then and would form a friend-triangle, which contradicts the problem's conditions.
- If and are enemies, and and are enemies, then and would form an enemy-triangle, which also contradicts the problem's conditions.
3. Conclude that a person cannot have three friends:
- Since having three friends leads to a contradiction, it follows that no person in the group can have three friends.
4. Assume a person has three enemies:
- Let's denote this person as and their three enemies as and .
- According to the problem, no three people can be mutual enemies. Therefore, among and , at least one pair must be friends.
- Without loss of generality, assume and are friends.
5. **Consider the implications of and being friends:**
- Since and are friends, and they are both enemies with , we need to check the relationship between and , and and .
- If and are enemies, and and are enemies, then and would form an enemy-triangle, which contradicts the problem's conditions.
- If and are friends, and and are friends, then and would form a friend-triangle, which also contradicts the problem's conditions.
6. Conclude that a person cannot have three enemies:
- Since having three enemies leads to a contradiction, it follows that no person in the group can have three enemies.
7. Conclude that each person must have exactly two friends and two enemies:
- Since no person can have three friends or three enemies, and each person must have relationships with four other people, it follows that each person must have exactly two friends and two enemies.