<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Math for deep learning - Medium]]></title>
        <description><![CDATA[Math for deep learning - Medium]]></description>
        <link>https://medium.com/math-for-deep-learning?source=rss----3204b0bb3fc6---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Math for deep learning - Medium</title>
            <link>https://medium.com/math-for-deep-learning?source=rss----3204b0bb3fc6---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 03:45:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/math-for-deep-learning" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Chapter1.2 Row reduction and Echelon forms]]></title>
            <link>https://medium.com/math-for-deep-learning/row-reduction-and-echelon-forms-c13ac7fcd658?source=rss----3204b0bb3fc6---4</link>
            <guid isPermaLink="false">https://medium.com/p/c13ac7fcd658</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[JaewooChoi]]></dc:creator>
            <pubDate>Sun, 10 Dec 2023 17:43:37 GMT</pubDate>
            <atom:updated>2023-12-10T17:44:18.408Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, we’ll study the following</p><ul><li>A nonzero row of column</li><li>A leading entry of row</li><li>Echelon form</li><li>Reduced echelon form</li><li>Uniqueness of the Reduced Echelon Form</li><li>Row reduction algorithm</li><li>Solution of linear systems</li><li>Existence and Uniqueness Theorem</li></ul><p>The key point of this post is that <strong><em>we can get a reduced echelon form with row reduction</em></strong><em>.</em></p><p>And if you make a linear system a reduced echelon form, it’s easy to find its solution.</p><h3><strong>A nonzero row or column</strong></h3><p>A nonzero row or column means that there is<strong><em> at least one item in the row or column that is not zero</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*Wd3_YsBX2khJp879VNoubg.png" /><figcaption>nonzezro row and nonzero column</figcaption></figure><h3>A leading entry of row</h3><p>A leading entry of a row means the leftmost nonzero entry in the row.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*RyliuHvdUucVFiv5PZcQ2g.png" /><figcaption>A leading entry of row</figcaption></figure><h3>Echelon form</h3><p>Echelon form satisfies two conditions.</p><ol><li>All nonzero rows are above all zeros rows.</li><li>The leading entry in a row is in the column to the right of the leading entry above it.</li></ol><p>If you’re just looking at the text, it might not make sense. The following illustration should help you understand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4bMWZqpFgO3x9vUvFSe9LA.png" /></figure><h3>Reduced echelon form</h3><p>A reduced row echelon form must satisfy two additional conditions beyond the basic two conditions of a echelon form.</p><p>(3) The leading entry in a nonzero row must be 1.</p><p>(4) Except for the part where the leading entry is 1, the rest of the column must be all zeros.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wwr4ECASXjJog-ENfhr8Qw.png" /></figure><p>And the position of 1 is called the<strong><em> pivot position</em></strong>.</p><h3>Uniqueness of the Reduced Echelon Form</h3><p>For each matrix, there is only one reduced row echelon form.</p><p>There are no other forms of reduced row echelon form.</p><h3><strong>Row reduction algorithm</strong></h3><p>Now, let’s examine the process of creating a reduced row echelon form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*gCPeGh7s6VPPE6fMgGwn8g.png" /></figure><p><strong>STEP 1. </strong>Start with the leftmost nonzero column. This is the pivot column, and its location is the pivot position.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*IjYkIo0lckC60VqWufzYJA.png" /></figure><p>In this case, since the pivot position is 0, an interchange with another row is necessary.</p><p><strong>STEP 2.</strong> Select a nonzero entry in the pivot column as a pivot. if necessary, interchange rows to move this entry into pivot position.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*KxBLqYkbHLhUWIaFJ64wPg.png" /><figcaption>Interchange rows 1 and 3.</figcaption></figure><p><strong>STEP 3.</strong> Use row replacement operations to create zeros in all positions below the pivot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*-C-y-iI9tezKllIldVl_CA.png" /></figure><p><strong>STEP 4. </strong>Apply steps 1–3 to the submatrix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*J_t5kCcNfq2u8Dtzn24TTA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*WIl3bmQ8ZP3_Yv0mBDJ0Lw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*BKa9pcn3rlDH5jC278PcFQ.png" /></figure><p><strong><em>The echelon form</em></strong> has been created through steps 1–4, known as the <strong><em>forward phase</em></strong>.</p><p>Now, let’s create <strong><em>the reduced echelon form</em></strong> through step 5, known as the <strong><em>backward phase</em></strong>.</p><p><strong>STEP 5. </strong>Make the bottom pivot 1 and turn everything above the pivot into 0s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*tQpotOu4o3a0fzyGLz_lvA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*ib5PwNwuhsGN11l9rD8CHg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*TdislRp8LcyH0wWYTGFlEg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*ZM5J38aqbdgHCrRJJ-E7Pw.png" /></figure><p>In this way, the reduced echelon form can be created through the fifth step.</p><h3>Solution of linear systems</h3><p>If an augmented matrix is transformed into a reduced echelon form using the row reduction algorithm, it becomes easier to find the solution to a system of linear equations.</p><p>Let’s take a look at the augmented matrix in its reduced echelon form, obtained through row reduction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*WjTZAILtrFNx-KMnH0zZUA.png" /><figcaption>pic 1</figcaption></figure><p>This can be represented as a system of linear equations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*76div8zQ5sa4hHVUMpB4qw.png" /><figcaption>pic 2</figcaption></figure><p>From the above system of linear equations, the solution can be found as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*jNQPZhTcnhnkV3TmkCc0lQ.png" /><figcaption>pic 3</figcaption></figure><p>It is important to clearly understand the terms <strong><em>general solution</em></strong>, <strong><em>basic variables</em></strong>, and <strong><em>free variables</em></strong>.</p><p>(1) Free variable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/1*GYvqdXGAL9TSstjXXXMH_g.png" /><figcaption>pic 4</figcaption></figure><ul><li>x_3 is free variable.</li><li>This is because x_3 can take any value and still satisfy the equation 0 = 0.</li><li>A Free Variable is assigned to a column that does not have a pivot position. You can check at &lt;pic 1&gt;. Row 3 doesn’t have pivot position.</li></ul><p>(2) Basic variables</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*QotuWEDcOngZYAU5i0n-LA.png" /></figure><ul><li>Basic variables refer to those variables that are expressed in terms of the free variables.</li></ul><p>(3) General solution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/1*FuIN1RD0am3Dla8EZkXOew.png" /></figure><ul><li>The general solution refers to the solution that is expressed in terms of both basic and free variables.</li></ul><h3><strong>Existence and Uniqueness Theorem</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D_OwHZWuZvTj9TeIsKAl9A.png" /></figure><p>(1) If a system of linear equations is consistent, then in its augmented matrix, the constant term column ‘b’ does not have a pivot position.</p><p>This means there should not be a row that is zero except for the ‘b’ term.</p><p>For example, the equation 0x_1 + 0x_2 = 3. It represents an impossible equation</p><p>(2) If a linear system is consistent, then</p><p>(i) if there are <strong><em>no free variables</em></strong>, there is <strong><em>exactly one solution.</em></strong></p><p>(ii) if there is <strong><em>one or more free variables</em></strong>, there are <strong><em>infinitely many solutions</em></strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c13ac7fcd658" width="1" height="1" alt=""><hr><p><a href="https://medium.com/math-for-deep-learning/row-reduction-and-echelon-forms-c13ac7fcd658">Chapter1.2 Row reduction and Echelon forms</a> was originally published in <a href="https://medium.com/math-for-deep-learning">Math for deep learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter1.1 Systems of Linear Equations]]></title>
            <link>https://medium.com/math-for-deep-learning/chapter1-1-systems-of-linear-equations-16c415916d55?source=rss----3204b0bb3fc6---4</link>
            <guid isPermaLink="false">https://medium.com/p/16c415916d55</guid>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[matrix]]></category>
            <dc:creator><![CDATA[JaewooChoi]]></dc:creator>
            <pubDate>Sat, 09 Dec 2023 10:48:41 GMT</pubDate>
            <atom:updated>2023-12-09T10:48:40.970Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, we’ll study the following</p><ul><li>Linear Equation</li><li>Systems of linear Equation</li><li>Solution Set</li><li>Meaning of consistent/inconsistent</li><li>Matrix notation</li><li>Elimination</li><li>Row Operation</li><li>Equivalent/ Row Equivalent</li></ul><h3><strong>Linear Equation</strong></h3><p>The variables x_1, x_2, …, x_n is an equation that can be written in the form</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*k3O8aejlRIYMlG2KOxYfxA.png" /></figure><p>where b and the coefficients are real or complex numbers.</p><h3>A system of linear equation</h3><p>A system of linear equations is sometimes referred to by the term linear system. A system of linear equations is collection of one or more linear equations involving the same variables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*MrWvNPr2bhymzcVLowMAqQ.png" /></figure><h3>Solution set</h3><p>A solution set is the set of all possible solutions to a linear system.</p><h3>Consistent/Inconsistent</h3><ol><li>Consistent</li></ol><p>If the two equations are in a consistent, then (i) there are infinitely many solutions, and (ii) there is one solution. This can be interpreted in two ways.</p><p>(i) Infinitely many solutions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*j0AmGUKtNyD4FfR_NZFFcQ.png" /></figure><p>(ii) Only one solutions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*9AwhiEzoanuJ829JPI6YJQ.png" /></figure><p>2. Inconsistent</p><p>Inconsistent means no solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*jblrrqGZIQn4FNnGJHjwDw.png" /></figure><p>This means that a system of linear equations has 3 cases</p><p>1. no solution ( <strong>inconsistent</strong>)</p><p>2. exactly one solution (<strong>consistent</strong>)</p><p>3. infinitely many solutions (<strong>consistent</strong>)</p><h3><strong>Matrix Notation</strong></h3><p>Matrix notation is a matrix representation of a linear system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*IJFQSCddQFDc0amnC3AQ7g.png" /></figure><p>(1) Coefficient matrix</p><p>The coefficient matrix is a matrix of only a, excluding b.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*YXs4bY3vm8d6VBksWXtVdg.png" /><figcaption>Coefficient Matrix</figcaption></figure><p>(2) Augmented matrix</p><p>The augmented matrix is the matrix up to and including b.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*I6BV8cBJUdZKQ0X9kPPO0g.png" /></figure><h3>Elimination</h3><p>The row operation allows you to perform elimination and find the solution of a linear equation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*7XQWWJuwzP-oqcIPjmU3Rg.png" /><figcaption>Make the coefficient of x_1 in the last row zero.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*5mkwkZZ4V3yE_KA1w6JSow.png" /><figcaption>Make the coefficient of x_2 in the last row zero.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*Y05kUEEKqICjxIAhA_osgA.png" /><figcaption>Make the coefficient of x_3 in the last row equal to 1.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*ZjeYxyKTE8pKfeoFRkIm0w.png" /></figure><p>Now that we know x_3, we can use substitution to find x_1 and x_2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ojTM2BBsOKZoY7nb0775w.png" /></figure><p>x_1 = 1</p><p>x_2 = 0</p><p>x_3 = -1</p><p>The three equations are <strong>consistent</strong> because they have <strong>one solution</strong>.</p><h3>Row Operations — row operation</h3><p>Three row operations are used in the elimination procedure.</p><p>(1) replacement</p><p>Adding another row to a row multiplied by a constant.</p><p>(2) interchange</p><p>Swapping two rows</p><p>(3) scaling</p><p>multiplying everything in a row by a non-zero constant.</p><h3>Row equivalent</h3><p>Two matrices are said to be row equivalent if the row operations transform one matrix into the other. If two linear systems are row equivalent, they have the same set of solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16c415916d55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/math-for-deep-learning/chapter1-1-systems-of-linear-equations-16c415916d55">Chapter1.1 Systems of Linear Equations</a> was originally published in <a href="https://medium.com/math-for-deep-learning">Math for deep learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Algebra]]></title>
            <link>https://medium.com/math-for-deep-learning/linear-algebra-50610f3d3099?source=rss----3204b0bb3fc6---4</link>
            <guid isPermaLink="false">https://medium.com/p/50610f3d3099</guid>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[JaewooChoi]]></dc:creator>
            <pubDate>Mon, 27 Nov 2023 14:24:18 GMT</pubDate>
            <atom:updated>2023-11-27T14:23:52.722Z</atom:updated>
            <content:encoded><![CDATA[<p>The more I study deep learning and computer vision, the more I realize the importance of math. I’m going to go back to the drawing board and study math. Linear algebra is my first choice.</p><p>Here is the link about Linear Algebra text book.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*HXNXKU7Ccbx2aSL-iXIlSg.png" /><figcaption><a href="https://github.com/alfords/Linear-Algebra-and-Its-Applications/blob/master/Linear%20Algebra%20and%20Its%20Applications%20-%204th%20Edition.pdf">https://github.com/alfords/Linear-Algebra-and-Its-Applications/blob/master/Linear%20Algebra%20and%20Its%20Applications%20-%204th%20Edition.pdf</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50610f3d3099" width="1" height="1" alt=""><hr><p><a href="https://medium.com/math-for-deep-learning/linear-algebra-50610f3d3099">Linear Algebra</a> was originally published in <a href="https://medium.com/math-for-deep-learning">Math for deep learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>