A matrix is a rectangular array of numbers, symbols, or expressions arranged in rows and columns. It is commonly written with elements separated by commas and enclosed in brackets. A matrix can be classified based on its dimensions as row, column, square, or rectangular. Basic matrix operations include addition, subtraction, scalar multiplication, and multiplication of two matrices. Matrix multiplication is only defined when the inner dimensions are equal.