# Determinant of a Matrix

The determinant of a matrix is a number that is specially defined only for square matrices. Determinants are mathematical objects that are very useful in the analysis and solution of systems of linear equations. Determinants also have wide applications in engineering, science, economics and social science as well. Let’s now study about the determinant of a matrix.

## The Determinant of a Matrix

To every square matrix A = [aij] of order n, we can associate a number (real or complex) called determinant of the square matrix A, where a = (i, j)th element of A. This may be thought of as a function which associates each square matrix with a unique number (real or complex).

If M is the set of square matrices, K is the set of numbers (real or complex) and f : M â†’ K is defined by f (A) = k, where A âˆˆ M and k âˆˆ K, then f (A) is called the determinant of A. It is also denoted by | A | or det A or Î”.

$$If A =\begin{bmatrix} Â a & b \\ c & d \end{bmatrix}, then \ determinant \ of \ A \ is \ written \ as \ |A| \ =\begin{vmatrix} Â a & b \\ c & d \end{vmatrix} =Â det A$$

### Browse more Topics under Determinants

LearnÂ Properties of Determinants here.Â

## For a 1Ã—1 Matrix

Let A = [a] be the matrix of order 1, then determinant of A is defined to be equal to a.

## For a 2Ã—2 Matrix

For a 2Ã—2 matrix (2 rows and 2 columns):

Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â [source: mathisfun]

The determinant is:Â |A| = ad âˆ’ bc or the determinant of A equals aÂ Ã—Â d minus bÂ Ã—Â c. It is easy to remember when you think of a cross, where blue is positive that goes diagonally from left to right and red is negative that goes diagonally from right to left.

Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  [source: mathisfun]

Example:Â $$If A =\begin{bmatrix} Â 2 & 3 \\ 4 & 8 \end{bmatrix}$$

|A| = 2 x 8 – 4 x 3
= 16 – 12
= 4

## For a 3Ã—3 Matrix

For a 3Ã—3 matrix (3 rows and 3 columns):

Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â [source: mathisfun]

The determinant is:Â |A| = a (ei âˆ’ fh) âˆ’ b (di âˆ’ fg) + c (dh âˆ’ eg).Â The determinant of A equals ‘a times e x iÂ minus f x hÂ minus b times d x i minus f x gÂ plus c times d x hÂ minus e x g’. It may look complicated, but if you carefully observe the pattern its really easy!

Â [source: mathisfun]

To work out the determinant of a matrix 3Ã—3:

• Multiply ‘a’ by the determinant of the 2Ã—2 matrix that is not in a’s row or column.
• Likewise for ‘b’ and for ‘c’
• Sum them up, but remember the minus in front of the b

As a formula (remember the vertical bars || mean “determinant of”):

Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  [source: mathisfun]

The determinant of A equals ‘a’ times the determinant of eÂ Ã—Â iÂ minus fÂ Ã—Â hÂ minus ‘b’ times the determinant of d Ã—Â iÂ minus fÂ Ã— gÂ plus ‘c’ times the determinant of dÂ Ã— h minus eÂ Ã—Â g.

Example:Â $$If A =\begin{bmatrix} Â 6 & 1 & 1 \\ 4 & -2 & 5 \\ 2 & 8 & 7 \end{bmatrix}$$
|A|= 6Ã—(âˆ’2Ã—7 âˆ’ 5Ã—8) âˆ’ 1Ã—(4Ã—7 âˆ’ 5Ã—2) + 1Ã—(4Ã—8 âˆ’ (âˆ’2Ã—2))
Â  Â  Â  = 6Ã—(âˆ’54) âˆ’ 1Ã—(18) + 1Ã—(36)
Â  Â  Â  = âˆ’306

## For 4Ã—4 Matrices and Higher

The pattern continues for the determinant of aÂ matrixÂ 4Ã—4:

• plus a times the determinant of the matrix that is not in a’s row or column,
• minus b times the determinant of the matrix that is not in b’s row or column,
• plus c times the determinant of the matrix that is not in c’s row or column,
• minus d times the determinant of the matrix that is not in d’s row or column,

Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â [source: mathisfun]

As a formula:

Â [source: mathisfun]

Notice the +âˆ’+âˆ’ pattern (+a… âˆ’b… +c… âˆ’d…).

Study Adjoint andÂ Inverse of a Matrix here.Â

## Solved Examples For You

Question 1:$$If \ f(x) =\begin{vmatrix} Â x & Î»Â \\ 2Î» & x \end{vmatrix},$$ then f(Î»x) – f(x) is equal to:

1. x (Î»2Â – 1)
2. 2Î» (x2Â – 1)
3. Î»2(x2Â – 1)
4. x2Â (Î»2Â – 1)

Answer : $$Given \ f(x) =\begin{vmatrix} Â x & Î»Â \\ 2Î» & x \end{vmatrix}$$

â‡’Â f(x)Â =Â x2Â âˆ’Â 2Î»2
Therefore, f(Î»x)Â âˆ’Â f(x)Â =Â (Î»x)2Â âˆ’Â 2Î»2Â âˆ’Â (x2âˆ’2Î»2)
=Î»2x2âˆ’2Î»2âˆ’x2+2Î»2
=x2(Î»2âˆ’1)
So, option D is correct.

Question 2:Â $$If A =\begin{vmatrix} Â 0 & c & -b \\ -c & 0 & a \\ b & -a & 0 \end{vmatrix},$$ then (a2 + b2 – c2) |A| =

1. abc
2. a + b + c
3. a3 + b3 + c3
4. 0

AnswerÂ :Â |A|Â =Â 0Â Ã—Â (a2)Â âˆ’c(âˆ’ab)Â âˆ’Â b(ac)Â = 0 + abc – abcÂ = 0

Question 3: What is the use of determinant of a matrix?

Answer: They are useful for solving linear equations, capturing how linear transformation changes volume or area, and changing variables in integrals. Furthermore, we can view determinant as a function whose input is a square matrix and whose output is a number.

Question 4: Can a determinant be negative?

Answer: Generally, a determinant is a real number and it is not a matrix. But, a determinant can be a negative number. Most importantly, it is not linked with absolute value at all except that they both use vertical lines.

Question 5: What if the determinant is 0?

Answer: In general perspective, if the determinant of a square matrix n Ã— n A is zero then A is not invertible. Besides, if the determinant of a matrix is non-zero, the linear system it represents is linearly independent. However, when a determinant of a matrix is zero, its rows are linearly dependent vectors, and its columns are linearly dependent vectors.

Question 6: What is the use of Cramerâ€™s rule?

Answer: It refers to a method that uses determinants to solve systems of equations that have the same number of equations as variables. In addition, it considers a system of two linear equations in two variables.

Share with friends

## Customize your course in 30 seconds

##### Which class are you in?
5th
6th
7th
8th
9th
10th
11th
12th
Get ready for all-new Live Classes!
Now learn Live with India's best teachers. Join courses with the best schedule and enjoy fun and interactive classes.
Ashhar Firdausi
IIT Roorkee
Biology
Dr. Nazma Shaik
VTU
Chemistry
Gaurav Tiwari
APJAKTU
Physics
Get Started

## Browse

### 2 responses to “Determinant of a Matrix”

1. jannat says:

Is determinant available just for square matrix?

2. John says:

you mean if the determinant os non zero