# Determinant of a Matrix

In the study of algebra and matrices, a system of linear equations is usually expressed in the form of matrices. For example,

a_{1}x + b_{1}y + c_{1} = 0

a_{2}x + b_{2}x + c_{2} = 0

A system like this can also be expressed as,

Now, this system of equations has a unique solution or not, is determined by the number a_{1} b_{2 }– a_{2} b_{1}. This quantity that determines the uniqueness of the solution is called the determinant. It is used widely in the fields of computer science and electrical engineering. Determinants also give us an idea about the area or volume of space. In order to solve Determinants, we need to understand a few terms first, like **Minors and Cofactors** Let’s learn about them.

**Minors**

Minor is required to find determinant for single elements (every element) of the matrix. They are the determinants for every element obtained by eliminating the rows and columns of that element. If the matrix given is:

The Minor of a_{12 }will be the determinant:

**Question:** **Find the Minor of 5 in the determinant**

**Answer: **

The minor of 5 will be the determinant of

Calculating the determinant, the minor is obtained as:

(2 × 1) – (2 × 2) = -2

**Cofactors**

Cofactors are related to minors by a small formula, for an element a_{ij}, the cofactor of this element is C_{ij} and the minor is M_{ij} then, cofactor can be written as:

C

_{ij }= (-1)^{i+j}M_{ij}

**Question:** **Find the cofactor of the element placed in the first row and second column of the determinant:**

**Answer: **

In order to find out the cofactor of the first row and second column element i.e the cofactor for 1. First find out the minor for 1, which will be:

M

_{12}= 4Now, applying the formula for cofactor:

C

_{12 }= (-1)^{1 + 2}M_{12}⇒ C

_{12}= (-1)^{3}× 4⇒ C

_{12}= -4

**Adjoint**

The Adjoint of a matrix for order n can be defined as the transpose of its cofactors. For a matrix A:

Adj. A = [C_{ij}]_{n×n}^{T}

**Transpose of a Matrix**

Transpose of a Matrix A is denoted as A^{T} or A’. It is clear that the vertical side in the matrix is known as a column and the horizontal side is known as a row, Transposing a Matrix means replacing the Rows with columns and Vice-Versa, since the Rows and Columns are changing, the Order of the Matrix also changes.

If a Matrix is given as A= [a

_{ij}]_{m×n}, then its Transpose will becomeA^{T}or A’ = [a_{ji}]_{n×m}

**Question: What will be the transpose of the Matrix:**

**Answer:**

Interchanging Rows and Columns, AT =

## Determinant

A determinant is a number associated with every square matrix A = [a_{ij}] of order n. The determinant for matrix A is denoted by |A| or det(A).

If A = , it’s determinant is denoted by

**Physical significance of Determinant**

Consider a 2D matrix, each column of this matrix can be considered as a vector on the x-y plane. So, the determinant between two vectors on a 2d plane gives us the area enclosed between them. If we extend this concept, in 3D the determinant will give us the volume enclosed between two vectors.

**Determinant of a matrix of Order One**

Let X = [a] be the matrix of order one, then it’s determinant is given by det(X) = a.

**Determinant of a matrix of Order Two**

Let X = , it’s determinant is given by cross multiplication of it’s elements.

det(X) =

**Question:** **Evaluate A = **

**Answer: **

A =

**Determinant of a matrix of Order 3×3**

It can be determined by expressing it in terms of 2nd order determinants. It can be expanded either along rows(R1, R2 or R3) or column(C1, C2 or C3). Consider an order 3 matrix A.

A =** **** **

**Step 1:** Multiply the first element a11 of row R1 with (-1)(1 + 1)[(-1)sum of suffixes in a11] and with the second order determinant obtained by deleting the elements of row R1 and C1 of A as a11 lies in R1 and C1.

**Step 2:** Similarly, multiply second element of the first rowR1, with the determinant obtained after deleting first row and second column.

**Step 3:** Multiply the third element of row R1 with the determinant obtained after deleting first row and third column.

**Step 4:** Now the expansion of determinant of A, that is |A| can be written as |A| =

Similarly, in this way, we can expand it along any row and any column.

**Question:** **Evaluate the determinant det(A) = **

**Answer:**

We see that the third column has most number of zeros, so it will be easier to expand along that column.

det(A) =

### Properties of Determinants

**Reflection Property**: Value of the determinant remains unchanged even after rows and columns are interchanged. That determinant of a matrix, and it’s transpose remains the same.**Switching Property:**If any two rows or columns of a determinant are interchanged, then the sign of determinant changes.

For Example:det. A = [3×{(1×1)-(0×1)}]-[3×{(2×1)-(5×1)}]+[0×{(2×0)-(5×1)}]

= {3×(1-0)}-{3×(2-5)+0

= [3-{3(-3)}+0]

= (3+9)

=12

Now, Interchanging Row 1 with Row 2, determinant will be:

det. A = [2×{(3×1)-(0×0)}]-[1×{(3×1)-(5×0)}]+[1×{(3×0)-(5×3)}]

= (6-3-15)

= -12

**Repetition Property/Proportionality Property:**If any two rows or any two columns of a determinant are identical, then the value of the determinant becomes zero.**Scalar Multiple Property:**If each element of a row (or a column) of a determinant is multiplied by a constant k, then its value gets multiplied by k

**Sum Property**: If some or all elements of a row or column can be expressed as the sum of two or more terms, then the determinant can also be expressed as the sum of two or more determinants.

**Examples of Properties**

**Question 1:** **If x, y, z are different. and A =** , **then show that 1 + xyz = 0. **

**Answer: **

Using Sum Property:

On solving this determinant and expanding it,

A = (1 + xyz)(y- x)(z-y)(z-x)

Since it’s given in the question, that all x, y and z have different values and A =0. So the only term that can be zero is 1 + xyz.

Hence, 1 + xyz = 0

**Question 2: Evaluate ****. **

**Answer: **

Using Scalar Multiple Property and Repetition Property:

**Question 3: Evaluate the determinant A.**

**Answer: **

Using Proportionality Property:Two of the rows of the matrix are identical.

So,

Attention reader! Don’t stop learning now. Join the **First-Step-to-DSA Course for Class 9 to 12 students ****, **specifically designed to introduce data structures and algorithms to the class 9 to 12 students