Two matrices A , B ∈ Mat m × n ( K ) {\displaystyle {}A,B\in \operatorname {Mat} _{m\times n}(K)} are added by adding corresponding entries. The multiplication of a matrix A {\displaystyle {}A} with an element r ∈ K {\displaystyle {}r\in K} (a scalar) is also defined entrywise, so
and