# What is Square Matrix? Examples and Properties

A square matrix is a type of matrix in which number of rows is equal to number of columns. Matrix P = [xij]m x n is said to be a square matrix when m = n. Here m is the number of rows and n is the number of columns. A square matrix P of order n has n rows and n columns.

Contents

The elements xij (such that i = j) i.e. x11, x22, x33,………, xnn are called diagonal elements. The elements xij (such that i ≠ j) i.e. x12, x21, x13,……… are called off-diagonal elements. The line along which diagonal elements lie is known as diagonal of matrix or principle diagonal of matrix.

## Square Matrix Examples

The example of a 3 x 3 square matrix is given below.

The above matrix Q represents a square matrix. The diagonal elements are 2, 5, and 8. The off-diagonal elements are 1, 3, 4, 6, 7, and 9.

The example of a 4 x 4 square matrix is given below.

The above matrix R represents a square matrix. The diagonal elements are 7, 5, 10 and 15. The off-diagonal elements are 9, 6, 8, 4, 3, 2, 0, 1, 11, 12, 13 and 14.

The example of a 2 x 2 square matrix is given below.

The above matrix C represents a square matrix. The diagonal elements are 3 and 7. The off-diagonal elements are 4 and 8.

## Square Matrix Properties

1. In this matrix number of rows is equal to number of columns.

2. The determinant of a matrix can only be calculated for a square matrix.

3. Trace of a matrix is equal to the sum of diagonal elements of the square matrix.

4. Inverse of matrix is calculated only for a square matrix.

## Square matrix types

The special kinds of a square matrix are

This site uses Akismet to reduce spam. Learn how your comment data is processed.