Skip to main content
deleted 3 characters in body
Source Link
Tony Huynh
  • 32.1k
  • 11
  • 112
  • 187

Here is a proof that it is always possible by keeping at most $n+1$ equations throughout.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then, the The coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $\sum_{i \notin I} q_iA_i$$\sum_{i \notin I} -q_iA_i$, and $\sum_{i \in I} q_ib_i \geq \sum_{i \notin I} q_ib_i$$\sum_{i \in I} q_ib_i \geq \sum_{i \notin I} -q_ib_i$. Thus, we may subtract $\sum_{i \notin I} q_iA_i$$\sum_{i \notin I} -q_iA_i$ from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

Here is a proof that it is always possible by keeping at most $n+1$ equations throughout.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then, the coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $\sum_{i \notin I} q_iA_i$, and $\sum_{i \in I} q_ib_i \geq \sum_{i \notin I} q_ib_i$. Thus, we may subtract $\sum_{i \notin I} q_iA_i$ from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

Here is a proof that it is always possible by keeping at most $n+1$ equations throughout.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. The coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $\sum_{i \notin I} -q_iA_i$, and $\sum_{i \in I} q_ib_i \geq \sum_{i \notin I} -q_ib_i$. Thus, we may subtract $\sum_{i \notin I} -q_iA_i$ from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

deleted 19 characters in body
Source Link
Tony Huynh
  • 32.1k
  • 11
  • 112
  • 187

Here is a proof that it is always possible by keeping at most $n+1$ equations throughout.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then for all $j \notin I$, the coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $q_jA_j$$\sum_{i \notin I} q_iA_i$, and $\sum_{i \in I} q_ib_i \geq q_jb_j$$\sum_{i \in I} q_ib_i \geq \sum_{i \notin I} q_ib_i$. Thus, we may subtract these equations$\sum_{i \notin I} q_iA_i$ from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

Note that this method only needs to retain at most $n+1$ equations throughout. I am not sure if keeping only $n$ equations is possible.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then for all $j \notin I$, the coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $q_jA_j$, and $\sum_{i \in I} q_ib_i \geq q_jb_j$. Thus, we may subtract these equations from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

Note that this method only needs to retain at most $n+1$ equations throughout. I am not sure if keeping only $n$ equations is possible.

Here is a proof that it is always possible by keeping at most $n+1$ equations throughout.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then, the coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $\sum_{i \notin I} q_iA_i$, and $\sum_{i \in I} q_ib_i \geq \sum_{i \notin I} q_ib_i$. Thus, we may subtract $\sum_{i \notin I} q_iA_i$ from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

added 139 characters in body
Source Link
Tony Huynh
  • 32.1k
  • 11
  • 112
  • 187

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then for all $j \notin I$, the coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $q_jA_j$, and $\sum_{i \in I} q_ib_i \geq q_jb_j$. Thus, we may subtract these equations from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

Note that this method only needs to retain at most $n+1$ equations throughout. I am not sure if keeping only $n$ equations is possible.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then for all $j \notin I$, the coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $q_jA_j$, and $\sum_{i \in I} q_ib_i \geq q_jb_j$. Thus, we may subtract these equations from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

Suppose the system $Ax=b$ has a unique solution $c \in \mathbb{Q}_{\geq 0}^n$, where $A \in \mathbb{Z}_{\geq 0}^{n \times n}$ and $b \in \mathbb{Z}_{\geq 0}^n$. Note that the equation $x_1=c_1$ can be written as a linear combination of equations which appear in $Ax=b$. Thus, there exist $q_1, \dots, q_n \in \mathbb{Q}$ such that $\sum_{i=1}^n q_iA_i=e_1$ and $\sum_{i=1}^n q_i b_i=c_1$, where $A_i$ is the $i$th row of $A$ and $e_1$ is the first standard basis vector. Let $I$ be the set of indices $i$ such that $q_i \geq 0$. Then for all $j \notin I$, the coefficients of $\sum_{i \in I} q_iA_i$ dominate the coefficients of $q_jA_j$, and $\sum_{i \in I} q_ib_i \geq q_jb_j$. Thus, we may subtract these equations from $\sum_{i \in I} q_iA_i$ to derive $x_1=c_1$. Then just repeat for each variable.

Note that this method only needs to retain at most $n+1$ equations throughout. I am not sure if keeping only $n$ equations is possible.

Source Link
Tony Huynh
  • 32.1k
  • 11
  • 112
  • 187
Loading