{"id":1799,"date":"2015-11-12T18:30:44","date_gmt":"2015-11-12T18:30:44","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=1799"},"modified":"2015-11-12T18:30:44","modified_gmt":"2015-11-12T18:30:44","slug":"performing-row-operations-on-a-matrix","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/chapter\/performing-row-operations-on-a-matrix\/","title":{"raw":"Performing Row Operations on a Matrix","rendered":"Performing Row Operations on a Matrix"},"content":{"raw":"<p>Now that we can write systems of equations in augmented matrix form, we will examine the various <strong>row operations<\/strong> that can be performed on a matrix, such as addition, multiplication by a constant, and interchanging rows.\n\nPerforming row operations on a matrix is the method we use for solving a system of equations. In order to solve the system of equations, we want to convert the matrix to <strong>row-echelon form<\/strong>, in which there are ones down the <strong>main diagonal<\/strong> from the upper left corner to the lower right corner, and zeros in every position below the main diagonal as shown.\n<\/p><div style=\"text-align: center;\">[latex]\\begin{array}{c}\\text{Row-echelon form}\\\\ \\left[\\begin{array}{ccc}1&amp; a&amp; b\\\\ 0&amp; 1&amp; d\\\\ 0&amp; 0&amp; 1\\end{array}\\right]\\end{array}[\/latex]<\/div>\nWe use row operations corresponding to equation operations to obtain a new matrix that is <strong>row-equivalent<\/strong> in a simpler form. Here are the guidelines to obtaining row-echelon form.\n<ol><li>In any nonzero row, the first nonzero number is a 1. It is called a <em data-effect=\"italics\">leading<\/em> 1.<\/li>\n\t<li>Any all-zero rows are placed at the bottom on the matrix.<\/li>\n\t<li>Any leading 1 is below and to the right of a previous leading 1.<\/li>\n\t<li>Any column containing a leading 1 has zeros in all other positions in the column.<\/li>\n<\/ol>\nTo solve a system of equations we can perform the following row operations to convert the <strong>coefficient matrix<\/strong> to row-echelon form and do back-substitution to find the solution.\n<ol><li>Interchange rows. (Notation: [latex]{R}_{i}\\leftrightarrow {R}_{j}[\/latex] )<\/li>\n\t<li>Multiply a row by a constant. (Notation: [latex]c{R}_{i}[\/latex] )<\/li>\n\t<li>Add the product of a row multiplied by a constant to another row. (Notation: [latex]{R}_{i}+c{R}_{j}[\/latex])<\/li>\n<\/ol>\nEach of the row operations corresponds to the operations we have already learned to solve systems of equations in three variables. With these operations, there are some key moves that will quickly achieve the goal of writing a matrix in row-echelon form. To obtain a matrix in row-echelon form for finding solutions, we use Gaussian elimination, a method that uses row operations to obtain a 1 as the first entry so that row 1 can be used to convert the remaining rows.\n<div class=\"textbox\">\n<h3>A General Note: Gaussian Elimination<\/h3>\nThe <strong>Gaussian elimination<\/strong> method refers to a strategy used to obtain the row-echelon form of a matrix. The goal is to write matrix [latex]A[\/latex] with the number 1 as the entry down the main diagonal and have all zeros below.\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{rrr}\\hfill {a}_{11}&amp; \\hfill {a}_{12}&amp; \\hfill {a}_{13}\\\\ \\hfill {a}_{21}&amp; \\hfill {a}_{22}&amp; \\hfill {a}_{23}\\\\ \\hfill {a}_{31}&amp; \\hfill {a}_{32}&amp; \\hfill {a}_{33}\\end{array}\\right]\\stackrel{\\text{After Gaussian elimination}}{\\to }A=\\left[\\begin{array}{rrr}\\hfill 1&amp; \\hfill {b}_{12}&amp; \\hfill {b}_{13}\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill {b}_{23}\\\\ \\hfill 0&amp; \\hfill 0&amp; \\hfill 1\\end{array}\\right][\/latex]<\/div>\nThe first step of the Gaussian strategy includes obtaining a 1 as the first entry, so that row 1 may be used to alter the rows below.\n\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given an augmented matrix, perform row operations to achieve row-echelon form.<\/h3>\n<ol><li>The first equation should have a leading coefficient of 1. Interchange rows or multiply by a constant, if necessary.<\/li>\n\t<li>Use row operations to obtain zeros down the first column below the first entry of 1.<\/li>\n\t<li>Use row operations to obtain a 1 in row 2, column 2.<\/li>\n\t<li>Use row operations to obtain zeros down column 2, below the entry of 1.<\/li>\n\t<li>Use row operations to obtain a 1 in row 3, column 3.<\/li>\n\t<li>Continue this process for all rows until there is a 1 in every entry down the main diagonal and there are only zeros below.<\/li>\n\t<li>If any rows contain all zeros, place them at the bottom.<\/li>\n<\/ol><\/div>\n<div class=\"textbox shaded\">\n<h3>Example 2: Solving a [latex]2\\times 2[\/latex] System by Gaussian Elimination<\/h3>\nSolve the given system by Gaussian elimination.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}2x+3y=6\\hfill \\\\ \\text{ }x-y=\\frac{1}{2}\\hfill \\end{array}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\nFirst, we write this as an augmented matrix.\n<div style=\"text-align: center;\">[latex]\\left[\\begin{array}{rr}\\hfill 2&amp; \\hfill 3\\\\ \\hfill 1&amp; \\hfill -1\\end{array}\\text{ }|\\text{ }\\begin{array}{r}\\hfill 6\\\\ \\hfill \\frac{1}{2}\\end{array}\\right][\/latex]<\/div>\nWe want a 1 in row 1, column 1. This can be accomplished by interchanging row 1 and row 2.\n<div style=\"text-align: center;\">[latex]{R}_{1}\\leftrightarrow {R}_{2}\\to \\left[\\begin{array}{rrr}\\hfill 1&amp; \\hfill -1&amp; \\hfill \\\\ \\hfill 2&amp; \\hfill 3&amp; \\hfill \\end{array}|\\begin{array}{rr}\\hfill &amp; \\hfill \\frac{1}{2}\\\\ \\hfill &amp; \\hfill 6\\end{array}\\right][\/latex]<\/div>\nWe now have a 1 as the first entry in row 1, column 1. Now let\u2019s obtain a 0 in row 2, column 1. This can be accomplished by multiplying row 1 by [latex]-2[\/latex], and then adding the result to row 2.\n<div style=\"text-align: center;\">[latex]-2{R}_{1}+{R}_{2}={R}_{2}\\to \\left[\\begin{array}{rrr}\\hfill 1&amp; \\hfill -1&amp; \\hfill \\\\ \\hfill 0&amp; \\hfill 5&amp; \\hfill \\end{array}|\\begin{array}{rr}\\hfill &amp; \\hfill \\frac{1}{2}\\\\ \\hfill &amp; \\hfill 5\\end{array}\\right][\/latex]<\/div>\nWe only have one more step, to multiply row 2 by [latex]\\frac{1}{5}[\/latex].\n<div style=\"text-align: center;\">[latex]\\frac{1}{5}{R}_{2}={R}_{2}\\to \\left[\\begin{array}{rrr}\\hfill 1&amp; \\hfill -1&amp; \\hfill \\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill \\end{array}|\\begin{array}{cc}&amp; \\frac{1}{2}\\\\ &amp; 1\\end{array}\\right][\/latex]<\/div>\nUse back-substitution. The second row of the matrix represents [latex]y=1[\/latex]. Back-substitute [latex]y=1[\/latex] into the first equation.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}x-\\left(1\\right)=\\frac{1}{2}\\hfill \\\\ \\text{ }x=\\frac{3}{2}\\hfill \\end{array}[\/latex]<\/div>\nThe solution is the point [latex]\\left(\\frac{3}{2},1\\right)[\/latex].\n\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 3<\/h3>\nSolve the given system by Gaussian elimination.\n<div>[latex]\\begin{array}{l}4x+3y=11\\hfill \\\\ \\text{ }\\text{}\\text{}x - 3y=-1\\hfill \\end{array}[\/latex]<\/div>\n<div><a href=\"https:\/\/courses.candelalearning.com\/precalctwo1xmaster\/chapter\/solutions-21\/\" target=\"_blank\">Solution<\/a><\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 3: Using Gaussian Elimination to Solve a System of Equations<\/h3>\nUse <strong>Gaussian elimination<\/strong> to solve the given [latex]2\\times 2[\/latex] <strong>system of equations<\/strong>.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }2x+y=1\\hfill \\\\ 4x+2y=6\\hfill \\end{array}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\nWrite the system as an <strong>augmented matrix<\/strong>.\n<div style=\"text-align: center;\">[latex]\\left[\\begin{array}{ll}2\\hfill &amp; 1\\hfill \\\\ 4\\hfill &amp; 2\\hfill \\end{array}\\text{ }|\\text{ }\\begin{array}{l}1\\hfill \\\\ 6\\hfill \\end{array}\\right][\/latex]<\/div>\nObtain a 1 in row 1, column 1. This can be accomplished by multiplying the first row by [latex]\\frac{1}{2}[\/latex].\n<div style=\"text-align: center;\">[latex]\\frac{1}{2}{R}_{1}={R}_{1}\\to \\left[\\begin{array}{cc}1&amp; \\frac{1}{2}\\\\ 4&amp; 2\\end{array}\\text{ }|\\text{ }\\begin{array}{c}\\frac{1}{2}\\\\ 6\\end{array}\\right][\/latex]<\/div>\nNext, we want a 0 in row 2, column 1. Multiply row 1 by [latex]-4[\/latex] and add row 1 to row 2.\n<div style=\"text-align: center;\">[latex]-4{R}_{1}+{R}_{2}={R}_{2}\\to \\left[\\begin{array}{cc}1&amp; \\frac{1}{2}\\\\ 0&amp; 0\\end{array}\\text{ }|\\text{ }\\begin{array}{c}\\frac{1}{2}\\\\ 4\\end{array}\\right][\/latex]<\/div>\nThe second row represents the equation [latex]0=4[\/latex]. Therefore, the system is inconsistent and has no solution.\n\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 4: Solving a Dependent System<\/h3>\nSolve the system of equations.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}3x+4y=12\\\\ 6x+8y=24\\end{array}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\nPerform <strong>row operations<\/strong> on the augmented matrix to try and achieve <strong>row-echelon form<\/strong>.\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{llll}3\\hfill &amp; \\hfill &amp; 4\\hfill &amp; \\hfill \\\\ 6\\hfill &amp; \\hfill &amp; 8\\hfill &amp; \\hfill \\end{array}|\\begin{array}{ll}\\hfill &amp; 12\\hfill \\\\ \\hfill &amp; 24\\hfill \\end{array}\\right][\/latex]<\/div>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\hfill \\\\ \\begin{array}{l}-\\frac{1}{2}{R}_{2}+{R}_{1}={R}_{1}\\to \\left[\\begin{array}{llll}0\\hfill &amp; \\hfill &amp; 0\\hfill &amp; \\hfill \\\\ 6\\hfill &amp; \\hfill &amp; 8\\hfill &amp; \\hfill \\end{array}|\\begin{array}{ll}\\hfill &amp; 0\\hfill \\\\ \\hfill &amp; 24\\hfill \\end{array}\\right]\\hfill \\\\ {R}_{1}\\leftrightarrow {R}_{2}\\to \\left[\\begin{array}{llll}6\\hfill &amp; \\hfill &amp; 8\\hfill &amp; \\hfill \\\\ 0\\hfill &amp; \\hfill &amp; 0\\hfill &amp; \\hfill \\end{array}|\\begin{array}{ll}\\hfill &amp; 24\\hfill \\\\ \\hfill &amp; 0\\hfill \\end{array}\\right]\\hfill \\end{array}\\hfill \\end{array}[\/latex]<\/div>\nThe matrix ends up with all zeros in the last row: [latex]0y=0[\/latex]. Thus, there are an infinite number of solutions and the system is classified as dependent. To find the generic solution, return to one of the original equations and solve for [latex]y[\/latex].\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}3x+4y=12\\hfill \\\\ \\text{ }4y=12 - 3x\\hfill \\\\ \\text{ }y=3-\\frac{3}{4}x\\hfill \\end{array}[\/latex]<\/div>\nSo the solution to this system is [latex]\\left(x,3-\\frac{3}{4}x\\right)[\/latex].\n\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 5: Performing Row Operations on a 3\u00d73 Augmented Matrix to Obtain Row-Echelon Form<\/h3>\nPerform row operations on the given matrix to obtain row-echelon form.\n<div style=\"text-align: center;\">[latex]\\left[\\begin{array}{rrr}\\hfill 1&amp; \\hfill -3&amp; \\hfill 4\\\\ \\hfill 2&amp; \\hfill -5&amp; \\hfill 6\\\\ \\hfill -3&amp; \\hfill 3&amp; \\hfill 4\\end{array}\\text{ }|\\text{ }\\begin{array}{r}\\hfill 3\\\\ \\hfill 6\\\\ \\hfill 6\\end{array}\\right][\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\nThe first row already has a 1 in row 1, column 1. The next step is to multiply row 1 by [latex]-2[\/latex] and add it to row 2. Then replace row 2 with the result.\n<div style=\"text-align: center;\">[latex]-2{R}_{1}+{R}_{2}={R}_{2}\\to \\left[\\begin{array}{rrrrrr}\\hfill 1&amp; \\hfill &amp; \\hfill -3&amp; \\hfill &amp; \\hfill 4&amp; \\hfill \\\\ \\hfill 0&amp; \\hfill &amp; \\hfill 1&amp; \\hfill &amp; \\hfill -2&amp; \\hfill \\\\ \\hfill -3&amp; \\hfill &amp; \\hfill 3&amp; \\hfill &amp; \\hfill 4&amp; \\hfill \\end{array}|\\begin{array}{rr}\\hfill &amp; \\hfill 3\\\\ \\hfill &amp; \\hfill 0\\\\ \\hfill &amp; \\hfill 6\\end{array}\\right][\/latex]<\/div>\nNext, obtain a zero in row 3, column 1.\n<div style=\"text-align: center;\">[latex]3{R}_{1}+{R}_{3}={R}_{3}\\to \\left[\\begin{array}{rrrrrr}\\hfill 1&amp; \\hfill &amp; \\hfill -3&amp; \\hfill &amp; \\hfill 4&amp; \\hfill \\\\ \\hfill 0&amp; \\hfill &amp; \\hfill 1&amp; \\hfill &amp; \\hfill -2&amp; \\hfill \\\\ \\hfill 0&amp; \\hfill &amp; \\hfill -6&amp; \\hfill &amp; \\hfill 16&amp; \\hfill \\end{array}|\\begin{array}{rr}\\hfill &amp; \\hfill 3\\\\ \\hfill &amp; \\hfill 0\\\\ \\hfill &amp; \\hfill 15\\end{array}\\right][\/latex]<\/div>\nNext, obtain a zero in row 3, column 2.\n<div style=\"text-align: center;\">[latex]6{R}_{2}+{R}_{3}={R}_{3}\\to \\left[\\begin{array}{rrrrrr}\\hfill 1&amp; \\hfill &amp; \\hfill -3&amp; \\hfill &amp; \\hfill 4&amp; \\hfill \\\\ \\hfill 0&amp; \\hfill &amp; \\hfill 1&amp; \\hfill &amp; \\hfill -2&amp; \\hfill \\\\ \\hfill 0&amp; \\hfill &amp; \\hfill 0&amp; \\hfill &amp; \\hfill 4&amp; \\hfill \\end{array}|\\begin{array}{rr}\\hfill &amp; \\hfill 3\\\\ \\hfill &amp; \\hfill 0\\\\ \\hfill &amp; \\hfill 15\\end{array}\\right][\/latex]<\/div>\nThe last step is to obtain a 1 in row 3, column 3.\n<div style=\"text-align: center;\">[latex]\\frac{1}{2}{R}_{3}={R}_{3}\\to \\left[\\begin{array}{rrr}\\hfill 1&amp; \\hfill -3&amp; \\hfill 4\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill -2\\\\ \\hfill 0&amp; \\hfill 0&amp; \\hfill 1\\end{array}\\text{ }|\\text{ }\\begin{array}{r}\\hfill 3\\\\ \\hfill -6\\\\ \\hfill \\frac{21}{2}\\end{array}\\right][\/latex]<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 4<\/h3>\nWrite the system of equations in row-echelon form.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x - 2y+3z=9\\hfill \\\\ \\text{ }-x+3y=-4\\hfill \\\\ 2x - 5y+5z=17\\hfill \\end{array}[\/latex]<\/div>\n<div><a href=\"https:\/\/courses.candelalearning.com\/precalctwo1xmaster\/chapter\/solutions-21\/\" target=\"_blank\">Solution<\/a><\/div>\n<\/div>","rendered":"<p>Now that we can write systems of equations in augmented matrix form, we will examine the various <strong>row operations<\/strong> that can be performed on a matrix, such as addition, multiplication by a constant, and interchanging rows.<\/p>\n<p>Performing row operations on a matrix is the method we use for solving a system of equations. In order to solve the system of equations, we want to convert the matrix to <strong>row-echelon form<\/strong>, in which there are ones down the <strong>main diagonal<\/strong> from the upper left corner to the lower right corner, and zeros in every position below the main diagonal as shown.\n<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{c}\\text{Row-echelon form}\\\\ \\left[\\begin{array}{ccc}1& a& b\\\\ 0& 1& d\\\\ 0& 0& 1\\end{array}\\right]\\end{array}[\/latex]<\/div>\n<p>We use row operations corresponding to equation operations to obtain a new matrix that is <strong>row-equivalent<\/strong> in a simpler form. Here are the guidelines to obtaining row-echelon form.<\/p>\n<ol>\n<li>In any nonzero row, the first nonzero number is a 1. It is called a <em data-effect=\"italics\">leading<\/em> 1.<\/li>\n<li>Any all-zero rows are placed at the bottom on the matrix.<\/li>\n<li>Any leading 1 is below and to the right of a previous leading 1.<\/li>\n<li>Any column containing a leading 1 has zeros in all other positions in the column.<\/li>\n<\/ol>\n<p>To solve a system of equations we can perform the following row operations to convert the <strong>coefficient matrix<\/strong> to row-echelon form and do back-substitution to find the solution.<\/p>\n<ol>\n<li>Interchange rows. (Notation: [latex]{R}_{i}\\leftrightarrow {R}_{j}[\/latex] )<\/li>\n<li>Multiply a row by a constant. (Notation: [latex]c{R}_{i}[\/latex] )<\/li>\n<li>Add the product of a row multiplied by a constant to another row. (Notation: [latex]{R}_{i}+c{R}_{j}[\/latex])<\/li>\n<\/ol>\n<p>Each of the row operations corresponds to the operations we have already learned to solve systems of equations in three variables. With these operations, there are some key moves that will quickly achieve the goal of writing a matrix in row-echelon form. To obtain a matrix in row-echelon form for finding solutions, we use Gaussian elimination, a method that uses row operations to obtain a 1 as the first entry so that row 1 can be used to convert the remaining rows.<\/p>\n<div class=\"textbox\">\n<h3>A General Note: Gaussian Elimination<\/h3>\n<p>The <strong>Gaussian elimination<\/strong> method refers to a strategy used to obtain the row-echelon form of a matrix. The goal is to write matrix [latex]A[\/latex] with the number 1 as the entry down the main diagonal and have all zeros below.<\/p>\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{rrr}\\hfill {a}_{11}& \\hfill {a}_{12}& \\hfill {a}_{13}\\\\ \\hfill {a}_{21}& \\hfill {a}_{22}& \\hfill {a}_{23}\\\\ \\hfill {a}_{31}& \\hfill {a}_{32}& \\hfill {a}_{33}\\end{array}\\right]\\stackrel{\\text{After Gaussian elimination}}{\\to }A=\\left[\\begin{array}{rrr}\\hfill 1& \\hfill {b}_{12}& \\hfill {b}_{13}\\\\ \\hfill 0& \\hfill 1& \\hfill {b}_{23}\\\\ \\hfill 0& \\hfill 0& \\hfill 1\\end{array}\\right][\/latex]<\/div>\n<p>The first step of the Gaussian strategy includes obtaining a 1 as the first entry, so that row 1 may be used to alter the rows below.<\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given an augmented matrix, perform row operations to achieve row-echelon form.<\/h3>\n<ol>\n<li>The first equation should have a leading coefficient of 1. Interchange rows or multiply by a constant, if necessary.<\/li>\n<li>Use row operations to obtain zeros down the first column below the first entry of 1.<\/li>\n<li>Use row operations to obtain a 1 in row 2, column 2.<\/li>\n<li>Use row operations to obtain zeros down column 2, below the entry of 1.<\/li>\n<li>Use row operations to obtain a 1 in row 3, column 3.<\/li>\n<li>Continue this process for all rows until there is a 1 in every entry down the main diagonal and there are only zeros below.<\/li>\n<li>If any rows contain all zeros, place them at the bottom.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 2: Solving a [latex]2\\times 2[\/latex] System by Gaussian Elimination<\/h3>\n<p>Solve the given system by Gaussian elimination.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}2x+3y=6\\hfill \\\\ \\text{ }x-y=\\frac{1}{2}\\hfill \\end{array}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>First, we write this as an augmented matrix.<\/p>\n<div style=\"text-align: center;\">[latex]\\left[\\begin{array}{rr}\\hfill 2& \\hfill 3\\\\ \\hfill 1& \\hfill -1\\end{array}\\text{ }|\\text{ }\\begin{array}{r}\\hfill 6\\\\ \\hfill \\frac{1}{2}\\end{array}\\right][\/latex]<\/div>\n<p>We want a 1 in row 1, column 1. This can be accomplished by interchanging row 1 and row 2.<\/p>\n<div style=\"text-align: center;\">[latex]{R}_{1}\\leftrightarrow {R}_{2}\\to \\left[\\begin{array}{rrr}\\hfill 1& \\hfill -1& \\hfill \\\\ \\hfill 2& \\hfill 3& \\hfill \\end{array}|\\begin{array}{rr}\\hfill & \\hfill \\frac{1}{2}\\\\ \\hfill & \\hfill 6\\end{array}\\right][\/latex]<\/div>\n<p>We now have a 1 as the first entry in row 1, column 1. Now let\u2019s obtain a 0 in row 2, column 1. This can be accomplished by multiplying row 1 by [latex]-2[\/latex], and then adding the result to row 2.<\/p>\n<div style=\"text-align: center;\">[latex]-2{R}_{1}+{R}_{2}={R}_{2}\\to \\left[\\begin{array}{rrr}\\hfill 1& \\hfill -1& \\hfill \\\\ \\hfill 0& \\hfill 5& \\hfill \\end{array}|\\begin{array}{rr}\\hfill & \\hfill \\frac{1}{2}\\\\ \\hfill & \\hfill 5\\end{array}\\right][\/latex]<\/div>\n<p>We only have one more step, to multiply row 2 by [latex]\\frac{1}{5}[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\frac{1}{5}{R}_{2}={R}_{2}\\to \\left[\\begin{array}{rrr}\\hfill 1& \\hfill -1& \\hfill \\\\ \\hfill 0& \\hfill 1& \\hfill \\end{array}|\\begin{array}{cc}& \\frac{1}{2}\\\\ & 1\\end{array}\\right][\/latex]<\/div>\n<p>Use back-substitution. The second row of the matrix represents [latex]y=1[\/latex]. Back-substitute [latex]y=1[\/latex] into the first equation.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}x-\\left(1\\right)=\\frac{1}{2}\\hfill \\\\ \\text{ }x=\\frac{3}{2}\\hfill \\end{array}[\/latex]<\/div>\n<p>The solution is the point [latex]\\left(\\frac{3}{2},1\\right)[\/latex].<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 3<\/h3>\n<p>Solve the given system by Gaussian elimination.<\/p>\n<div>[latex]\\begin{array}{l}4x+3y=11\\hfill \\\\ \\text{ }\\text{}\\text{}x - 3y=-1\\hfill \\end{array}[\/latex]<\/div>\n<div><a href=\"https:\/\/courses.candelalearning.com\/precalctwo1xmaster\/chapter\/solutions-21\/\" target=\"_blank\">Solution<\/a><\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 3: Using Gaussian Elimination to Solve a System of Equations<\/h3>\n<p>Use <strong>Gaussian elimination<\/strong> to solve the given [latex]2\\times 2[\/latex] <strong>system of equations<\/strong>.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }2x+y=1\\hfill \\\\ 4x+2y=6\\hfill \\end{array}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>Write the system as an <strong>augmented matrix<\/strong>.<\/p>\n<div style=\"text-align: center;\">[latex]\\left[\\begin{array}{ll}2\\hfill & 1\\hfill \\\\ 4\\hfill & 2\\hfill \\end{array}\\text{ }|\\text{ }\\begin{array}{l}1\\hfill \\\\ 6\\hfill \\end{array}\\right][\/latex]<\/div>\n<p>Obtain a 1 in row 1, column 1. This can be accomplished by multiplying the first row by [latex]\\frac{1}{2}[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\frac{1}{2}{R}_{1}={R}_{1}\\to \\left[\\begin{array}{cc}1& \\frac{1}{2}\\\\ 4& 2\\end{array}\\text{ }|\\text{ }\\begin{array}{c}\\frac{1}{2}\\\\ 6\\end{array}\\right][\/latex]<\/div>\n<p>Next, we want a 0 in row 2, column 1. Multiply row 1 by [latex]-4[\/latex] and add row 1 to row 2.<\/p>\n<div style=\"text-align: center;\">[latex]-4{R}_{1}+{R}_{2}={R}_{2}\\to \\left[\\begin{array}{cc}1& \\frac{1}{2}\\\\ 0& 0\\end{array}\\text{ }|\\text{ }\\begin{array}{c}\\frac{1}{2}\\\\ 4\\end{array}\\right][\/latex]<\/div>\n<p>The second row represents the equation [latex]0=4[\/latex]. Therefore, the system is inconsistent and has no solution.<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 4: Solving a Dependent System<\/h3>\n<p>Solve the system of equations.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}3x+4y=12\\\\ 6x+8y=24\\end{array}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>Perform <strong>row operations<\/strong> on the augmented matrix to try and achieve <strong>row-echelon form<\/strong>.<\/p>\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{llll}3\\hfill & \\hfill & 4\\hfill & \\hfill \\\\ 6\\hfill & \\hfill & 8\\hfill & \\hfill \\end{array}|\\begin{array}{ll}\\hfill & 12\\hfill \\\\ \\hfill & 24\\hfill \\end{array}\\right][\/latex]<\/div>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\hfill \\\\ \\begin{array}{l}-\\frac{1}{2}{R}_{2}+{R}_{1}={R}_{1}\\to \\left[\\begin{array}{llll}0\\hfill & \\hfill & 0\\hfill & \\hfill \\\\ 6\\hfill & \\hfill & 8\\hfill & \\hfill \\end{array}|\\begin{array}{ll}\\hfill & 0\\hfill \\\\ \\hfill & 24\\hfill \\end{array}\\right]\\hfill \\\\ {R}_{1}\\leftrightarrow {R}_{2}\\to \\left[\\begin{array}{llll}6\\hfill & \\hfill & 8\\hfill & \\hfill \\\\ 0\\hfill & \\hfill & 0\\hfill & \\hfill \\end{array}|\\begin{array}{ll}\\hfill & 24\\hfill \\\\ \\hfill & 0\\hfill \\end{array}\\right]\\hfill \\end{array}\\hfill \\end{array}[\/latex]<\/div>\n<p>The matrix ends up with all zeros in the last row: [latex]0y=0[\/latex]. Thus, there are an infinite number of solutions and the system is classified as dependent. To find the generic solution, return to one of the original equations and solve for [latex]y[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}3x+4y=12\\hfill \\\\ \\text{ }4y=12 - 3x\\hfill \\\\ \\text{ }y=3-\\frac{3}{4}x\\hfill \\end{array}[\/latex]<\/div>\n<p>So the solution to this system is [latex]\\left(x,3-\\frac{3}{4}x\\right)[\/latex].<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 5: Performing Row Operations on a 3\u00d73 Augmented Matrix to Obtain Row-Echelon Form<\/h3>\n<p>Perform row operations on the given matrix to obtain row-echelon form.<\/p>\n<div style=\"text-align: center;\">[latex]\\left[\\begin{array}{rrr}\\hfill 1& \\hfill -3& \\hfill 4\\\\ \\hfill 2& \\hfill -5& \\hfill 6\\\\ \\hfill -3& \\hfill 3& \\hfill 4\\end{array}\\text{ }|\\text{ }\\begin{array}{r}\\hfill 3\\\\ \\hfill 6\\\\ \\hfill 6\\end{array}\\right][\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>The first row already has a 1 in row 1, column 1. The next step is to multiply row 1 by [latex]-2[\/latex] and add it to row 2. Then replace row 2 with the result.<\/p>\n<div style=\"text-align: center;\">[latex]-2{R}_{1}+{R}_{2}={R}_{2}\\to \\left[\\begin{array}{rrrrrr}\\hfill 1& \\hfill & \\hfill -3& \\hfill & \\hfill 4& \\hfill \\\\ \\hfill 0& \\hfill & \\hfill 1& \\hfill & \\hfill -2& \\hfill \\\\ \\hfill -3& \\hfill & \\hfill 3& \\hfill & \\hfill 4& \\hfill \\end{array}|\\begin{array}{rr}\\hfill & \\hfill 3\\\\ \\hfill & \\hfill 0\\\\ \\hfill & \\hfill 6\\end{array}\\right][\/latex]<\/div>\n<p>Next, obtain a zero in row 3, column 1.<\/p>\n<div style=\"text-align: center;\">[latex]3{R}_{1}+{R}_{3}={R}_{3}\\to \\left[\\begin{array}{rrrrrr}\\hfill 1& \\hfill & \\hfill -3& \\hfill & \\hfill 4& \\hfill \\\\ \\hfill 0& \\hfill & \\hfill 1& \\hfill & \\hfill -2& \\hfill \\\\ \\hfill 0& \\hfill & \\hfill -6& \\hfill & \\hfill 16& \\hfill \\end{array}|\\begin{array}{rr}\\hfill & \\hfill 3\\\\ \\hfill & \\hfill 0\\\\ \\hfill & \\hfill 15\\end{array}\\right][\/latex]<\/div>\n<p>Next, obtain a zero in row 3, column 2.<\/p>\n<div style=\"text-align: center;\">[latex]6{R}_{2}+{R}_{3}={R}_{3}\\to \\left[\\begin{array}{rrrrrr}\\hfill 1& \\hfill & \\hfill -3& \\hfill & \\hfill 4& \\hfill \\\\ \\hfill 0& \\hfill & \\hfill 1& \\hfill & \\hfill -2& \\hfill \\\\ \\hfill 0& \\hfill & \\hfill 0& \\hfill & \\hfill 4& \\hfill \\end{array}|\\begin{array}{rr}\\hfill & \\hfill 3\\\\ \\hfill & \\hfill 0\\\\ \\hfill & \\hfill 15\\end{array}\\right][\/latex]<\/div>\n<p>The last step is to obtain a 1 in row 3, column 3.<\/p>\n<div style=\"text-align: center;\">[latex]\\frac{1}{2}{R}_{3}={R}_{3}\\to \\left[\\begin{array}{rrr}\\hfill 1& \\hfill -3& \\hfill 4\\\\ \\hfill 0& \\hfill 1& \\hfill -2\\\\ \\hfill 0& \\hfill 0& \\hfill 1\\end{array}\\text{ }|\\text{ }\\begin{array}{r}\\hfill 3\\\\ \\hfill -6\\\\ \\hfill \\frac{21}{2}\\end{array}\\right][\/latex]<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 4<\/h3>\n<p>Write the system of equations in row-echelon form.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x - 2y+3z=9\\hfill \\\\ \\text{ }-x+3y=-4\\hfill \\\\ 2x - 5y+5z=17\\hfill \\end{array}[\/latex]<\/div>\n<div><a href=\"https:\/\/courses.candelalearning.com\/precalctwo1xmaster\/chapter\/solutions-21\/\" target=\"_blank\">Solution<\/a><\/div>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-1799\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Specific attribution<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: OpenStax College. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":276,"menu_order":3,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc-attribution\",\"description\":\"Precalculus\",\"author\":\"OpenStax College\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1799","chapter","type-chapter","status-publish","hentry"],"part":1795,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1799\/revisions"}],"predecessor-version":[{"id":2244,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1799\/revisions\/2244"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/1795"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1799\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/media?parent=1799"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=1799"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/contributor?post=1799"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/license?post=1799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}