document.write( "Question 442543: I am stuck on a project, where I have to solve a matrix ( [2 5] [3 1] with the 2 being over the 3) by using cramer's rule. \n" ); document.write( "
Algebra.Com's Answer #305272 by swincher4391(1107)\"\" \"About 
You can put this solution on YOUR website!
Given a matrix:\r
\n" ); document.write( "\n" ); document.write( "\"matrix%282%2C2%2C2%2C5%2C3%2C1%29\"\r
\n" ); document.write( "\n" ); document.write( "Cramer's rule states that the xi = det(Ai)/det(A)\r
\n" ); document.write( "\n" ); document.write( "So what is the det(A)? det(A) = 2*1 - 3*5 = -13\r
\n" ); document.write( "\n" ); document.write( "You do not specify the solution matrix in this problem, but I will act like you did and you can apply it to your problem.\r
\n" ); document.write( "\n" ); document.write( "Let's say the solution matrix is \"matrix%282%2C1%2C1%2C2%29\".\r
\n" ); document.write( "\n" ); document.write( "Then to solve for x1 you would create a matrix where the solution matrix is substituted in for column 1.\r
\n" ); document.write( "\n" ); document.write( "In this made up example, you'd find the det(A1) where A1 is:\r
\n" ); document.write( "\n" ); document.write( "\"matrix%282%2C2%2C1%2C5%2C2%2C1%29\"\r
\n" ); document.write( "\n" ); document.write( "This determinant is 1 -10 = -9.\r
\n" ); document.write( "\n" ); document.write( "So the solution to x1 = -9/-13 = (9/13)\r
\n" ); document.write( "\n" ); document.write( "To find x2 create an A2 matrix. \r
\n" ); document.write( "\n" ); document.write( "The matrix would be:\r
\n" ); document.write( "\n" ); document.write( "\"matrix%282%2C2%2C2%2C1%2C3%2C2%29\"\r
\n" ); document.write( "\n" ); document.write( "The det(A2) = 4 - 3 = 1\r
\n" ); document.write( "\n" ); document.write( "So then x2 = 1 / -13 = (-1/13)\r
\n" ); document.write( "\n" ); document.write( "To show that Cramer's rule indeed works:\r
\n" ); document.write( "\n" ); document.write( "2x1 + 5x2 = 1
\n" ); document.write( "3x1 + 1x2 = 2\r
\n" ); document.write( "\n" ); document.write( "Where as I said \"matrix%281%2C2%2C1%2C2%29\" is my solution matrix and \"matrix%282%2C2%2C2%2C5%2C3%2C1%29\" was the matrix you gave me.\r
\n" ); document.write( "\n" ); document.write( "If I plug in x1=9/13 and x2=-1/13\r
\n" ); document.write( "\n" ); document.write( "2(9/13) + 5(-1/13) = 13/13 = 1. Check.
\n" ); document.write( "3(9/13) + 1(-1/13) = 26/13 = 2. Check.\r
\n" ); document.write( "\n" ); document.write( "Now for whatever your solution matrix is, apply the same steps.
\n" ); document.write( "
\n" ); document.write( "
\n" );