Matrix represents the bulk of our discussion as all possible discussed entities are arguably matrices with varying sizes.
Matrices are expressed through rows by cols, with
[1, 2, 3]
[4, 5, 6]
[7, 8, 9]
It may though be superficial, but what distinguishes between a vector or a matrix is that both m and n variables has to be greater than 1.
Notation of Elements
An element (or item) of a matrix is conventionally referred to by its location with
i being its row number, while
j being its column number
An element of matrix a(i, j) Hence, for Matrix "a" is particular, we could reference an element by calling for example "a one-two".
Matrix Arithmetic
Matrices can undergo addition, subtraction, and mostly multiplication, but never division (lol) 💀.
The following operations can be read at face-value. For example, Matrix-"some-entity" "some-operation" .
Matrix-Scalar Add/Subtract/Multiply Operation
Scalar-value is applied to all elements of the matrix.
[4657]+2=[(4+2)(6+2)(5+2)(7+2)]=[6879] [6879]−3=[(6−3)(8−3)(7−3)(9−3)]=[3546] [1324]×2=[(1×2)(3×2)(2×4)(4×2)]=[2648] Matrix-Matrix Add/Subtract Operation
Scalar-value of each elements are applied to respective elements of matrices.
Matrices must be of the same size
[1324]+[5768]=[(1+5)(3+7)(2+6)(4+8)]=[610812] [789]−[321]=[(7−3)(8−2)(9−1)]=[468] More on the next page ⏭