A matrix isn't just a movie that came out in 1999 starring Keanu Reeves. It's also an important mathematical concept with a rich history that goes back to 200 BC and has applications for our modern world.
When looking back at history, the Babylonians were the first to study simultaneous linear equations, but the Chinese between 200 BC and 100 BC came much closer to our idea of a matrix (O'Connor & Robertson 1996). The first use of matrices can be found in the book Nine Chapters on the Mathematical Art. It describes a problem that involves bundles of corn and uses a matrix with coefficients from several linear equations. The author then uses what is now referred to as Gaussian elimination to solve the problem (O'Connor & Robertson 1996). Gaussian elimination is a way to convert a matrix such that the main diagonal numbers are 1's and below the diagonal are 0's. Here is an example:
1 | 2 | 3 |
0 | 1 | 5 |
0 | 0 | 1 |
A matrix is a rectangular arrangement of numbers into rows and columns (Intro to matrices. 2006). Here is an example of a matrix:
1 | 2 | 3 |
a | b | c |
2 | 4 | 11 |
5 | 7 | 23 |
Matrices have a variety of applications. The first application we will look at is how matrices are used in video games. Video games use matrices to animate figures that we can control in the game (Yip 2001). They do this by manipulating points with matrix properties like translations, rotations, and scaling. For example, when looking at this image from Yip,
1 | 0 | 88 |
0 | 1 | 100 |
0 | 0 | 1 |
cosθ | -sinθ | 0 |
sinθ | cosθ | 0 |
0 | 0 | 1 |
If you want to try the Hill Algorithm, try to decipher this message: "Hoang ecw hvz qeetbzf ig eilduncB." If you are having trouble, you can use the website provided in this link or make your own cipher.