Matrices as a rectangular array of real numbers

A matrix is a rectangular array of numbers, which can be real numbers, complex numbers, or even other mathematical objects such as polynomials. In the case of matrices consisting of real numbers, each entry in the matrix is a real number. A matrix can be represented as a rectangular array of numbers enclosed by brackets.…