{"id":217,"date":"2025-04-09T17:29:32","date_gmt":"2025-04-09T17:29:32","guid":{"rendered":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/chapter\/7-6-solving-systems-with-gaussian-elimination-college-algebra-2e-openstax\/"},"modified":"2025-09-08T20:29:14","modified_gmt":"2025-09-08T20:29:14","slug":"7-6-solving-systems-with-gaussian-elimination","status":"publish","type":"chapter","link":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/chapter\/7-6-solving-systems-with-gaussian-elimination\/","title":{"raw":"7.6 Solving Systems with Gaussian Elimination","rendered":"7.6 Solving Systems with Gaussian Elimination"},"content":{"raw":"<div id=\"main-content\" class=\"MainContent__ContentStyles-sc-6yy1if-0 NnXKu\" tabindex=\"-1\" data-dynamic-style=\"true\">\r\n<div id=\"page_69e0b9a7-0928-46a6-bb59-6cd28f18eec9\" class=\"chapter-content-module\" data-type=\"page\" data-book-content=\"true\">\r\n<div class=\"textbox textbox--learning-objectives\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Learning Objectives<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p id=\"para-00001\">In this section, you will:<\/p>\r\n\r\n<ul id=\"list-00001\">\r\n \t<li>Write the augmented matrix of a system of equations.<\/li>\r\n \t<li>Write the system of equations from an augmented matrix.<\/li>\r\n \t<li>Perform row operations on a matrix.<\/li>\r\n \t<li>Solve a system of linear equations using matrices.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Figure_09_06_001\" class=\"os-figure\">\r\n<div class=\"os-caption-container\">\r\n\r\n[caption id=\"attachment_1745\" align=\"aligncenter\" width=\"234\"]<img class=\"size-medium wp-image-1745\" src=\"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-content\/uploads\/sites\/234\/2025\/04\/7.6-fig-1-234x300.webp\" alt=\"\" width=\"234\" height=\"300\" \/> Figure 1 German mathematician Carl Friedrich Gauss (1777\u20131855).[\/caption]\r\n\r\n<\/div>\r\n<\/div>\r\n<p id=\"fs-id1165133141356\">Carl Friedrich <span id=\"term-00003\" class=\"no-emphasis\" data-type=\"term\">Gauss<\/span> lived during the late 18th century and early 19th century, but he is still considered one of the most prolific mathematicians in history. His contributions to the science of mathematics and physics span fields such as algebra, number theory, analysis, differential geometry, astronomy, and optics, among others. His discoveries regarding matrix theory changed the way mathematicians have worked for the last two centuries.<\/p>\r\n<p id=\"fs-id1165137768241\">We first encountered Gaussian elimination in Systems of Linear Equations: Two Variables. In this section, we will revisit this technique for solving systems, this time using matrices.<\/p>\r\n\r\n<section id=\"fs-id1165135187846\" data-depth=\"1\">\r\n<h2 data-type=\"title\">Writing the Augmented Matrix of a System of Equations<\/h2>\r\n<p id=\"fs-id1165137805208\">A <span id=\"term-00004\" class=\"no-emphasis\" data-type=\"term\">matrix<\/span> can serve as a device for representing and solving a system of equations. To express a system in matrix form, we extract the coefficients of the variables and the constants, and these become the entries of the matrix. We use a vertical line to separate the coefficient entries from the constants, essentially replacing the equal signs. When a system is written in this form, we call it an <strong>augmented matrix<\/strong>.<\/p>\r\n<p id=\"fs-id1165134040526\">For example, consider the following [latex] 2\\times 2 [\/latex] system of equations.<\/p>\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 3x+4y &amp;=&amp; 7 \\\\ 4x-2y &amp;=&amp; 5 \\end{array} [\/latex]<\/p>\r\n<p id=\"fs-id1165134379478\">We can write this system as an augmented matrix:<\/p>\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rr|r} 3 &amp; 4 &amp; 7 \\\\ 4 &amp; -2 &amp; 5 \\end{array} \\right] [\/latex]<\/p>\r\n<p id=\"fs-id1165135408254\">We can also write a matrix containing just the coefficients. This is called the <strong>coefficient matrix<\/strong>.<\/p>\r\n<p style=\"text-align: center;\">[latex] \\begin{bmatrix} 3 &amp; 4 \\\\ 4 &amp; -2 \\end{bmatrix} [\/latex]<\/p>\r\n<p id=\"fs-id1165134418945\">A three-by-three system of equations such as<\/p>\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 3x-y-z &amp;=&amp; 0 \\\\ x+y &amp;=&amp; 5 \\\\ 2x-3z &amp;=&amp; 2 \\end{array} [\/latex]<\/p>\r\n<p id=\"fs-id1165137769728\">has a coefficient matrix<\/p>\r\n<p style=\"text-align: center;\">[latex] \\begin{bmatrix} 3 &amp; -1 &amp; -1 \\\\ 1 &amp; 1 &amp; 0 \\\\ 2 &amp; 0 &amp; -3 \\end{bmatrix} [\/latex]<\/p>\r\n<p id=\"fs-id1165137761794\">and is represented by the augmented matrix<\/p>\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 3 &amp; -1 &amp; -1 &amp; 0 \\\\ 1 &amp; 1 &amp; 0 &amp; 5 \\\\ 2 &amp; 0 &amp; -3 &amp; 2 \\end{array} \\right] [\/latex]<\/p>\r\n<p id=\"fs-id1165135250837\">Notice that the matrix is written so that the variables line up in their own columns: <em data-effect=\"italics\">x<\/em>-terms go in the first column, <em data-effect=\"italics\">y<\/em>-terms in the second column, and <em data-effect=\"italics\">z<\/em>-terms in the third column. It is very important that each equation is written in standard form [latex] ax+by+cz=d [\/latex] so that the variables line up. When there is a missing variable term in an equation, the coefficient is 0.<\/p>\r\n\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">How To<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p id=\"eip-id2142924\"><strong>Given a system of equations, write an augmented matrix.<\/strong><\/p>\r\n\r\n<ol id=\"fs-id1165137772399\" type=\"1\">\r\n \t<li>Write the coefficients of the <em data-effect=\"italics\">x<\/em>-terms as the numbers down the first column.<\/li>\r\n \t<li>Write the coefficients of the <em data-effect=\"italics\">y<\/em>-terms as the numbers down the second column.<\/li>\r\n \t<li>If there are <em data-effect=\"italics\">z<\/em>-terms, write the coefficients as the numbers down the third column.<\/li>\r\n \t<li>Draw a vertical line and write the constants to the right of the line.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 1: Writing the Augmented Matrix for a System of Equations<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nWrite the augmented matrix for the given system of equations.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+2y-z &amp;=&amp; 3 \\\\ 2x-y+2z &amp;=&amp; 6 \\\\ x-3y+3x &amp;=&amp; 4 \\end{array} [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>The augmented matrix displays the coefficients of the variables, and an additional column for the constants.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 1 &amp; 2 &amp; -1 &amp; 3 \\\\ 2 &amp; -1 &amp; 2 &amp; 6 \\\\ 1 &amp; -3 &amp; 3 &amp; 4 \\end{array} \\right] [\/latex]<\/p>\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Try It #1<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nWrite the augmented matrix of the given system of equations.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 4x-3y &amp;=&amp; 11 \\\\ 3x+2y &amp;=&amp; 4 \\end{array} [\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<section id=\"fs-id1165134042772\" data-depth=\"1\">\r\n<h2 data-type=\"title\">Writing a System of Equations from an Augmented Matrix<\/h2>\r\n<p id=\"fs-id1165135384875\">We can use augmented matrices to help us solve systems of equations because they simplify operations when the systems are not encumbered by the variables. However, it is important to understand how to move back and forth between formats in order to make finding solutions smoother and more intuitive. Here, we will use the information in an augmented matrix to write the <span id=\"term-00008\" class=\"no-emphasis\" data-type=\"term\">system of equations<\/span> in standard form.<\/p>\r\n\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 2: Writing a System of Equations from an Augmented Matrix Form<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nFind the system of equations from the augmented matrix.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 1 &amp; -3 &amp; -5 &amp; -2 \\\\ 2 &amp; -5 &amp; -4 &amp; 5 \\\\ -3 &amp; 5 &amp; 4 &amp; 6 \\end{array} \\right] [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>When the columns represent the variables <em>x<\/em>, <em>y<\/em>, and <em>z<\/em>,\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 1 &amp; -3 &amp; -5 &amp; -2 \\\\ 2 &amp; -5 &amp; -4 &amp; 5 \\\\ -3 &amp; 5 &amp; 4 &amp; 6 \\end{array} \\right] \\rightarrow \\begin{array}{rll} x-3y-5z &amp;=&amp; -2 \\\\ 2x-5y-4z &amp;=&amp; 5 \\\\ -3x+5y+4z &amp;=&amp; 6 \\end{array} [\/latex]<\/p>\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Try It #2<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nWrite the system of equations from the augmented matrix.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 1 &amp; -1 &amp; 1 &amp; 5 \\\\ 2 &amp; -1 &amp; 3 &amp; 1 \\\\ 0 &amp; 1 &amp; 1 &amp; -9 \\end{array} \\right] [\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\n<\/section><section id=\"fs-id1165137932395\" data-depth=\"1\">\r\n<h2 data-type=\"title\">Performing Row Operations on a Matrix<\/h2>\r\n<p id=\"fs-id1165137642129\">Now that we can write systems of equations in augmented matrix form, we will examine the various <strong><span id=\"term-00009\" data-type=\"term\">row operations<\/span><\/strong> that can be performed on a matrix, such as addition, multiplication by a constant, and interchanging rows.<\/p>\r\n<p id=\"fs-id1165134389750\">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><span id=\"term-00010\" data-type=\"term\">row-echelon form<\/span><\/strong>, in which there are ones down the <strong><span id=\"term-00011\" data-type=\"term\">main diagonal<\/span><\/strong> from the upper left corner to the lower right corner, and zeros in every position below the main diagonal as shown.<\/p>\r\n<p style=\"text-align: center;\">[latex] \\overset{\\text{Row-echelon form}}{\\begin{bmatrix} 1 &amp; a &amp; b \\\\ 0 &amp; 1 &amp; d \\\\ 0 &amp; 0 &amp; 1 \\end{bmatrix}} [\/latex]<\/p>\r\n<p id=\"fs-id1165135475907\">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>\r\n\r\n<ol id=\"fs-id1165135661443\" type=\"1\">\r\n \t<li>In any nonzero row, the first nonzero number is a 1. It is called a <em data-effect=\"italics\">leading<\/em> 1.<\/li>\r\n \t<li>Any all-zero rows are placed at the bottom on the matrix.<\/li>\r\n \t<li>Any leading 1 is below and to the right of a previous leading 1.<\/li>\r\n \t<li>Any column containing a leading 1 has zeros in all other positions in the column.<\/li>\r\n<\/ol>\r\n<p id=\"fs-id1165135506341\">To solve a system of equations we can perform the following row operations to convert the coefficient matrix to row-echelon form and do back-substitution to find the solution.<\/p>\r\n\r\n<ol id=\"fs-id1165137530290\" type=\"1\">\r\n \t<li>Interchange rows. (Notation:[latex] R_i \\longleftrightarrow R_j [\/latex])<\/li>\r\n \t<li>Multiply a row by a constant. (Notation: [latex] cR_i [\/latex])<\/li>\r\n \t<li>Add the product of a row multiplied by a constant to another row. (Notation: [latex] R_i+cR_j [\/latex])<\/li>\r\n<\/ol>\r\n<p id=\"fs-id1165137409510\">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>\r\n\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Gaussian Elimination<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\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 <em>A<\/em> with the number 1 as the entry down the main diagonal and have all zeros below.\r\n<p style=\"text-align: center;\">[latex] A=\\begin{bmatrix} a_{11} &amp; a_{12} &amp; a_{13} \\\\ a_{21} &amp; a_{22} &amp; a_{23} \\\\ a_{31} &amp; a_{32} &amp; a_{33} \\end{bmatrix} \\xrightarrow{\\text{After Gaussian elimination}} A = \\begin{bmatrix} 1 &amp; b_{12} &amp; b_{13} \\\\ 0 &amp; 1 &amp; b_{23} \\\\ 0 &amp; 0 &amp; 1 \\end{bmatrix} [\/latex]<\/p>\r\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.\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">How To<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p id=\"fs-id1165133078043\"><strong>Given an augmented matrix, perform row operations to achieve row-echelon form.<\/strong><\/p>\r\n\r\n<ol id=\"fs-id1165133452354\" type=\"1\">\r\n \t<li>The first equation should have a leading coefficient of 1. Interchange rows or multiply by a constant, if necessary.<\/li>\r\n \t<li>Use row operations to obtain zeros down the first column below the first entry of 1.<\/li>\r\n \t<li>Use row operations to obtain a 1 in row 2, column 2.<\/li>\r\n \t<li>Use row operations to obtain zeros down column 2, below the entry of 1.<\/li>\r\n \t<li>Use row operations to obtain a 1 in row 3, column 3.<\/li>\r\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>\r\n \t<li>If any rows contain all zeros, place them at the bottom.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3: Solving a [latex] 2\\times 2 [\/latex] System by Gaussian Elimination<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve the given system by Gaussian elimination.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 2x+3y &amp;=&amp; 6 \\\\ x-y &amp;=&amp; \\frac{1}{2} \\end{array} [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>First, we write this as an augmented matrix.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rr|r} 2 &amp; 3 &amp; 6 \\\\ 1 &amp; -1 &amp; \\frac{1}{2} \\end{array} \\right] [\/latex]<\/p>\r\nWe want a 1 in row 1, column 1. This can be accomplished by interchanging row 1 and row 2.\r\n<p style=\"text-align: center;\">[latex] R_1 \\leftrightarrow R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 &amp; -1 &amp; \\frac{1}{2} \\\\ 2 &amp; 3 &amp; 6 \\end{array} \\right] [\/latex]<\/p>\r\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 -2, and then adding the result to row 2.\r\n<p style=\"text-align: center;\">[latex] -2r_1+r_2=r_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 &amp; -1 &amp; \\frac{1}{2} \\\\ 0 &amp; 5 &amp; 5 \\end{array} \\right] [\/latex]<\/p>\r\nWe only have one more step, to multiply row 2 by [latex] \\frac{1}{5}. [\/latex]\r\n<p style=\"text-align: center;\">[latex] \\frac{1}{5}R_2=R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 &amp; -1 &amp; \\frac{1}{2} \\\\ 0 &amp; 1 &amp; 1 \\end{array} \\right] [\/latex]<\/p>\r\nUse back-substitution. The second row of the matrix represents [latex] y=1. [\/latex] Back-substitute [latex] y=1 [\/latex] into the first equation.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x-(1) &amp;=&amp; \\frac{1}{2} \\\\ x &amp;=&amp; \\frac{3}{2} \\end{array} [\/latex]<\/p>\r\nThe solution is the point [latex] \\left(\\frac{3}{2}, 1 \\right). [\/latex]\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Try It #3<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve the given system by Gaussian elimination.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 4x+3y &amp;=&amp; 11 \\\\ x-3y &amp;=&amp; -1 \\end{array} [\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 4: Using Gaussian Elimination to Solve a System of Equations<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nUse <span id=\"term-00015\" class=\"no-emphasis\" data-type=\"term\">Gaussian elimination<\/span> to solve the given [latex] 2\\times 2 [\/latex] <span id=\"term-00016\" class=\"no-emphasis\" data-type=\"term\">system of equations<\/span>.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 2x+y &amp;=&amp; 1 \\\\ 4x+2y &amp;=&amp; 6 \\end{array} [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>Write the system as an <span id=\"term-00017\" class=\"no-emphasis\" data-type=\"term\">augmented matrix<\/span>.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rr|r} 2 &amp; 1 &amp; 1 \\\\ 4 &amp; 2 &amp; 6 \\end{array} \\right] [\/latex]<\/p>\r\nObtain a 1 in row 1, column 1. This can be accomplished by multiplying the first row by [latex] \\frac{1}{2}. [\/latex]\r\n<p style=\"text-align: center;\">[latex] \\frac{1}{2}R_1=R_1 \\rightarrow \\left[ \\begin{array}{rr|r} 1 &amp; \\frac{1}{2} &amp; \\frac{1}{2} \\\\ 4 &amp; 2 &amp; 6 \\end{array} \\right] [\/latex]<\/p>\r\nNext, we want a 0 in row 2, column 1. Multiply row 1 by and add row 1 to row 2.\r\n<p style=\"text-align: center;\">[latex] -4R_1+R-2=R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 &amp; \\frac{1}{2} &amp; \\frac{1}{2} \\\\ 0 &amp; 0 &amp; 4 \\end{array} \\right] [\/latex]<\/p>\r\nThe second row represents the equation [latex] 0=4. [\/latex] Therefore, the system is inconsistent and has no solution.\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 5: Solving a Dependent System<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve the <span id=\"term-00016\" class=\"no-emphasis\" data-type=\"term\">system of equations<\/span>.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 3x_4y &amp;=&amp; 12 \\\\ 6x+8y &amp;=&amp; 24 \\end{array} [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>Perform row operations on the augmented matrix to try and achieve row-echelon form.\r\n<p style=\"text-align: center;\">[latex] A= \\left[ \\begin{array}{rr|r} 3 &amp; 4 &amp; 12 \\\\ 6 &amp; 8 &amp; 24 \\end{array} \\right] [\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex] -\\frac{1}{2}R_2+R-1=R_1 \\rightarrow \\left[ \\begin{array}{rr|r} 0 &amp; 0 &amp; 0 \\\\ 6 &amp; 8 &amp; 24 \\end{array} \\right] [\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex] R_1 \\leftrightarrow R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 6 &amp; 8 &amp; 24 \\\\ 0 &amp; 0 &amp; 0 \\end{array} \\right] [\/latex]<\/p>\r\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 <em>y.<\/em>\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 3x+4y &amp;=&amp; 12 \\\\ 4y &amp;=&amp; 12-3x \\\\ y &amp;=&amp; 3-\\frac{3}{4}x \\end{array} [\/latex]<\/p>\r\nSo the solution to the system is [latex] \\left(x, 3-\\frac{3}{4}x\\right). [\/latex]\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 6: Performing Row Operations on a [latex] 3\\times 3 [\/latex] Augmented Matrix to Obtain Row-Echelon Form<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nPerform row operations on the given matrix to obtain row-echelon form.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 1 &amp; -3 &amp; 4 &amp; 3 \\\\ 2 &amp; -5 &amp; 6 &amp; 6 \\\\ -3 &amp; 3 &amp; 4 &amp; 6 \\end{array} \\right] [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>The first row already has a 1 in row 1, column 1. The next step is to multiply row 1 by -2 and add it to row 2. Then replace row 2 with the result.\r\n<p style=\"text-align: center;\">[latex] -2R_1+R_2=R_2 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 &amp; -3 &amp; 4 &amp; 3 \\\\ 0 &amp; 1 &amp; -2 &amp; 0 \\\\ 0 &amp; -6 &amp; 16 &amp; 15 \\end{array} \\right] [\/latex]<\/p>\r\nNext, obtain a zero in row 3, column 1.\r\n<p style=\"text-align: center;\">[latex] 3R_1+R_3=R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 &amp; -3 &amp; 4 &amp; 3 \\\\ 0 &amp; 1 &amp; -2 &amp; 0 \\\\ 0 &amp; -6 &amp; 16 &amp; 15 \\end{array} \\right] [\/latex]<\/p>\r\nNext, obtain a zero in row 3, column 2.\r\n<p style=\"text-align: center;\">[latex] 6R_2+R_3=R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 &amp; -3 &amp; 4 &amp; 3 \\\\ 0 &amp; 1 &amp; -2 &amp; 0 \\\\ 0 &amp; 0 &amp; 4 &amp; 15 \\end{array} \\right] [\/latex]<\/p>\r\nThe last step is to obtain a 1 in row 3, column 3.\r\n<p style=\"text-align: center;\">[latex] \\frac{1}{4}R_3=R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 &amp; -3 &amp; 4 &amp; 3 \\\\ 0 &amp; 1 &amp; -2 &amp; 0 \\\\ 0 &amp; 0 &amp; 1 &amp; \\frac{15}{4} \\end{array} \\right] [\/latex]<\/p>\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Try It #4<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nWrite the system of equations in row-echelon form.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x-2y+3z &amp;=&amp; 9 \\\\ -x+3y &amp;=&amp; -4 \\\\ 2x-5y+5z &amp;=&amp; 17 \\end{array} [\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\n<\/section><section id=\"fs-id1165135168461\" data-depth=\"1\">\r\n<h2 data-type=\"title\">Solving a System of Linear Equations Using Matrices<\/h2>\r\n<p id=\"fs-id1165131924536\">We have seen how to write a <span id=\"term-00020\" class=\"no-emphasis\" data-type=\"term\">system of equations<\/span> with an <span id=\"term-00021\" class=\"no-emphasis\" data-type=\"term\">augmented matrix<\/span>, and then how to use row operations and back-substitution to obtain <span id=\"term-00022\" class=\"no-emphasis\" data-type=\"term\">row-echelon form<\/span>. Now, we will take row-echelon form a step farther to solve a 3 by 3 system of linear equations. The general idea is to eliminate all but one variable using row operations and then back-substitute to solve for the other variables.<\/p>\r\n\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 7: Solving a System of Linear Equations Using Matrices<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve the system of linear equations using matrices.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x-y+z &amp;=&amp; 8 \\\\ 2x+3y-z &amp;=&amp; -2 \\\\ 3x-2y-9z &amp;=&amp; 9 \\end{array} [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>First, we write the augmented matrix.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 1 &amp; -1 &amp; 1 &amp; 8 \\\\ 2 &amp; 3 &amp; -1 &amp; -2 \\\\ 3 &amp; -2 &amp; -9 &amp; 9 \\end{array} \\right] [\/latex]<\/p>\r\nNext, we perform row operations to obtain row-echelon form.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} -2R_1+R_2=R_2 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; -1 &amp; 1 &amp; 8 \\\\ 0 &amp; 5 &amp; -3 &amp; -18 \\\\ 3 &amp; -2 &amp; -9 &amp; 9 \\end{array} \\right] \\\\ -3R_1+R_3=R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; -1 &amp; 1 &amp; 8 \\\\ 0 &amp; 5 &amp; -3 &amp; -18 \\\\ 0 &amp; 1 &amp; -12 &amp; -15 \\end{array} \\right] \\end{array} [\/latex]<\/p>\r\nThe easiest way to obtain a 1 in row 2 of column 1 is to interchange [latex] R_2 [\/latex] and [latex] R_3. [\/latex]\r\n<p style=\"text-align: center;\">[latex] \\text{Interchange } R_2 \\ \\text{and } R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 &amp; -1 &amp; 1 &amp; 8 \\\\ 0 &amp; 1 &amp; -12 &amp; -15 \\\\ 0 &amp; 5 &amp; -3 &amp; -18 \\end{array} \\right] [\/latex]<\/p>\r\nThen\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} -5R_2+R_3=R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; -1 &amp; 1 &amp; 8 \\\\ 0 &amp; 1 &amp; -12 &amp; -15 \\\\ 0 &amp; 0 &amp; 57 &amp; 57\\end{array} \\right] \\\\ -\\frac{1}{57}R_3=R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; -1 &amp; 1 &amp; 8 \\\\ 0 &amp; 1 &amp; -12 &amp; -15 \\\\ 0 &amp; 0 &amp; 1 &amp; 1 \\end{array} \\right] \\end{array} [\/latex]<\/p>\r\nThe last matrix represents the equivalent system.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x-y+z &amp;=&amp; 8 \\\\ y-12z &amp;=&amp; -15 \\\\ z &amp;=&amp; 1 \\end{array} [\/latex]<\/p>\r\nUsing back-substitution, we obtain the solution as [latex] (4, -3, 1). [\/latex]\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 8: Solving a Dependent System of Linear Equations Using Matrices<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve the following system of linear equations using matrices.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} -x-2y+z &amp;=&amp; -1 \\\\ 2x+3y &amp;=&amp; 2 \\\\ y-2z &amp;=&amp; 0 \\end{array} [\/latex]<\/p>\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>Write the augmented matrix.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} -1 &amp; -2 &amp; 1 &amp; -1 \\\\ 2 &amp; 3 &amp; 0 &amp; 2 \\\\ 0 &amp; 1 &amp; -2 &amp; 0 \\end{array} \\right] [\/latex]<\/p>\r\nFirst, multiply row 1 by to get a 1 in row 1, column 1. Then, perform <span id=\"term-00023\" class=\"no-emphasis\" data-type=\"term\">row operations<\/span> to obtain row-echelon form.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} -R_1 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; 2 &amp; -1 &amp; 1 \\\\ 2 &amp; 3 &amp; 0 &amp; 2 \\\\ 0 &amp; 1 &amp; -2 &amp; 0 \\end{array} \\right]\u00a0 \\\\ R_2\\leftrightarrow R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; 2 &amp; -1 &amp; 1 \\\\ 0 &amp; 1 &amp; -2 &amp; 0\\\\ 2 &amp; 3 &amp; 0 &amp; 2 \\end{array} \\right]\u00a0 \\\\ -2R_1+R_3=R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; 2 &amp; -1 &amp; 1 \\\\ 0 &amp; 1 &amp; -2 &amp; 0 \\\\ 0 &amp; -1 &amp; 2 &amp; 0 \\end{array} \\right]\u00a0 \\\\ R_2+R_3=R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; 2 &amp; -1 &amp; 1 \\\\ 0 &amp; 1 &amp; -2 &amp; 1 \\\\ 0 &amp; 0 &amp; 0 &amp; 0 \\end{array} \\right] \\end{array} [\/latex]<\/p>\r\nThe last matrix represents the following system.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+2y-z &amp;=&amp; 1 \\\\ y-2z &amp;=&amp; 0 \\\\ 0 &amp;=&amp; 0 \\end{array} [\/latex]<\/p>\r\nWe see by the identity [latex] 0=0 [\/latex] that this is a dependent system with an infinite number of solutions. We then find the generic solution. By solving the second equation for <em>y<\/em> and substituting it into the first equation we can solve for <em>z<\/em> in terms of <em>x.<\/em>\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+2y-z &amp;=&amp; 1 \\\\ y &amp;=&amp; 2z \\end{array} [\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+2(2z_=z &amp;=&amp; 1 \\\\ x+3x &amp;=&amp; 1 \\\\ z &amp;=&amp; \\frac{1-x}{3} \\end{array} [\/latex]<\/p>\r\nNow we substitute the expression for <em>z<\/em> into the second equation to solve for <em>y<\/em> in terms of <em>x<\/em>.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} y-2z &amp;=&amp; 0 \\\\ z &amp;=&amp; \\frac{1-x}{3} \\end{array} [\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} y-2\\left(\\frac{1-x}{3}\\right) &amp;=&amp; 0 \\\\ y &amp;=&amp; \\frac{2-2x}{3} \\end{array} [\/latex]<\/p>\r\nThe generic solution is [latex] \\left(x, \\frac{2-2x}{3}, \\frac{1-x}{3}\\right). [\/latex]\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Try It #5<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve the system using matrices.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+4y-z &amp;=&amp; 4 \\\\ 2x+5y+8z &amp;=&amp; 15 \\\\ x+3y-3z &amp;=&amp; 1 \\end{array} [\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\n<\/section>\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Q&amp;A<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p id=\"eip-id3995399\"><strong>Q: Can any system of linear equations be solved by Gaussian elimination?<\/strong><\/p>\r\n<p id=\"fs-id1165134256610\"><em data-effect=\"italics\">A: Yes, a system of linear equations of any size can be solved by Gaussian elimination.<\/em><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">How To<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p id=\"fs-id1165135168386\"><strong>Given a system of equations, solve with matrices using a calculator.<\/strong><\/p>\r\n\r\n<ol id=\"fs-id1165135168391\" type=\"1\">\r\n \t<li>Save the augmented matrix as a matrix variable [latex] [A], [B], [C], \\ldots [\/latex]<\/li>\r\n \t<li>Use the <strong>ref(<\/strong> function in the calculator, calling up each matrix variable as needed.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 9: Solving Systems of Equations with Matrices Using a Calculator<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve the system of equations.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 5x+3y+9z &amp;=&amp; -1 \\\\ -2x+3y-z &amp;=&amp; -2 \\\\ -x-4y+5z &amp;=&amp; 1 \\end{array} [\/latex]<\/p>\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>Write the augmented matrix for the system of equations.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 5 &amp; 3 &amp; 9 &amp; -1 \\\\ -2 &amp; 3 &amp; -1 &amp; -2 \\\\ 01 &amp; -4 &amp; 5 &amp; -1 \\end{array} \\right] [\/latex]<\/p>\r\nOn the matrix page of the calculator, enter the augmented matrix above as the matrix variable [latex] [A]. [\/latex]\r\n<p style=\"text-align: center;\">[latex] [A]=\\begin{bmatrix} 5 &amp; 3 &amp; 9 &amp; -1 \\\\ -2 &amp; 3 &amp; -1 &amp; -2 \\\\ 01 &amp; -4 &amp; 5 &amp; -1 \\end{bmatrix} [\/latex]<\/p>\r\nUse the <strong>ref(<\/strong> function in the calculator, calling up the matrix variable [latex] [A]. [\/latex]\r\n<p style=\"text-align: center;\">[latex] \\text{ref}([A]) [\/latex]<\/p>\r\nEvaluate.\r\n<p style=\"text-align: center;\">[latex] \\begin{bmatrix} 1 &amp; \\frac{3}{5} &amp; \\frac{9}{5} &amp; -\\frac{1}{5} \\\\ 0 &amp; 1 &amp; \\frac{13}{21} &amp; -\\frac{4}{7} \\\\ 0 &amp; 0 &amp; 1 &amp; -\\frac{24}{187} \\end{bmatrix} \\rightarrow \\begin{array}{rll} x+\\frac{3}{5}y+\\frac{9}{5}z &amp;=&amp; -\\frac{1}{5} \\\\ y +\\frac{13}{21}z &amp;=&amp; -\\frac{4}{7} \\\\ z &amp;=&amp; -\\frac{24}{187} \\end{array} [\/latex]<\/p>\r\nUsing back-substitution, the solution is [latex] \\left(\\frac{61}{187}, -\\frac{92}{187}, -\\frac{24}{187}\\right). [\/latex]\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 10: Applying [latex] 2\\times 2 [\/latex] Matrices to Finance<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nCarolyn invests a total of $12,000 in two municipal bonds, one paying 10.5% interest and the other paying 12% interest. The annual interest earned on the two investments last year was $1,335. How much was invested at each rate?\r\n\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>We have a system of two equations in two variables. Let [latex] x= [\/latex] the amount invested at 10.5% interest, and [latex] y= [\/latex] the amount invested at 12% interest.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+y &amp;=&amp; 12,000 \\\\ -.105x+0.12y &amp;=&amp; 1,335 \\end{array} [\/latex]<\/p>\r\nAs a matrix, we have\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rr|r} 1 &amp; 1 &amp; 12,000 \\\\ 0.105 &amp; 0.12 &amp; 1,335 \\end{array} \\right] [\/latex]<\/p>\r\nMultiply row 1 by [latex] -0.105 [\/latex] and add the result to row 2.\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rr|r} 1 &amp; 1 &amp; 12,000 \\\\ 0 &amp; 0.015 &amp; 75 \\end{array} \\right] [\/latex]<\/p>\r\nThen,\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} 0.015y &amp;=&amp; 75 \\\\ y &amp;=&amp; 5,000 \\end{array} [\/latex]<\/p>\r\nSo [latex] 12,000-5,000=7,000 [\/latex]\r\n\r\nThus, $5,000 was invested at 12% interest and $7,000 at 10.5% interest.\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 11: Applying [latex] 3\\times 3 [\/latex] Matrices to Finance<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nAva invests a total of $10,000 in three accounts, one paying 5% interest, another paying 8% interest, and the third paying 9% interest. The annual interest earned on the three investments last year was $770. The amount invested at 9% was twice the amount invested at 5%. How much was invested at each rate?\r\n\r\n&nbsp;\r\n\r\n<details><summary><strong>Solution (click to expand)<\/strong><\/summary>We have a system of three equations in three variables. Let <em>x<\/em> be the amount invested at 5% interest, let <em>y<\/em> be the amount invested at 8% interest, and let <em>z<\/em> be the amount invested at 9% interest. Thus,\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+y+z &amp;=&amp; 10,000 \\\\ 0.05x+0.08y+0.09z &amp;=&amp; 770 \\\\ 2x-z &amp;=&amp; 0 \\end{array} [\/latex]<\/p>\r\nAs a matrix, we have\r\n<p style=\"text-align: center;\">[latex] \\left[ \\begin{array}{rrr|r} 1 &amp; 1 &amp; 1 &amp; 10,000 \\\\ 0.05 &amp; 0.08 &amp; 0.09 &amp; 770 \\\\ 2 &amp; 0 &amp; -1 &amp; 0 \\end{array} \\right] [\/latex]<\/p>\r\nNow, we perform Gaussian elimination to achieve row-echelon form.\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} -0.05R_1+R_2=R_2 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; 1 &amp; 1 &amp; 10,000 \\\\ 0 &amp; 0.03 &amp; 0.04 &amp; 270 \\\\ 2 &amp; 0 &amp; -1 &amp; 0 \\end{array} \\right] \\\\ -2R_1+R_3=R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; 1 &amp; 1 &amp; 10,000 \\\\ 0 &amp; 0.03 &amp; 0.04 &amp; 270 \\\\ 0 &amp; -2 &amp; -3 &amp; -20,000 \\end{array} \\right] \\\\ \\frac{1}{0.03}R_2=R_2 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 0 &amp; 1 &amp; 1 &amp; 10,000 \\\\ 0 &amp; 1 &amp; \\frac{4}{3} &amp; 9,000 \\\\ 0 &amp; -2 &amp; -3 &amp; -20,000 \\end{array} \\right] \\\\ 2R_2+R_3=R_3 &amp;\\rightarrow &amp; \\left[ \\begin{array}{rrr|r} 1 &amp; 1 &amp; 1 &amp; 10,000 \\\\ 0 &amp; 1 &amp; \\frac{4}{3} &amp; 9,000 \\\\ 0 &amp; 0 &amp; -\\frac{1}{3} &amp; -2,000 \\end{array} \\right] \\end{array} [\/latex]<\/p>\r\nThe third row tells us [latex] -\\frac{1}{3}z=-2,000; [\/latex] thus [latex] z=6,000. [\/latex]\r\n\r\nThe second row tells us [latex] y+\\frac{4}{3}z=9,000. [\/latex] Substituting [latex] z=6,000 [\/latex] we get\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} y+\\frac{4}{3}(6,000) &amp;=&amp; 9,000 \\\\ y+8,000 &amp;=&amp; 9,000 \\\\ y &amp;=&amp; 1,000 \\end{array} [\/latex]<\/p>\r\nThe first row tells us [latex] x+y+z=10,000. [\/latex] Substituting [latex] y=1,000 [\/latex] and [latex] z=6,000, [\/latex] we get\r\n<p style=\"text-align: center;\">[latex] \\begin{array}{rll} x+1,000+6,000 &amp;=&amp; 10,000 \\\\ x &amp;=&amp; 3,000 \\end{array} [\/latex]<\/p>\r\nThe answer is $3,000 invested at 5% interest, $1,000 invested at 8%, and $6,000 invested at 9% interest.\r\n\r\n<\/details><section>\r\n<div><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Try It #6<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">A small shoe company took out a loan of $1,500,000 to expand their inventory. Part of the money was borrowed at 7%, part was borrowed at 8%, and part was borrowed at 10%. The amount borrowed at 10% was four times the amount borrowed at 7%, and the annual interest on all three loans was $130,500. Use matrices to find the amount borrowed at each rate.<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Media<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p id=\"fs-id1165137415087\">Access these online resources for additional instruction and practice with solving systems of linear equations using Gaussian elimination.<\/p>\r\n\r\n<ul id=\"fs-id1165135253099\">\r\n \t<li><a href=\"http:\/\/openstax.org\/l\/system2augmat\" target=\"_blank\" rel=\"noopener nofollow\">Solve a System of Two Equations Using an Augmented Matrix<\/a><\/li>\r\n \t<li><a href=\"http:\/\/openstax.org\/l\/system3augmat\" target=\"_blank\" rel=\"noopener nofollow\">Solve a System of Three Equations Using an Augmented Matrix<\/a><\/li>\r\n \t<li><a href=\"http:\/\/openstax.org\/l\/augmatcalc\" target=\"_blank\" rel=\"noopener nofollow\">Augmented Matrices on the Calculator<\/a><\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<div class=\"os-eos os-section-exercises-container\" data-uuid-key=\".section-exercises\">\r\n<h2 data-type=\"document-title\" data-rex-keep=\"true\"><span class=\"os-text\">7.6 Section Exercises<\/span><\/h2>\r\n<section id=\"fs-id1165133183467\" class=\"section-exercises\" data-depth=\"1\"><section id=\"fs-id1165137570872\" data-depth=\"2\">\r\n<h3 data-type=\"title\">Verbal<\/h3>\r\n<div id=\"fs-id1165137570878\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135457759\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137570878-solution\">1<\/a><span class=\"os-divider\">. <\/span>Can any system of linear equations be written as an augmented matrix? Explain why or why not. Explain how to write that augmented matrix.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135171048\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135171049\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">2<\/span><span class=\"os-divider\">. <\/span>Can any matrix be written as a system of linear equations? Explain why or why not. Explain how to write that system of equations.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165133307007\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165133307008\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165133307007-solution\">3<\/a><span class=\"os-divider\">. <\/span>Is there only one correct method of using row operations on a matrix? Try to explain two different row operations possible to solve the augmented matrix [latex] \\left[ \\begin{array}{rr|r} 9 &amp; 3 &amp; 0 \\\\ 1 &amp; -2 &amp; 6 \\end{array} \\right]. [\/latex]\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/section><\/div>\r\n<div id=\"fs-id1165135320201\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135320202\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">4<\/span><span class=\"os-divider\">. <\/span>Can a matrix whose entry is 0 on the diagonal be solved? Explain why or why not. What would you do to remedy the situation?\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165132939190\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165132939191\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165132939190-solution\">5<\/a><span class=\"os-divider\">. <\/span>Can a matrix that has 0 entries for an entire row have one solution? Explain why or why not.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<section id=\"fs-id1165135531610\" data-depth=\"2\">\r\n<h3 data-type=\"title\">Algebraic<\/h3>\r\n<p id=\"fs-id1165137461040\">For the following exercises, write the augmented matrix for the linear system.<\/p>\r\n\r\n<div id=\"fs-id1165137461043\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165133184209\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">6<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 8x-37y &amp;=&amp; 8 \\\\ 2x_12y &amp;=&amp; 3 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section>\r\n<div id=\"fs-id1165135434887\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135434889\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135434887-solution\">7<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 16y &amp;=&amp; 4 \\\\ 9x-y &amp;=&amp; 2 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137405969\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137405970\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">8<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 3x+2y+10z &amp;=&amp; 3 \\\\ -6x+2y+5z &amp;=&amp; 13 \\\\ 4x+z &amp;=&amp; 18 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135187927\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135187929\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135187927-solution\">9<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} x+5y+8z &amp;=&amp; 19 \\\\ 12x+3y &amp;=&amp; 4 \\\\ 3x+4y+9z &amp;=&amp; -7\u00a0 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134338738\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134129715\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">10<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 6x+12y+16z &amp;=&amp; 4 \\\\ 19x-5y+3z &amp;=&amp; -9 \\\\ x+2y &amp;=&amp; -8 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<p id=\"fs-id1165137735755\">For the following exercises, write the linear system from the augmented matrix.<\/p>\r\n\r\n<div id=\"fs-id1165137659721\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137659723\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137659721-solution\">11<\/a><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rr|r} -2 &amp; 5 &amp; 5 \\\\ 6 &amp; -18 &amp; 26 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135421697\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135421699\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">12<\/span><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rr|r} 3 &amp;4 &amp; 10 \\\\ 10 &amp; 17 &amp; 439 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137592598\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134216884\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137592598-solution\">13<\/a><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rrr|r} 3 &amp; 2 &amp; 0 &amp; 3 \\\\ -1 &amp; -9 &amp; 4 &amp; -1 \\\\ 8 &amp; 5 &amp; 7 &amp; 8 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135707904\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135707906\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">14<\/span><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rrr|r} 8 &amp; 29 &amp; 1 &amp; 43 \\\\ -1 &amp; 7 &amp; 5 &amp; 38 \\\\ 0 &amp; 0 &amp; 3 &amp; 10 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165132919444\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165132919447\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165132919444-solution\">15<\/a><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rrr|r} 4 &amp; 5 &amp; -2 &amp; 12 \\\\ 0 &amp; 1 &amp; 58 &amp; 2 \\\\ 8 &amp; 7 &amp; -3 &amp; -5 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<p id=\"fs-id1165135696706\">For the following exercises, solve the system by Gaussian elimination.<\/p>\r\n\r\n<div id=\"fs-id1165135696709\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134470473\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">16<\/span><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rr|r} 1 &amp; 0 &amp; 3 \\\\ 0 &amp; 0 &amp; 0 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134383141\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134383143\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134383141-solution\">17<\/a><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rr|r} 1 &amp; 0 &amp; 1 \\\\ 1 &amp; 0 &amp; 2 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137431407\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137431409\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">18<\/span><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rr|r} 1 &amp; 2 &amp; 3 \\\\ 4 &amp; 5 &amp; 6 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135194307\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135194310\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135194307-solution\">19<\/a><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rr|r} -1 &amp; 2 &amp; -3 \\\\ 4 &amp; -5 &amp; 6 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134201644\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134201646\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">20<\/span><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rr|r} -2 &amp; 0 &amp; 1 \\\\ 0 &amp; 2 &amp; -1 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137433552\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137433554\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137433552-solution\">21<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 2x-3y &amp;=&amp; -9 \\\\ 5x+4y &amp;=&amp; 58 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135538799\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165132009196\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">22<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 6x+2y &amp;=&amp; -4 \\\\ 3x+4y &amp;=&amp; -17 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134070922\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134070924\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134070922-solution\">23<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 2x+3y &amp;=&amp; 12 \\\\ 4x+y &amp;=&amp; 14 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137415016\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137415019\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">24<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} -4x-3y &amp;=7 -2 \\\\ 3x-5y &amp;=&amp; -13 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137843916\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137843918\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137843916-solution\">25<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} -5x+8y &amp;=&amp; 3 \\\\ 10x+6y &amp;=&amp; 5 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135613447\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135613449\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">26<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 3x+4y &amp;=&amp; 12 \\\\ -6x-8y &amp;=&amp; -24 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135451328\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137896915\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135451328-solution\">27<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} -60x+45y &amp;=&amp; 12 \\\\ 20x-15y &amp;=&amp; -4 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134181915\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134181918\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">28<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 11x+10y &amp;=&amp; 43 \\\\ 15x+20y &amp;=&amp; 65 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134358547\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134358549\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134358547-solution\">29<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 2x-y &amp;=&amp; 2 \\\\ 3x+2y &amp;=&amp; 17 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135176896\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135176898\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">30<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} -1.06x-2.25y &amp;=&amp; 5.51 \\\\ -5.03x-1.08y &amp;=&amp; 5.40 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135468179\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135468182\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135468179-solution\">31<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{3}{4}x-\\frac{3}{5}y &amp;=&amp; 4 \\\\ \\frac{1}{4}x+\\frac{2}{3}y &amp;=&amp; 1 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135585216\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135363352\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">32<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{1}{4}x-\\frac{2}{3}y &amp;=&amp; -1 \\\\ \\frac{1}{2}x+\\frac{1}{3}y &amp;=&amp; 3 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134431916\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135547023\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134431916-solution\">33<\/a><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rrr|r} 1 &amp; 0 &amp; 0 &amp; 31 \\\\ 0 &amp; 1 &amp; 1 &amp; 45 \\\\ 0 &amp; 0 &amp; 1 &amp; 87 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165133104548\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165133104549\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">34<\/span><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rrr|r} 1 &amp; 0 &amp; 1 &amp; 50 \\\\ 1 &amp; 1 &amp; 0 &amp; 20 \\\\ 0 &amp; 1 &amp; 1 &amp; -90 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134205141\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134205143\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134205141-solution\">35<\/a><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rrr|r} 1 &amp; 2 &amp; 3 &amp; 4 \\\\ 0 &amp; 5 &amp; 6 &amp; 7 \\\\ 0 &amp; 0 &amp; 8 &amp; 9 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134258340\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134154476\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">36<\/span><span class=\"os-divider\">. <\/span> [latex] \\left[ \\begin{array}{rrr|r} -0.1 &amp; 0.3 &amp; -0.1 &amp; 0.2 \\\\ -0.4 &amp; 0.2 &amp; 0.1 &amp; 0.8 \\\\ 0.6 &amp; 0.1 &amp; 0.7 &amp; -0.8 \\end{array} \\right] [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135502162\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135502164\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135502162-solution\">37<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} -2x+3y-2z &amp;=&amp; 3 \\\\ 4x+2y-z &amp;=&amp; 9 \\\\ 4x-8y+2z &amp;=&amp; -6 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134265080\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134265082\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">38<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} x+y-4z &amp;=&amp; -4 \\\\ 5x-3y-2z &amp;=&amp; 0 \\\\ 2x+6y+7z &amp;=&amp; 30 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137666046\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137666048\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137666046-solution\">39<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} 2x+3y+2z &amp;=&amp; 1 \\\\ -4x-6y-4z &amp;=&amp; -2 \\\\ 1-x+15y+10z &amp;=&amp; 5 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165133252042\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134070958\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">40<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} x+2y-z &amp;=&amp; 1 \\\\ -x-2y+2z &amp;=&amp; -2 \\\\ 3x+6y-3z &amp;=&amp; 5 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135320600\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135320602\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135320600-solution\">41<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} x+2y-z &amp;=&amp; 1 \\\\ -x-2y+2z &amp;=&amp; -2 \\\\ 3x+6y-3z &amp;=&amp; 3 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135447354\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135447356\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">42<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} x+y &amp;=&amp; 2 \\\\ x+z &amp;=&amp; 1 \\\\ -y-z &amp;=&amp; -3 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135331715\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137836915\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135331715-solution\">43<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} x+y+z &amp;=&amp; 100 \\\\ x+2z &amp;=&amp; 125 \\\\ -y+2z &amp;=&amp; 25 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165131884564\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134323496\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">44<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{1}{4}x-\\frac{2}{3}z &amp;=&amp; -\\frac{1}{2} \\\\ \\frac{1}{5}x+\\frac{1}{3}y &amp;=&amp; \\frac{4}{7} \\\\ \\frac{1}{5}y-\\frac{1}{3}z &amp;=&amp; \\frac{2}{9} \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135664809\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135664811\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135664809-solution\">45<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} -\\frac{1}{2}z-\\frac{1}{2}y+\\frac{1}{7}z &amp;=&amp; -\\frac{53}{14} \\\\ \\frac{1}{2}x-\\frac{1}{2}y+\\frac{1}{4}z &amp;=&amp; 3 \\\\ \\frac{1}{4}x+\\frac{1}{5}y+\\frac{1}{3}z &amp;=&amp; \\frac{23}{15} \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135531562\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134179635\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">46<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} -\\frac{1}{2}x-\\frac{1}{3}y+\\frac{1}{4}z &amp;=&amp; -\\frac{29}{6} \\\\ \\frac{1}{5}x+\\frac{1}{6}y-\\frac{1}{7}z &amp;=&amp; \\frac{431}{210} \\\\ -\\frac{1}{8}x+\\frac{1}{9}y+\\frac{1}{10}z &amp;=&amp; -\\frac{49}{45} \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<section id=\"fs-id1165137456137\" data-depth=\"2\">\r\n<h3 data-type=\"title\">Extensions<\/h3>\r\n<p id=\"fs-id1165137456142\">For the following exercises, use Gaussian elimination to solve the system.<\/p>\r\n\r\n<div id=\"fs-id1165135319437\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135319439\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135319437-solution\">47<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{x-1}{7}+\\frac{y-2}{8}+\\frac{z-3}{4} &amp;=&amp; 0 \\\\ x+y+z &amp;=&amp; 6 \\\\ \\frac{x+2}{3}+2y+\\frac{z-3}{3} &amp;=&amp; 5 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section>\r\n<div id=\"fs-id1165134155070\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134155072\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">48<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{x-1}{4}-\\frac{y+1}{4}+3z &amp;=&amp; -1 \\\\ \\frac{x+5}{2}+\\frac{y+7}{4}-z &amp;=&amp; 4 \\\\ x+y-\\frac{z-2}{2} &amp;=&amp; 1 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135481001\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135481003\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135481001-solution\">49<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{x-3}{4}-\\frac{y-1}{3}+2z &amp;=&amp; -1 \\\\ \\frac{x+5}{2}+\\frac{y+5}{2}+\\frac{z+5}{2} &amp;=&amp; 8 \\\\ x+y+z &amp;=&amp; 1 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137883580\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137883582\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">50<\/span><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{x-3}{10}+\\frac{y+3}{2}-2z &amp;=&amp; 3 \\\\ \\frac{x+5}{4}-\\frac{y-1}{8}+z &amp;=&amp; \\frac{3}{2} \\\\ \\frac{x-1}{4}+\\frac{y+4}{2}+3z &amp;=&amp; \\frac{3}{2} \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137737633\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135401792\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137737633-solution\">51<\/a><span class=\"os-divider\">. <\/span> [latex] \\begin{array}{rll} \\frac{x-3}{4}-\\frac{y-1}{3}+2z &amp;=&amp; -1 \\\\ \\frac{x+5}{2}+\\frac{y+5}{2}+\\frac{z+5}{2} &amp;=&amp; 7 \\\\ x+y+z &amp;=&amp; 1 \\end{array} [\/latex]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<section id=\"fs-id1165131881248\" data-depth=\"2\">\r\n<h3 data-type=\"title\">Real-World Applications<\/h3>\r\n<p id=\"fs-id1165131881253\">For the following exercises, set up the augmented matrix that describes the situation, and solve for the desired solution.<\/p>\r\n\r\n<div id=\"fs-id1165135299806\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135299808\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">52<\/span><span class=\"os-divider\">. <\/span>Every day, Angeni's cupcake store sells 5,000 cupcakes in chocolate and vanilla flavors. If the chocolate flavor is 3 times as popular as the vanilla flavor, how many of each cupcake does the store sell per day?\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137411128\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165137411130\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137411128-solution\">53<\/a><span class=\"os-divider\">. <\/span>At Bakari's competing cupcake store, $4,520 worth of cupcakes are sold daily. The chocolate cupcakes cost $2.25 and the red velvet cupcakes cost $1.75. If the total number of cupcakes sold per day is 2,200, how many of each flavor are sold each day?\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165137411133\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135547100\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">54<\/span><span class=\"os-divider\">. <\/span>You invested $10,000 into two accounts: one that has simple 3% interest, the other with 2.5% interest. If your total interest payment after one year was $283.50, how much was in each account after the year passed?\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135168229\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135547107\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135168229-solution\">55<\/a><span class=\"os-divider\">. <\/span>You invested $2,300 into account 1, and $2,700 into account 2. If the total amount of interest after one year is $254, and account 2 has 1.5 times the interest rate of account 1, what are the interest rates? Assume simple interest rates.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165132945457\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165132945458\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">56<\/span><span class=\"os-divider\">. <\/span>Bikes\u2019R\u2019Us manufactures bikes, which sell for $250. It costs the manufacturer $180 per bike, plus a startup fee of $3,500. After how many bikes sold will the manufacturer break even?\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165133015273\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165133015274\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165133015273-solution\">57<\/a><span class=\"os-divider\">. <\/span>A major appliance store has agreed to order vacuums from a startup founded by college engineering students. The store would be able to purchase the vacuums for $86 each, with a delivery fee of $9,200, regardless of how many vacuums are sold. If the store needs to start seeing a profit after 230 units are sold, how much should they charge for the vacuums?\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165132945462\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135390943\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">58<\/span><span class=\"os-divider\">. <\/span>The three most popular ice cream flavors are chocolate, strawberry, and vanilla, comprising 83% of the flavors sold at an ice cream shop. If vanilla sells 1% more than twice strawberry, and chocolate sells 11% more than vanilla, how much of the total ice cream consumption are the vanilla, chocolate, and strawberry flavors?\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135390950\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135639251\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135390950-solution\">59<\/a><span class=\"os-divider\">. <\/span>At an ice cream shop, three flavors are increasing in demand. Last year, banana, pumpkin, and rocky road ice cream made up 12% of total ice cream sales. This year, the same three ice creams made up 16.9% of ice cream sales. The rocky road sales doubled, the banana sales increased by 50%, and the pumpkin sales increased by 20%. If the rocky road ice cream had one less percent of sales than the banana ice cream, find out the percentage of ice cream sales each individual ice cream made last year.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165135255468\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165135255469\" data-type=\"problem\">\r\n\r\n<span class=\"os-number\">60<\/span><span class=\"os-divider\">. <\/span>A bag of mixed nuts contains cashews, pistachios, and almonds. There are 1,000 total nuts in the bag, and there are 100 less almonds than pistachios. The cashews weigh 3 g, pistachios weigh 4 g, and almonds weigh 5 g. If the bag weighs 3.7 kg, find out how many of each type of nut is in the bag.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1165134385661\" class=\"os-hasSolution\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-id1165134385662\" data-type=\"problem\">\r\n\r\n<a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134385661-solution\">61<\/a><span class=\"os-divider\">. <\/span>A bag of mixed nuts contains cashews, pistachios, and almonds. Originally there were 900 nuts in the bag. 30% of the almonds, 20% of the cashews, and 10% of the pistachios were eaten, and now there are 770 nuts left in the bag. Originally, there were 100 more cashews than almonds. Figure out how many of each type of nut was in the bag to begin with.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section>","rendered":"<div id=\"main-content\" class=\"MainContent__ContentStyles-sc-6yy1if-0 NnXKu\" tabindex=\"-1\" data-dynamic-style=\"true\">\n<div id=\"page_69e0b9a7-0928-46a6-bb59-6cd28f18eec9\" class=\"chapter-content-module\" data-type=\"page\" data-book-content=\"true\">\n<div class=\"textbox textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Learning Objectives<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p id=\"para-00001\">In this section, you will:<\/p>\n<ul id=\"list-00001\">\n<li>Write the augmented matrix of a system of equations.<\/li>\n<li>Write the system of equations from an augmented matrix.<\/li>\n<li>Perform row operations on a matrix.<\/li>\n<li>Solve a system of linear equations using matrices.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Figure_09_06_001\" class=\"os-figure\">\n<div class=\"os-caption-container\">\n<figure id=\"attachment_1745\" aria-describedby=\"caption-attachment-1745\" style=\"width: 234px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1745\" src=\"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-content\/uploads\/sites\/234\/2025\/04\/7.6-fig-1-234x300.webp\" alt=\"\" width=\"234\" height=\"300\" srcset=\"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-content\/uploads\/sites\/234\/2025\/04\/7.6-fig-1-234x300.webp 234w, https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-content\/uploads\/sites\/234\/2025\/04\/7.6-fig-1-65x83.webp 65w, https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-content\/uploads\/sites\/234\/2025\/04\/7.6-fig-1-225x288.webp 225w, https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-content\/uploads\/sites\/234\/2025\/04\/7.6-fig-1-350x448.webp 350w, https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-content\/uploads\/sites\/234\/2025\/04\/7.6-fig-1.webp 416w\" sizes=\"auto, (max-width: 234px) 100vw, 234px\" \/><figcaption id=\"caption-attachment-1745\" class=\"wp-caption-text\">Figure 1 German mathematician Carl Friedrich Gauss (1777\u20131855).<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<p id=\"fs-id1165133141356\">Carl Friedrich <span id=\"term-00003\" class=\"no-emphasis\" data-type=\"term\">Gauss<\/span> lived during the late 18th century and early 19th century, but he is still considered one of the most prolific mathematicians in history. His contributions to the science of mathematics and physics span fields such as algebra, number theory, analysis, differential geometry, astronomy, and optics, among others. His discoveries regarding matrix theory changed the way mathematicians have worked for the last two centuries.<\/p>\n<p id=\"fs-id1165137768241\">We first encountered Gaussian elimination in Systems of Linear Equations: Two Variables. In this section, we will revisit this technique for solving systems, this time using matrices.<\/p>\n<section id=\"fs-id1165135187846\" data-depth=\"1\">\n<h2 data-type=\"title\">Writing the Augmented Matrix of a System of Equations<\/h2>\n<p id=\"fs-id1165137805208\">A <span id=\"term-00004\" class=\"no-emphasis\" data-type=\"term\">matrix<\/span> can serve as a device for representing and solving a system of equations. To express a system in matrix form, we extract the coefficients of the variables and the constants, and these become the entries of the matrix. We use a vertical line to separate the coefficient entries from the constants, essentially replacing the equal signs. When a system is written in this form, we call it an <strong>augmented matrix<\/strong>.<\/p>\n<p id=\"fs-id1165134040526\">For example, consider the following [latex]2\\times 2[\/latex] system of equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 3x+4y &=& 7 \\\\ 4x-2y &=& 5 \\end{array}[\/latex]<\/p>\n<p id=\"fs-id1165134379478\">We can write this system as an augmented matrix:<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rr|r} 3 & 4 & 7 \\\\ 4 & -2 & 5 \\end{array} \\right][\/latex]<\/p>\n<p id=\"fs-id1165135408254\">We can also write a matrix containing just the coefficients. This is called the <strong>coefficient matrix<\/strong>.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{bmatrix} 3 & 4 \\\\ 4 & -2 \\end{bmatrix}[\/latex]<\/p>\n<p id=\"fs-id1165134418945\">A three-by-three system of equations such as<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 3x-y-z &=& 0 \\\\ x+y &=& 5 \\\\ 2x-3z &=& 2 \\end{array}[\/latex]<\/p>\n<p id=\"fs-id1165137769728\">has a coefficient matrix<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{bmatrix} 3 & -1 & -1 \\\\ 1 & 1 & 0 \\\\ 2 & 0 & -3 \\end{bmatrix}[\/latex]<\/p>\n<p id=\"fs-id1165137761794\">and is represented by the augmented matrix<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 3 & -1 & -1 & 0 \\\\ 1 & 1 & 0 & 5 \\\\ 2 & 0 & -3 & 2 \\end{array} \\right][\/latex]<\/p>\n<p id=\"fs-id1165135250837\">Notice that the matrix is written so that the variables line up in their own columns: <em data-effect=\"italics\">x<\/em>-terms go in the first column, <em data-effect=\"italics\">y<\/em>-terms in the second column, and <em data-effect=\"italics\">z<\/em>-terms in the third column. It is very important that each equation is written in standard form [latex]ax+by+cz=d[\/latex] so that the variables line up. When there is a missing variable term in an equation, the coefficient is 0.<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">How To<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p id=\"eip-id2142924\"><strong>Given a system of equations, write an augmented matrix.<\/strong><\/p>\n<ol id=\"fs-id1165137772399\" type=\"1\">\n<li>Write the coefficients of the <em data-effect=\"italics\">x<\/em>-terms as the numbers down the first column.<\/li>\n<li>Write the coefficients of the <em data-effect=\"italics\">y<\/em>-terms as the numbers down the second column.<\/li>\n<li>If there are <em data-effect=\"italics\">z<\/em>-terms, write the coefficients as the numbers down the third column.<\/li>\n<li>Draw a vertical line and write the constants to the right of the line.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 1: Writing the Augmented Matrix for a System of Equations<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Write the augmented matrix for the given system of equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+2y-z &=& 3 \\\\ 2x-y+2z &=& 6 \\\\ x-3y+3x &=& 4 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>The augmented matrix displays the coefficients of the variables, and an additional column for the constants.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 1 & 2 & -1 & 3 \\\\ 2 & -1 & 2 & 6 \\\\ 1 & -3 & 3 & 4 \\end{array} \\right][\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Try It #1<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Write the augmented matrix of the given system of equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 4x-3y &=& 11 \\\\ 3x+2y &=& 4 \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<section id=\"fs-id1165134042772\" data-depth=\"1\">\n<h2 data-type=\"title\">Writing a System of Equations from an Augmented Matrix<\/h2>\n<p id=\"fs-id1165135384875\">We can use augmented matrices to help us solve systems of equations because they simplify operations when the systems are not encumbered by the variables. However, it is important to understand how to move back and forth between formats in order to make finding solutions smoother and more intuitive. Here, we will use the information in an augmented matrix to write the <span id=\"term-00008\" class=\"no-emphasis\" data-type=\"term\">system of equations<\/span> in standard form.<\/p>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 2: Writing a System of Equations from an Augmented Matrix Form<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Find the system of equations from the augmented matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 1 & -3 & -5 & -2 \\\\ 2 & -5 & -4 & 5 \\\\ -3 & 5 & 4 & 6 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>When the columns represent the variables <em>x<\/em>, <em>y<\/em>, and <em>z<\/em>,<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 1 & -3 & -5 & -2 \\\\ 2 & -5 & -4 & 5 \\\\ -3 & 5 & 4 & 6 \\end{array} \\right] \\rightarrow \\begin{array}{rll} x-3y-5z &=& -2 \\\\ 2x-5y-4z &=& 5 \\\\ -3x+5y+4z &=& 6 \\end{array}[\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Try It #2<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Write the system of equations from the augmented matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 1 & -1 & 1 & 5 \\\\ 2 & -1 & 3 & 1 \\\\ 0 & 1 & 1 & -9 \\end{array} \\right][\/latex]<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/section>\n<section id=\"fs-id1165137932395\" data-depth=\"1\">\n<h2 data-type=\"title\">Performing Row Operations on a Matrix<\/h2>\n<p id=\"fs-id1165137642129\">Now that we can write systems of equations in augmented matrix form, we will examine the various <strong><span id=\"term-00009\" data-type=\"term\">row operations<\/span><\/strong> that can be performed on a matrix, such as addition, multiplication by a constant, and interchanging rows.<\/p>\n<p id=\"fs-id1165134389750\">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><span id=\"term-00010\" data-type=\"term\">row-echelon form<\/span><\/strong>, in which there are ones down the <strong><span id=\"term-00011\" data-type=\"term\">main diagonal<\/span><\/strong> from the upper left corner to the lower right corner, and zeros in every position below the main diagonal as shown.<\/p>\n<p style=\"text-align: center;\">[latex]\\overset{\\text{Row-echelon form}}{\\begin{bmatrix} 1 & a & b \\\\ 0 & 1 & d \\\\ 0 & 0 & 1 \\end{bmatrix}}[\/latex]<\/p>\n<p id=\"fs-id1165135475907\">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 id=\"fs-id1165135661443\" type=\"1\">\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 id=\"fs-id1165135506341\">To solve a system of equations we can perform the following row operations to convert the coefficient matrix to row-echelon form and do back-substitution to find the solution.<\/p>\n<ol id=\"fs-id1165137530290\" type=\"1\">\n<li>Interchange rows. (Notation:[latex]R_i \\longleftrightarrow R_j[\/latex])<\/li>\n<li>Multiply a row by a constant. (Notation: [latex]cR_i[\/latex])<\/li>\n<li>Add the product of a row multiplied by a constant to another row. (Notation: [latex]R_i+cR_j[\/latex])<\/li>\n<\/ol>\n<p id=\"fs-id1165137409510\">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 textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Gaussian Elimination<\/p>\n<\/header>\n<div class=\"textbox__content\">\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 <em>A<\/em> with the number 1 as the entry down the main diagonal and have all zeros below.<\/p>\n<p style=\"text-align: center;\">[latex]A=\\begin{bmatrix} a_{11} & a_{12} & a_{13} \\\\ a_{21} & a_{22} & a_{23} \\\\ a_{31} & a_{32} & a_{33} \\end{bmatrix} \\xrightarrow{\\text{After Gaussian elimination}} A = \\begin{bmatrix} 1 & b_{12} & b_{13} \\\\ 0 & 1 & b_{23} \\\\ 0 & 0 & 1 \\end{bmatrix}[\/latex]<\/p>\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>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">How To<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p id=\"fs-id1165133078043\"><strong>Given an augmented matrix, perform row operations to achieve row-echelon form.<\/strong><\/p>\n<ol id=\"fs-id1165133452354\" type=\"1\">\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>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3: Solving a [latex]2\\times 2[\/latex] System by Gaussian Elimination<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve the given system by Gaussian elimination.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 2x+3y &=& 6 \\\\ x-y &=& \\frac{1}{2} \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>First, we write this as an augmented matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rr|r} 2 & 3 & 6 \\\\ 1 & -1 & \\frac{1}{2} \\end{array} \\right][\/latex]<\/p>\n<p>We want a 1 in row 1, column 1. This can be accomplished by interchanging row 1 and row 2.<\/p>\n<p style=\"text-align: center;\">[latex]R_1 \\leftrightarrow R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 & -1 & \\frac{1}{2} \\\\ 2 & 3 & 6 \\end{array} \\right][\/latex]<\/p>\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 -2, and then adding the result to row 2.<\/p>\n<p style=\"text-align: center;\">[latex]-2r_1+r_2=r_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 & -1 & \\frac{1}{2} \\\\ 0 & 5 & 5 \\end{array} \\right][\/latex]<\/p>\n<p>We only have one more step, to multiply row 2 by [latex]\\frac{1}{5}.[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{1}{5}R_2=R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 & -1 & \\frac{1}{2} \\\\ 0 & 1 & 1 \\end{array} \\right][\/latex]<\/p>\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<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x-(1) &=& \\frac{1}{2} \\\\ x &=& \\frac{3}{2} \\end{array}[\/latex]<\/p>\n<p>The solution is the point [latex]\\left(\\frac{3}{2}, 1 \\right).[\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Try It #3<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve the given system by Gaussian elimination.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 4x+3y &=& 11 \\\\ x-3y &=& -1 \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 4: Using Gaussian Elimination to Solve a System of Equations<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Use <span id=\"term-00015\" class=\"no-emphasis\" data-type=\"term\">Gaussian elimination<\/span> to solve the given [latex]2\\times 2[\/latex] <span id=\"term-00016\" class=\"no-emphasis\" data-type=\"term\">system of equations<\/span>.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 2x+y &=& 1 \\\\ 4x+2y &=& 6 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>Write the system as an <span id=\"term-00017\" class=\"no-emphasis\" data-type=\"term\">augmented matrix<\/span>.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rr|r} 2 & 1 & 1 \\\\ 4 & 2 & 6 \\end{array} \\right][\/latex]<\/p>\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<p style=\"text-align: center;\">[latex]\\frac{1}{2}R_1=R_1 \\rightarrow \\left[ \\begin{array}{rr|r} 1 & \\frac{1}{2} & \\frac{1}{2} \\\\ 4 & 2 & 6 \\end{array} \\right][\/latex]<\/p>\n<p>Next, we want a 0 in row 2, column 1. Multiply row 1 by and add row 1 to row 2.<\/p>\n<p style=\"text-align: center;\">[latex]-4R_1+R-2=R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 1 & \\frac{1}{2} & \\frac{1}{2} \\\\ 0 & 0 & 4 \\end{array} \\right][\/latex]<\/p>\n<p>The second row represents the equation [latex]0=4.[\/latex] Therefore, the system is inconsistent and has no solution.<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 5: Solving a Dependent System<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve the <span class=\"no-emphasis\" data-type=\"term\">system of equations<\/span>.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 3x_4y &=& 12 \\\\ 6x+8y &=& 24 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>Perform row operations on the augmented matrix to try and achieve row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]A= \\left[ \\begin{array}{rr|r} 3 & 4 & 12 \\\\ 6 & 8 & 24 \\end{array} \\right][\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]-\\frac{1}{2}R_2+R-1=R_1 \\rightarrow \\left[ \\begin{array}{rr|r} 0 & 0 & 0 \\\\ 6 & 8 & 24 \\end{array} \\right][\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]R_1 \\leftrightarrow R_2 \\rightarrow \\left[ \\begin{array}{rr|r} 6 & 8 & 24 \\\\ 0 & 0 & 0 \\end{array} \\right][\/latex]<\/p>\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 <em>y.<\/em><\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 3x+4y &=& 12 \\\\ 4y &=& 12-3x \\\\ y &=& 3-\\frac{3}{4}x \\end{array}[\/latex]<\/p>\n<p>So the solution to the system is [latex]\\left(x, 3-\\frac{3}{4}x\\right).[\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 6: Performing Row Operations on a [latex]3\\times 3[\/latex] Augmented Matrix to Obtain Row-Echelon Form<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Perform row operations on the given matrix to obtain row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 1 & -3 & 4 & 3 \\\\ 2 & -5 & 6 & 6 \\\\ -3 & 3 & 4 & 6 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>The first row already has a 1 in row 1, column 1. The next step is to multiply row 1 by -2 and add it to row 2. Then replace row 2 with the result.<\/p>\n<p style=\"text-align: center;\">[latex]-2R_1+R_2=R_2 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 & -3 & 4 & 3 \\\\ 0 & 1 & -2 & 0 \\\\ 0 & -6 & 16 & 15 \\end{array} \\right][\/latex]<\/p>\n<p>Next, obtain a zero in row 3, column 1.<\/p>\n<p style=\"text-align: center;\">[latex]3R_1+R_3=R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 & -3 & 4 & 3 \\\\ 0 & 1 & -2 & 0 \\\\ 0 & -6 & 16 & 15 \\end{array} \\right][\/latex]<\/p>\n<p>Next, obtain a zero in row 3, column 2.<\/p>\n<p style=\"text-align: center;\">[latex]6R_2+R_3=R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 & -3 & 4 & 3 \\\\ 0 & 1 & -2 & 0 \\\\ 0 & 0 & 4 & 15 \\end{array} \\right][\/latex]<\/p>\n<p>The last step is to obtain a 1 in row 3, column 3.<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{1}{4}R_3=R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 & -3 & 4 & 3 \\\\ 0 & 1 & -2 & 0 \\\\ 0 & 0 & 1 & \\frac{15}{4} \\end{array} \\right][\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Try It #4<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Write the system of equations in row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x-2y+3z &=& 9 \\\\ -x+3y &=& -4 \\\\ 2x-5y+5z &=& 17 \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/section>\n<section id=\"fs-id1165135168461\" data-depth=\"1\">\n<h2 data-type=\"title\">Solving a System of Linear Equations Using Matrices<\/h2>\n<p id=\"fs-id1165131924536\">We have seen how to write a <span id=\"term-00020\" class=\"no-emphasis\" data-type=\"term\">system of equations<\/span> with an <span id=\"term-00021\" class=\"no-emphasis\" data-type=\"term\">augmented matrix<\/span>, and then how to use row operations and back-substitution to obtain <span id=\"term-00022\" class=\"no-emphasis\" data-type=\"term\">row-echelon form<\/span>. Now, we will take row-echelon form a step farther to solve a 3 by 3 system of linear equations. The general idea is to eliminate all but one variable using row operations and then back-substitute to solve for the other variables.<\/p>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 7: Solving a System of Linear Equations Using Matrices<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve the system of linear equations using matrices.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x-y+z &=& 8 \\\\ 2x+3y-z &=& -2 \\\\ 3x-2y-9z &=& 9 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>First, we write the augmented matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 1 & -1 & 1 & 8 \\\\ 2 & 3 & -1 & -2 \\\\ 3 & -2 & -9 & 9 \\end{array} \\right][\/latex]<\/p>\n<p>Next, we perform row operations to obtain row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} -2R_1+R_2=R_2 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & -1 & 1 & 8 \\\\ 0 & 5 & -3 & -18 \\\\ 3 & -2 & -9 & 9 \\end{array} \\right] \\\\ -3R_1+R_3=R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & -1 & 1 & 8 \\\\ 0 & 5 & -3 & -18 \\\\ 0 & 1 & -12 & -15 \\end{array} \\right] \\end{array}[\/latex]<\/p>\n<p>The easiest way to obtain a 1 in row 2 of column 1 is to interchange [latex]R_2[\/latex] and [latex]R_3.[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\text{Interchange } R_2 \\ \\text{and } R_3 \\rightarrow \\left[ \\begin{array}{rrr|r} 1 & -1 & 1 & 8 \\\\ 0 & 1 & -12 & -15 \\\\ 0 & 5 & -3 & -18 \\end{array} \\right][\/latex]<\/p>\n<p>Then<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} -5R_2+R_3=R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & -1 & 1 & 8 \\\\ 0 & 1 & -12 & -15 \\\\ 0 & 0 & 57 & 57\\end{array} \\right] \\\\ -\\frac{1}{57}R_3=R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & -1 & 1 & 8 \\\\ 0 & 1 & -12 & -15 \\\\ 0 & 0 & 1 & 1 \\end{array} \\right] \\end{array}[\/latex]<\/p>\n<p>The last matrix represents the equivalent system.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x-y+z &=& 8 \\\\ y-12z &=& -15 \\\\ z &=& 1 \\end{array}[\/latex]<\/p>\n<p>Using back-substitution, we obtain the solution as [latex](4, -3, 1).[\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 8: Solving a Dependent System of Linear Equations Using Matrices<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve the following system of linear equations using matrices.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} -x-2y+z &=& -1 \\\\ 2x+3y &=& 2 \\\\ y-2z &=& 0 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>Write the augmented matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} -1 & -2 & 1 & -1 \\\\ 2 & 3 & 0 & 2 \\\\ 0 & 1 & -2 & 0 \\end{array} \\right][\/latex]<\/p>\n<p>First, multiply row 1 by to get a 1 in row 1, column 1. Then, perform <span id=\"term-00023\" class=\"no-emphasis\" data-type=\"term\">row operations<\/span> to obtain row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} -R_1 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & 2 & -1 & 1 \\\\ 2 & 3 & 0 & 2 \\\\ 0 & 1 & -2 & 0 \\end{array} \\right]\u00a0 \\\\ R_2\\leftrightarrow R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & 2 & -1 & 1 \\\\ 0 & 1 & -2 & 0\\\\ 2 & 3 & 0 & 2 \\end{array} \\right]\u00a0 \\\\ -2R_1+R_3=R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & 2 & -1 & 1 \\\\ 0 & 1 & -2 & 0 \\\\ 0 & -1 & 2 & 0 \\end{array} \\right]\u00a0 \\\\ R_2+R_3=R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & 2 & -1 & 1 \\\\ 0 & 1 & -2 & 1 \\\\ 0 & 0 & 0 & 0 \\end{array} \\right] \\end{array}[\/latex]<\/p>\n<p>The last matrix represents the following system.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+2y-z &=& 1 \\\\ y-2z &=& 0 \\\\ 0 &=& 0 \\end{array}[\/latex]<\/p>\n<p>We see by the identity [latex]0=0[\/latex] that this is a dependent system with an infinite number of solutions. We then find the generic solution. By solving the second equation for <em>y<\/em> and substituting it into the first equation we can solve for <em>z<\/em> in terms of <em>x.<\/em><\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+2y-z &=& 1 \\\\ y &=& 2z \\end{array}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+2(2z_=z &=& 1 \\\\ x+3x &=& 1 \\\\ z &=& \\frac{1-x}{3} \\end{array}[\/latex]<\/p>\n<p>Now we substitute the expression for <em>z<\/em> into the second equation to solve for <em>y<\/em> in terms of <em>x<\/em>.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} y-2z &=& 0 \\\\ z &=& \\frac{1-x}{3} \\end{array}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} y-2\\left(\\frac{1-x}{3}\\right) &=& 0 \\\\ y &=& \\frac{2-2x}{3} \\end{array}[\/latex]<\/p>\n<p>The generic solution is [latex]\\left(x, \\frac{2-2x}{3}, \\frac{1-x}{3}\\right).[\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Try It #5<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve the system using matrices.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+4y-z &=& 4 \\\\ 2x+5y+8z &=& 15 \\\\ x+3y-3z &=& 1 \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/section>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Q&amp;A<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p id=\"eip-id3995399\"><strong>Q: Can any system of linear equations be solved by Gaussian elimination?<\/strong><\/p>\n<p id=\"fs-id1165134256610\"><em data-effect=\"italics\">A: Yes, a system of linear equations of any size can be solved by Gaussian elimination.<\/em><\/p>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">How To<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p id=\"fs-id1165135168386\"><strong>Given a system of equations, solve with matrices using a calculator.<\/strong><\/p>\n<ol id=\"fs-id1165135168391\" type=\"1\">\n<li>Save the augmented matrix as a matrix variable [latex][A], [B], [C], \\ldots[\/latex]<\/li>\n<li>Use the <strong>ref(<\/strong> function in the calculator, calling up each matrix variable as needed.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 9: Solving Systems of Equations with Matrices Using a Calculator<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve the system of equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 5x+3y+9z &=& -1 \\\\ -2x+3y-z &=& -2 \\\\ -x-4y+5z &=& 1 \\end{array}[\/latex]<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>Write the augmented matrix for the system of equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 5 & 3 & 9 & -1 \\\\ -2 & 3 & -1 & -2 \\\\ 01 & -4 & 5 & -1 \\end{array} \\right][\/latex]<\/p>\n<p>On the matrix page of the calculator, enter the augmented matrix above as the matrix variable [latex][A].[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex][A]=\\begin{bmatrix} 5 & 3 & 9 & -1 \\\\ -2 & 3 & -1 & -2 \\\\ 01 & -4 & 5 & -1 \\end{bmatrix}[\/latex]<\/p>\n<p>Use the <strong>ref(<\/strong> function in the calculator, calling up the matrix variable [latex][A].[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\text{ref}([A])[\/latex]<\/p>\n<p>Evaluate.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{bmatrix} 1 & \\frac{3}{5} & \\frac{9}{5} & -\\frac{1}{5} \\\\ 0 & 1 & \\frac{13}{21} & -\\frac{4}{7} \\\\ 0 & 0 & 1 & -\\frac{24}{187} \\end{bmatrix} \\rightarrow \\begin{array}{rll} x+\\frac{3}{5}y+\\frac{9}{5}z &=& -\\frac{1}{5} \\\\ y +\\frac{13}{21}z &=& -\\frac{4}{7} \\\\ z &=& -\\frac{24}{187} \\end{array}[\/latex]<\/p>\n<p>Using back-substitution, the solution is [latex]\\left(\\frac{61}{187}, -\\frac{92}{187}, -\\frac{24}{187}\\right).[\/latex]<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 10: Applying [latex]2\\times 2[\/latex] Matrices to Finance<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Carolyn invests a total of $12,000 in two municipal bonds, one paying 10.5% interest and the other paying 12% interest. The annual interest earned on the two investments last year was $1,335. How much was invested at each rate?<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>We have a system of two equations in two variables. Let [latex]x=[\/latex] the amount invested at 10.5% interest, and [latex]y=[\/latex] the amount invested at 12% interest.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+y &=& 12,000 \\\\ -.105x+0.12y &=& 1,335 \\end{array}[\/latex]<\/p>\n<p>As a matrix, we have<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rr|r} 1 & 1 & 12,000 \\\\ 0.105 & 0.12 & 1,335 \\end{array} \\right][\/latex]<\/p>\n<p>Multiply row 1 by [latex]-0.105[\/latex] and add the result to row 2.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rr|r} 1 & 1 & 12,000 \\\\ 0 & 0.015 & 75 \\end{array} \\right][\/latex]<\/p>\n<p>Then,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} 0.015y &=& 75 \\\\ y &=& 5,000 \\end{array}[\/latex]<\/p>\n<p>So [latex]12,000-5,000=7,000[\/latex]<\/p>\n<p>Thus, $5,000 was invested at 12% interest and $7,000 at 10.5% interest.<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 11: Applying [latex]3\\times 3[\/latex] Matrices to Finance<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Ava invests a total of $10,000 in three accounts, one paying 5% interest, another paying 8% interest, and the third paying 9% interest. The annual interest earned on the three investments last year was $770. The amount invested at 9% was twice the amount invested at 5%. How much was invested at each rate?<\/p>\n<p>&nbsp;<\/p>\n<details>\n<summary><strong>Solution (click to expand)<\/strong><\/summary>\n<p>We have a system of three equations in three variables. Let <em>x<\/em> be the amount invested at 5% interest, let <em>y<\/em> be the amount invested at 8% interest, and let <em>z<\/em> be the amount invested at 9% interest. Thus,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+y+z &=& 10,000 \\\\ 0.05x+0.08y+0.09z &=& 770 \\\\ 2x-z &=& 0 \\end{array}[\/latex]<\/p>\n<p>As a matrix, we have<\/p>\n<p style=\"text-align: center;\">[latex]\\left[ \\begin{array}{rrr|r} 1 & 1 & 1 & 10,000 \\\\ 0.05 & 0.08 & 0.09 & 770 \\\\ 2 & 0 & -1 & 0 \\end{array} \\right][\/latex]<\/p>\n<p>Now, we perform Gaussian elimination to achieve row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} -0.05R_1+R_2=R_2 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & 1 & 1 & 10,000 \\\\ 0 & 0.03 & 0.04 & 270 \\\\ 2 & 0 & -1 & 0 \\end{array} \\right] \\\\ -2R_1+R_3=R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & 1 & 1 & 10,000 \\\\ 0 & 0.03 & 0.04 & 270 \\\\ 0 & -2 & -3 & -20,000 \\end{array} \\right] \\\\ \\frac{1}{0.03}R_2=R_2 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 0 & 1 & 1 & 10,000 \\\\ 0 & 1 & \\frac{4}{3} & 9,000 \\\\ 0 & -2 & -3 & -20,000 \\end{array} \\right] \\\\ 2R_2+R_3=R_3 &\\rightarrow & \\left[ \\begin{array}{rrr|r} 1 & 1 & 1 & 10,000 \\\\ 0 & 1 & \\frac{4}{3} & 9,000 \\\\ 0 & 0 & -\\frac{1}{3} & -2,000 \\end{array} \\right] \\end{array}[\/latex]<\/p>\n<p>The third row tells us [latex]-\\frac{1}{3}z=-2,000;[\/latex] thus [latex]z=6,000.[\/latex]<\/p>\n<p>The second row tells us [latex]y+\\frac{4}{3}z=9,000.[\/latex] Substituting [latex]z=6,000[\/latex] we get<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} y+\\frac{4}{3}(6,000) &=& 9,000 \\\\ y+8,000 &=& 9,000 \\\\ y &=& 1,000 \\end{array}[\/latex]<\/p>\n<p>The first row tells us [latex]x+y+z=10,000.[\/latex] Substituting [latex]y=1,000[\/latex] and [latex]z=6,000,[\/latex] we get<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rll} x+1,000+6,000 &=& 10,000 \\\\ x &=& 3,000 \\end{array}[\/latex]<\/p>\n<p>The answer is $3,000 invested at 5% interest, $1,000 invested at 8%, and $6,000 invested at 9% interest.<\/p>\n<\/details>\n<section>\n<div><\/div>\n<\/section>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Try It #6<\/p>\n<\/header>\n<div class=\"textbox__content\">A small shoe company took out a loan of $1,500,000 to expand their inventory. Part of the money was borrowed at 7%, part was borrowed at 8%, and part was borrowed at 10%. The amount borrowed at 10% was four times the amount borrowed at 7%, and the annual interest on all three loans was $130,500. Use matrices to find the amount borrowed at each rate.<\/div>\n<\/div>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Media<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p id=\"fs-id1165137415087\">Access these online resources for additional instruction and practice with solving systems of linear equations using Gaussian elimination.<\/p>\n<ul id=\"fs-id1165135253099\">\n<li><a href=\"http:\/\/openstax.org\/l\/system2augmat\" target=\"_blank\" rel=\"noopener nofollow\">Solve a System of Two Equations Using an Augmented Matrix<\/a><\/li>\n<li><a href=\"http:\/\/openstax.org\/l\/system3augmat\" target=\"_blank\" rel=\"noopener nofollow\">Solve a System of Three Equations Using an Augmented Matrix<\/a><\/li>\n<li><a href=\"http:\/\/openstax.org\/l\/augmatcalc\" target=\"_blank\" rel=\"noopener nofollow\">Augmented Matrices on the Calculator<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"os-eos os-section-exercises-container\" data-uuid-key=\".section-exercises\">\n<h2 data-type=\"document-title\" data-rex-keep=\"true\"><span class=\"os-text\">7.6 Section Exercises<\/span><\/h2>\n<section id=\"fs-id1165133183467\" class=\"section-exercises\" data-depth=\"1\">\n<section id=\"fs-id1165137570872\" data-depth=\"2\">\n<h3 data-type=\"title\">Verbal<\/h3>\n<div id=\"fs-id1165137570878\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135457759\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137570878-solution\">1<\/a><span class=\"os-divider\">. <\/span>Can any system of linear equations be written as an augmented matrix? Explain why or why not. Explain how to write that augmented matrix.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135171048\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135171049\" data-type=\"problem\">\n<p><span class=\"os-number\">2<\/span><span class=\"os-divider\">. <\/span>Can any matrix be written as a system of linear equations? Explain why or why not. Explain how to write that system of equations.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165133307007\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165133307008\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165133307007-solution\">3<\/a><span class=\"os-divider\">. <\/span>Is there only one correct method of using row operations on a matrix? Try to explain two different row operations possible to solve the augmented matrix [latex]\\left[ \\begin{array}{rr|r} 9 & 3 & 0 \\\\ 1 & -2 & 6 \\end{array} \\right].[\/latex]<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135320201\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135320202\" data-type=\"problem\">\n<p><span class=\"os-number\">4<\/span><span class=\"os-divider\">. <\/span>Can a matrix whose entry is 0 on the diagonal be solved? Explain why or why not. What would you do to remedy the situation?<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165132939190\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165132939191\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165132939190-solution\">5<\/a><span class=\"os-divider\">. <\/span>Can a matrix that has 0 entries for an entire row have one solution? Explain why or why not.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<section id=\"fs-id1165135531610\" data-depth=\"2\">\n<h3 data-type=\"title\">Algebraic<\/h3>\n<p id=\"fs-id1165137461040\">For the following exercises, write the augmented matrix for the linear system.<\/p>\n<div id=\"fs-id1165137461043\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165133184209\" data-type=\"problem\">\n<p><span class=\"os-number\">6<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 8x-37y &=& 8 \\\\ 2x_12y &=& 3 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<div id=\"fs-id1165135434887\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135434889\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135434887-solution\">7<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 16y &=& 4 \\\\ 9x-y &=& 2 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137405969\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137405970\" data-type=\"problem\">\n<p><span class=\"os-number\">8<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 3x+2y+10z &=& 3 \\\\ -6x+2y+5z &=& 13 \\\\ 4x+z &=& 18 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135187927\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135187929\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135187927-solution\">9<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} x+5y+8z &=& 19 \\\\ 12x+3y &=& 4 \\\\ 3x+4y+9z &=& -7\u00a0 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134338738\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134129715\" data-type=\"problem\">\n<p><span class=\"os-number\">10<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 6x+12y+16z &=& 4 \\\\ 19x-5y+3z &=& -9 \\\\ x+2y &=& -8 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"fs-id1165137735755\">For the following exercises, write the linear system from the augmented matrix.<\/p>\n<div id=\"fs-id1165137659721\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137659723\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137659721-solution\">11<\/a><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rr|r} -2 & 5 & 5 \\\\ 6 & -18 & 26 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135421697\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135421699\" data-type=\"problem\">\n<p><span class=\"os-number\">12<\/span><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rr|r} 3 &4 & 10 \\\\ 10 & 17 & 439 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137592598\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134216884\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137592598-solution\">13<\/a><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rrr|r} 3 & 2 & 0 & 3 \\\\ -1 & -9 & 4 & -1 \\\\ 8 & 5 & 7 & 8 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135707904\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135707906\" data-type=\"problem\">\n<p><span class=\"os-number\">14<\/span><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rrr|r} 8 & 29 & 1 & 43 \\\\ -1 & 7 & 5 & 38 \\\\ 0 & 0 & 3 & 10 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165132919444\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165132919447\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165132919444-solution\">15<\/a><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rrr|r} 4 & 5 & -2 & 12 \\\\ 0 & 1 & 58 & 2 \\\\ 8 & 7 & -3 & -5 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"fs-id1165135696706\">For the following exercises, solve the system by Gaussian elimination.<\/p>\n<div id=\"fs-id1165135696709\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134470473\" data-type=\"problem\">\n<p><span class=\"os-number\">16<\/span><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rr|r} 1 & 0 & 3 \\\\ 0 & 0 & 0 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134383141\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134383143\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134383141-solution\">17<\/a><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rr|r} 1 & 0 & 1 \\\\ 1 & 0 & 2 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137431407\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137431409\" data-type=\"problem\">\n<p><span class=\"os-number\">18<\/span><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rr|r} 1 & 2 & 3 \\\\ 4 & 5 & 6 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135194307\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135194310\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135194307-solution\">19<\/a><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rr|r} -1 & 2 & -3 \\\\ 4 & -5 & 6 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134201644\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134201646\" data-type=\"problem\">\n<p><span class=\"os-number\">20<\/span><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rr|r} -2 & 0 & 1 \\\\ 0 & 2 & -1 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137433552\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137433554\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137433552-solution\">21<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 2x-3y &=& -9 \\\\ 5x+4y &=& 58 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135538799\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165132009196\" data-type=\"problem\">\n<p><span class=\"os-number\">22<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 6x+2y &=& -4 \\\\ 3x+4y &=& -17 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134070922\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134070924\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134070922-solution\">23<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 2x+3y &=& 12 \\\\ 4x+y &=& 14 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137415016\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137415019\" data-type=\"problem\">\n<p><span class=\"os-number\">24<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} -4x-3y &=7 -2 \\\\ 3x-5y &=& -13 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137843916\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137843918\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137843916-solution\">25<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} -5x+8y &=& 3 \\\\ 10x+6y &=& 5 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135613447\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135613449\" data-type=\"problem\">\n<p><span class=\"os-number\">26<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 3x+4y &=& 12 \\\\ -6x-8y &=& -24 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135451328\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137896915\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135451328-solution\">27<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} -60x+45y &=& 12 \\\\ 20x-15y &=& -4 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134181915\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134181918\" data-type=\"problem\">\n<p><span class=\"os-number\">28<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 11x+10y &=& 43 \\\\ 15x+20y &=& 65 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134358547\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134358549\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134358547-solution\">29<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 2x-y &=& 2 \\\\ 3x+2y &=& 17 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135176896\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135176898\" data-type=\"problem\">\n<p><span class=\"os-number\">30<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} -1.06x-2.25y &=& 5.51 \\\\ -5.03x-1.08y &=& 5.40 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135468179\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135468182\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135468179-solution\">31<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{3}{4}x-\\frac{3}{5}y &=& 4 \\\\ \\frac{1}{4}x+\\frac{2}{3}y &=& 1 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135585216\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135363352\" data-type=\"problem\">\n<p><span class=\"os-number\">32<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{1}{4}x-\\frac{2}{3}y &=& -1 \\\\ \\frac{1}{2}x+\\frac{1}{3}y &=& 3 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134431916\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135547023\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134431916-solution\">33<\/a><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rrr|r} 1 & 0 & 0 & 31 \\\\ 0 & 1 & 1 & 45 \\\\ 0 & 0 & 1 & 87 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165133104548\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165133104549\" data-type=\"problem\">\n<p><span class=\"os-number\">34<\/span><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rrr|r} 1 & 0 & 1 & 50 \\\\ 1 & 1 & 0 & 20 \\\\ 0 & 1 & 1 & -90 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134205141\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134205143\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134205141-solution\">35<\/a><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rrr|r} 1 & 2 & 3 & 4 \\\\ 0 & 5 & 6 & 7 \\\\ 0 & 0 & 8 & 9 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134258340\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134154476\" data-type=\"problem\">\n<p><span class=\"os-number\">36<\/span><span class=\"os-divider\">. <\/span> [latex]\\left[ \\begin{array}{rrr|r} -0.1 & 0.3 & -0.1 & 0.2 \\\\ -0.4 & 0.2 & 0.1 & 0.8 \\\\ 0.6 & 0.1 & 0.7 & -0.8 \\end{array} \\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135502162\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135502164\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135502162-solution\">37<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} -2x+3y-2z &=& 3 \\\\ 4x+2y-z &=& 9 \\\\ 4x-8y+2z &=& -6 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134265080\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134265082\" data-type=\"problem\">\n<p><span class=\"os-number\">38<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} x+y-4z &=& -4 \\\\ 5x-3y-2z &=& 0 \\\\ 2x+6y+7z &=& 30 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137666046\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137666048\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137666046-solution\">39<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} 2x+3y+2z &=& 1 \\\\ -4x-6y-4z &=& -2 \\\\ 1-x+15y+10z &=& 5 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165133252042\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134070958\" data-type=\"problem\">\n<p><span class=\"os-number\">40<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} x+2y-z &=& 1 \\\\ -x-2y+2z &=& -2 \\\\ 3x+6y-3z &=& 5 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135320600\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135320602\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135320600-solution\">41<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} x+2y-z &=& 1 \\\\ -x-2y+2z &=& -2 \\\\ 3x+6y-3z &=& 3 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135447354\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135447356\" data-type=\"problem\">\n<p><span class=\"os-number\">42<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} x+y &=& 2 \\\\ x+z &=& 1 \\\\ -y-z &=& -3 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135331715\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137836915\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135331715-solution\">43<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} x+y+z &=& 100 \\\\ x+2z &=& 125 \\\\ -y+2z &=& 25 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165131884564\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134323496\" data-type=\"problem\">\n<p><span class=\"os-number\">44<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{1}{4}x-\\frac{2}{3}z &=& -\\frac{1}{2} \\\\ \\frac{1}{5}x+\\frac{1}{3}y &=& \\frac{4}{7} \\\\ \\frac{1}{5}y-\\frac{1}{3}z &=& \\frac{2}{9} \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135664809\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135664811\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135664809-solution\">45<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} -\\frac{1}{2}z-\\frac{1}{2}y+\\frac{1}{7}z &=& -\\frac{53}{14} \\\\ \\frac{1}{2}x-\\frac{1}{2}y+\\frac{1}{4}z &=& 3 \\\\ \\frac{1}{4}x+\\frac{1}{5}y+\\frac{1}{3}z &=& \\frac{23}{15} \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135531562\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134179635\" data-type=\"problem\">\n<p><span class=\"os-number\">46<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} -\\frac{1}{2}x-\\frac{1}{3}y+\\frac{1}{4}z &=& -\\frac{29}{6} \\\\ \\frac{1}{5}x+\\frac{1}{6}y-\\frac{1}{7}z &=& \\frac{431}{210} \\\\ -\\frac{1}{8}x+\\frac{1}{9}y+\\frac{1}{10}z &=& -\\frac{49}{45} \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<section id=\"fs-id1165137456137\" data-depth=\"2\">\n<h3 data-type=\"title\">Extensions<\/h3>\n<p id=\"fs-id1165137456142\">For the following exercises, use Gaussian elimination to solve the system.<\/p>\n<div id=\"fs-id1165135319437\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135319439\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135319437-solution\">47<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{x-1}{7}+\\frac{y-2}{8}+\\frac{z-3}{4} &=& 0 \\\\ x+y+z &=& 6 \\\\ \\frac{x+2}{3}+2y+\\frac{z-3}{3} &=& 5 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<div id=\"fs-id1165134155070\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134155072\" data-type=\"problem\">\n<p><span class=\"os-number\">48<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{x-1}{4}-\\frac{y+1}{4}+3z &=& -1 \\\\ \\frac{x+5}{2}+\\frac{y+7}{4}-z &=& 4 \\\\ x+y-\\frac{z-2}{2} &=& 1 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135481001\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135481003\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135481001-solution\">49<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{x-3}{4}-\\frac{y-1}{3}+2z &=& -1 \\\\ \\frac{x+5}{2}+\\frac{y+5}{2}+\\frac{z+5}{2} &=& 8 \\\\ x+y+z &=& 1 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137883580\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137883582\" data-type=\"problem\">\n<p><span class=\"os-number\">50<\/span><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{x-3}{10}+\\frac{y+3}{2}-2z &=& 3 \\\\ \\frac{x+5}{4}-\\frac{y-1}{8}+z &=& \\frac{3}{2} \\\\ \\frac{x-1}{4}+\\frac{y+4}{2}+3z &=& \\frac{3}{2} \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137737633\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135401792\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137737633-solution\">51<\/a><span class=\"os-divider\">. <\/span> [latex]\\begin{array}{rll} \\frac{x-3}{4}-\\frac{y-1}{3}+2z &=& -1 \\\\ \\frac{x+5}{2}+\\frac{y+5}{2}+\\frac{z+5}{2} &=& 7 \\\\ x+y+z &=& 1 \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<section id=\"fs-id1165131881248\" data-depth=\"2\">\n<h3 data-type=\"title\">Real-World Applications<\/h3>\n<p id=\"fs-id1165131881253\">For the following exercises, set up the augmented matrix that describes the situation, and solve for the desired solution.<\/p>\n<div id=\"fs-id1165135299806\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135299808\" data-type=\"problem\">\n<p><span class=\"os-number\">52<\/span><span class=\"os-divider\">. <\/span>Every day, Angeni&#8217;s cupcake store sells 5,000 cupcakes in chocolate and vanilla flavors. If the chocolate flavor is 3 times as popular as the vanilla flavor, how many of each cupcake does the store sell per day?<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137411128\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165137411130\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165137411128-solution\">53<\/a><span class=\"os-divider\">. <\/span>At Bakari&#8217;s competing cupcake store, $4,520 worth of cupcakes are sold daily. The chocolate cupcakes cost $2.25 and the red velvet cupcakes cost $1.75. If the total number of cupcakes sold per day is 2,200, how many of each flavor are sold each day?<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165137411133\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135547100\" data-type=\"problem\">\n<p><span class=\"os-number\">54<\/span><span class=\"os-divider\">. <\/span>You invested $10,000 into two accounts: one that has simple 3% interest, the other with 2.5% interest. If your total interest payment after one year was $283.50, how much was in each account after the year passed?<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135168229\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135547107\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135168229-solution\">55<\/a><span class=\"os-divider\">. <\/span>You invested $2,300 into account 1, and $2,700 into account 2. If the total amount of interest after one year is $254, and account 2 has 1.5 times the interest rate of account 1, what are the interest rates? Assume simple interest rates.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165132945457\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165132945458\" data-type=\"problem\">\n<p><span class=\"os-number\">56<\/span><span class=\"os-divider\">. <\/span>Bikes\u2019R\u2019Us manufactures bikes, which sell for $250. It costs the manufacturer $180 per bike, plus a startup fee of $3,500. After how many bikes sold will the manufacturer break even?<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165133015273\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165133015274\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165133015273-solution\">57<\/a><span class=\"os-divider\">. <\/span>A major appliance store has agreed to order vacuums from a startup founded by college engineering students. The store would be able to purchase the vacuums for $86 each, with a delivery fee of $9,200, regardless of how many vacuums are sold. If the store needs to start seeing a profit after 230 units are sold, how much should they charge for the vacuums?<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165132945462\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135390943\" data-type=\"problem\">\n<p><span class=\"os-number\">58<\/span><span class=\"os-divider\">. <\/span>The three most popular ice cream flavors are chocolate, strawberry, and vanilla, comprising 83% of the flavors sold at an ice cream shop. If vanilla sells 1% more than twice strawberry, and chocolate sells 11% more than vanilla, how much of the total ice cream consumption are the vanilla, chocolate, and strawberry flavors?<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135390950\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135639251\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165135390950-solution\">59<\/a><span class=\"os-divider\">. <\/span>At an ice cream shop, three flavors are increasing in demand. Last year, banana, pumpkin, and rocky road ice cream made up 12% of total ice cream sales. This year, the same three ice creams made up 16.9% of ice cream sales. The rocky road sales doubled, the banana sales increased by 50%, and the pumpkin sales increased by 20%. If the rocky road ice cream had one less percent of sales than the banana ice cream, find out the percentage of ice cream sales each individual ice cream made last year.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165135255468\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165135255469\" data-type=\"problem\">\n<p><span class=\"os-number\">60<\/span><span class=\"os-divider\">. <\/span>A bag of mixed nuts contains cashews, pistachios, and almonds. There are 1,000 total nuts in the bag, and there are 100 less almonds than pistachios. The cashews weigh 3 g, pistachios weigh 4 g, and almonds weigh 5 g. If the bag weighs 3.7 kg, find out how many of each type of nut is in the bag.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1165134385661\" class=\"os-hasSolution\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-id1165134385662\" data-type=\"problem\">\n<p><a class=\"os-number\" href=\"chapter-7\" data-page-slug=\"chapter-7\" data-page-uuid=\"f0a43272-7860-5760-ac27-5047923a0f08\" data-page-fragment=\"fs-id1165134385661-solution\">61<\/a><span class=\"os-divider\">. <\/span>A bag of mixed nuts contains cashews, pistachios, and almonds. Originally there were 900 nuts in the bag. 30% of the almonds, 20% of the cashews, and 10% of the pistachios were eaten, and now there are 770 nuts left in the bag. Originally, there were 100 more cashews than almonds. Figure out how many of each type of nut was in the bag to begin with.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n","protected":false},"author":158,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-217","chapter","type-chapter","status-publish","hentry"],"part":162,"_links":{"self":[{"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/pressbooks\/v2\/chapters\/217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/wp\/v2\/users\/158"}],"version-history":[{"count":19,"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/pressbooks\/v2\/chapters\/217\/revisions"}],"predecessor-version":[{"id":1761,"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/pressbooks\/v2\/chapters\/217\/revisions\/1761"}],"part":[{"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/pressbooks\/v2\/parts\/162"}],"metadata":[{"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/pressbooks\/v2\/chapters\/217\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/wp\/v2\/media?parent=217"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=217"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/wp\/v2\/contributor?post=217"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.ccconline.org\/ccacollegealgebra\/wp-json\/wp\/v2\/license?post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}