Solve each of the following linear programming problems by graphical method.
Maximize Z = 4x + 3y
Subject to :
8x + 6y ≤ 48
3x + 4y ≤ 24
x ≤ 5 , y ≤ 6
x, y ≥ 0
Matching exercise
Match the items on the right to the items on the left.
Step - 1
Step - 2
Step - 3
Step - 4
Step - 5
Step - 6
Step - 7
Given,
Objective function is: Z = 4x + 3y
Constraints are:
8x + 6y ≤ 48
3x + 4y ≤ 24
x ≤ 5
y ≤ 6
x, y ≥ 0
First convert the given inequations into corresponding equations and plot them:
8x + 6y ≤ 48 → 8x + 6y = 48 (corresponding equation)
Two coordinates required to plot the equation are obtained as:
Put, x = 0 ⇒ y = 8 (0,8) - - - - first coordinate.
Put, y = 0 ⇒ x = 6 (6,0) - - - - second coordinate
Join them to get the line.
As we know, Linear inequation will be a region in the plane, and we observe that the equation divides the XY plane into 2 halves only, so we need to check which region represents the given inequation,
If the given line does not pass through origin then just put (0,0) to check whether inequation is satisfied or not. If it satisfies the inequation origin side is the required region else the other side is the solution.
Similarly, we repeat the steps for other inequation also and find the common region.
3x + 4y ≤ 24 → 3x + 4y = 24 (corresponding equation)
Two coordinates required to plot the equation are obtained as:
Put, x = 0 ⇒ y = 6 (0,6) - - - - first coordinate.
Put, y = 0 ⇒ x = 8 (8,0) - - - - second coordinate
x = 0 is the y - axis and y = 0 is the x - axis
x = 5 and y = 6 are lines parallel to y - axis and x - axis respectively.
Hence we obtain a plot as shown in figure:
The shaded region in the above figure represents the region of a feasible solution.
Now to maximize our objective function, we need to find the coordinates of the corner points of the shaded region.