document.write( "Question 317370: The initil tableau of a linear programming problem is given below. Use the simplex method to solve.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #227276 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "The original problem was\r\n" );
document.write( "\r\n" );
document.write( "Maximize \"z=3x%5B1%5D%2B2x%5B2%5D%2Bx%5B3%5D\" subject to\r\n" );
document.write( "\r\n" );
document.write( " \r\n" );
document.write( "\r\n" );
document.write( "Then slack variables were \"s%5B1%5D\", \"s%5B2%5D\", \"s%5B3%5D\" were\r\n" );
document.write( "introduced to turn the inequalities into equations and the\r\n" );
document.write( "objective function equation rearranged at the bottom with 0 on\r\n" );
document.write( "the right side:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then it was written as\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "And this system of equations was written as an augmented matrix:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The most negative number (indicator) on the bottom row is -3.  \r\n" );
document.write( "It is in column 1, so column 1 is the PIVOT COLUMN\r\n" );
document.write( "\r\n" );
document.write( "We now divide each of the positive numbers above -3 INTO the\r\n" );
document.write( "element at the far right of its row:\r\n" );
document.write( "\r\n" );
document.write( "   5       15\r\n" );
document.write( "2)10     1)15\r\n" );
document.write( "\r\n" );
document.write( "The smallest of 5 and 15 is 5, which was gotten using the elements\r\n" );
document.write( "of row 1, so row 1 is the PIVOT ROW.\r\n" );
document.write( "\r\n" );
document.write( "So the element in the PIVOT ROW and the PIVOT COLUMN is the 2,\r\n" );
document.write( "which is called the PIVOT ELEMENT.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We make the pivot element into a 1 by dividing the entire pivot row through\r\n" );
document.write( "by 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now we make all the other numbers in the pivot colomn 0 by using this\r\n" );
document.write( "pivot row, multipling it by whatever is necessary to multiply it by so\r\n" );
document.write( "that when we add it to the other row its first element will be 0.\r\n" );
document.write( "\r\n" );
document.write( "We make the 1 in the 2nd row 1st column a 0 by multiplying the 1st\r\n" );
document.write( "row temporarily by -1 and adding it to row 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We make the -3 in the 3rd row 1st column a 0 by multiplying the 1st\r\n" );
document.write( "row temporarily by 3 and adding it to row 3.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now there are no more negative numbers on the bottom row. So we\r\n" );
document.write( "write the matrix as a system of equations:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Eliminate the zero terms and the 1 coefficients:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now solve the bottom equation for z, the letter to maximize:\r\n" );
document.write( "\r\n" );
document.write( "\"z=15-x%5B2%5D-0.5x%5B3%5D-1.5s%5B1%5D%29\"\r\n" );
document.write( "\r\n" );
document.write( "Since \"x%5B2%5D\", \"x%5B3%5D\", and \"s%5B1%5D\" are non-negative,\r\n" );
document.write( "the maximum value z can take on is 15, when \"x%5B2%5D\", \"x%5B3%5D\", \r\n" );
document.write( "and \"s%5B1%5D\" are all 0, so we substitute 0 for \"x%5B2%5D\", \r\n" );
document.write( "\"x%5B3%5D\", and \"s%5B1%5D\"\r\n" );
document.write( "\r\n" );
document.write( "and the system becomes:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "or\r\n" );
document.write( "\r\n" );
document.write( "\"system%28x%5B1%5D=+5%2C%0D%0A++++++++++s%5B2%5D=10%2C%0D%0A++++++++++z=15%29\"\r\n" );
document.write( "\r\n" );
document.write( "So z reaches the maximum value of \"z=15\" when \r\n" );
document.write( "\"x%5B1%5D=5\", \"x%5B2%5D=0\", and \"x%5B3%5D=0\".  And\r\n" );
document.write( "of course the slack variables \"s%5B1%5D=0\" and \"s%5B2%5D=10\".\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );