Matrix Addition
Matrix
[A matrix] is a rectangular array of numbers.
Sizes
In general, a matrix of size mxn is of the form:
This is denoted as .
A
Ex:
A is of size [2x3 (rows x columns)||dimension].
B
B is [2x2||dimension].
C
C is [3x1||dimension].
Square matrices
Matrices of nxn are called [square] matrices.
Equality
Two matrices and are called [equal] if for all i and j.
Summation
If and are of the same size, their sum is
They have to be the same size.
Notes
- Addition is not defined for matrices of different sizes.
- If A,B and C are of the same size, then and .
A zero matrix will be denoted as 0.
Scalar Multiplication
Definition
If and k is a number, then Which is identical to multiplying each entry of A by k.
Example
If kA=0, show that either k=0 or A=0.
Proof: Write so that kA=0, means .
For all i and j:
- If , there is nothing to prove.
- if , and = 0, then for all i and j (i.e. A=0)
Some properties
A,B,C re matrices of size mxn, k & p are real numbers.
- a+b = b+a
- a+(b+c) = (a+b)+c
- 0+A = A for each A.
- a+(-A) = 0
- k(A+B) = kA+kB
- (k+p)A = kA + pA
- (kp)A = k(pA)
- 1A = A
Transpose of a matrix
Definition
If A is an m*n matrix, then transpose of A written as , is the n*m matrix where the [rows are the columns of A in the same order].
Example
Write down the transpose of each of the following matrices:
Solution
Theorem 2.1.2
A & B are matrices of the same size and k is a real number, then:
- If is an m*n matrix, then is [n*m||dimension].
Proof
1 is proved “by definition” a transpose
2: let then hence,
3:
4:
A+B = [cij], where cij = (aij + bij)
Then,
Def
If is an m*n matrix, the elements (on the diagonal) are called the [main diagonal].
Def
A matrix A is called [symmetric] if .
Ex: