16.1 Properties of matrices
On the off-chance that someone other than me reads these, please don’t read this section in one go; it’s here for reference.
16.1.1 Introduction
A matrix has rows and columns. For example, a matrix would look something like this
Of course, the values in a matrix can be anything. If we want to denote a matrix having only real numbered elements, we can write this as (we can also do the same for other sets, for example for an by matrix whose elements are all natural numbers).
We can also define a matrix using the notation
This means that the th column of the th row is equal to .
16.1.2 Adding matrices
Adding matrices is fairly straightforward - we just add all elements in the same position in the matrices we are adding (this does imply, however, that we can only add together matrices which are of the same size).
For example, to add
We just add the first item of the first row of the first matrix with the first item of the first row of the second matrix and so on…
16.1.3 Properties of matrix addition
For all matrices and , there exists a value such that
Property 16.1.1
For all values of there exists an matrix , such that all matrices satisfy the property
Property 16.1.2
It is also the case that for any matrix , there exists a matrix , such that
Property 16.1.3
For all matrices and , it is the case that
Together, all these properties mean that forms an Abelian Group under multiplication.
16.1.4 Matrix multiplication
Multiplying two matrices is a strange and at first unfamiliar thing. The fundamental principle is that when we multiply two matrices and , we obtain a new matrix, , whose th entry in the th row is defined as
16.1.5 Properties of matrix multiplication
Matrix multiplication has a number of useful properties, for example
-
•
It is associative; we can change the order in which we multiply several matrices together without changing the result (i.e. ).
-
•
Matrix multiplication is distributive over matrix addition (i.e. we can factorise matrices, mathematically: ).
Important: matrix multiplication is not commutative (i.e. ).
16.1.6 The identity matrix
In the same way that we have the number which is an \sayidentity (or \sayneutral) element for multiplication in the real numbers 11 1 And also the natural numbers, integers, rational and irrational numbers., we have an identity matrix. This is usually denoted with the letter and by definition satisfies the property that for any matrix and any matrix , it is the case that
We can define as
That is, a diagonal line of s and everywhere else. For example, for the dimension , is
And for the case, it is
The same is true for higher dimensions.
16.1.7 Raising matrices to powers
- Example
-
: The matrix is defined as
(16.15)By considering , , and , make a conjecture about , and then prove this conjecture by induction.
- Solution
-
: Although it’s tempting to reach for one’s calculator to compute , , and , it makes things harder.
When we multiply by , we get that
(16.16)If we then multiply this by again, we get that
(16.17)We can multiply out the bracket and get that
(16.18) (16.19) (16.20) Simplifying here is a bad idea, as we’re looking for patterns, and these are easier to spot when we have more information to work with (which we do when we think about the factors of our numbers.)
Multiplying to find we get that
(16.21)We can simplify this a bit, because
(16.22) This implies that
(16.23)Looking at these four matrices, the general shape is something like
(16.24)There’s another way of doing this, but the maths behind it isn’t on the A Level specification. It’s the way I originally did it.
From the initial multiplication, we can see that the general shape of is
(16.25)Here the denotes the confusion about what is. In terms of notation, it’s slightly more handy to call something more like .
We can also write the matrix as .
(16.26)We can apply the standard rules of matrix multiplication to the above.
(16.27)We can compare the value of we have computed here (in terms of ) to the one we’d like to know (that of ). This gives
(16.28)We also know that . To find a closed-form expression for , we can just keep substituting:
(16.29) (16.30) (16.31) (16.32) (16.33) The last step isn’t necessarily immediately obvious (doing the expansion by hand might make it easier to understand). The other way to think about this is by using one of the helpful heuristics looked at in the heuristics section, in this case \saywherever possible, draw a diagram 22 2 Unfortunately, it’s not a great diagram (but I tried)..
The sum of each node in the tree is - the s are drawn as children of the parent node. We want to find the sum of all the nodes in the tree. To do this, note that we have levels of the tree and at each level the nodes sum to , and thus overall we have that is equal to the sum of all the nodes, which is equal to .
It’s all downhill (in difficulty) from here!
For the proof by induction, if we set
(16.34)then we want to show that for every natural number.
We start with the basis case: as , it is clear that .
For the inductive step, we assume that , and then we consider , which is equal to . To this expression, we can now apply the inductive hypothesis (always be looking at to see where has been hidden!) and thus this expression is equal to . We can then carry out the multiplication
(16.35)This can then be rewritten as
(16.36)and as is equal to we have that
(16.37)The final step is to rewrite the as , and then we have
(16.38)Thus as is true for and implies that is true, must hold for all .