# Section 3.5.2: Additional Notes - Reducing the number of equations

Consider:

We note that:

• f1 and f2 can be rearranged and solved sequentially for x1 and x2

• Even when x1 and x2 are known, f3 to f5 cannot be reordered to enable x3, x4 and x5to be obtained sequentially.

• However, x6 only appears in f6 , so that after we have solved f3 to f5, then x5 will be known, and we can solve f6 on its own for x6.

We can call the subset (f1,f2) the head of the equation set, andf6 the tail. (In general, of course, the equations need not have been numbered and ordered so that these appeared at the top and bottom of the list of equations!)

# Partitions

The group (f3,f4,f6) is called a partition of the set of equations and represents a subset that must be solved simultaneously. If we delete x1 andx2, which will be known after solvingf1 andf2, the partition is:

There are three equations in three unknowns, so our `work factor' is 32 = 9, only a quarter of that for the complete set.

# Incidence Matrix

The partition is identifiable as the the group of equations with above diagonal elements.

# Tearing

The partition alone is 3 equations, f3, f4, f5 in

These can be solved as follows:

Rearrange f3 to give x5 , in terms of x3 , i.e:

Similarly f5 to give x4 in terms of x5 :

And finally either: Evaluate f4 ; if terminate; otherwise adjust x3

This procedure is referred to as tearing the set of equations, reducing them here to solution for a single unknown x3 , called the tear variable.

The incidence matrix:

has one variable with a supra-diagonal element; this tells us that we can reduce the equations to solving for a single variable.

# Solution by Tearing

The procedure can be represented:

Clearly any one of x3 , x4 or x5 could have been chosen as the unknown.

# Summarizing ...

Solve essentially by rearranging the equations from the form:

into:

, the output set of the equations contains all the xi from but not necessarily in the same order. For the example above ... Head:

Partition:

Tail:

# Equation set as a Graph

One and only one edge may leave an equation node. One and only one edge may enter a variable node. Partition cycle shown bold.

# Bubble Point Calculation Revisited

Given a liquid mixture of n components with mol fraction composition , at pressure P , determine the temperature T , and the composition yi of the vapour in equilibrium with the liquid.
 P*i - P*i(T) = 0 (1) = 0 (2) yi - ki xi = 0 (3) = 0 (4)

The range of i and the summation is from 1 to n , the number of components.

With the equations in the above sequence and the output set, say for a binary, chosen to be:

The incidence matrix is:

The final, summation, equation does not involve T explicitly. However, for any value of T the value of the function can be determined, and will be zero when T satisfies the equations.