How to find the Determinant of a Matrix?
Last Updated :
23 Aug, 2024
Answer: The following steps are to be followed to find the Determinant of a Matrix
- Select any row or column. To find the determinant, we normally start with the first row.
- Determine the co-factors of each of the row/column items that we picked in Step 1.
- Multiply the row/column items from Step 1 by the appropriate co-factors from Step 2.
- Add all of the products from Step 3 to get the matrix's determinant.
- Alternatively, the following formula can also be used for this purpose:
|A| = a(ei − fh) − b(di − fg) + c(dh − eg)
In mathematics, a matrix is a rectangle or square-shaped array of numbers or symbols grouped in rows and columns to represent a mathematical object or one of its qualities. For example, \begin{vmatrix}{a}&b&c\\p&q&r\\s&t&u\end{vmatrix} is a square matrix. On the other hand, \begin{vmatrix}{a}&b&c\\p&q&r\end{vmatrix} is a rectangular matrix.
Determinant of a Matrix
The matrix determinant is the product of the components of any row or column and their respective co-factors. They only exist for square matrices, i.e. the ones which have an equal number of rows and columns. The determinant of any square matrix A is represented by detA (or) |A|. It is sometimes represented by the sign. Calculating the determinants of 1 × 1 and 2 × 2 matrices is very straightforward, but the procedure becomes more complicated as the rank of the matrix grows. Minors and co-factors are involved in the process of determining the determinant of a matrix.
Properties of Determinant
- The determinant of a matrix and its own transpose are always equal, i.e., \begin{vmatrix}{a}&b&c\\l&m&n\\x&y&z\end{vmatrix}=\begin{vmatrix}{a}&l&x\\b&m&y\\c&n&z\end{vmatrix}
- Interchanging any two rows or columns of a matrix would change the sign of its determinant, i.e., \begin{vmatrix}{a}&b&c\\l&m&n\\x&y&z\end{vmatrix}=-\begin{vmatrix}{a}&b&c\\x&y&z\\l&m&n\end{vmatrix} .
- The determinant of a matrix with any two identical rows or columns is zero, i.e., \begin{vmatrix}{l}&m&n\\l&m&n\\x&y&z\end{vmatrix}=0=\begin{vmatrix}{l}&l&x\\m&m&y\\n&n&z\end{vmatrix} .
- The determinant of a matrix with zeroes as the elements of any one of its rows or columns is zero, i.e., \begin{vmatrix}{0}&0&0\\l&m&n\\x&y&z\end{vmatrix}=0
- Multiplying each row of a determinant with a constant m would increase the value of the determinant to m times as well, i.e., \begin{vmatrix}{ka}&kb&kc\\l&m&n\\x&y&z\end{vmatrix}=k\begin{vmatrix}{a}&b&c\\l&m&n\\x&y&z\end{vmatrix}.
- Determinant of 1 × 1 Matrix
A 1 × 1 matrix is a row with only one row and one column, and hence only one element. The determinant of every 1 × 1 matrix is always equal to the matrix element.
Example: If matrix A = [69]1 × 1, then det A or |A| = 69.
- Determinant of a 2 × 2 Matrix
Given matrix A = \begin{vmatrix}{a}&b\\c&d\end{vmatrix} then its determinant is given by ad - bc. It is simply calculated by cross multiplying the components from top left to bottom right and then finding the difference of the two.
Example: Evaluate, \begin{vmatrix}{4}&7\\5&8\end{vmatrix}.
Here, a = 4, b = 7, c = 5 and d = 8.
Hence, |A| = 4(8) - 5(7)
|A| = −3
- Determinant of a 3 × 3 Matrix
In order to find the determinant of 3 × 3 matrices, we need to understand the term minor of an element,
Minor of an Element
The determinant of a square matrix of any order derived by deleting the row and column containing the element is the minor of the element.
Example: Find the minor of 6 in the matrix \left[\begin{array}{ccc}1&2&3\\4&5&6\\7&8&9\end{array}\right].
Solution:
Since 6 lies in the second row and third column of the given matrix, its matrix would be equal to the determinant of the matrix obtained by removing the second row and the third column.
Minor of 6 = \left|\begin{array}{cc}1&2\\7 & 8\end{array}\right|
= 8 × 1 - 2 × 7
= 8 - 14
= -6
The following steps are to be followed,
- Select any row or column. To find the determinant, we normally start with the first row.
- Determine the co-factors of each of the row/column items that we picked in Step 1.
- Multiply the row/column items from Step 1 by the appropriate co-factors from Step 2.
- Add all of the products from Step 3 to get the matrix's determinant.
Alternatively, the following formula can also be used for this purpose:
|A| = a(ei − fh) − b(di − fg) + c(dh − eg)
Sample Problems
Question 1. Find the minor of 9 in the matrix \left[\begin{array}{ccc}1&2&3\\4&5&6\\7&8&9\end{array}\right] .
Solution:
Since 9 lies in the third row and third column of the given matrix, its matrix would be equal to the determinant of the matrix obtained by removing the third row and the third column.
Minor of 9 = \left|\begin{array}{cc}1 & 2 \\4 & 5\end{array}\right|
= 1 × 5 - 2 × 4
= 5 - 8
= -3
Question 2. Find the value of |4A| if A = \left[\begin{array}{lll}1 & 1 & -1\\1 & 2 & 2\\0 & 3 & 4\end{array}\right] .
Solution:
A = \left[\begin{array}{lll}1 & 1 & -1\\1 & 2 & 2\\0 & 3 & 4\end{array}\right]
Thus, 4A = \left[\begin{array}{lll}4 & 4 & -4\\4 & 8 & 8\\0 & 12 & 16\end{array}\right]
Now, |4A| = 4 (128 - 96) - 4 (64 - 0) - 4 (48 - 0)
= 4(32) - 4(64) - 4(48)
|4A| = -320
Question 3: Find x if the determinant of the matrix \left[\begin{array}{cc}4&8\\2 & x\end{array}\right] is 0.
Solution:
Given: A = \left[\begin{array}{cc}4&8\\2 & x\end{array}\right]
|A| = 4(x) - 8(2)
= 4x - 16
Since |A| = 0.
⇒ 4x - 16 = 0
or, 4x = 16
⇒ x = 4
Question 4: Evaluate: \left[\begin{array}{cc}2&8&5&-3\\0&1&3&4\\6&24&15&-9\\7&2&1&10\end{array}\right]. Use properties of determinants.
Solution:
Clearly, the elements of the third row have 3 as a common factor. It can be depicted as:
\left[\begin{array}{cc}2&8&5&-3\\0&1&3&4\\6&24&15&-9\\7&2&1&10\end{array}\right]=3\left[\begin{array}{cc}2&8&5&-3\\0&1&3&4\\2&8&5&-3\\7&2&1&10\end{array}\right]
Since the first and third rows of the given matrix are equal now, using the third property the value of the matrix would be zero.
|A| = 3 × 0
|A| = 0
Question 5: Find the value of (a2 + b2 – c2)|A| if A = \begin{vmatrix}0&c&-b\\-c&0&a\\b&-a&0\end{vmatrix}.
Solution:
|A| = 0(0(0) - a(a)) - c(0(-c) - a(b)) + (-b)((-c)(-a) - 0(b))
= 0 × (a2) − c(0 − ab) − b(ac - 0)
= 0
Hence, (a2 + b2 – c2)|A| = (a2 + b2 – c2)(0)
⇒ (a2 + b2 – c2)|A| = 0
Question 6: Find t if the determinant of the matrix \left[\begin{array}{cc}0&x\\5&3\end{array}\right] is 10.
Solution:
Given: A = \left[\begin{array}{cc}0&x\\5&3\end{array}\right]
|A| = 3(0) - 5(x)
= 0 - 5x
= -5x
Since |A| = 10.
⇒ -5x = 10
⇒ x = -2
Question 7: Find x if the determinant of the matrix \left[\begin{array}{cc}5&1\\3&x\end{array}\right] is 12.
Solution:
Given: A = \left[\begin{array}{cc}5&1\\3&x\end{array}\right]
|A| = 5(x) - 3(1)
= 5x - 3
Since |A| = 12
⇒ 5x - 3 = 12
⇒ 5x = 15
⇒ x = 3
Question 8: Evaluate: \begin{vmatrix}{1}&2&3\\4&5&6\\7&8&9\end{vmatrix}.
Solution:
Here, a = 1, b = 2, c = 3, d = 4, e = 5, f = 6, g = 7, h = 8, i = 9.
Thus, |A| = 1(5(9) - 6(8)) - 2(4(9) - 6(7)) + 3(4(8) - 5(7))
= 1(45 - 42) - 2(36 - 42) + 3(32 - 35)
= 1(3) - 2(-6) + 3(-3)
= 3 + 12 - 9
⇒ |A| = 0
Related Articles:
Similar Reads
Non-linear Components
In electrical circuits, Non-linear Components are electronic devices that need an external power source to operate actively. Non-Linear Components are those that are changed with respect to the voltage and current. Elements that do not follow ohm's law are called Non-linear Components. Non-linear Co
11 min read
Spring Boot Tutorial
Spring Boot is a Java framework that makes it easier to create and run Java applications. It simplifies the configuration and setup process, allowing developers to focus more on writing code for their applications. This Spring Boot Tutorial is a comprehensive guide that covers both basic and advance
10 min read
Class Diagram | Unified Modeling Language (UML)
A UML class diagram is a visual tool that represents the structure of a system by showing its classes, attributes, methods, and the relationships between them. It helps everyone involved in a projectâlike developers and designersâunderstand how the system is organized and how its components interact
12 min read
Steady State Response
In this article, we are going to discuss the steady-state response. We will see what is steady state response in Time domain analysis. We will then discuss some of the standard test signals used in finding the response of a response. We also discuss the first-order response for different signals. We
9 min read
Backpropagation in Neural Network
Back Propagation is also known as "Backward Propagation of Errors" is a method used to train neural network . Its goal is to reduce the difference between the modelâs predicted output and the actual output by adjusting the weights and biases in the network.It works iteratively to adjust weights and
9 min read
Polymorphism in Java
Polymorphism in Java is one of the core concepts in object-oriented programming (OOP) that allows objects to behave differently based on their specific class type. The word polymorphism means having many forms, and it comes from the Greek words poly (many) and morph (forms), this means one entity ca
7 min read
3-Phase Inverter
An inverter is a fundamental electrical device designed primarily for the conversion of direct current into alternating current . This versatile device , also known as a variable frequency drive , plays a vital role in a wide range of applications , including variable frequency drives and high power
13 min read
What is Vacuum Circuit Breaker?
A vacuum circuit breaker is a type of breaker that utilizes a vacuum as the medium to extinguish electrical arcs. Within this circuit breaker, there is a vacuum interrupter that houses the stationary and mobile contacts in a permanently sealed enclosure. When the contacts are separated in a high vac
13 min read
AVL Tree Data Structure
An AVL tree defined as a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees for any node cannot be more than one. The absolute difference between the heights of the left subtree and the right subtree for any node is known as the balance factor of
4 min read
What is a Neural Network?
Neural networks are machine learning models that mimic the complex functions of the human brain. These models consist of interconnected nodes or neurons that process data, learn patterns, and enable tasks such as pattern recognition and decision-making.In this article, we will explore the fundamenta
14 min read