|
6.
Process or Product Monitoring and Control
6.5. Tutorials 6.5.3. Elements of Matrix Algebra
|
|||
| Numerical examples of matrix operations | Numerical examples of the matrix operations described on the previous page are given here to clarify these operations. | ||
| Sample matrices |
If
|
||
| Matrix addition, subtraction, and multipication |
|
||
| Multiply matrix by a scalar |
To multiply a a matrix by a given scalar, each element of the matrix
is multiplied by that scalar
|
||
| Pre-multiplying matrix by transpose of a vector |
Pre-multiplying a p x n matrix by the transpose of a
p-element vector yields a n-element transpose
|
||
| Post-multiplying matrix by vector |
Post-multiplying a p x n matrix by an n-element vector
yields an n-element vector
|
||
| Quadratic form |
It is not possible to pre-multiply a matrix by a column vector,
nor to post-multiply a matrix by a row vector. The matrix product
a'Ba yields a scalar and is called a quadratic form. Note
that B must be a square matrix if a'Ba is to conform
to multiplication. Here is an example of a quadratic form
|
||
| Inverting a matrix | The matrix analog of division involves an operation called inverting a matrix. Only square matrices can be inverted. Inversion is a tedious numerical procedure and it is best performed by computers. There are many ways to invert a matrix, but ultimately whichever method is selected by a program is immaterial. If you wish to try one method by hand, a very popular numerical method is the Gauss-Jordan method. | ||
| Identity matrix |
To augment the notion of the inverse of a matrix,
A-1 (A inverse) we notice the following
relation
I is called the identity matrix and is a special case of a diagonal matrix. Any matrix that has zeros in all of the off-diagonal positions is a diagonal matrix. |
||