Skip to main content

[Community Question] Linear-algebra: System of Linear Equations with the solution(s) being permutations of a given set

One of our user asked:

Consider the system of equations

$$x_1 + x_2 + x_5 + x_6 = 26 \\x_2 + x_3 + x_7 + x_8 = 26 \\x_3 + x_1 + x_9 + x_4 = 26 \\x_4 + x_5 + x_{10} + x_{12} = 26 \\x_6 + x_7 + x_{10} + x_{11} = 26 \\x_8 + x_9 + x_{11} + x_{12} = 26$$

We need to find a solution such that $x_i = \sigma(i)$ for some permutation $\sigma$ of the set $\{k : k \le 12, k \in \Bbb N \}$.

The need to solve this system arose for an exercise from Pearls in Graph Theory by Hartfield and Ringel. I know that using a system like this may not be an efficient way for the graph problem, but for now I would like some insight on the equations by themselves without explicitly relying on the graph problem.

I only know that such solution(s) exist because the question asked for one and I would not be able to justify its existence without finding a solution.

Here's what I have tried so far:

  • Some things can be obtained from the symmetry (I'm not sure if this is the right word) like $$x_1 + x_2 + x_3 = x_{10} + x_{11} + x_{12}$$ and since all the variables are equivalent, we can freely fix one of the variables. For convenience, let this simply be $x_1 = 1$. This is clear when the equations are put in context of the original graph question, but not so much to me if only the equations and constraints in the question are known.

  • Also we can obtain a new solution from a solution by performing some swaps. For example, exchanging $x_1$ with $x_2$, $x_5$ with $x_6$, $x_4$ with $x_7$, $x_{11}$ with $x_{12}$, and $x_8$ with $x_9$. Again this is clearly evident when rotations and reflections of the graph in the original problem are considered, but I would like another angle of looking at these solutions that can be generated from one such solution.

  • I could not really get anywhere with the above facts, so I just started afresh with Gaussian Elimination since I just learnt about it recently, but stopped midway since I couldn't think of how to use the fact that the solution must be a permutation directly with the matrix. Some online tool gave me a solution with only $6$'s and $7$'s for just the equations but I couldn't see how that may be useful.

  • I then used a simple python script to just brute-force its way through all permutations and find which satisfy the equations. This confirmed one thing for me that even after fixing $x_1 = 1$, we are free to choose $x_2$ or some other $x_i$ though not for all.

  • Next I started to solve after fixing $x_1 = 1$ and $x_2 = 2$. We get that $x_5$ and $x_6$ must be $11$ and $12$ in some order. I then arbitrarily chose $x_5 = 12$ and $x_6 = 11$ for which I had no justification other than the above script showing that either order was acceptable. Proceeding in this fashion with some trial-and-error and backtracking I finally arrived at $(1, 2, 9, 6, 12, 11, 8, 7, 10, 3, 4, 5)$.

I am primarily looking for efficient ways of solving this system of equations.

Secondly I would like explanations or some reference where I may better understand all the little aspects above that weren't very clear from an algebraic point of view such as the existence of solution(s) in general, existence of free variables, etc.


Comments

Popular posts from this blog

[Community Question] Calculus: Manifold with boundary - finding the boundary

One of our user asked: I have the manifold with boundary $M:= \lbrace (x_1,x_2,x_3) \in \mathbb R^3 : x_1\geq 0, x_1^2+x_2^2+x_3^2=1\rbrace \cup\lbrace (x_1,x_2,x_3) \in \mathbb R^3 : x_1= 0, x_1^2+x_2^2+x_3^2\leq1\rbrace$ and I need to find the boundary of this manifold. I think it is $\lbrace (x_1,x_2,x_3) \in \mathbb R^n : x_1= 0, x_2^2+x_3^2=1\rbrace$ , the other option is that the boundary is the empty set? I think the first is right? Am I wrong?

[Community Question] Linear-algebra: Are linear transformations between infinite dimensional vector spaces always differentiable?

One of our user asked: In class we saw that every linear transformation is differentiable (since there's always a linear approximation for them) and we also saw that a differentiable function must be continuous, so it must be true that all linear operators are continuous, however, I just read that between infinite dimensional vector spaces this is not necessarily true. I would like to know where's the flaw in my reasoning (I suspect that linear transformations between infinite dimensional vector spaces are not always differentiable).

Order of elements of the Prüfer groups $\mathbb{Z}(p^{\infty})$

Let $\mathbb{Z}(p^{\infty})$ be defined by $\mathbb{Z}(p^{\infty}) = \{ \overline{a/b} \in \mathbb{Q}/ \mathbb{Z} / a,b \in \mathbb{Z}, b=p^i$ $ with$ $ i \in \mathbb{N} \}$ , I wish show that any element in $\mathbb{Z}(p^{\infty})$ has order $p^n$ with $n \in \mathbb{N}$ . i try several ways but I have not been successful, some help ?? thank you