The objective function z=ax+by is maximum at two points: (15,15) and (0,20).
When a linear objective function has maximum value at two different points, both points give the same maximum value. This occurs when the objective function line is parallel to the edge connecting these two points in the feasible region.
Since both points give the same maximum value:
15a+15b=0+20b
15a=20b−15b
15a=5b
3a=b
Using the condition ab=27 with b=3a:
a×3a=27
3a2=27
a2=9
a=3 (since a≥0)
From b=3a:
b=3×3
b=9
Using point (15,15):
z=ax+by
z=3(15)+9(15)
z=45+135
z=180
Therefore, the maximum value of the objective function is 180.