document.write( "Question 904149: A farming cooperative mixes two brands of cattle feed. Brand X costs $25 per bag and contains 2 units of nutritional element A, 2 units of element B, and 2 units of element C. Brand Y costs $20 per bag and contains 1 unit of nutritional element A, 9 units of element B, and 3 units of element C. The minimum requirements for nutrients A,B,& C are 12 units, 36 units, and 24 units, respectively. Find the number of bags of each brand that should be mixed to produce a mixture having a minimum cost per bag. What is the minimum cost per bag?\r
\n" ); document.write( "\n" ); document.write( "Please show all your work. I am really bad with Linear Programming.
\n" ); document.write( "

Algebra.Com's Answer #548566 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let x equal the number of bags of Brand X.
\n" ); document.write( "let y equal the number of bags of Brand Y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The total cost will be 25*x + 20*y
\n" ); document.write( "That's your objective function that you want to minimize.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your constraints are given in the following table:
\n" ); document.write( "
\r\n" );
document.write( "Nutritional Element      Brand X     Brand Y\r\n" );
document.write( "A                           2           1\r\n" );
document.write( "B                           2           9\r\n" );
document.write( "C                           2           3\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A >= 12 units
\n" ); document.write( "B >= 36 units
\n" ); document.write( "C >= 24 units\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Your constraint equations are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x + y >= 12 units of nutritional element A
\n" ); document.write( "2x + 9y >= 36 units of nutritional element B
\n" ); document.write( "2x + 3y >= 24 units of nutritional element C\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are two other constraints that are implied and also need to be considered.
\n" ); document.write( "They are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x >= 0
\n" ); document.write( "y >= 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This is because the number of bags can never be less than 0.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You need to graph your constraints and then find the feasible region that satisfies all the constraints and then find the corners of the feasible region.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Your minimum cost will be at these corners.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You will graph the equality portion of the constraints.
\n" ); document.write( "Therefore you will graph:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x + y = 12 units of nutritional element A
\n" ); document.write( "2x + 9y = 36 units of nutritional element B
\n" ); document.write( "2x + 3y = 24 units of nutritional element C
\n" ); document.write( "x = 0
\n" ); document.write( "y = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Once you do that, you will find the area of the graph that satisfies all the inequality constraints.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We'll do the graph first and then find the feasible region.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The graph will look like this:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now you look for the feasible region.
\n" ); document.write( "The feasible region is the area of the graph that satisfies all the inequality equations.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The feasible area will be the area on the graph that is:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "on or above the line y = 12 - 2x
\n" ); document.write( "on or above the line y = (36-2x)/9
\n" ); document.write( "on or above the line y = (24-2x)/3
\n" ); document.write( "on or above the line y = 0
\n" ); document.write( "on or to the right of the line x = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you would have to look at all the lines and determine in which direction the area of feasibility lies.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I could do it manually but it will take too much time and a lot of effort to graph it manually and why do that when I have software to do it for me.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I will show you where the area is so you can see it.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You should look to determine what the area is manually from the first graph I showed you.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The feasible region is the area on the graph that is the darkest shade of gray.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You can see that it is the area that is above all of the constraint lines on the graph.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The maximum / minimum solution will be at the corners of that feasible region which are shown on the graph with their coordinate points.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "What's left is to find the minimum cost solution.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "That will be at the coordinate points of:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "   x     y     25x + 20y\r\n" );
document.write( "\r\n" );
document.write( "   0     12    25*0 + 20*12 = 0 + 240 = 240\r\n" );
document.write( "   3     6     25*3 + 20*6 = 75 + 120 = 195 *****\r\n" );
document.write( "   9     2     25*9 + 20*2 = 225 + 40 = 265\r\n" );
document.write( "   18    0     25*18 + 20*0 = 450 + 0 = 450\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The minimum cost is when he makes 3 bags of brand X and 6 bags of brand Y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "All the constraints have to be met as well.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the constraint equations are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x + y >= 12 units of nutritional element A
\n" ); document.write( "2x + 9y >= 36 units of nutritional element B
\n" ); document.write( "2x + 3y >= 24 units of nutritional element C
\n" ); document.write( "x >= 0
\n" ); document.write( "y >= 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "When x = 3 and y = 6:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x + y becomes 2*3 + 1*6 = 6 + 6 = 12 so the first constraint is met.
\n" ); document.write( "2x + 9y becomes 2*3 + 9*6 = 6 + 54 = 60 so the second constraint is met.
\n" ); document.write( "2x + 3y becomes 2*3 + 3*6 = 6 + 18 = 24 so the third constraint is met.
\n" ); document.write( "x and y are both greater than 0 so the fourth and fifth constraints are also met.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Looks like the solution is valid.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The minimum cost is when he produces 3 bags of Brand X and 6 bags of brand Y at a total cost of $195.00.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );