{"id":14217,"date":"2018-06-15T19:27:33","date_gmt":"2018-06-15T19:27:33","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/ccbcmd-math\/chapter\/using-cramers-rule-to-solve-a-system-of-two-equations-in-two-variables\/"},"modified":"2022-03-21T21:42:16","modified_gmt":"2022-03-21T21:42:16","slug":"using-cramers-rule-to-solve-a-system-of-two-equations-in-two-variables","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/chapter\/using-cramers-rule-to-solve-a-system-of-two-equations-in-two-variables\/","title":{"raw":"Using Cramer\u2019s Rule to Solve a System of Two Equations in Two Variables","rendered":"Using Cramer\u2019s Rule to Solve a System of Two Equations in Two Variables"},"content":{"raw":"<h2>Evaluating the Determinant of a 2\u00d72 Matrix<\/h2>\r\nA determinant is a real number that can be very useful in mathematics because it has multiple applications, such as calculating area, volume, and other quantities. Here, we will use determinants to reveal whether a matrix is invertible by using the entries of a <strong>square matrix<\/strong> to determine whether there is a solution to the system of equations. Perhaps one of the more interesting applications, however, is their use in cryptography. Secure signals or messages are sometimes sent encoded in a matrix. The data can only be decrypted with an <strong>invertible matrix<\/strong> and the determinant. For our purposes, we focus on the determinant as an indication of the invertibility of the matrix. Calculating the determinant of a matrix involves following the specific patterns that are outlined in this section.\r\n<div class=\"textbox shaded\">\r\n<h3>A General Note: Find the Determinant of a 2 \u00d7 2 Matrix<\/h3>\r\nThe <strong>determinant<\/strong> of a [latex]2\\text{ }\\times \\text{ }2[\/latex] matrix, given\r\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}a&amp; b\\\\ c&amp; d\\end{array}\\right][\/latex]<\/div>\r\nis defined as\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3360\/2018\/06\/15192732\/CNX_Precalc_Figure_09_08_0012.jpg\" alt=\"\" width=\"487\" height=\"59\" data-media-type=\"image\/jpg\" \/> <b>Figure 1<\/b>[\/caption]\r\n\r\nNotice the change in notation. There are several ways to indicate the determinant, including [latex]\\mathrm{det}\\left(A\\right)[\/latex] and replacing the brackets in a matrix with straight lines, [latex]|A|[\/latex].\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 1: Finding the Determinant of a 2 \u00d7 2 Matrix<\/h3>\r\nFind the determinant of the given matrix.\r\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}5&amp; 2\\\\ -6&amp; 3\\end{array}\\right][\/latex]<\/div>\r\n<\/div>\r\n<div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\mathrm{det}\\left(A\\right)=|\\begin{array}{cc}5&amp; 2\\\\ -6&amp; 3\\end{array}|\\hfill \\\\ =5\\left(3\\right)-\\left(-6\\right)\\left(2\\right)\\hfill \\\\ =27\\hfill \\end{array}[\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<h2>Using Cramer\u2019s Rule to Solve a System of Two Equations in Two Variables<\/h2>\r\nWe will now introduce a final method for solving systems of equations that uses determinants. Known as <strong>Cramer\u2019s Rule<\/strong>, this technique dates back to the middle of the 18th century and is named for its innovator, the Swiss mathematician Gabriel Cramer (1704\u20131752), who introduced it in 1750 in Introduction \u00e0 l'Analyse des lignes Courbes alg\u00e9briques. Cramer\u2019s Rule is a viable and efficient method for finding solutions to systems with an arbitrary number of unknowns, provided that we have the same number of equations as unknowns.\r\n\r\nCramer\u2019s Rule will give us the unique solution to a system of equations, if it exists. However, if the system has no solution or an infinite number of solutions, this will be indicated by a determinant of zero. To find out if the system is inconsistent or dependent, another method, such as elimination, will have to be used.\r\n\r\nTo understand Cramer\u2019s Rule, let\u2019s look closely at how we solve systems of linear equations using basic row operations. Consider a system of two equations in two variables.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\left(1\\right)\\\\ {a}_{2}x+{b}_{2}y={c}_{2}\\left(2\\right)\\end{array}[\/latex]<\/div>\r\nWe eliminate one variable using row operations and solve for the other. Say that we wish to solve for [latex]x[\/latex]. If equation (2) is multiplied by the opposite of the coefficient of [latex]y[\/latex] in equation (1), equation (1) is multiplied by the coefficient of [latex]y[\/latex] in equation (2), and we add the two equations, the variable [latex]y[\/latex] will be eliminated.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}\\text{ }b_{2}a_{1}x+b_{2}b_{1}y=b_{2}c_{1} \\hfill&amp; \\text{Multiply }R_{1}\\text{ by }b_{2} \\\\\u2212b_{1}a_{2}x\u2212b_{1}b_{2}y=\u2212b_{1}c_{2} \\hfill&amp; \\text{Multiply }R_{2}\\text{ by }\u2212b_{2} \\\\ \\text{______________________} \\\\ b_{2}a_{1}x\u2212b_{1}a_{2}x=\u2212b_{2}c_{1}\u2212b_{1}c_{2}\\end{array}[\/latex]<\/p>\r\nNow, solve for [latex]x[\/latex].\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{b}_{2}{a}_{1}x-{b}_{1}{a}_{2}x={b}_{2}{c}_{1}-{b}_{1}{c}_{2}\\hfill \\\\ x\\left({b}_{2}{a}_{1}-{b}_{1}{a}_{2}\\right)={b}_{2}{c}_{1}-{b}_{1}{c}_{2}\\hfill \\\\ \\text{ }x=\\frac{{b}_{2}{c}_{1}-{b}_{1}{c}_{2}}{{b}_{2}{a}_{1}-{b}_{1}{a}_{2}}=\\frac{\\left[\\begin{array}{cc}{c}_{1}&amp; {b}_{1}\\\\ {c}_{2}&amp; {b}_{2}\\end{array}\\right]}{\\left[\\begin{array}{cc}{a}_{1}&amp; {b}_{1}\\\\ {a}_{2}&amp; {b}_{2}\\end{array}\\right]}\\hfill \\end{array}[\/latex]<\/div>\r\nSimilarly, to solve for [latex]y[\/latex], we will eliminate [latex]x[\/latex].\r\n<div style=\"text-align: center;\">[latex]\\begin{array}\\text{ }a_{2}a_{1}x+a_{2}b_{1}y=a_{2}c_{1} \\hfill&amp; \\text{Multiply }R_{1}\\text{ by }a_{2} \\\\\u2212a_{1}a_{2}x\u2212a_{1}b_{2}y=\u2212a_{1}c_{2} \\hfill&amp; \\text{Multiply }R_{2}\\text{ by }\u2212a_{1} \\\\ \\text{______________________} \\\\ a_{2}b_{1}y\u2212a_{1}b_{2}y=a_{2}c_{1}\u2212a_{1}c_{2}\\end{array}[\/latex]<\/div>\r\nSolving for [latex]y[\/latex] gives\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{a}_{2}{b}_{1}y-{a}_{1}{b}_{2}y={a}_{2}{c}_{1}-{a}_{1}{c}_{2}\\hfill \\\\ y\\left({a}_{2}{b}_{1}-{a}_{1}{b}_{2}\\right)={a}_{2}{c}_{1}-{a}_{1}{c}_{2}\\hfill \\\\ \\text{ }y=\\frac{{a}_{2}{c}_{1}-{a}_{1}{c}_{2}}{{a}_{2}{b}_{1}-{a}_{1}{b}_{2}}=\\frac{{a}_{1}{c}_{2}-{a}_{2}{c}_{1}}{{a}_{1}{b}_{2}-{a}_{2}{b}_{1}}=\\frac{|\\begin{array}{cc}{a}_{1}&amp; {c}_{1}\\\\ {a}_{2}&amp; {c}_{2}\\end{array}|}{|\\begin{array}{cc}{a}_{1}&amp; {b}_{1}\\\\ {a}_{2}&amp; {b}_{2}\\end{array}|}\\hfill \\end{array}[\/latex]<\/div>\r\nNotice that the denominator for both [latex]x[\/latex] and [latex]y[\/latex] is the determinant of the coefficient matrix.\r\n\r\nWe can use these formulas to solve for [latex]x[\/latex] and [latex]y[\/latex], but Cramer\u2019s Rule also introduces new notation:\r\n<ul>\r\n \t<li>[latex]D:[\/latex] determinant of the coefficient matrix<\/li>\r\n \t<li>[latex]{D}_{x}:[\/latex] determinant of the numerator in the solution of [latex]x[\/latex]\r\n<div style=\"text-align: center;\">[latex]x=\\frac{{D}_{x}}{D}[\/latex]<\/div><\/li>\r\n \t<li>[latex]{D}_{y}:[\/latex] determinant of the numerator in the solution of [latex]y[\/latex]\r\n<div style=\"text-align: center;\">[latex]y=\\frac{{D}_{y}}{D}[\/latex]<\/div><\/li>\r\n<\/ul>\r\nThe key to Cramer\u2019s Rule is replacing the variable column of interest with the constant column and calculating the determinants. We can then express [latex]x[\/latex] and [latex]y[\/latex] as a quotient of two determinants.\r\n<div class=\"textbox\">\r\n<h3>A General Note: Cramer\u2019s Rule for 2\u00d72 Systems<\/h3>\r\n<strong>Cramer\u2019s Rule<\/strong> is a method that uses determinants to solve systems of equations that have the same number of equations as variables.\r\n\r\nConsider a system of two linear equations in two variables.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\\\ {a}_{2}x+{b}_{2}y={c}_{2}\\end{array}[\/latex]<\/div>\r\nThe solution using Cramer\u2019s Rule is given as\r\n<div style=\"text-align: center;\">[latex]x=\\frac{{D}_{x}}{D}=\\frac{|\\begin{array}{cc}{c}_{1}&amp; {b}_{1}\\\\ {c}_{2}&amp; {b}_{2}\\end{array}|}{|\\begin{array}{cc}{a}_{1}&amp; {b}_{1}\\\\ {a}_{2}&amp; {b}_{2}\\end{array}|},D\\ne 0;\\text{ }\\text{ }y=\\frac{{D}_{y}}{D}=\\frac{|\\begin{array}{cc}{a}_{1}&amp; {c}_{1}\\\\ {a}_{2}&amp; {c}_{2}\\end{array}|}{|\\begin{array}{cc}{a}_{1}&amp; {b}_{1}\\\\ {a}_{2}&amp; {b}_{2}\\end{array}|},D\\ne 0[\/latex].<\/div>\r\nIf we are solving for [latex]x[\/latex], the [latex]x[\/latex] column is replaced with the constant column. If we are solving for [latex]y[\/latex], the [latex]y[\/latex] column is replaced with the constant column.\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 2: Using Cramer\u2019s Rule to Solve a 2 \u00d7 2 System<\/h3>\r\nSolve the following [latex]2\\text{ }\\times \\text{ }2[\/latex] system using Cramer\u2019s Rule.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{c}12x+3y=15\\\\ \\text{ }2x - 3y=13\\end{array}[\/latex]<\/div>\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nSolve for [latex]x[\/latex].\r\n<div style=\"text-align: center;\">[latex]x=\\frac{{D}_{x}}{D}=\\frac{|\\begin{array}{rr}\\hfill 15&amp; \\hfill 3\\\\ \\hfill 13&amp; \\hfill -3\\end{array}|}{|\\begin{array}{rr}\\hfill 12&amp; \\hfill 3\\\\ \\hfill 2&amp; \\hfill -3\\end{array}|}=\\frac{-45 - 39}{-36 - 6}=\\frac{-84}{-42}=2[\/latex]<\/div>\r\nSolve for [latex]y[\/latex].\r\n<div style=\"text-align: center;\">[latex]y=\\frac{{D}_{y}}{D}=\\frac{|\\begin{array}{rr}\\hfill 12&amp; \\hfill 15\\\\ \\hfill 2&amp; \\hfill 13\\end{array}|}{|\\begin{array}{rr}\\hfill 12&amp; \\hfill 3\\\\ \\hfill 2&amp; \\hfill -3\\end{array}|}=\\frac{156 - 30}{-36 - 6}=-\\frac{126}{42}=-3[\/latex]<\/div>\r\nThe solution is [latex]\\left(2,-3\\right)[\/latex].\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 1<\/h3>\r\nUse Cramer\u2019s Rule to solve the 2 \u00d7 2 system of equations.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x+2y=-11\\hfill \\\\ -2x+y=-13\\hfill \\end{array}[\/latex]<\/div>\r\n<div><\/div>\r\n<div>\r\n[reveal-answer q=\"539791\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"539791\"][latex](3,-7)[\/latex][\/hidden-answer]<\/div>\r\n<\/div>","rendered":"<h2>Evaluating the Determinant of a 2\u00d72 Matrix<\/h2>\n<p>A determinant is a real number that can be very useful in mathematics because it has multiple applications, such as calculating area, volume, and other quantities. Here, we will use determinants to reveal whether a matrix is invertible by using the entries of a <strong>square matrix<\/strong> to determine whether there is a solution to the system of equations. Perhaps one of the more interesting applications, however, is their use in cryptography. Secure signals or messages are sometimes sent encoded in a matrix. The data can only be decrypted with an <strong>invertible matrix<\/strong> and the determinant. For our purposes, we focus on the determinant as an indication of the invertibility of the matrix. Calculating the determinant of a matrix involves following the specific patterns that are outlined in this section.<\/p>\n<div class=\"textbox shaded\">\n<h3>A General Note: Find the Determinant of a 2 \u00d7 2 Matrix<\/h3>\n<p>The <strong>determinant<\/strong> of a [latex]2\\text{ }\\times \\text{ }2[\/latex] matrix, given<\/p>\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}a& b\\\\ c& d\\end{array}\\right][\/latex]<\/div>\n<p>is defined as<\/p>\n<div style=\"width: 497px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3360\/2018\/06\/15192732\/CNX_Precalc_Figure_09_08_0012.jpg\" alt=\"\" width=\"487\" height=\"59\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 1<\/b><\/p>\n<\/div>\n<p>Notice the change in notation. There are several ways to indicate the determinant, including [latex]\\mathrm{det}\\left(A\\right)[\/latex] and replacing the brackets in a matrix with straight lines, [latex]|A|[\/latex].<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 1: Finding the Determinant of a 2 \u00d7 2 Matrix<\/h3>\n<p>Find the determinant of the given matrix.<\/p>\n<div style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}5& 2\\\\ -6& 3\\end{array}\\right][\/latex]<\/div>\n<\/div>\n<div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\mathrm{det}\\left(A\\right)=|\\begin{array}{cc}5& 2\\\\ -6& 3\\end{array}|\\hfill \\\\ =5\\left(3\\right)-\\left(-6\\right)\\left(2\\right)\\hfill \\\\ =27\\hfill \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<h2>Using Cramer\u2019s Rule to Solve a System of Two Equations in Two Variables<\/h2>\n<p>We will now introduce a final method for solving systems of equations that uses determinants. Known as <strong>Cramer\u2019s Rule<\/strong>, this technique dates back to the middle of the 18th century and is named for its innovator, the Swiss mathematician Gabriel Cramer (1704\u20131752), who introduced it in 1750 in Introduction \u00e0 l&#8217;Analyse des lignes Courbes alg\u00e9briques. Cramer\u2019s Rule is a viable and efficient method for finding solutions to systems with an arbitrary number of unknowns, provided that we have the same number of equations as unknowns.<\/p>\n<p>Cramer\u2019s Rule will give us the unique solution to a system of equations, if it exists. However, if the system has no solution or an infinite number of solutions, this will be indicated by a determinant of zero. To find out if the system is inconsistent or dependent, another method, such as elimination, will have to be used.<\/p>\n<p>To understand Cramer\u2019s Rule, let\u2019s look closely at how we solve systems of linear equations using basic row operations. Consider a system of two equations in two variables.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\left(1\\right)\\\\ {a}_{2}x+{b}_{2}y={c}_{2}\\left(2\\right)\\end{array}[\/latex]<\/div>\n<p>We eliminate one variable using row operations and solve for the other. Say that we wish to solve for [latex]x[\/latex]. If equation (2) is multiplied by the opposite of the coefficient of [latex]y[\/latex] in equation (1), equation (1) is multiplied by the coefficient of [latex]y[\/latex] in equation (2), and we add the two equations, the variable [latex]y[\/latex] will be eliminated.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}\\text{ }b_{2}a_{1}x+b_{2}b_{1}y=b_{2}c_{1} \\hfill& \\text{Multiply }R_{1}\\text{ by }b_{2} \\\\\u2212b_{1}a_{2}x\u2212b_{1}b_{2}y=\u2212b_{1}c_{2} \\hfill& \\text{Multiply }R_{2}\\text{ by }\u2212b_{2} \\\\ \\text{______________________} \\\\ b_{2}a_{1}x\u2212b_{1}a_{2}x=\u2212b_{2}c_{1}\u2212b_{1}c_{2}\\end{array}[\/latex]<\/p>\n<p>Now, solve for [latex]x[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{b}_{2}{a}_{1}x-{b}_{1}{a}_{2}x={b}_{2}{c}_{1}-{b}_{1}{c}_{2}\\hfill \\\\ x\\left({b}_{2}{a}_{1}-{b}_{1}{a}_{2}\\right)={b}_{2}{c}_{1}-{b}_{1}{c}_{2}\\hfill \\\\ \\text{ }x=\\frac{{b}_{2}{c}_{1}-{b}_{1}{c}_{2}}{{b}_{2}{a}_{1}-{b}_{1}{a}_{2}}=\\frac{\\left[\\begin{array}{cc}{c}_{1}& {b}_{1}\\\\ {c}_{2}& {b}_{2}\\end{array}\\right]}{\\left[\\begin{array}{cc}{a}_{1}& {b}_{1}\\\\ {a}_{2}& {b}_{2}\\end{array}\\right]}\\hfill \\end{array}[\/latex]<\/div>\n<p>Similarly, to solve for [latex]y[\/latex], we will eliminate [latex]x[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}\\text{ }a_{2}a_{1}x+a_{2}b_{1}y=a_{2}c_{1} \\hfill& \\text{Multiply }R_{1}\\text{ by }a_{2} \\\\\u2212a_{1}a_{2}x\u2212a_{1}b_{2}y=\u2212a_{1}c_{2} \\hfill& \\text{Multiply }R_{2}\\text{ by }\u2212a_{1} \\\\ \\text{______________________} \\\\ a_{2}b_{1}y\u2212a_{1}b_{2}y=a_{2}c_{1}\u2212a_{1}c_{2}\\end{array}[\/latex]<\/div>\n<p>Solving for [latex]y[\/latex] gives<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{a}_{2}{b}_{1}y-{a}_{1}{b}_{2}y={a}_{2}{c}_{1}-{a}_{1}{c}_{2}\\hfill \\\\ y\\left({a}_{2}{b}_{1}-{a}_{1}{b}_{2}\\right)={a}_{2}{c}_{1}-{a}_{1}{c}_{2}\\hfill \\\\ \\text{ }y=\\frac{{a}_{2}{c}_{1}-{a}_{1}{c}_{2}}{{a}_{2}{b}_{1}-{a}_{1}{b}_{2}}=\\frac{{a}_{1}{c}_{2}-{a}_{2}{c}_{1}}{{a}_{1}{b}_{2}-{a}_{2}{b}_{1}}=\\frac{|\\begin{array}{cc}{a}_{1}& {c}_{1}\\\\ {a}_{2}& {c}_{2}\\end{array}|}{|\\begin{array}{cc}{a}_{1}& {b}_{1}\\\\ {a}_{2}& {b}_{2}\\end{array}|}\\hfill \\end{array}[\/latex]<\/div>\n<p>Notice that the denominator for both [latex]x[\/latex] and [latex]y[\/latex] is the determinant of the coefficient matrix.<\/p>\n<p>We can use these formulas to solve for [latex]x[\/latex] and [latex]y[\/latex], but Cramer\u2019s Rule also introduces new notation:<\/p>\n<ul>\n<li>[latex]D:[\/latex] determinant of the coefficient matrix<\/li>\n<li>[latex]{D}_{x}:[\/latex] determinant of the numerator in the solution of [latex]x[\/latex]\n<div style=\"text-align: center;\">[latex]x=\\frac{{D}_{x}}{D}[\/latex]<\/div>\n<\/li>\n<li>[latex]{D}_{y}:[\/latex] determinant of the numerator in the solution of [latex]y[\/latex]\n<div style=\"text-align: center;\">[latex]y=\\frac{{D}_{y}}{D}[\/latex]<\/div>\n<\/li>\n<\/ul>\n<p>The key to Cramer\u2019s Rule is replacing the variable column of interest with the constant column and calculating the determinants. We can then express [latex]x[\/latex] and [latex]y[\/latex] as a quotient of two determinants.<\/p>\n<div class=\"textbox\">\n<h3>A General Note: Cramer\u2019s Rule for 2\u00d72 Systems<\/h3>\n<p><strong>Cramer\u2019s Rule<\/strong> is a method that uses determinants to solve systems of equations that have the same number of equations as variables.<\/p>\n<p>Consider a system of two linear equations in two variables.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\\\ {a}_{2}x+{b}_{2}y={c}_{2}\\end{array}[\/latex]<\/div>\n<p>The solution using Cramer\u2019s Rule is given as<\/p>\n<div style=\"text-align: center;\">[latex]x=\\frac{{D}_{x}}{D}=\\frac{|\\begin{array}{cc}{c}_{1}& {b}_{1}\\\\ {c}_{2}& {b}_{2}\\end{array}|}{|\\begin{array}{cc}{a}_{1}& {b}_{1}\\\\ {a}_{2}& {b}_{2}\\end{array}|},D\\ne 0;\\text{ }\\text{ }y=\\frac{{D}_{y}}{D}=\\frac{|\\begin{array}{cc}{a}_{1}& {c}_{1}\\\\ {a}_{2}& {c}_{2}\\end{array}|}{|\\begin{array}{cc}{a}_{1}& {b}_{1}\\\\ {a}_{2}& {b}_{2}\\end{array}|},D\\ne 0[\/latex].<\/div>\n<p>If we are solving for [latex]x[\/latex], the [latex]x[\/latex] column is replaced with the constant column. If we are solving for [latex]y[\/latex], the [latex]y[\/latex] column is replaced with the constant column.<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 2: Using Cramer\u2019s Rule to Solve a 2 \u00d7 2 System<\/h3>\n<p>Solve the following [latex]2\\text{ }\\times \\text{ }2[\/latex] system using Cramer\u2019s Rule.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{c}12x+3y=15\\\\ \\text{ }2x - 3y=13\\end{array}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>Solve for [latex]x[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]x=\\frac{{D}_{x}}{D}=\\frac{|\\begin{array}{rr}\\hfill 15& \\hfill 3\\\\ \\hfill 13& \\hfill -3\\end{array}|}{|\\begin{array}{rr}\\hfill 12& \\hfill 3\\\\ \\hfill 2& \\hfill -3\\end{array}|}=\\frac{-45 - 39}{-36 - 6}=\\frac{-84}{-42}=2[\/latex]<\/div>\n<p>Solve for [latex]y[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]y=\\frac{{D}_{y}}{D}=\\frac{|\\begin{array}{rr}\\hfill 12& \\hfill 15\\\\ \\hfill 2& \\hfill 13\\end{array}|}{|\\begin{array}{rr}\\hfill 12& \\hfill 3\\\\ \\hfill 2& \\hfill -3\\end{array}|}=\\frac{156 - 30}{-36 - 6}=-\\frac{126}{42}=-3[\/latex]<\/div>\n<p>The solution is [latex]\\left(2,-3\\right)[\/latex].<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 1<\/h3>\n<p>Use Cramer\u2019s Rule to solve the 2 \u00d7 2 system of equations.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x+2y=-11\\hfill \\\\ -2x+y=-13\\hfill \\end{array}[\/latex]<\/div>\n<div><\/div>\n<div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q539791\">Show Answer<\/span><\/p>\n<div id=\"q539791\" class=\"hidden-answer\" style=\"display: none\">[latex](3,-7)[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-14217\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Specific attribution<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: OpenStax College. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":23485,"menu_order":23,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc-attribution\",\"description\":\"Precalculus\",\"author\":\"OpenStax College\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-14217","chapter","type-chapter","status-publish","hentry"],"part":13184,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/14217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/users\/23485"}],"version-history":[{"count":2,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/14217\/revisions"}],"predecessor-version":[{"id":16744,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/14217\/revisions\/16744"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/parts\/13184"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/14217\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/media?parent=14217"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapter-type?post=14217"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/contributor?post=14217"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/license?post=14217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}