Lably
Skip to content

Fourier–Motzkin elimination

  • 5 min read
  • 5 chapters

Related on Lably

Through Algorithm, Linear inequality and Real number

The algorithm is named after Joseph Fourier who proposed the method in 1826 and Theodore Motzkin who re-discovered it in 1936.

Elimination

The elimination of a set of variables, say V, from a system of relations (here linear inequalities) refers to the creation of another system of the same sort, but without the variables in V, such that both systems have the same solutions over the remaining variables.

If all variables are eliminated from a system of linear inequalities, then one obtains a system of constant inequalities. It is then trivial to decide whether the resulting system is true or false. It is true if and only if the original system has solutions. As a consequence, elimination of all variables can be used to detect whether a system of inequalities has solutions or not.

Consider a system S of n inequalities with r variables x1 to xr, with xr the variable to be eliminated. The linear inequalities in the system can be grouped into three classes depending on the sign (positive, negative or null) of the coefficient for xr.

  • those inequalities that are of the form xr≥bi−∑k=1r−1aikxk; denote these by xr≥Ai(x1,…,xr−1), for i ranging from 1 to nA where nA is the number of such inequalities;
  • those inequalities that are of the form xr≤bi−∑k=1r−1aikxk; denote these by xr≤Bi(x1,…,xr−1), for i ranging from 1 to nB where nB is the number of such inequalities;
  • those inequalities in which xr plays no role, grouped into a single conjunction ϕ.

The original system is thus equivalent to

max(A1(x1,…,xr−1),…,AnA(x1,…,xr−1))≤xr≤min(B1(x1,…,xr−1),…,BnB(x1,…,xr−1))∧ϕ.

Elimination consists in producing a system equivalent to ∃xrS. Obviously, this formula is equivalent to

max(A1(x1,…,xr−1),…,AnA(x1,…,xr−1))≤min(B1(x1,…,xr−1),…,BnB(x1,…,xr−1))∧ϕ.

The inequality

max(A1(x1,…,xr−1),…,AnA(x1,…,xr−1))≤min(B1(x1,…,xr−1),…,BnB(x1,…,xr−1))

is equivalent to nAnB inequalities Ai(x1,…,xr−1)≤Bj(x1,…,xr−1), for 1≤i≤nA and 1≤j≤nB.

We have therefore transformed the original system into another system where xr is eliminated. Note that the output system has (n−nA−nB)+nAnB inequalities. In particular, if nA=nB=n/2, then the number of output inequalities is n2/4.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Scientists, inventors and mathematicians