4

Can we think of matrices as surjective functions where; $i,j$ (the indices) represent the inputs and $z$ (the element at that particular position)? Further, ($i,j,z$) as an ordered triplet...

The reason why I ask, is because, then that could possibly allow us to think of matrix multiplication as a composition of sorts, right?

I think that this approach works, but I'm new to the matrices, so I wanted to check here. I've heard of linear maps, but I don't think that they're what I'm aiming for. Are they?

Sebastiano
  • 7,649
idk
  • 125

1 Answers1

7

You can indeed think of a matrix as a function sending the indices to the corresponding entry. Technically speaking, this is exactly the definition of a matrix. The notation $A = (a_{ij})_{1 \leq i \leq n, 1 \leq j \leq m}$ for an $n \times m$-matrix shows this. $A$ is the function $(i, j) \mapsto a_{ij}$.

There is also another way to interpret matrices as functions. Namely, you can interpret a matrix $A$ as the unique linear map $f_A$ sending the $i$-th standard vector to the $i$-th column of $A$. This is the linear map $f_A \colon x \mapsto Ax$ using matrix-vector-multiplication. Using this interpretation, multiplication of matrices corresponds exactly to composition of functions, as can be seen by a computation: $$ (f_A \circ f_B)(x) = f_A(f_B(x)) = A(Bx) = (AB)x = f_{AB}(x) $$ This interpretation of matrices is a very important point in linear algebra. One proves that after a choice of bases all linear maps between finite-dimensional vector spaces can be described by a matrix in this way.

Tzimmo
  • 1,299