Solveeit Logo

Question

Question: Find graphically, the maximum value of \[z = 2x + 5y\] , subject to constraints given below: \[2x ...

Find graphically, the maximum value of z=2x+5yz = 2x + 5y , subject to constraints given below:
2x+4y82x + 4y \leqslant 8
3x+y63x + y \leqslant 6
x+y4x + y \leqslant 4
x0,y0.6x \geqslant 0,y \leqslant 0.6

Explanation

Solution

To solve the above question, we have to carefully study the floor plan shown in the diagram of the sample house. A floor plan shows the layout of buildings seen from the top view. You have to read the room labels and identify the number of bedrooms and the number of bathrooms present in the plan to know what type of apartment it is.

Complete step by step solution:
In the first step, we will separate the yy variables on one side. We get,
4y82x4y \leqslant 8 - 2x
y63xy \leqslant 6 - 3x
y4xy \leqslant 4 - x
x0,y0.6x \geqslant 0,y \leqslant 0.6
Now, to maximize the value ofz=2x+5yz = 2x + 5y we will convert the inequalities into equations. Now we will be dealing with lines.
4y=82x4y = 8 - 2x or 2y=4x2y = 4 - x
y=63xy = 6 - 3x
y=4xy = 4 - x
x=0,y=0.6x = 0,y = 0.6
The first line, 2y=4x2y = 4 - x passes through the points (4,0),(0,2)\left( {4,0} \right),\left( {0,2} \right) .
The second line, y=63xy = 6 - 3x passes through the points (2,0),(0,6)\left( {2,0} \right),\left( {0,6} \right) .
The third line, y=4xy = 4 - x passes through the points (4,0),(0,4)\left( {4,0} \right),\left( {0,4} \right) .
We can plot the points on the graph and shade the region determined by these inequalities.
Now, we have to solve 2y=4x2y = 4 - x and y=63xy = 6 - 3x simultaneously, to get a point (85,65)\left( {\dfrac{8}{5},\dfrac{6}{5}} \right) .
On plotting these points, we observe the region OEFGOEFG , O(0,0)O\left( {0,0} \right) , E(2,0)E\left( {2,0} \right) , F(85,65)F\left( {\dfrac{8}{5},\dfrac{6}{5}} \right) and G(0,2)G\left( {0,2} \right) . One of these points contains the optimal solution.
Now we have to calculate the maximum value of z=2x+5yz = 2x + 5y ,
At O(0,0)O\left( {0,0} \right), z=2(0)+5(0)z = 2\left( 0 \right) + 5\left( 0 \right)
=0= 0 .
At E(2,0)E\left( {2,0} \right) , z=2(2)+5(0)z = 2\left( 2 \right) + 5\left( 0 \right)
=4= 4 .
At F(85,65)F\left( {\dfrac{8}{5},\dfrac{6}{5}} \right) , z=2(85)+5(65)z = 2\left( {\dfrac{8}{5}} \right) + 5\left( {\dfrac{6}{5}} \right)
=465= \dfrac{{46}}{5} .
And at G(0,2)G\left( {0,2} \right) , z=2(0)+5(2)z = 2\left( 0 \right) + 5\left( 2 \right)
=10= 10 .
From the above values, we can derive that the maximum value of z=2x+5yz = 2x + 5y is 1010 .
Hence the maximum value of z=2x+5yz = 2x + 5y is at point G(0,2)G\left( {0,2} \right) .

Note: To solve the above question, we have to follow certain steps which are required to graph solutions of inequality. First, the yy variables in each inequality are separated on one side and after that the sign of inequality is changed into equality. After performing these steps, you can now graph a line.