Professional Documents
Culture Documents
MAIN VIDEO:-
A matrix is just another way of representing data. An m×n matrix has m rows and n columns, and each entry is
given a unique name, based on its row and column:
A=
The number of rows and the number of columns are called dimensions. Here is an example of a 3×2 -dimensional
matrix:
A=
The number a 12 is the number in the 1st row and the 2nd column. Thus, a 12 = 16 . a 21 is the number in the 2nd row and
the 1st column. Thus, a 21 = - 12 .
a 11 = 1
a 12 = 16
a 21 = - 12
a 22 = -
a 31 = 4
a 32 = 0
Matrix Addition
Two matrices can be added if and only if they have the same number of rows and the same number of columns. To add
two matrices, add their corresponding entries:
[A] + [B]
= +
For example,
+ =
=
Matrix Subtraction
As in addition, two matrices can be subtracted if and only if they have the same number of rows and the same number of
columns. To subtract one matrix from another, subtract their corresponding entries:
[A] - [B]
= -
For example,
- =
2. Matrix Multiplication
± =
For example,
5 =
4( + )=4 +4
matrix). To
To multiply two matrices, we first must know how to multiply a row (a 1×p matrix) by a column (a p×1
multiply a row by a column, multiply the first entry of the row by the first entry of the
column. Then multiply the second entry of the row by the second entry of the column,
and so on, and add all the results. The answer should be a single number. For example,
A row can be multiplied by a column if and only if the row and the column have the same number of entries. Similarly, two
matrices can be multiplied if and only if the first matrix has the same number of columns as the second matrix has rows.
That is, two matrices can be multiplied if and only if they have the dimensions m×p and p×n . The answer will be a matrix
with the same number of rows as the first matrix and the same number of columns as the second matrix. In other words, it
will be of dimension m×n .
PARGRAPH To multiply two matrices, multiply each row in the first matrix by each column in the second matrix. Place the
result of multiplying the 1st row by the 1st column in the 1st row and 1st column of the answer matrix. Place the result of
multiplying the 1st row by the 2nd column in the 1st row and second column of the answer matrix. In general, place the
result of multiplying row i by column j in row i and column j of the answer matrix.
=?
Row 1, column 1:
Row 1, column 2:
Row 1, column 4:
Row 2, column 1:
and so on...
The identity property of addition states that when zero is added to any real number, the number does not change. Thus,
the number "0" is called the additive identity for real numbers.
This matrix is also denoted [0]. When [0] is added to any matrix of the same dimensions,
the matrix does not change. For example,
+ =
The identity property of multiplication states that when 1 is multiplied by any real number, the number does not change;
that is, any number times 1 is equal to itself. The number "1" is called the multiplicative identity for real numbers.
I=
This matrix, denoted I , is a square matrix. When any m×n matrix is multiplied on the left by an m×m identity matrix, or on
the right by an n×n identity matrix, the m×n matrix does not change. For example,
and
=
4. The Inverse of a matrix
[c d]
Solution
[c' d']
AB = I
[a b][a' b'] = [1 0]
[c d][c' d'] [0 1]
We need to find terms a', b', c' and d' of B (inverse) in terms of a, b, c and d
which are the terms of matrix A. Multiply matrices A and B above.
[a a' + b c' a b' + b d']= [1 0]
We now need to solve the first and second equations simultaneously to find a'
and c' in terms of a, b, c and d.
Multiply the first equation by d and the second equation by b and subtract the left
and right terms of the equations obtained to find
a'(a d - b c) = d
a ' = d / (a d - b c)
To find b' and d', multiply equation (3) by d and equation (4) by b and subtract the
left and right terms of the equations obtained to find
b'(a d - b c) = - b
or b' = - b / (a d - b c)
[-c a]
In solving the question in the above example, we have found a formula for the
inverse of any invertible 2 x 2 matrix. A 2 x 2 matrix will have an inverse if it
determinant D = a d - b c is not equal to zero since division by zero is not
allowed.
Example 2: Use the above formula for the inverse of a 2 x 2 square matrix to find
the inverse of
A = [3 5]
[2 3]
Solution
[-2 3]
Simplify to obtain
A -1
= [ -3 5 ]
[2 -3]