The Wayback Machine - https://web.archive.org/web/20240812005807/https://www.geeksforgeeks.org/inverse-of-a-matrix-by-elementary-operations-matrices-class-12-maths/
Open In App

Inverse of a Matrix by Elementary Operations – Matrices | Class 12 Maths

Last Updated : 17 Nov, 2020
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

The Gaussian Elimination method is also known as the row reduction method and it is an algorithm that is used to solve a system of linear equations. It is usually understood as a sequence of operations performed on the corresponding matrix of coefficients. This algorithm is used to find :

  • The rank of a matrix.
  • The determinant of a matrix.
  • The inverse of a matrix.

The operations we can perform on the matrix to modify are:

  • Interchanging/swapping two rows.
  • Multiplying or Dividing a row by a positive integer.
  • Adding or subtracting a multiple of one row to another.

Now using these operations we can modify a matrix and find its inverse. The steps involved are:

  • Step 1: Create an identity matrix of n x n.
  • Step 2: Perform row or column operations on the original matrix(A) to make it equivalent to the identity matrix.
  • Step 3: Perform similar operations on the identity matrix too. 

Now the resultant identity matrix after all the operations is the inverse matrix.

Examples

Note: 

Here, R1: Row 1, R2: Row 2, R3: Row 3

Example 1: Find the inverse of the following matrix by elementary operations?

A =\begin{bmatrix}2&0&3\\-1&3&-4\\-3&1&-4\end{bmatrix}

Solution:

Let’s perform row or column operations on the original matrix(A) to make it equivalent to the identity matrix.

Step 1: Interchange R2 and R3 rows (to make A[2][2] = 1)

\begin{bmatrix}2&0&3\\-3&1&-4\\-1&3&-4\end{bmatrix}

Step 2: R1 = R1 + R3 (to make A[1][1] = 1)

\begin{bmatrix}1&3&-1\\-3&1&-4\\-1&3&-4\end{bmatrix}

Step 3: R2 = R2 – 3R3 (to make A[2][1] = 0)

\begin{bmatrix}1&3&-1\\0&-8&8\\-1&3&-4\end{bmatrix}

Step 4: R3 = R3 + R1 (to make A[3][1] = 0)

\begin{bmatrix}1&3&-1\\0&-8&8\\0&6&-5\end{bmatrix}

Step 5: R2 = R2/-8 (to make A[2][2] = 1)

\begin{bmatrix}1&3&-1\\0&1&-1\\0&6&-5\end{bmatrix}

Step 6: R1 = R1 – R2 (to make A[1][3] = 0)

\begin{bmatrix}1&2&0\\0&1&-1\\0&6&-5\end{bmatrix}

Step 7: R3 – 6R2 (to make A[3][2] = 0)

\begin{bmatrix}1&2&0\\0&1&-1\\0&0&1\end{bmatrix}

Step 8: R2 = R2 + R3 (to make A[2][3] = 0)

\begin{bmatrix}1&2&0\\0&1&0\\0&0&1\end{bmatrix}

Step 9: R1 = R1 – 2R2 (to make A[1][2] = 0)

\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}

Now perform the same operation as above on the identity matrix. Result after each similar operations as above on the identity matrix, we get:

Identity \ matrix(I) = \begin{bmatrix} 1 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1 \end{bmatrix}

Step 1: Interchange R2 and R3 rows

\begin{bmatrix} 1 & 0 & 0\\ 0 & 0 & 1\\ 0 & 1 & 0 \end{bmatrix}

Step 2: R1 = R1 + R3

\begin{bmatrix} 1 & 1 & 0\\ 0 & 0 & 1\\ 0 & 1 & 0 \end{bmatrix}

Step 3: R2 = R2 – 3R3

\begin{bmatrix} 1 & 1 & 0\\ 0 & -3 & 1\\ 0 & 1 & 0 \end{bmatrix}

Step 4: R3 = R3 + R1

\begin{bmatrix} 1 & 1 & 0\\ 0 & -3 & 1\\ 1 & 2 & 0 \end{bmatrix}

Step 5: R2 = R2/-8

\begin{bmatrix} 1 & 1 & 0\\ 0 & 3/8 & -1/8\\ 1 & 2 & 0 \end{bmatrix}

Step 6: R1 = R1 – R2

\begin{bmatrix} 1 & 5/8 & 1/8\\ 0 & 3/8 & -1/8\\ 1 & 2 & 0 \end{bmatrix}

Step 7: R3 – 6R2

\begin{bmatrix} 1 & 5/8 & 1/8\\ 0 & 3/8 & -1/8\\ 1 & -1/4 & 3/4 \end{bmatrix}

Step 8: R2 = R2 + R3

\begin{bmatrix} 1 & 5/8 & 1/8\\ 0 & 1/8 & 5/8\\ 1 & -1/4 & 3/4 \end{bmatrix}

Step 9: R1 = R1 – 2R2

\begin{bmatrix} -1 & 3/8 & -9/8\\ 1 & 1/8 & 5/8\\ 1 & -1/4 & 3/4 \end{bmatrix}

So, the inverse of matrix A is:

A^{-1}  = \begin{bmatrix} -1 & 3/8 & -9/8\\ 1 & 1/8 & 5/8\\ 1 & -1/4 & 3/4 \end{bmatrix}

Example 2: Find the inverse of the following matrix by elementary operations?

A = \begin{bmatrix} 1& 1 & 0\\ 0 & -1 & 0\\ 0 & 0 & 1 \end{bmatrix}

Solution:

Step 1: R1 = R1 + R2

\begin{bmatrix} 1& 0 & 0\\ 0 & -1 & 0\\ 0 & 0 & 1 \end{bmatrix}

Step 2: R2 = R2 x -1

\begin{bmatrix} 1& 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1 \end{bmatrix}

Similar operations on the identity matrix will result in:

A^{-1} = \begin{bmatrix} 1& 1 & 0\\ 0 & -1 & 0\\ 0 & 0 & 1 \end{bmatrix}

Example 3: Find the inverse of the following matrix by elementary operations?

A = \begin{bmatrix} 1& 0 & 0\\ 0 & 0 & 1\\ 0 & 1 & 1 \end{bmatrix}

Solution:

Step 1: Swap R2 and R3

\begin{bmatrix} 1& 0 & 0\\ 0 & 1& 1\\ 0 & 0 & 1 \end{bmatrix}

Step 2: R2 = R2 – R3

\begin{bmatrix} 1& 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1 \end{bmatrix}

Similar operations on the identity matrix will result in:

A^{-1} = \begin{bmatrix} 1& 0 & 0\\ 0 & -1 & 1\\ 0 & 1 & 0 \end{bmatrix}

Previous Article
Next Article

Similar Reads

Elementary Operations on Matrices
Elementary Operations on Matrices are the operations performed on the rows and columns of the matrix that do not change the value of the matrix. A matrix is a way of representing numbers in the form of an array, i.e. the numbers are arranged in the form of rows and columns. In a matrix, the rows and columns contain all the values in the cell. We re
9 min read
Practice Problems on Determinant using Elementary Operations
Using the properties of determinants and without expanding in Exercise 1 to 7, prove that: Question 1. [Tex]\begin{vmatrix}x & a & x+a\\y & b & y+b\\z &c & z+c\end{vmatrix}=0[/Tex] Solution: L.H.S.= [Tex]\begin{vmatrix}x & a & x+a\\y & b & y+b\\z &c & z+c\end{vmatrix}[/Tex] C 1 →C 1 +C 2 = [Tex]\begin
15 min read
Graphs of Inverse Trigonometric Functions - Trigonometry | Class 12 Maths
Inverse trigonometric functions are the inverse functions of the trigonometric ratios i.e. sin, cos, tan, cot, sec, cosec. These functions are widely used in fields like physics, mathematics, engineering and other research fields. There are two popular notations used for inverse trigonometric functions: Adding "arc" as a prefix. Example: arcsin(x),
7 min read
How to Solve a System of Equations using Inverse of Matrices?
In mathematics, a matrix is an array of numbers arranged in a rectangular pattern and separated into rows and columns. They're commonly depicted by enclosing all of the integers within square brackets. In this article, we will discuss how to solve a system of equations using the inverse of matrices in detail. Table of Content DeterminantMinors and
13 min read
Additive Inverse and Multiplicative Inverse
Additive inverse of a number is what you add to the original number to get a sum of zero. On the other hand, multiplicative inverse of a number is what you multiply the original number by to get a product of one. Let's learn about the Additive Inverse and Multiplicative Inverse with the help of solved examples. Additive Inverse DefinitionThe additi
4 min read
Special Series in Maths - Sequences and Series | Class 11 Maths
Special Series: A series can be defined as the sum of all the numbers of the given sequence. The sequences are finite as well as infinite. In the same way, the series can also be finite or infinite. For example, consider a sequence as 1, 3, 5, 7, … Then the series of these terms will be 1 + 3 + 5 + 7 + ….. The series special in some way or the othe
10 min read
Class 12 RD Sharma Solutions - Chapter 7 Adjoint and Inverse of a Matrix - Exercise 7.1 | Set 1
Question 1. Find the adjoint of the following matrices:Verify that (adj A)A = |A|I = A(adj A) for the above matrices:(i) [Tex]\begin{bmatrix}-3&5\\2&4\end{bmatrix} [/Tex] Solution: Here, A = [Tex]\begin{bmatrix}-3&5\\2&4\end{bmatrix}[/Tex] Cofactors of A are: C11 = 4 C12 = -2 C21 = -5 C22 = -3 adj A =[Tex] \begin{bmatrix}C_{11}&
12 min read
Class 12 RD Sharma Solutions - Chapter 7 Adjoint and Inverse of a Matrix - Exercise 7.1 | Set 3
Question 25. Show that the matrix A = [Tex]\begin{bmatrix}1&0&-2\\-2&-1&2\\3&4&1\end{bmatrix} [/Tex] satisfies the equation A3 - A2 - 3A - I3 = 0. Hence, find A-1. Solution: Here, A = [Tex]\begin{bmatrix}1&0&-2\\-2&-1&2\\3&4&1\end{bmatrix}[/Tex] A2 = [Tex]\begin{bmatrix}1&0&-2\\-2&-1&2
7 min read
Class 12 RD Sharma Solutions - Chapter 7 Adjoint and Inverse of a Matrix - Exercise 7.1 | Set 2
Question 10. For the following parts of matrices verify that (AB)-1 = B-1A-1.(i) A = [Tex]\begin{bmatrix}3&2\\7&5\end{bmatrix} [/Tex]and B = [Tex]\begin{bmatrix}4&6\\3&2\end{bmatrix} [/Tex] Solution: To prove (AB)-1= B-1A-1 We take LHS AB = [Tex]\begin{bmatrix}3&2\\7&5\end{bmatrix}\begin{bmatrix}4&6\\3&2\end{bmatrix}
9 min read
Class 12 RD Sharma Solutions - Chapter 7 Adjoint and Inverse of a Matrix - Exercise 7.2
Find the inverse of each of the following matrices by using elementary row transformation(Questions 1- 16):Question 1. [Tex]\begin{bmatrix}7&1\\4&-3\end{bmatrix} [/Tex] Solution: Here, A = [Tex]\begin{bmatrix}7&1\\4&-3\end{bmatrix} [/Tex] A = AI Using elementary row operation ⇒[Tex]\begin{bmatrix}7&1\\4&-3\end{bmatrix}=\begi
5 min read
three90RightbarBannerImg