Linear Algebra

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

  1. Addition is not defined for matrices of different sizes.
  2. 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.

  1. a+b = b+a
  2. a+(b+c) = (a+b)+c
  3. 0+A = A for each A.
  4. a+(-A) = 0
  5. k(A+B) = kA+kB
  6. (k+p)A = kA + pA
  7. (kp)A = k(pA)
  8. 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:

  1. 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: