In a regular pentagon, all diagonals are drawn. Initially, each vertex and each point of intersection of the diagonals is labeled by the number $1$. In one step it is permitted to change the signs of all numbers of a side or diagonal. Is it possible to change the signs of all labels to $−1$ by a sequence of steps?
My strategy was to make the regular pentagon as a graph and then partition the vertices into sets $A,B$ and $C$ where the vertices in each set are not adjacent to one another. Thus if we consider the quantity $$Q=(S_a-S_b)(S_b-S_c)(S_a-S_c)$$ then it is an invariant. Here $S_a$ is the sum of the numbers associated to each vertex in the set $A.$ Depending on how you come up with the partition one might get different values but I got $S_a=5,S_b=3$ and $S_c=2$ which on addition must give $10$ which makes sense as initially we had placed $1$ on each vertex. Thus $Q=6.$ However we want $Q=-6$ which happens when $S_a=-5,S_b=-3$ and $S_c=-2,$ which is a contradiction as $Q$ is an invariant.
Is this solution correct?