A matrix is a rectangular array of values, arranged in rows and columns.
Typically denoted by bold capital letters, such as A, B, C.
The size of a matrix is expressed as rows x columns (m x n), where m is the number of rows and n is the number of columns.
Example:
a11↓a21↓a31↓a41→→→→a12↓a22↓a32↓a42→→→→a13↓a23↓a33↓a43→→→→a14↓a24↓a34↓a44- aij denotes the element in the i-th row and j-th column.- aii represents the diagonal elements of the matrix.
Diagonal Matrices
A diagonal matrix is where entries outside the main diagonal are zero.
Typically denoted as D.
Example:
D=d10⋮00d2⋮0⋯⋯⋱⋯00⋮dn
Transpose of a Matrix
The transpose of a matrix is flipping it over its diagonal.
Denoted as AT
Example:
A=[acbd]⇒AT=[abcd]
Identity Matrix
A square matrix where all elements are 0, except for 1s on the main diagonal (from top left to bottom right).
When any square matrix A is multiplied by the identity matrix I, the result is the original matrix A itself.
Example:
In=10⋮002⋮0⋯⋯⋱⋯00⋮1Identity Matrix:Properties:I, where Iij={10if i=j,otherwise.For any square matrix A,AI=IA=A.
Scalar Multiplication
The product of a real number and a matrix.
Each entry in the matrix is multiplied by the given scalar.