0% found this document useful (0 votes)
11 views3 pages

Handout Matrices

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

Review of Matrices and Vectors

Matrices and vectors are used quite often to describe transformations or symmetry operations of
molecules. It is important to remember that matrices are merely a very compact means of notation; the
is nothing that absolutely requires the use of a matrix. However, matrices and vectors are so convenient
that those of you comfortable with them may choose to use them instead of the graphical method. This
handout should help you refamiliarize with some of the basic rules and properties of matrices and
vectors.
An m x n matrix is an ordered rectangular array of elements containing m rows and n columns.
Each matrix element is given two indices, the first identifying the row and the second identifying the
column:

A square matrix is one in which the number of rows equals the number of columns. A column
vector (or just a plain vector) has only one column, and a row vector has only one row. For the purposes
of this course, we will only be concerned with square matrices and column vectors. A column vector
has m rows and one column, and can be thought of as an m x 1 matrix.
Two matrices, A and B are equal if, and only if, all of their elements are equal:

A = B if aij = bij for all i and j

Adding two matrices is straightfoward and is achieved through the addition of each element:

If C = A + B, then cij = aij + bij for all i and j

Two matrices, A and B, can only be added if they have the same dimensions (same number or rows and
columns).
The most important way in which matrices differ from numbers is in they way in which they are
multiplied. The product of A and B is defined only if the number of column is A equals the number of
rows in B. The resulting product will be a matrix with the same number of rows as A and the same
number of columns as B.
An easy way of looking at matrix multiplication is to write down the dimensions of the two
matrices, in the order they are being multiplied. The “middle” dimensions must match, and the “outer”
dimensions become those of the product matrix. For example, if A is an m x n matrix and B is an n x m
matrix, then the product, C will be an m x m matrix:
A • B = C
mxn nxm mxn
|______|
must match

Note that if D = B • A, then D is an n x n matrix. Thus, matrix multiplication is not commutative, since
C and D do not even have the same dimensions. However, the multiplication of square matrices may or
may not be commutative. Because the order of multiplication is important, if we refer to the product of
A and B, we mean that A is on the left and B is on the right (A • B). The product of B and A would
refer to the reverse order, B • A.
You should convince yourself that the following statements are true:
(1) The product of two square matrices is a square matrix of the same dimension.
(2) The product of an n x n matrix and an n x 1 column vector is another n x 1 column vector.
(3) The product of an n x 1 vector and an n x n matrix is not defined.
(4) The product of a 1 x n row vector and an n x 1 column vector is a single number, called a
scalar.
(5) Reversing the order of (4) will produce an n x n matrix.
If C = A • B, the element of C are not simply the direct product of the elements of A and B. The
element in the ith row and jth column of C, cij, is obtained by matching the ith row of A with jth row of
B, multiplying the corresponding elements and summing up all of these products. Because it is hard to
put into words, let us consider the following 2 x 2 matrices, A and B, and their product, C = A • B:

such that the element c11 = (a11•b11) + (a12•b21), c12 = (a11•b12) + (a12•b22), c21 = (a21•b11) + (a22•b21),
and c22 = (a21•b12) + (a22•b22). Using numbers,

Here, to get c11 (19), we match up the first row of A with the first column of B, take the products of
these (1 • 5 = 5 and 2 • 7 = 14), and sum up the products (5 + 14 = 19). You should verify that you can
also obtain the other elements in matrix C on your own.
In general, matrix multiplication can be expressed compactly as the algebraic statement:

cij = Σ aik bkj


k
Below are the matrices that define the operations that we will be using in this course.

1 0 0 -1 0 0

E = 0 1 0 i = 0 -1 0

0 0 1 0 0 -1

-1 0 0 1 0 0 1 0 0

σx = σyz = 0 1 0 σy = σxz = 0 -1 0 σz = σxy = 0 1 0

0 0 1 0 0 1 0 0 -1

cos(2π/ n) –sin(2π/ n) 0 cos(2π/ n) –sin(2π/ n) 0

Cnz = sin(2π/ n) cos(2π/ n) 0 Snz = sin(2π/ n) cos(2π/ n) 0

0 0 1 0 0 -1

1 0 0 -1 0 0

Cnx = 0 cos(2π/ n) –sin(2π/ n) Snx = 0 cos(2π/ n) –sin(2π/ n)

0 sin(2π/ n) cos(2π/ n) 0 sin(2π/ n) cos(2π/ n)

cos(2π/ n) 0 sin(2π/ n) cos(2π/ n) 0 sin(2π/ n)

Cny = 0 1 0 Sny = 0 -1 0

–sin(2π/ n) 0 cos(2π/ n) –sin(2π/ n) 0 cos(2π/ n)

0 1 0 0 -1 0

σx=y = 1 0 0 σx=–y = -1 0 0

0 0 1 0 0 1

You might also like