# Matrices

Matrix is a rectangular array of numbers, symbols, points, or characters each belonging to a specific row and column. A matrix is identified by its order which is given in the form of rows ⨯ and columns. The numbers, symbols, points, or characters present inside a matrix are called the elements of a matrix. The location of each element is given by the row and column it belongs to.

Matrices are important for students of class 12 and also have great importance in engineering mathematics as well. In this introductory article on matrices, we will learn about the types of matrices, the transpose of matrices, the rank of matrices, the adjoint and inverse of matrices, the determinants of matrices, and many more in detail.

Table of Content

- What are Matrices?
- Operation on Matrices
- Types of Matrices
- Determinant of a Matrix
- Minor of a Matrix
- Cofactor of Matrix
- Adjoint of a Matrix
- Inverse of a Matrix
- Elementary Operation on Matrices
- Augmented Matrix
- Solving Linear Equation Using Matrices
- Rank of a Matrix
- Eigen Value and Eigen Vectors of Matrices
- Matrices Formulas
- FAQs

## What are Matrices?

Matrices are rectangular arrays of numbers, symbols, or characters where all of these elements are arranged in each row and column. An array is a collection of items arranged at different locations.

Let’s assume points are arranged in space each belonging to a specific location then an array of points is formed. This array of points is called a matrix. The items contained in a matrix are called Elements of the Matrix. Each matrix has a finite number of rows and columns and each element belong to these rows and columns only. The number of rows and columns present in a matrix determines the order of the matrix. Let’s say a matrix has 3 rows and 2 columns then the order of the matrix is given as 3⨯2.

### Matrices Definition

A rectangular array of numbers, symbols, or characters is called Matrix. Matrices are identified by their order. The order of the matrices is given in the form of number of rows ⨯ number of columns. A matrix is represented as [P]_{m⨯n} where P is the matrix, m is the number of rows and n is the number of columns. Matrices in maths are useful in solving numerous problems of linear equations and many more.

### Order of Matrix

Order of Matrix tells about the number of rows and columns present in a matrix. Order of a matrix is represented as the number of rows times the number of columns. Let’s say if a matrix has 4 rows and 5 columns then the order of the matrix will be 4⨯5. Always remember that the first number in the order signifies the number of rows present in the matrix and the second number signifies the number of columns in the matrix.

### Matrices Examples

Examples of matrices are mentioned below:

Example: ,

## Operation on Matrices

Matrices undergo various mathematical operations such as addition, subtraction, scalar multiplication, and multiplication. These operations are performed between the elements of two matrices to give an equivalent matrix that contains the elements which are obtained as a result of the operation between elements of two matrices. Let’s learn the operation of matrices.

### Addition of Matrices

In addition of matrices, the elements of two matrices are added to yield a matrix that contains elements obtained as the sum of two matrices. The addition of matrices is performed between two matrices of the same order. Let’s learn through an example.

**Example: Find the sum of****and**

**Answer:**

Here, we have A = and B =

A + B = +

⇒ A + B = =

### Subtraction of Matrices

Subtraction of Matrices is the difference between the elements of two matrices of the same order to give an equivalent matrix of the same order whose elements are equal to the difference of elements of two matrices. The subtraction of two matrices can be represented in terms of the addition of two matrices. Let’s say we have to subtract matrix B from matrix A then we can write A – B. We can also rewrite it as A + (-B). Let’s solve an example

**Example: Subtract**** from** .

**Answer:**

Let us assume A = and B =

A – B = –

⇒ A – B = =

### Scalar Multiplication of Matrices

Scalar Multiplication of matrices refers to the multiplication of each term of a matrix with a scalar term. If a scalar let’s ‘k’ is multiplied by a matrix then the equivalent matrix will contain elements equal to the product of the scalar and the element of the original matrix. Let’s see an example:

** Example: Multiply 3 with** .

**Answer:**

3[A] =

⇒ 3[A] =

### Multiplication of Matrices

In the multiplication of matrices, two matrices are multiplied to yield a single equivalent matrix. The multiplication is performed in the manner that the elements of the row of the first matrix multiply with the elements of the columns of the second matrix and the product of elements are added to yield a single element of the equivalent matrix. If a matrix [A]_{i⨯j} is multiplied with matrix [B]_{j⨯k} then the product is given as [AB]_{i⨯k}. Let’s see an example.

**Example: Find the product of ****and **

**Answer:**

Let A = and B =

⇒ AB = [Tex]\begin{bmatrix} 2 & 3 \\ 6 & 7 \\ \end{bmatrix}

[/Tex]

⇒ AB =

⇒

### Properties of Matrix Addition and Multiplication

The properties followed by Multiplication and Addition of Matrices is listed below:

- A + B = B + A (Commutative)
- (A + B) + C = A + (B + C) (Associative)
- AB ≠ BA (Not Commutative)
- (AB) C = A (BC) (Associative)
- A (B+C) = AB + AC (Distributive)

### Transpose of Matrix

Transpose of Matrix is basically the rearrangement of row elements in column and column elements in a row to yield an equivalent matrix. A matrix in which the elements of the row of the original matrix are arranged in columns or vice versa is called Transpose Matrix. The transpose matrix is represented as A^{T}. if A = [a_{ij}]_{mxn} , then A^{T }= [b_{ij}]_{nxm} where b_{ij} = a_{ji}.

Let’s see an example:

**Example:****Find the transpose of ****.**

**Answer:**

Let A =

⇒ AT =

**Properties of the Transpose of a Matrix**

The properties of the transpose of a matrix are mentioned below:

- (A
^{T})^{T}= A - (A+B)
^{T}= A^{T}+ B^{T} - (AB)
^{T}= B^{T}A^{T}

### Trace of Matrix

Trace of a Matrix is the sum of the diagonal elements of a square matrix. Trace of a matrix is only found in the case of a square matrix because diagonal elements exist only in square matrices. Let’s see an example.

**Example: Find the trace of the matrix **

**Answer:**

Let us assume A =

Trace(A) = 1 + 5 + 9 = 15

## Types of Matrices

Based on the number of rows and columns present and the special characteristics shown, matrices are classified into various types.

**Row Matrix**A Matrix in which there is only one row and no column is called Row Matrix.**:****Column Matrix**A Matrix in which there is only one column and now row is called a Column Matrix.**:**A Matrix in which the number of rows is less than the number of columns is called a Horizontal Matrix.**Horizontal Matrix:**A Matrix in which the number of columns is less than the number of rows is called a Vertical Matrix.**Vertical Matrix:****Rectangular Matrix**A Matrix in which the number of rows and columns are unequal is called a Rectangular Matrix.**:****Square Matrix**A matrix in which the number of rows and columns are the same is called a Square Matrix.**:****Diagonal Matrix**A square matrix in which the non-diagonal elements are zero is called a Diagonal Matrix.**:****Zero or Null Matrix**A matrix whose all elements are zero is called a Zero Matrix. A zero matrix is also called as Null Matrix.**:****Unit or Identity Matrix**A diagonal matrix whose all diagonal elements are 1 is called a Unit Matrix. A unit matrix is also called an Identity matrix. An identity matrix is represented by I.**:****Symmetric matrix**A square matrix is said to be symmetric if the transpose of the original matrix is equal to its original matrix. i.e. (AT) = A.**:****Skew-symmetric Matrix**A skew-symmetric (or antisymmetric or antimetric[1]) matrix is a square matrix whose transpose equals its negative i.e. (AT) = -A.**:**A matrix is said to be orthogonal if AA**Orthogonal Matrix:**^{T}= A^{T}A = IA matrix is said to be idempotent if A**Idempotent Matrix:**^{2}= A**Involutory Matrix:**A matrix is said to be Involutory if A^{2}= I.**Upper Triangular Matrix**A square matrix in which all the elements below the diagonal are zero is known as the upper triangular matrix**:****Lower Triangular Matrix**A square matrix in which all the elements above the diagonal are zero is known as the lower triangular matrix**:****Singular Matrix**A square matrix is said to be a singular matrix if its determinant is zero i.e. |A|=0**:**A square matrix is said to be a non-singular matrix if its determinant is non-zero.**Nonsingular Matrix:**

Every Square Matrix can uniquely be expressed as the sum of a symmetric matrix and a skew-symmetric matrix. A = 1/2 (ANote:^{T}+ A) + 1/2 (A – A^{T}).

** Learn More,** Types of Matrices

## Determinant of a Matrix

The determinant of a matrix is a number associated with that square matrix. The determinant of a matrix can only be calculated for a square matrix. It is represented by |A|. The determinant of a matrix is calculated by adding the product of the elements of a matrix with their cofactors. Let’s see how to find the determinant of a square matrix.

**Example 1: How to find the determinant of a 2⨯2 square matrix?**

Let say we have matrix A =

Then, the determinant is of A is |A| = ad – bc

**Example 2: How to find the determinant of a 3⨯3 square matrix?**

Let’s say we have a 3⨯3 matrix A =

Then |A| = a(-1)

^{1+1}+ b(-1)^{1+2}+ c(-1)^{1+3}

## Minor of a Matrix

Minor of a matrix for an element is given by the determinant of a matrix obtained after deleting the row and column to which the particular element belongs to. Minor of Matrix is represented by Mij. Let’s see an example.

** Example:** Find the minor of the matrix for the element ‘a’.

Minor of element ‘a’ is given as M

_{12}=

## Cofactor of Matrix

Cofactor of a matrix is found by multiplying the minor of the matrix for a given element by (-1)i+j. Cofactor of a Matrix is represented as Cij. Hence, the relation between the minor and cofactor of a matrix is given as Mij = (-1)^{i+j}Mij. If we arrange all the cofactor obtained for an element then we get a cofactor matrix given as C =

** Learn More**, Minors and Cofactors

## Adjoint of a Matrix

Adjoint is calculated for a square matrix. The Adjoint of a matrix is the transpose of the cofactor of the matrix. The Adjoint of a Matrix is thus expressed as adj(A) = CT where C is the Cofactor Matrix. Let’s say for example we have matrix

then

where,

is cofactor of Matrix A.

### Properties of Adjoint of Matrix

The properties of the Adjoint of a matrix are mentioned below:

- A(Adj A) = (Adj A) A = |A| I
_{n} - Adj(AB) = (Adj B) . (Adj A)
- |Adj A| = |A|
^{n-1} - Adj(kA) = k
^{n-1}Adj(A) - |adj(adj(A))| =
- adj(adj(A)) = |A|
^{(n-2)}× A - If A = [L,M,N] then adj(A) = [MN, LN, LM]
- adj(I) = I {where I is Identity Matrix}

Where, “n = number of rows = number of columns”

**Inverse of a Matrix**

**Inverse of a Matrix**

A matrix is said to be an inverse of matrix ‘A’ if the matrix is raised to power -1 i.e. A-1. The inverse is only calculated for a square matrix whose determinant is non-zero. The formula for the inverse of a matrix is given as:

A^{-1} = adj(A)/det(A) = (1/|A|)(Adj A), where |A| should not be equal to zero, which means matrix A should be non-singular.

**Properties Inverse of Matrix**

**Properties Inverse of Matrix**

- (A
^{-1})^{-1}= A - (AB)
^{-1}= B^{-1}A^{-1} - only a non-singular square matrix can have an inverse.

## Elementary Operation on Matrices

Elementary Operations on Matrices are performed to solve the linear equation and to find the inverse of a matrix. Elementary operations are between rows and between columns. There are three types of elementary operations performed for rows and columns. These operations are mentioned below:

The Elementary operations on rows include:

- Interchanging two rows
- Multiplying a row by a non-zero number
- Adding two rows

The Elementary operations on columns include:

- Interchanging two columns
- Multiplying a column by a non-zero number
- Adding two columns

## Augmented Matrix

A matrix formed by combining columns of two matrices is called Augmented Matrix. An augmented matrix is used to perform elementary row operations, solve a linear equation, and find the inverse of a matrix. Let us understand through an example.

Let’s say we have a matrix A = , X = and B = then augmented matrix is formed between A and B. The augmented matrix for A and B is given as

[A|B] =

## Solving Linear Equation Using Matrices

Matrices are used to solve linear equations. To solve linear equations we need to make three matrices. The first matrix is of coefficients, the second matrix is of variables and the third matrix is of constants. Let’s understand it through an example.

Let’s say we have two equations given as a1x + b1y = c1 and a2x + b2y = c2. In this case, we will form the first matrix of coefficient let’s say A = , the second matrix is of variables let’s say X = and the third matrix is of coefficient B = then the matrix equation is given as

**AX = B**

**⇒ X = A**^{-1}**B**

where A is the coefficient matrix

X is the variable matrix

B is the Constant Matrix

Hence we can see that the value of variable X can be calculated by multiplying the inverse of matrix A with B and then equalizing the equivalent product of two matrices with matrix X.

## Rank of a Matrix

Rank of Matrix is given by the maximum number of linearly independent rows or columns of a matrix. The rank of a matrix is always less than or equal to the total number of rows or columns present in a matrix. A square matrix has linearly independent rows or columns if the matrix is non-singular i.e. determinant is not equal to zero. Since a zero matrix has no linearly independent rows or columns its rank is zero.

The rank of a matrix can be calculated by converting the matrix into Row-Echelon Form. In row echelon form we try to convert all the elements belonging to a row to be zero using Elementary Opeartion on Row. After the operation, the total number of rows which has at least one non-zero element is the rank of the matrix. The rank of the matrix A is represented by ρ(A).

## Eigen Value and Eigen Vectors of Matrices

Eigen Values are the set of scalar associated with the linear equation in matrix form. Eigenvalues are also called characteristic roots of the matrices. The vectors that are formed by using the eigenvalue to tell the direction at that points are called Eigenvectors. Eigenvalues change the magnitude of eigenvectors. Like any vector, Eigenvector doesn’t change with linear transformation. For a Square Matrix A of order ‘n’ another square matrix A – λI is formed of the same order, where I is the Identity Matrix and λ is the eigenvalue. The eigenvalue λ satisfies an equation Av = λv where v is a non-zero vector.

** Learn More,** Eigenvalues and Eigenvectors

## Matrices Formulas

The basic formula for the matrices has been discussed below:

- A
^{-1}= adj(A)/|A| - A(adj A) = (adj A)A = I, where I is an Identity Matrix
- |adj A| = |A|n-1 where n is the order of matrix A
- adj(adj A) = |A|n-2A where n is the order of the matrix
- |adj(adj A)| = |A|
^{(n-1)^2} - adj(AB) = (adj B)(adj A)
- adj(A
^{p}) = (adj A)^{p} - adj(kA) = kn-1(adj A) where k is any real number
- adj(I) = I
- adj 0 = 0
- If A is symmetric then adj(A) is also symmetric
- If A is a diagonal Matrix then adj(A) is also a diagonal matrix
- If A is a triangular matrix then adj(A) is also a triangular matrix
- If A is a singular Matrix then |adj A| = 0
- (AB)
^{-1}= B^{-1}A^{-1}

**Read More,**

## Matrices JEE Mains Questions

**Q1. The number of square matrices of order 5 with entries from the set {0, 1}, such that the sum of all the elements in each row is 1 and the sum of all the elements in each column is also 1, is**

**Q2. Let A be a 3 × 3 matrix such that |adj(adj(adj A))| = 12**^{4}**. Then |A**^{-1}** adj A| is equal to, **

**Q3. Let α and β be the real number. Consider a 3 × 3 matrix A such that A**^{2}** = 3A + αI. If A**^{4}** = 21A + βI, then find the value of α and β.**

**Q4. Let A = [a]ij, aij ϵ Z ∩ [0, 4], 1 ≤ i, j ≤ 2. The number of matrice A such that the sum of all entries is a prime number p ϵ (2, 13) is**

**Q5. Let A be a n × n matrix such that |A| = 2. If the determinant of the matrix Adj (2. Adj(2A**^{-1}**)) is 2**^{84}** then n is equal to,**

## Matrices – FAQs

### 1. What is Matrix in Math?

Matrices in maths are rectangular array arrangements of numbers or variables which are located in specific rows and columns and undergo various operations.

### 2. How to solve Matrices?

We solve matrices for different operations such as addition, subtraction, multiplication, transpose etc. These methods are discussed under the title Operations on Matrices.

### 3. What are the different Types of Matrices?

The different types of matrices are, row matrix, column matrix, horizontal matrix, vertical matrix, square matrix, diagonal matrix, null matrix, identity matrix, triangular matrices, symmetric and skew symmetric matrices, hermitian and skew hermitian matrices etc. These types have been discussed under the title ‘Types of Matrices’

### 4. What is Rank of a Matrix?

The rank of a matrix is the number of linearly independent rows or columns present in a matrix.

### 5. What is the Transpose of a Matrix?

The Transpose of a matrix is the rearrangement of elements of rows into columns and vice versa.

### 6. What is the Formula to find the Inverse of a Matrix?

The inverse of the matrix can be find out using the formula A

^{-1}= (1/|A|)(adj A)

### 7. What is the Condition to Multiply two Matrices?

Two matrices can be multiplied only if the number of columns of the first matrix is equal to the number of rows of the second matrix.

### 8. How to Find Determinant of 2⨯2 Matrix?

The determinant of a 2⨯2 Matrix can be find by subtracting the product of diagonal elements of the matrix.

Embark on a transformative journey towards GATE success by choosing Data Science & AI as your second paper choice with our specialized course. If you find yourself lost in the vast landscape of the GATE syllabus, our program is the compass you need.

## Please

Loginto comment...