document.write( "Question 21095: Is there a way to easily solve matrices, 3 system equations, and Cramer's rule
\n" ); document.write( "problems?\r
\n" ); document.write( "\n" ); document.write( "What are the short cuts or tricks to solving the above problems?
\n" ); document.write( "

Algebra.Com's Answer #11865 by venugopalramana(3286)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "--------------------------------------------------------
\n" ); document.write( "2x+y=4
\n" ); document.write( "3x-y=6
\n" ); document.write( "make a deteminant with coefficients of x (2,3)and y(1,-1) in the 2 eqns.call it C.(Actually for a determinant as you know ,the numbers are contained in vertical bars at either end like |xx|,but in the following the bars are omitted due to difficulty in depiction.you may assume the bars are present)
\n" ); document.write( "C=matrix(2,2,2,1,3,-1)=2*(-1)-(1*3)=-5
\n" ); document.write( "..now use the constants (4,6)to replace coefficients of x(2,3) in the above determinant C...call it CX..
\n" ); document.write( "CX=matrix(2,2,4,1,6,-1)=4*(-1)-1*6=-4-6=-10
\n" ); document.write( "..now use the constants (4,6)to replace coefficients of y(1,-1) in the above determinant C...call it CY..
\n" ); document.write( "CY=matrix(2,2,2,4,3,6)=2*6-3*4=12=12=0
\n" ); document.write( "..now cramers rule says that
\n" ); document.write( "(x/CX)=(y/CY)=(1/C)..so we get
\n" ); document.write( "x/(-10)=y/0=1/-5
\n" ); document.write( "x=-10/-5=10/5=2
\n" ); document.write( "y=0/-5=0
\n" ); document.write( "************************************
\n" ); document.write( "so using the above method you can do the next problem ..here due to presence of 3 variables you will get 3rd.order determinants...4 in all...namely C,CX,CY and CZ,the last formula also extends to include z ,
\n" ); document.write( "(x/CX)=(y/CY)=(z/CZ)=(1/C)..
\n" ); document.write( "but the procedure is same ..
\n" ); document.write( "2x+3y+ z= 5
\n" ); document.write( "x+y-2z= -2
\n" ); document.write( "-3x +z=-7 ...
\n" ); document.write( "...just to give you the idea
\n" ); document.write( "C=matrix(3,3,2,3,1,1,1,-2,-3,0,1)..and
\n" ); document.write( "CZ=matrix(3,3,2,3,5,1,1,-2,-3,0,7)..etc..hope you can work out the rest\r
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------------------------------
\n" ); document.write( "Kramers rule is used to solve simultaneous equations.In the working given below
\n" ); document.write( "let me use the notation \"%28matrix%282%2C2%2C1%2C2%2C3%2C4%29%29\"to represent the determinant.However,in actual practice we should use |xxx|to indicate a determinant ,while (xxx)is used to represent a matrix.I shall check with the network authorities on how to represent determinants in their software.
\n" ); document.write( " In the present case there are 3 equations to solve for 3 unknowns.
\n" ); document.write( "The solution is given by Kramer's rule as follows.
\n" ); document.write( " x/\"%28matrix%283%2C3%2C-2%2C3%2C1%2C-5%2C5%2C1%2C6%2C2%2C3%29%29\"=
\n" ); document.write( " y/\"%28matrix%283%2C3%2C1%2C-2%2C1%2C2%2C-5%2C1%2C1%2C6%2C3%29%29\"=
\n" ); document.write( " z/\"%28matrix%283%2C3%2C1%2C3%2C-2%2C2%2C5%2C-5%2C1%2C2%2C6%29%29\"=
\n" ); document.write( " 1/\"%28matrix%283%2C3%2C1%2C3%2C1%2C2%2C5%2C1%2C1%2C2%2C3%29%29\"
\n" ); document.write( "evaluating the determinants we get
\n" ); document.write( " x/(-3)=y/6=z/(-9)=1/(-3)
\n" ); document.write( " hence x=1
\n" ); document.write( " y=-2
\n" ); document.write( " z=3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "*************************************************************************
\n" ); document.write( "I have working on this problem for some time but I am still having a hard time working this one:
\n" ); document.write( "I am suppose to solve this system using elimination method
\n" ); document.write( "10x+6y+z=7 (1)
\n" ); document.write( "5x-9y-2z=3 (2)
\n" ); document.write( "15x-12y+2z=-5 (3)
\n" ); document.write( "20x-21y=-2 (4)
\n" ); document.write( "Please show me how to work this problem from this point.
\n" ); document.write( "Thank you
\n" ); document.write( "Good you have proceeded correctly and infact on the way to solving the problem by your self..you only need a little guidance on the path you should follow to solve the problem..o.k. ..let us see you have added equations 2 and 3 to get equation 3 ,which has accomplished elimination of one unknown z . The basic procedure is , if we start with 3 equations in 3 unknowns ,we try to eliminate one unknown taking one pair of equations at a time to get 2 new equations in 2 unknowns only.Then we take those 2 new equations to eliminate one another unknown to get one more new equation , but this time with one unknown only.This we can easily solve to find the unknown.Now , we travel backwards along the same path as we travelled to find the 2 other unknowns one after another by substituting the known values every time.Let us illustrate the procedure now with this example.Now that you have already got one new equation 4 from 2 and 3 to eliminate z., let us take equations 1 and 2 to eliminate the same unknown z.For this we observe the coefficients of z in the two equations which are 1 and -2 respectively.So we multiply equation 1 with 2 and add it to equation 2.
\n" ); document.write( "Eqn.1 * 2 gives us ...20x+12y+2z=14 .....(5)
\n" ); document.write( "Eqn.2 is .............5x-9y-2z = 3........(6)
\n" ); document.write( "Eqn.5 + Eqn.6 gives us .....25x+3y = 17....(7)
\n" ); document.write( "but from Eqn.4 we have .....20x-21y=-2......(4)..proceeding on the same basis ,we eliminate y from these 2 equations.
\n" ); document.write( "Eqn.7 * 7 gives us .........175x+21y=119....(8)
\n" ); document.write( "Eqn.8 + Eqn.4 gives us .....195x=117 ..or x= 117/195 = 39/65 = 3/5.....now substitute this value of x in eqn.4 to get y
\n" ); document.write( "y=(20*(3/5)+2)/21=14/21=2/3…….now substitute these values of x and y in eqn.1 to get z.
\n" ); document.write( "z=(7-10*(3/5)-6*(2/3))=-3………….. As a check ,you can substitute these values of x,y,and z in the 3 given equations to
\n" ); document.write( "verify that your answer is correct.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );