<?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>Linear Algebra Archives - Epsilonify</title>
	<atom:link href="https://www.epsilonify.com/mathematics/linear-algebra/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.epsilonify.com/mathematics/linear-algebra/</link>
	<description>Best solutions on internet!</description>
	<lastBuildDate>Sun, 17 Sep 2023 21:53:27 +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>Linear Algebra Archives - Epsilonify</title>
	<link>https://www.epsilonify.com/mathematics/linear-algebra/</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>
		<item>
		<title>How to find the minors of a nxn matrix?</title>
		<link>https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-minors-of-a-nxn-matrix/</link>
		
		<dc:creator><![CDATA[The Mathematician]]></dc:creator>
		<pubDate>Sat, 25 Jul 2020 10:58:49 +0000</pubDate>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[example minor of a 2x2 matrix]]></category>
		<category><![CDATA[example minor of a 3x3 matrix]]></category>
		<category><![CDATA[example minor of a 4x4 matrix]]></category>
		<category><![CDATA[how to find the minors of a 2x2 matrix]]></category>
		<category><![CDATA[how to find the minors of a 3x3 matrix]]></category>
		<category><![CDATA[how to find the minors of a 4x4 matrix]]></category>
		<category><![CDATA[how to find the minors of a nxn matrix]]></category>
		<category><![CDATA[minors of a matrix]]></category>
		<category><![CDATA[what is a minor of a matrix]]></category>
		<guid isPermaLink="false">https://www.epsilonify.com/?p=61</guid>

					<description><![CDATA[<p>Finding a minor of a matrix is easy, and the steps are almost the same like finding a determinant. It is the first step to find a cofactor matrix. We will start in this article with the general form of finding a minor, how to find a minor of a , , and matrix, where [&#8230;]</p>
<p>The post <a href="https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-minors-of-a-nxn-matrix/">How to find the minors of a nxn matrix?</a> appeared first on <a href="https://www.epsilonify.com">Epsilonify</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Finding a minor of a <span class="katex-eq" data-katex-display="false">n \times n</span> matrix is easy, and the steps are almost the same like finding a determinant. It is the first step to find a <a href="https://www.epsilonify.com/mathematics/find-the-inverse-of-nxn-matrix-by-using-minors-cofactors-and-adjugate/"> cofactor matrix</a>. We will start in this article with the general form of finding a minor, how to find a minor of a <span class="katex-eq" data-katex-display="false">2 \times 2</span>, <span class="katex-eq" data-katex-display="false">3 \times 3</span>, and <span class="katex-eq" data-katex-display="false">4\times 4</span> matrix, where each section ends with an example.</p>

<h2>What are the minors of a 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>

 <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{cccc} a_{1,1} &amp; a_{1,2} &amp; \cdots &amp; a_{1,n} \\ a_{2,1} &amp; a_{2,2} &amp; \cdots &amp; a_{2,n} \\ \vdots &amp; \vdots &amp; \ddots &amp; \vdots \\ a_{n,1} &amp; a_{n,2} &amp; \cdots &amp; a_{n,n} \end{array}\end{bmatrix} </pre></div>

<p>The minor <span class="katex-eq" data-katex-display="false">M_{i,j}</span> of <span class="katex-eq" data-katex-display="false">A</span> is the determinant of <span class="katex-eq" data-katex-display="false">n-1 \times n-1</span> submatrix <span class="katex-eq" data-katex-display="false">A</span>, where the <span class="katex-eq" data-katex-display="false">i</span>th row and <span class="katex-eq" data-katex-display="false">j</span>th column are deleted. In mathematical notation, we will get</p>

 <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M_{i,j} = \begin{vmatrix} a_{1,1} &amp; a_{1,2} &amp; \cdots &amp; a_{1,j-1} &amp; a_{1,j+1} &amp; \cdots &amp; a_{1,n} \\ a_{2,1} &amp; a_{2,2} &amp; \cdots &amp; a_{2,j-1} &amp; a_{2,j+1} &amp; \cdots &amp; a_{2,n} \\ \vdots &amp; \vdots &amp; \ddots &amp; \vdots &amp; \vdots &amp; \cdots &amp; \vdots \\ a_{i-1,1} &amp; a_{i-1,2} &amp; \cdots &amp; a_{i-1,j-1} &amp; a_{i-1,j+1} &amp; \cdots &amp; a_{i-1,n} \\ a_{i+1,1} &amp; a_{i+1,2} &amp; \cdots &amp; a_{i+1,j-1} &amp; a_{i+1,j+1} &amp; \cdots &amp; a_{i+1,n} \\ \vdots &amp; \vdots &amp; \cdots &amp; \vdots &amp; \vdots &amp; \ddots &amp; \vdots \\ a_{n,1} &amp; a_{n,2} &amp; \cdots &amp; a_{n,j-1} &amp; a_{n,j+1} &amp; \cdots &amp; a_{n,n} \end{vmatrix} </pre></div>

<p>Finding all minors of a matrix <span class="katex-eq" data-katex-display="false">A</span>, and plugging them together in a new matrix is called the <strong>matrix of minors</strong>, which we will denote as <span class="katex-eq" data-katex-display="false">M</span>:</p>

 <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M = \begin{bmatrix}\begin{array}{cccc} M_{1,1} &amp; M_{1,2} &amp; \cdots &amp; M_{1,n} \\ M_{2,1} &amp; M_{2,2} &amp; \cdots &amp; M_{2,n} \\ \vdots &amp; \vdots &amp; \ddots &amp; \vdots \\ M_{n,1} &amp; M_{n,2} &amp; \cdots &amp; M_{n,n} \end{array}\end{bmatrix} </pre></div>

<p>In the end, it is almost the same as calculating the determinant. The only difference is that we need to delete one row and one column. We will do some examples in the next sections for more clearness.</p>

<h2>How to find the minors of a 2&#215;2 matrix?</h2>

<p>We will be starting by finding minors of a <span class="katex-eq" data-katex-display="false">2\times 2</span> matrix. So let <span class="katex-eq" data-katex-display="false">A</span> be <span class="katex-eq" data-katex-display="false">2\times 2</span> matrix. Specifically:</p>

 <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{cc} a_{1,1} &amp; a_{1,2} \\ a_{2,1} &amp; a_{2,2} \end{array}\end{bmatrix}  </pre></div>


<p>For each minor <span class="katex-eq" data-katex-display="false">M_{1,1}</span>, <span class="katex-eq" data-katex-display="false">M_{1,2}</span>, <span class="katex-eq" data-katex-display="false">M_{2,1}</span> and <span class="katex-eq" data-katex-display="false">M_{2,2}</span>, we need to find it&#8217;s determinant of the <span class="katex-eq" data-katex-display="false">1\times 1</span> submatrix of <span class="katex-eq" data-katex-display="false">A</span>. But <span class="katex-eq" data-katex-display="false">1\times 1</span> matrix is one element. Therefore, we can rewrite the minors as:</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> \begin{equation*} M_{1,1} = a_{2,2}, \quad M_{1,2} = a_{2,1}, \quad M_{2,1} = a_{1,2}, \quad \text{and} \quad M_{2,2} = a_{1,1} \end{equation*}  </pre></div>
 and this results in the next matrix of minors <span class="katex-eq" data-katex-display="false">M</span></p>

 <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M = \begin{bmatrix}\begin{array}{cc} M_{1,1} &amp; M_{1,2} \\ M_{2,1} &amp; M_{2,2} \end{array}\end{bmatrix} = \begin{bmatrix}\begin{array}{cc} a_{2,2} &amp; a_{2,1} \\ a_{1,2} &amp; a_{1,1} \end{array}\end{bmatrix} </pre></div>

<b>Example</b>. <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{cc} 5 &amp; -2 \\ 7 &amp; 3 \end{array}\end{bmatrix} \ \Rightarrow \ M = \begin{bmatrix}\begin{array}{cc} 3 &amp; 7 \\ -2 &amp; 5 \end{array}\end{bmatrix} </pre></div>

<h2>How to find the minors of a 3&#215;3 matrix?</h2>

<p>Now we need to perform more calculations since we have 9 determinants. Concretely, let <span class="katex-eq" data-katex-display="false">A</span> be the matrix </p>

 <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{ccc} a_{1,1} &amp; a_{1,2} &amp; a_{1,3} \\ a_{2,1} &amp; a_{2,2} &amp; a_{2,3} \\ a_{3,1} &amp; a_{3,2} &amp; a_{3,3} \end{array}\end{bmatrix}</pre></div>

<p>Then the matrix of minors of <span class="katex-eq" data-katex-display="false">A</span> is</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M = \begin{bmatrix}\begin{array}{ccc} M_{1,1} &amp; M_{1,2} &amp; M_{1,3} \\ M_{2,1} &amp; M_{2,2} &amp; M_{2,3} \\ M_{3,1} &amp; M_{3,2} &amp; M_{3,3} \end{array} \end{bmatrix} </pre></div>  <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> \quad = \begin{bmatrix}\begin{array}{ccc} \begin{vmatrix} a_{2,2} &amp; a_{2,3}\\ a_{3,2} &amp; a_{3,3}\\ \end{vmatrix} &amp; \begin{vmatrix} a_{2,1} &amp; a_{2,3}\\ a_{3,1} &amp; a_{3,3}\\ \end{vmatrix} &amp; \begin{vmatrix} a_{2,1} &amp; a_{2,2}\\ a_{3,1} &amp; a_{3,2}\\ \end{vmatrix} \\\\ \begin{vmatrix} a_{1,2} &amp; a_{1,3}\\ a_{3,2}&amp; a_{3,3}\\ \end{vmatrix} &amp; \begin{vmatrix} a_{1,1} &amp; a_{1,3}\\ a_{3,1}&amp; a_{3,3}\\ \end{vmatrix} &amp; \begin{vmatrix} a_{1,1} &amp; a_{1,2}\\ a_{3,1}&amp; a_{3,2}\\ \end{vmatrix} \\\\ \begin{vmatrix} a_{1,2} &amp; a_{1,3}\\ a_{2,2}&amp; a_{2,3}\\ \end{vmatrix} &amp; \begin{vmatrix} a_{1,1} &amp; a_{1,3}\\ a_{2,1}&amp; a_{2,3}\\ \end{vmatrix} &amp; \begin{vmatrix} a_{1,1} &amp; a_{1,2}\\ a_{2,1} &amp; a_{2,2}\\ \end{vmatrix} \end{array} \end{bmatrix} </pre></div> </p>

<b>Example.</b>  <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{ccc} 3 &amp; -1 &amp; 6 \\ 2 &amp; 5 &amp; 7 \\ 1 &amp; -3 &amp; 1 \end{array} \end{bmatrix} \ \Rightarrow \ M = \begin{bmatrix}\begin{array}{ccc} 26 &amp; -5 &amp; -11 \\ 17 &amp; -3 &amp; -8 \\ -37 &amp; 9 &amp; 17 \end{array}\end{bmatrix} </pre></div>

<h2>How to find the minors of a 4&#215;4 matrix?</h2>

<p>We saw in the previous sections that finding a minor is quite an easy and straightforward calculation. To tackle the <span class="katex-eq" data-katex-display="false">4 \times 4</span> matrix, we need to calculate 16 determinants of <span class="katex-eq" data-katex-display="false">3\times 3</span> submatrices. That is a lot of calculations! Normally, that would be done by computers, but here, we will give a few calculations how to find minors of a <span class="katex-eq" data-katex-display="false">4 \times 4</span> matrix.</p>

<p> <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> A = \begin{bmatrix}\begin{array}{cccc} 3 &amp; -1 &amp; 6 &amp; 2 \\ 2 &amp; 5 &amp; 7 &amp; 4 \\ 1 &amp; -3 &amp; 1 &amp; 9 \\ 4 &amp; 1 &amp; 3 &amp; 7 \end{array}\end{bmatrix} </pre></div> We will give an example for calculating the minors <span class="katex-eq" data-katex-display="false">M_{1,1}</span> and <span class="katex-eq" data-katex-display="false">M_{4,2}</span>.  <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M_{1,1} = \begin{vmatrix} 5 &amp; 7 &amp; 4\\ -3 &amp; 1 &amp; 9\\ 1 &amp; 3 &amp; 7 \end{vmatrix} = 5 \cdot \begin{vmatrix} 1 &amp; 9\\ 3 &amp; 7 \end{vmatrix} + 3 \cdot \begin{vmatrix} 7 &amp; 4\\ 3 &amp; 7 \end{vmatrix} + 1 \cdot \begin{vmatrix} 7 &amp; 4\\ 1 &amp; 9 \end{vmatrix} </pre></div>  <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> = 5 \cdot (-20) + 3 \cdot 37 + 1 \cdot 59 = 70 </pre></div>  <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> M_{4,2} = \begin{vmatrix} 3 &amp; 6 &amp; 2 \\ 2 &amp; 7 &amp; 4 \\ 1 &amp; 1 &amp; 9 \\ \end{vmatrix} = 3 \cdot \begin{vmatrix} 7 &amp; 4 \\ 1 &amp; 9 \\ \end{vmatrix} - 2 \cdot \begin{vmatrix} 6 &amp; 2 \\ 1 &amp; 9 \\ \end{vmatrix} + 1 \cdot \begin{vmatrix} 6 &amp; 2 \\ 7 &amp; 4 \\ \end{vmatrix} </pre></div>   <div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre> = 3\cdot 59 - 2 \cdot 52 + 1 \cdot 14 = 83 </pre></div></p>
<h2>Conclusion</h2>

<p>Finding minors of a matrix can be done easily and quickly for matrices of <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>, but bigger than that will increase the complexity of calculations. In the end, minors can be quite handy to find the <a href="https://www.epsilonify.com/mathematics/find-the-inverse-of-nxn-matrix-by-using-minors-cofactors-and-adjugate/"> inverse matrix</a>.</p><p>The post <a href="https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-minors-of-a-nxn-matrix/">How to find the minors of a nxn matrix?</a> appeared first on <a href="https://www.epsilonify.com">Epsilonify</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to find the inverse of a matrix</title>
		<link>https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-inverse-of-a-matrix/</link>
		
		<dc:creator><![CDATA[The Mathematician]]></dc:creator>
		<pubDate>Wed, 22 Jul 2020 13:16:55 +0000</pubDate>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[gauss-jordan method]]></category>
		<category><![CDATA[how to calculate the inverse of a matrix]]></category>
		<category><![CDATA[inverse of a matrix]]></category>
		<category><![CDATA[invertible matrix]]></category>
		<category><![CDATA[what is an inverse matrix]]></category>
		<category><![CDATA[what is an invertible matrix]]></category>
		<guid isPermaLink="false">https://www.epsilonify.com/?p=10</guid>

					<description><![CDATA[<p>What is the inverse of a matrix? Let be a matrix. We define the inverse matrix of if there exists a matrix such that . Then we write the inverse of as . We also say that is invertible if an inverse matrix of exists. Note that not every matrix has an inverse. Theorem 1. [&#8230;]</p>
<p>The post <a href="https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-inverse-of-a-matrix/">How to find the inverse of a matrix</a> appeared first on <a href="https://www.epsilonify.com">Epsilonify</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2> What is the inverse of a 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. We define the inverse matrix of <span class="katex-eq" data-katex-display="false">A</span> if there exists a <span class="katex-eq" data-katex-display="false">n \times n</span> matrix <span class="katex-eq" data-katex-display="false">B</span> such that <span class="katex-eq" data-katex-display="false">AB = I = BA</span>. Then we write the inverse <span class="katex-eq" data-katex-display="false">B</span> of <span class="katex-eq" data-katex-display="false">A</span> as <span class="katex-eq" data-katex-display="false">A^{-1}</span>. We also say that <span class="katex-eq" data-katex-display="false">A</span> is invertible if an inverse matrix of <span class="katex-eq" data-katex-display="false">A</span> exists. Note that not every matrix has an inverse.
<br>
<br>
<strong>Theorem 1.</strong> Let <span class="katex-eq" data-katex-display="false">A</span> be <span class="katex-eq" data-katex-display="false">n \times n</span> matrix. The matrix <span class="katex-eq" data-katex-display="false">A</span> has an inverse if and only if it has <span class="katex-eq" data-katex-display="false">n</span> pivots.
<br>
<br>
This theorem is possible the easiest one. It is also quite clear why the matrix needs <span class="katex-eq" data-katex-display="false">n</span> pivots. Take the assumption that this is not true. Then we have at least one zero row, without loss of generality, and take the last row as the zero row. Then it implies that multiplying two matrices will also contain at least one zero row. That is in contradiction with the definition of an inverse because we need <span class="katex-eq" data-katex-display="false">AA^{-1} = A^{-1}A = I</span>. 

Another way to check if the matrix <span class="katex-eq" data-katex-display="false">A</span> has an inverse is by checking its determinant.
<br>
<br>
<strong>Theorem 2.</strong> Let <span class="katex-eq" data-katex-display="false">A</span> be <span class="katex-eq" data-katex-display="false">n \times n</span> matrix. <span class="katex-eq" data-katex-display="false">A</span> has an inverse if and only if <span class="katex-eq" data-katex-display="false">\det(A) \neq 0</span>.

Few notes to end this part. Let <span class="katex-eq" data-katex-display="false">A</span> be an invertible matrix. <span class="katex-eq" data-katex-display="false">A</span> has only one inverse (so it is unique). Let <span class="katex-eq" data-katex-display="false">\vec{x},\vec{b} \in V</span>, where <span class="katex-eq" data-katex-display="false">V</span> is a vector space, and <span class="katex-eq" data-katex-display="false">A\vec{x} = \vec{b}</span>. Then <span class="katex-eq" data-katex-display="false">A\vec{x} = \vec{b}</span> if and only if <span class="katex-eq" data-katex-display="false">\vec{x} = A^{-1}\vec{b}</span>. 

<h2> The Gauss-Jordan Method</h2>
The Gauss-Jordan Method is the same as Gaus elimination, but then finding the inverse of that specific matrix. To perform the Gaus-Jordan, we need to follow the next steps:

<strong>Algorithm.</strong> Algorithm to find the inverse:
<ol>
  <li>Put the <span class="katex-eq" data-katex-display="false">A</span> in an <span class="katex-eq" data-katex-display="false">n \times 2n</span> block matrix <span class="katex-eq" data-katex-display="false">[A | I]</span>.</li>
  <li>Now perform the Gaus elimination till you get <span class="katex-eq" data-katex-display="false">[I | A^{-1}]</span>. If that fails, then <span class="katex-eq" data-katex-display="false">A</span> has no inverse as it doesn&#8217;t have <span class="katex-eq" data-katex-display="false">n</span> pivots.</li>
</ol> 

We will end this by giving an example of performing the Gauss-Jordan Method. 

<span class="katex-eq" data-katex-display="false">[A | I] =</span> 
<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\begin{bmatrix}\begin{array}{cc|cc}
1 &amp; 2 &amp;  1 &amp; 0 \\
2 &amp; 1 &amp;  0 &amp; 1
\end{array}
\end{bmatrix}</pre></div>
 
<span class="katex-eq" data-katex-display="false">\sim</span>

<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\begin{bmatrix}\begin{array}{cc|cc}
1 &amp; 2 &amp;  1 &amp; 0 \\
0 &amp; 3 &amp;  2 &amp; -1
\end{array}
\end{bmatrix}</pre></div>
 
<span class="katex-eq" data-katex-display="false">\sim</span>

<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\begin{bmatrix}\begin{array}{cc|cc}
1 &amp; 2 &amp;  1 &amp; 0 \\
0 &amp; 1 &amp;  \frac{2}{3} &amp; -\frac{1}{3}
\end{array}
\end{bmatrix}</pre></div>

<span class="katex-eq" data-katex-display="false">\sim</span>

<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\begin{bmatrix}\begin{array}{cc|cc}
1 &amp; 0 &amp;  -\frac{1}{3} &amp; \frac{2}{3} \\
0 &amp; 1 &amp;  \frac{2}{3} &amp; -\frac{1}{3}
\end{array}
\end{bmatrix}</pre></div>

<span class="katex-eq" data-katex-display="false">= [I | A^{-1}]</span>
<br>
<br>
When matrices are getting bigger, mistakes can be easily made. But after the calculation with the Gauss-Jordan method, the reader can check if the answer is correct by applying <span class="katex-eq" data-katex-display="false">AA^{-1} = A^{-1}A = I</span>. There is a more simple way to find the inverse matrix by using <a href="https://www.epsilonify.com/mathematics/find-the-inverse-of-nxn-matrix-by-using-minors-cofactors-and-adjugate/"> minors, cofactors, and adjugate</a>.<p>The post <a href="https://www.epsilonify.com/mathematics/linear-algebra/how-to-find-the-inverse-of-a-matrix/">How to find the inverse of a matrix</a> appeared first on <a href="https://www.epsilonify.com">Epsilonify</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
