You can use GeoGebra
for solving linear optimization problems. The instructions below cover both the substitution method and the ruler method.
When you input equations and inequalities into GeoGebra
, you don’t need to move the terms around so that is isolated on the left-hand side. Simply enter them as they’re written!
GeoGebra
Instruction 1
Algebra View
and Graphics View
under View
in Menu
. Algebra View
. Algebra View
, by replacing the inequality signs , , , with the equality sign . You need these equations to find the intersections later. Intersect
tool (it’s under the Point
toolbox). For every pair of lines that intersect, click the two lines in each pair to draw their point of intersection. Polygon
tool and click all the points of intersection. Complete the polygon by clicking the initial point again. Algebra View
, enter the objective function by typing Z(x,y) = Ax+By
, where and are given in the exercise. Z(A)
for the point , Z(B)
for the point , and so on. The point that yields the highest value of is the optimal solution.
w
in an empty row in Algebra View
and press Enter
(if there is already another object with the name , use another name instead). You should get a slider for the number in the same row. Enter the settings menu of the slider by clicking the three vertical dots in the row is on. Click the Slider
pane, and set Min
to 0 and Max
equal to the smallest value of and . Algebra View
, type r(x) = -A*x/B+w
where you replace A
and B
with and from the exercise. You should get a line.
Max
in the slider settings accordingly.