Optimization of Chemical Processes (CHE1011)
Optimization of Chemical Processes (CHE1011)
Optimization of Chemical Processes (CHE1011)
CHEMICAL PROCESSES
(CHE1011)
11
Vector
Vector is a directed line segment in N-dimensions.
It has both “length” and “direction”.
Vector in Rn is an ordered set of n real numbers.
v = (1,6,3,4) is in R4
a
a b
T
1 b
column vector: 6
3
4
row vector: (1 6 3 4)
Vector Addition and Vector Subtraction
u1 v1 u1 v1
uv
u 2 v 2 u 2 v 2
u1 v1 u1 v1
u v
u2 v2 u1 v2
The difference of two vectors is the result of adding a negative vector
A – B = A + (-B)
Properties of Vector Addition
Commutative: A+B = B+A
1
v1 5v2
2
0.5v2 0v1 0.5v2
Linear Independence
A set of vectors {v1, v2, …, vk} is called linearly dependent if
there exist scalars c1, c2, …, ck ,
not all zero, such that c1v1 + c2v2 + … + ckvk = 0
Matrix Multiplication:
The Determinant of a Square Matrix
C-1 = B-1A-1.
Inverse of a Matrix
The inverse (A-1) is defined such that A A-1 is I. Not
every matrix has an inverse.
If no inverse exists, then the matrix is called singular
(non invertible, Det = 0)
If A is non-singular, then A-1 is also non-singular.
If A, B are non-singular, then AB is also non singular
and (AB) -1 = B -1A -1
• (ABC)-1 = C-1B-1A-1
• If A is non-singular, then its transpose is also non-
singular. Also, (AT ) -1 = (A-1)T
Rank of a Matrix
• The rank of a matrix is defined as
rank(A) = the number of linearly independent rows
= the number of linearly independent columns
• If a matrix A of dimension m × n (where n < m) is
of rank n, then A has maximum possible rank and
is said to be of full rank.
• r(O)=0. As long as A is not 0, r(A) > 0.
• In general, the maximum possible rank of an
(m × n) matrix A is min(m, n).
Elementary Row and Column Operations
The following elementary row or column operations yield an
equivalent system:
Interchanges: Two rows (or columns) can be interchanged
Scaling: Multiplying a row (or column) by a nonzero
constant
Sum: The row (or column) can be replaced by the sum of
that row (column) and a nonzero multiple of any other row
(column).
Elementary operations do not change the rank. One can use
ERO and ECO to find the rank of a matrix as follows:
ERO⇒minimum # of rows with at least one nonzero entry
ECO⇒minimum # of columns with at least one nonzero entry