<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>find the inverse of nxn matrix Archives - Epsilonify</title>
	<atom:link href="https://www.epsilonify.com/tag/find-the-inverse-of-nxn-matrix/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Best solutions on internet!</description>
	<lastBuildDate>Sun, 17 Sep 2023 21:19:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.5</generator>

<image>
	<url>https://www.epsilonify.com/wp-content/uploads/2022/09/cropped-E-M7-32x32.png</url>
	<title>find the inverse of nxn matrix Archives - Epsilonify</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Find the inverse of nxn matrix by using minors, cofactors, and adjugate</title>
		<link>https://www.epsilonify.com/mathematics/linear-algebra/find-the-inverse-of-nxn-matrix-by-using-minors-cofactors-and-adjugate/</link>
		
		<dc:creator><![CDATA[The Mathematician]]></dc:creator>
		<pubDate>Wed, 29 Jul 2020 12:18:12 +0000</pubDate>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[find the inverse of nxn matrix]]></category>
		<category><![CDATA[how to find the inverse matrix]]></category>
		<category><![CDATA[inverse of a matrix]]></category>
		<category><![CDATA[invertible matrix]]></category>
		<category><![CDATA[minors cofactors and adjugate]]></category>
		<guid isPermaLink="false">https://www.epsilonify.com/?p=33</guid>

					<description><![CDATA[<p>This article will explain how to find the inverse of a matrix by using minors, cofactors, and adjugate. First, we will start with the general form, how to apply the above tools. After that, we will see an example of how to apply that on the and matrix. If you are unfamiliar with the invertible [&#8230;]</p>
<p>The post <a href="https://www.epsilonify.com/mathematics/linear-algebra/find-the-inverse-of-nxn-matrix-by-using-minors-cofactors-and-adjugate/">Find the inverse of nxn matrix by using minors, cofactors, and adjugate</a> appeared first on <a href="https://www.epsilonify.com">Epsilonify</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This article will explain how to find the inverse of a <span class="katex-eq" data-katex-display="false">n \times n</span> matrix by using minors, cofactors, and adjugate. First, we will start with the general form, how to apply the above tools. After that, we will see an example of how to apply that on the <span class="katex-eq" data-katex-display="false">2 \times 2</span> and <span class="katex-eq" data-katex-display="false">3 \times 3</span> matrix. If you are unfamiliar with the invertible matrix, check <a href="https://www.epsilonify.com/mathematics/how-to-find-the-inverse-of-a-matrix/">this article</a>.</p>

<h2>How to find the inverse of a nxn matrix</h2>

<p>Let <span class="katex-eq" data-katex-display="false">A</span> be a <span class="katex-eq" data-katex-display="false">n \times n</span> matrix. Specifically:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{cccc}<br>a_{1,1} &amp; a_{1,2} &amp; \cdots &amp; a_{1,n} \\<br>a_{2,1} &amp; a_{2,2} &amp; \cdots &amp; a_{2,n} \\<br>\vdots &amp; \vdots &amp; \ddots &amp; \vdots \\<br>a_{n,1} &amp; a_{n,2} &amp; \cdots &amp; a_{n,n}<br>\end{array}\end{bmatrix}</pre></div></p>

<p><i><b> First step: finding the minors of a nxn matrix </b></i></p>

<p>We already have written an article about finding <a href="https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-minors-of-a-nxn-matrix/"> minors</a>, so we give here the resulting matrix of minors <span class="katex-eq" data-katex-display="false">M</span> for the matrix <span class="katex-eq" data-katex-display="false">A</span>:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>M = \begin{bmatrix}\begin{array}{cccc}<br>M_{1,1} &amp; M_{1,2} &amp; \cdots &amp; M_{1,n} \\<br>M_{2,1} &amp; M_{2,2} &amp; \cdots &amp; M_{2,n} \\<br>\vdots &amp; \vdots &amp; \ddots &amp; \vdots \\<br>M_{n,1} &amp; M_{n,2} &amp; \cdots &amp; M_{n,n}<br>\end{array}\end{bmatrix} </pre></div></p>

<p><i><b> Second step: finding the cofactor matrix </b></i></p>

<p>If we look at the matrix of minors <span class="katex-eq" data-katex-display="false">M</span> above, then each minor needs to be rewritten as</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> \begin{equation*}<br>M_{i,j} = (-1)^{i + j} M_{i,j}<br>\end{equation*}</pre></div></p>

<p>to get the cofactor matrix. The resulting cofactor matrix <span class="katex-eq" data-katex-display="false">C</span> will be</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> C = \begin{bmatrix}\begin{array}{cccc}<br>(-1)^{1 + 1}M_{1,1} &amp; (-1)^{1 + 2}M_{1,2} &amp; \cdots &amp; (-1)^{1 + n}M_{1,n} \\<br>(-1)^{2 + 1} M_{2,1} &amp; (-1)^{2 + 2}M_{2,2} &amp; \cdots &amp; (-1)^{2 + n}M_{2,n} \\<br>\vdots &amp; \vdots &amp; \ddots &amp; \vdots \\<br>(-1)^{n + 1}M_{n,1} &amp; (-1)^{n + 2}M_{n,2} &amp; \cdots &amp; (-1)^{n + n}M_{n,n}<br>\end{array}\end{bmatrix} </pre></div></p>

<p>If <span class="katex-eq" data-katex-display="false">i + j</span> is odd, then the minor will be multiplied by -1. If <span class="katex-eq" data-katex-display="false">i + j</span> is even, then it will be multiplied by 1 (so nothing will happen). It is also evident that the minors on the diagonal remain the same since adding two equal integers will result in an even integer.</p>


<p><i><b> Third step: adjucate the matrix </b></i></p>



<p>Now we applied the first two steps, and so far, we have found the cofactor <span class="katex-eq" data-katex-display="false">C</span> of the matrix <span class="katex-eq" data-katex-display="false">A</span>. Our third step is to find the adjugate of a matrix <span class="katex-eq" data-katex-display="false">A</span>. That is finding the transpose of the cofactor matrix <span class="katex-eq" data-katex-display="false">C</span> of <span class="katex-eq" data-katex-display="false">A</span>:</p>


<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> \text{adj}(A) = C^{T} = \begin{bmatrix}\begin{array}{cccc}<br>(-1)^{1 + 1}M_{1,1} &amp; (-1)^{2 + 1} M_{2,1} &amp; \cdots &amp; (-1)^{n + 1}M_{n,1} \\<br>(-1)^{1 + 2}M_{1,2} &amp; (-1)^{2 + 2}M_{2,2} &amp; \cdots &amp; (-1)^{n + 2}M_{n,2} \\<br>\vdots &amp; \vdots &amp; \ddots &amp; \vdots \\<br>(-1)^{1 + n}M_{1,n} &amp; (-1)^{2 + n}M_{2,n} &amp; \cdots &amp; (-1)^{n + n}M_{n,n}<br>\end{array} \end{bmatrix}</pre></div> </p>

<p><i><b> Fourth step: finding the determinant of the original matrix </b></i></p>

<p>Our last step is to find the determinant of the matrix <span class="katex-eq" data-katex-display="false">A</span>. If we have find that, we can plug everything together, and we will get the resulting inverse of matrix <span class="katex-eq" data-katex-display="false">A</span>:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\begin{equation*}<br>A^{-1} = \frac{1}{\text{det}(A)} \text{adj}(A)<br>\end{equation*}</pre></div></p>

<h2>Example of an inverse of a 2&#215;2 matrix</h2>

<p>We will give an example of how to find the inverse of a 2&#215;2 matrix.</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{cc}<br>5 &amp; -2 \\<br>7 &amp; 3<br>\end{array}\end{bmatrix} </pre></div></p>

<p><i><b> First step: finding the minors of matrix A </b></i></p>

<p>We have done an example of finding the matrix of minors of the same <span class="katex-eq" data-katex-display="false">2\times 2</span> matrix <span class="katex-eq" data-katex-display="false">A</span> in <a href="https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-minors-of-a-nxn-matrix/"> this article</a>.</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M = \begin{bmatrix}\begin{array}{cc}<br>3 &amp; 7 \\<br>-2 &amp; 5<br>\end{array}\end{bmatrix} </pre></div></p>

<p><i><b> Second step: finding the cofactor matrix of A </b></i></p>

<p>The minors on diagonal will stay the same, but the minors <span class="katex-eq" data-katex-display="false">M_{1,2}</span> and <span class="katex-eq" data-katex-display="false">M_{2,1}</span> have an odd integer (1 + 2 = 2 + 1 = 3). Therefore, those two minors will be multiplied with -1:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> C = \begin{bmatrix}\begin{array}{cc}<br>3 &amp; -7 \\<br>2 &amp; 5<br>\end{array}\end{bmatrix} </pre></div></p>

<p><i><b> Third step: adjucate the matrix A </b></i></p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> \text{adj}(A) = C^{T} = \begin{bmatrix}\begin{array}{cc}<br>3 &amp; 2 \\<br>-7 &amp; 5<br>\end{array}\end{bmatrix}  </pre></div></p>

<p><i><b> Fourth step: finding the determinant of the original matrix A </b></i><br class=""><br class=""></p>

<p>First we need to calculate the determinant: <span class="katex-eq" data-katex-display="false">\text{det}(A) = 5 \cdot 3 - (-2 \cdot 7) = 29</span>. Now we plug everything together, and we will get the resulting inverse matrix of <span class="katex-eq" data-katex-display="false">A</span>:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A^{-1} = \frac{1}{\text{det}(A)} \text{adj}(A) = \frac{1}{29} \begin{bmatrix}\begin{array}{cc}<br>3 &amp; 2 \\<br>-7 &amp; 5<br>\end{array}\end{bmatrix}  </pre></div></p>

<h2>Example of an inverse of a 3&#215;3 matrix</h2>

<p>We will give an example of how to find the inverse of a 3&#215;3 matrix.</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{ccc}<br>3 &amp; -1 &amp; 6 \\<br>2 &amp; 5 &amp; 7 \\<br>1 &amp; -3 &amp; 1<br>\end{array}\end{bmatrix}</pre></div></p>

<p><i><b> First step: finding the minors of matrix A </b></i> <br class=""><br class=""></p>

<p>We have done an example of finding the matrix of minors of the same <span class="katex-eq" data-katex-display="false">3\times 3</span> matrix <span class="katex-eq" data-katex-display="false">A</span> in <a href="https://www.epsilonify.com/mathematics/how-to-find-the-inverse-of-a-matrix/"> this article</a>.</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M = \begin{bmatrix}\begin{array}{ccc}<br>26 &amp; -5 &amp; -11 \\<br>17 &amp; -3 &amp; -8 \\<br>-37 &amp; 9 &amp; 17<br>\end{array}\end{bmatrix}</pre></div></p>

<p><i><b> Second step: finding the cofactor matrix of A </b></i></p>

<p>The minors <span class="katex-eq" data-katex-display="false">M_{1,2}</span>, <span class="katex-eq" data-katex-display="false">M_{2,1}</span>, <span class="katex-eq" data-katex-display="false">M_{2,3}</span>, and <span class="katex-eq" data-katex-display="false">M_{3,2}</span> will be multiplied by -1, since the sum of the row and column position is odd.</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> C = \begin{bmatrix}\begin{array}{ccc}<br>26 &amp; 5 &amp; -11 \\<br>-17 &amp; -3 &amp; 8 \\<br>-37 &amp; -9 &amp; 17<br>\end{array}\end{bmatrix}</pre></div></p>

<p><i><b> Third step: adjucate the matrix A </b></i></p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\text{adj}(A) = C^{T} = \begin{bmatrix}\begin{array}{ccc}<br>26 &amp; -17 &amp; -37 \\<br>5 &amp; -3 &amp; -9 \\<br>-11 &amp; 8 &amp; 17<br>\end{array}\end{bmatrix}</pre></div></p>

<p><i><b> Fourth step: finding the determinant of the original matrix A </b></i></p>

<p>Finding the determinant of this example will cost more calculations than the previous one:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> \text{det}(A) = 3 \cdot \begin{vmatrix}<br>5 &amp; 7 \\<br>-3 &amp; 1<br>\end{vmatrix} - 2 \cdot \begin{vmatrix}<br>-1 &amp; 6 \\<br>-3 &amp; 1<br>\end{vmatrix} + \cdot \begin{vmatrix}<br>-1 &amp; 6 \\<br>5 &amp; 7<br>\end{vmatrix} </pre></div></p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>= 3(5\cdot 1 - 7\cdot (-3)) - 2((-1)\cdot 1 - 6\cdot (-3)) + (-1)\cdot 7 - 6 \cdot 5 </pre></div></p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> = 3\cdot26 - 2\cdot 17 - 7 - 30 = 7</pre></div></p>

<p>Now we plug everything together, and we will get the resulting inverse matrix of <span class="katex-eq" data-katex-display="false">A</span>:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A^{-1} = \frac{1}{\text{det}(A)} \text{adj}(A) = \frac{1}{7} \begin{bmatrix}\begin{array}{ccc}<br>26 &amp; -17 &amp; -37 \\<br>5 &amp; -3 &amp; -9 \\<br>-11 &amp; 8 &amp; 17<br>\end{array}\end{bmatrix}</pre></div></p>

<h2>Conclusion</h2>

<p>This is probably one of the easiest ways to find the inverse of a matrix. There is also another way to find the inverse, that is, by using the <a href="https://www.epsilonify.com/mathematics/how-to-find-the-inverse-of-a-matrix/"> Gauss-Jordan Method</a>.</p><p>The post <a href="https://www.epsilonify.com/mathematics/linear-algebra/find-the-inverse-of-nxn-matrix-by-using-minors-cofactors-and-adjugate/">Find the inverse of nxn matrix by using minors, cofactors, and adjugate</a> appeared first on <a href="https://www.epsilonify.com">Epsilonify</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
