<?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>invertible matrix Archives - Epsilonify</title>
	<atom:link href="https://www.epsilonify.com/tag/invertible-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>invertible 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>
		<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>
