## Matrix notation and summation

This is the beginning of a minicourse in matrix algebra.

### Matrix notation

There are two kinds of problems when learning matrices: technical, aka boring, details, such as the matrix notation, and ideological, when you need to think as a mathematician. Neither techniques nor ideas will be repeated. When I tell you a new fact, you need to learn it there and then.

A **matrix** is a rectangular table of numbers. When we say that a matrix is of size by it means that it has rows and columns. The first technical problem of working with matrices consists in learning the notation and counting dimensions. A full notation for a matrix of size is

Observe that matrices are denoted with uppercase letters and numbers with lowercase ones. An element of a matrix is provided with two subscripts: the first subscript indicates the row the element is in and the second subscript points to the column the element is in. Often instead of the above full notation a shorter one is used:

Two cases are of special interest: matrices with one column, called **column vectors**, and with one row, called **row vector**s. The notation for the two is

(obviously, for vectors generic elements can be provided with one subscript). For now enough of boring stuff.

### Vector summation

**Global idea 1**. You know what is a matrix, when you know what operations can be performed with it. To introduce or understand those operations, look at properties of numbers and see if they have analogs for matrices. We start realizing this idea using vectors.

**Intuition**. Suppose a bank has customers, and each of them has two account types: a checking account, that pays no interest, and a deposit, an interest bearing account. All checking accounts can be collected in a vector and all deposits can be put into another vector If the bank wants to know the overall holdings of each customer, it can find them by adding the two vectors:

(1)

(adding a checking account of one customer to a deposit account of another customer wouldn't make sense). Elements of a vector are also called its **components** or **coordinates**, so (1) means component-wise summation. Note that we can do this only if the vectors have the same number of components.

**Mathematical reasoning**. Summation of numbers has the following properties:

A) **Commutativity**: for any two numbers

B) **Associativity**: for any three numbers

C) **Existence of zero**: there is a special number, denoted such that for any number

D) **Existence of an opposite number**: for any number there is another number, denoted , such that

After this we say that two numbers are equal if their difference is zero: if and only if

**Exercise 1**. 1) Does vector summation have properties similar to A) and B)? 2) What vector would you call a zero vector? What property does it have? 3) For a given vector how would you define its opposite What property does it have? 4) When two vectors can be considered equal?

**Remark**. When formulating properties similar to A)-D), be careful with existence ("there is") and universality ("for any") clauses.

### Matrix summation

**Exercise 2**. 1) Before formulating properties of matrix sums, ask yourself when do they exist? In other words, under what condition on matrix dimensions we can add them? Then you can define a sum. 2) Does matrix summation have properties similar to A) and B)? 2) What matrix would you call a zero matrix? What property does it have? 3) For a given matrix how would you define its opposite What property does it have? 4) When two matrices can be considered equal?

## Leave a Reply

You must be logged in to post a comment.