Browse · MathNet
PrintIranian Mathematical Olympiad
Iran counting and probability
Problem
A subgraph of a is chosen such that the number of its edges is a multiple of and the degree of each vertex is an even number. Prove that we can assign an integer weight to each triangle of the such that for each edge of the chosen subgraph, the sum of the weight of the triangles that contain that edge equals , and for each edge that is not in the subgraph, this sum is .
Solution
The following lemma is needed to approach the solution: Lemma. If some integer weight is assigned to any edge of a complete graph with more than vertices, such that for each vertex, the sum of the weight of the edges connected to this vertex is an even number, and the sum of the weight of all edges is a multiple of , then it is possible to assign some weights to each triangle of the graph such that the sum of the weight of all triangles containing an edge equals the weight of that edge.
Proof. This lemma is proved using induction. The base of induction is when the graph has vertices. equations with integer coefficients, for variables can be obtained when considering each edge and triangles containing it. Firstly, these equations have a solution in real numbers. To show this, it suffices to show that the characteristic function for the weight of each edge is linear in its range. Let be the weight of edge and be the weight of triangle . It suffices to prove the claim when Let be the number of mutual vertices between triangle and edge . Therefore, it is concluded that So, the equation system has a solution in real numbers. Now consider the numbers with the desired property. The value of each is calculated as a linear combination of 's as which is an integer number; That is because is an integer number and also is an even number. Hence the claim for vertices is proved.
Assume the claim for a complete graph with vertices. Now consider a complete graph with vertices. Label the vertices of this graph by , and let be the number assigned to edge , and let be the number that is going to be assigned to the triangle . In this case Now given that 's are integers with even sum, we prove that the latest equation leads to an integer solution. This is also proved using induction; It's needed to prove this claim for . However, the claim is true for ; For , the desired values are and since is an even number, the 's are integers. Now assuming that for , , 's are integers, for it is deduced that meaning is an even number, and therefore, according to the assumption, equations lead to integer solutions, and so also lead to integer solutions.
Now assume that is the number assigned to edge . Consider a complete graph with vertices and assign the weight to edge . Thus the sum of the weights of the edges containing a vertex equals to which is the same number obtained when calculating the sum of the weight of edges containing in the first graph; Therefore the calculated number is an even number. Also, the sum of assigned weights to all the edges equals to which again, is the same number when calculating the sum of all the assigned weights in the previous graph; Thus, the calculated number is a multiple of three.
Therefore, according to the induction assumption, it is possible to assign some weights to the triangles of the graph such that the sum of the weights of the triangles containing an edge equals to the weight assigned to the edge itself.
Now assigning the same obtained weights to the first graph, the desired property is held and therefore the lemma is proved. □
Back to the problem. Assume that there are more than vertices in the graph defined in the statement of the problem. Assign the weight to all the edges in the subgraph, and to the others. Therefore, since the degree of each vertex in the subgraph is an even number, the sum of the weights of the edges containing it is an even number. Again, since the number of edges in the subgraph is a multiple of , the total sum of the weights of the subgraph is also a multiple of . Hence, according to the lemma, it is possible to assign some weights to the triangles of the graph so that the desired property is satisfied.
In case when the graph has vertices, the subgraph is either the triangle itself or does not contain any edge; Respectively, it suffices to assign weight and to the only triangle of the graph.
If the number of vertices of the graph is exactly , the graph has edges. Thus, the subgraph either has edges, edges or edges. If the number of edges of the subgraph is , it is concluded that the subgraph is the graph itself and therefore the degree of each vertex is , a contradiction. If the number of edges is , then the subgraph is a triangle along with an isolated vertex; So it suffices to assign weight to the triangle that all its edges are selected, and to the others.
In case when the graph has no edges, it suffices to assign weight to all triangles. ■
Proof. This lemma is proved using induction. The base of induction is when the graph has vertices. equations with integer coefficients, for variables can be obtained when considering each edge and triangles containing it. Firstly, these equations have a solution in real numbers. To show this, it suffices to show that the characteristic function for the weight of each edge is linear in its range. Let be the weight of edge and be the weight of triangle . It suffices to prove the claim when Let be the number of mutual vertices between triangle and edge . Therefore, it is concluded that So, the equation system has a solution in real numbers. Now consider the numbers with the desired property. The value of each is calculated as a linear combination of 's as which is an integer number; That is because is an integer number and also is an even number. Hence the claim for vertices is proved.
Assume the claim for a complete graph with vertices. Now consider a complete graph with vertices. Label the vertices of this graph by , and let be the number assigned to edge , and let be the number that is going to be assigned to the triangle . In this case Now given that 's are integers with even sum, we prove that the latest equation leads to an integer solution. This is also proved using induction; It's needed to prove this claim for . However, the claim is true for ; For , the desired values are and since is an even number, the 's are integers. Now assuming that for , , 's are integers, for it is deduced that meaning is an even number, and therefore, according to the assumption, equations lead to integer solutions, and so also lead to integer solutions.
Now assume that is the number assigned to edge . Consider a complete graph with vertices and assign the weight to edge . Thus the sum of the weights of the edges containing a vertex equals to which is the same number obtained when calculating the sum of the weight of edges containing in the first graph; Therefore the calculated number is an even number. Also, the sum of assigned weights to all the edges equals to which again, is the same number when calculating the sum of all the assigned weights in the previous graph; Thus, the calculated number is a multiple of three.
Therefore, according to the induction assumption, it is possible to assign some weights to the triangles of the graph such that the sum of the weights of the triangles containing an edge equals to the weight assigned to the edge itself.
Now assigning the same obtained weights to the first graph, the desired property is held and therefore the lemma is proved. □
Back to the problem. Assume that there are more than vertices in the graph defined in the statement of the problem. Assign the weight to all the edges in the subgraph, and to the others. Therefore, since the degree of each vertex in the subgraph is an even number, the sum of the weights of the edges containing it is an even number. Again, since the number of edges in the subgraph is a multiple of , the total sum of the weights of the subgraph is also a multiple of . Hence, according to the lemma, it is possible to assign some weights to the triangles of the graph so that the desired property is satisfied.
In case when the graph has vertices, the subgraph is either the triangle itself or does not contain any edge; Respectively, it suffices to assign weight and to the only triangle of the graph.
If the number of vertices of the graph is exactly , the graph has edges. Thus, the subgraph either has edges, edges or edges. If the number of edges of the subgraph is , it is concluded that the subgraph is the graph itself and therefore the degree of each vertex is , a contradiction. If the number of edges is , then the subgraph is a triangle along with an isolated vertex; So it suffices to assign weight to the triangle that all its edges are selected, and to the others.
In case when the graph has no edges, it suffices to assign weight to all triangles. ■
Techniques
Graph TheoryInvariants / monovariantsInduction / smoothing