document.write( "Question 170362: Find X, Y, and Z.
\n" ); document.write( "5x + 4y - 2z = 3
\n" ); document.write( "4x - 2y + 5z = -16
\n" ); document.write( "2x + 5y + 4z = -5
\n" ); document.write( "

Algebra.Com's Answer #125761 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Find x, y, and z.\r\n" );
document.write( "\"system%285x+%2B+4y+-+2z+=+3%2C4x+-+2y+%2B+5z+=+-16%2C2x+%2B+5y+%2B+4z+=+-5%29\"\r\n" );
document.write( "\r\n" );
document.write( "Pick any letter and a pair of equations to eliminate that letter\r\n" );
document.write( "from:\r\n" );
document.write( "\r\n" );
document.write( "I pick the letter y, and the 1st and 2nd equations to eliminate\r\n" );
document.write( "y from.\r\n" );
document.write( "\r\n" );
document.write( "\"system%285x+%2B+4y+-+2z+=+3%2C4x+-+2y+%2B+5z+=+-16%29\"\r\n" );
document.write( "\r\n" );
document.write( "To eliminate y, we multiply the second equation through by 2\r\n" );
document.write( "and add them term by term:\r\n" );
document.write( "\r\n" );
document.write( "\"system%285x+%2B+4y+-+2z+=+3%2C8x+-+4y+%2B+10z+=+-32%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"system%2813x%2B8z=-29%29\"\r\n" );
document.write( "\r\n" );
document.write( "Now pick a DIFFERENT pair of equations and eliminate\r\n" );
document.write( "the SAME letter, y, from them. I'll pick the 2nd and\r\n" );
document.write( "3rd equations.  (You have to choose one of them the\r\n" );
document.write( "same as before, but be sure to pick the other one as\r\n" );
document.write( "the equation you have not yet used:\r\n" );
document.write( "\r\n" );
document.write( "\"system%284x+-+2y+%2B+5z+=+-16%2C2x+%2B+5y+%2B+4z+=+-5%29\"\r\n" );
document.write( "\r\n" );
document.write( "To eliminate y, we multiply the upper equation through\r\n" );
document.write( "by 5 and the lower equation through by 2, and add them \r\n" );
document.write( "term by term:\r\n" );
document.write( "\r\n" );
document.write( "\"system%2820x+-+10y+%2B+25z+=+-80%2C4x+%2B+10y+%2B+8z+=+-10%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"system%2824x%2B33z=-90%29\"\r\n" );
document.write( "\r\n" );
document.write( "Notice that this equation can be divided through by 3.\r\n" );
document.write( "It isn't necessary to do this but if we do the numbers\r\n" );
document.write( "will be smaller.  So I will divide it through by 3:\r\n" );
document.write( "\r\n" );
document.write( "\"system%288x%2B11z=-30%29\"\r\n" );
document.write( "\r\n" );
document.write( "Now we take these two equations and now we have two\r\n" );
document.write( "equations with two unknowns:\r\n" );
document.write( "\r\n" );
document.write( "\"system%2813x%2B8z=-29%2C8x%2B11z=-30%29\"\r\n" );
document.write( "\r\n" );
document.write( "To eliminate z, multiply the first equation by -11,\r\n" );
document.write( "and the second equation through by +8:\r\n" );
document.write( "\r\n" );
document.write( "\"system%28-143x-88z=319%2C64x%2B88z=-240%29\"\r\n" );
document.write( "\r\n" );
document.write( "Add them term by term:\r\n" );
document.write( "\r\n" );
document.write( "\"-79x=79\"\r\n" );
document.write( "\"x=79%2F%28-79%29\"\r\n" );
document.write( "\"x=-1\"\r\n" );
document.write( "\r\n" );
document.write( "Substitute that into\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now go back and pick any of the\r\n" );
document.write( "original equations which contains\r\n" );
document.write( "y, and substitute these value for\r\n" );
document.write( "x and z:\r\n" );
document.write( "\r\n" );
document.write( "Picking the first original equation:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Solution:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );