A farmer can plant up to 8 acres of land with wheat and barley. He can earn $5,000 for every acre he plants with wheat and $3,000 for every acre he plants with barley. His use of a necessary pesticide is limited by federal regulations to 10 gallons for his entire 8 acres.
Wheat requires 2 gallons of pesticide for every acre planted and barley requires just 1 gallon per acre.
What is the maximum profit he can make?
SOLUTION TO PROBLEM NUMBER 1
let x = the number of acres of wheat let y = the number of acres of barley.
since the farmer earns $5,000 for each acre of wheat and $3,000 for each acre of barley, then the total profit the farmer can earn is 5000*x + 3000*y.
let p = total profit that can be earned. your equation for profit becomes:
p = 5000x + 3000y
that's your objective function. it's what you want to maximize
the constraints are: number of acres has to be greater than or equal to 0. number of acres has to be less than or equal to 8. amount of pesticide has to be less than or equal to 10.
your constraint equations are: x >= 0 y >= 0 x + y <= 8
2x + y <= 10
to graph these equations, solve for y in those equations that have y in them and then graph the equality portion of those equations.
x >= 0 y >= 0 y <= 8-x y <= 10 - 2x
x = 0 is a vertical line that is the same line as the y-axis. y = 0 is a horizontal line that is the same line as the x-axis.
the area of the graph that satisfies all the constraints is the region of feasibility.
the maximum or minimum solutions to the problem will be at the intersection points of the lines that bound the region of feasibility.
the graph of your equations looks like this:
[pic]
the region of feasibility is the shaded area of the graph.
you can see from this graph that the region of feasibility is bounded by the following (x,y) coordinate points:
(0,0)
(0,8)
(2,6)
(5,0)
the point (0,0) is the intersection of the line x-axis with the y-axis. the point (0,8) is the intersection of the line