Skip to content

Mathematics · Ch 7 — Linear Programming

Graphical representation of linear inequations in two variables

7.1.2

Graphical representation of linear inequations in two variables

This sub-section fixes the standard shading convention for four increasingly general families of linear inequation in two

variables, each illustrated with a small reference graph.

1) x≤hx\le h and x≥hx\ge h. Draw the vertical line x=hx=h in the XOYXOY plane. Every point to the LEFT of this line has an

xx-coordinate smaller than hh, so the solution set of x≤hx\le h is the closed half-plane on and to the left of the line;

correspondingly, the solution set of x≥hx\ge h is the closed half-plane on and to the right of the line.

Figure 1fig 7.4 — solution of x ≤ h: the half-plane on and to the left of the vertical line x = h.
Fig. 1 — fig 7.4 — solution of x ≤ h: the half-plane on and to the left of the vertical line x = h.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.4 — solution of x ≤ h: the half-plane on and to the left of the vertic …

Figure 2fig 7.5 — solution of x ≥ h: the half-plane on and to the right of x = h.
Fig. 2 — fig 7.5 — solution of x ≥ h: the half-plane on and to the right of x = h.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.5 — solution of x ≥ h: the half-plane on and to the righ …

2) y≤ky\le k and y≥ky\ge k. Draw the horizontal line y=ky=k. The solution set of y≤ky\le k is the closed half-plane on and

below this line, and the solution set of y≥ky\ge k is the closed half-plane on and above it.

Figure 3fig 7.6 — solution of y ≤ k: the half-plane on and below the horizontal line y = k.
Fig. 3 — fig 7.6 — solution of y ≤ k: the half-plane on and below the horizontal line y = k.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.6 — solution of y ≤ k: the half-plane on and below the horizonta …

Figure 4fig 7.7 — solution of y ≥ k: the half-plane on and above y = k.
Fig. 4 — fig 7.7 — solution of y ≥ k: the half-plane on and above y = k.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.7 — solution of y ≥ k: the half-plane on and ab …

3) ax+by≤0ax+by\le0 and ax+by≥0ax+by\ge0 (line through the origin). When the line ax+by=0ax+by=0 passes through the origin (no

constant term), the origin lies exactly ON the boundary and so cannot be used to test which side is which — a different

point not on the line must be substituted instead, and the half-plane containing that test point is shaded according to

whichever inequality it satisfies.

Figure 5fig 7.8 — solution of 2x + 3y ≤ 0: a half-plane bounded by a line through the origin.
Fig. 5 — fig 7.8 — solution of 2x + 3y ≤ 0: a half-plane bounded by a line through the origin.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.8 — solution of 2x + 3y ≤ 0: a half-plane bounded by a line throug …

Figure 6fig 7.9 — solution of 2x − 3y ≥ 0: a half-plane bounded by a line through the origin.
Fig. 6 — fig 7.9 — solution of 2x − 3y ≥ 0: a half-plane bounded by a line through the origin.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.9 — solution of 2x − 3y ≥ 0: a half-plane bounded by a line throug …

4) ax+by≤cax+by\le c and ax+by≥cax+by\ge c (general line, using the origin as test point). Draw the line ax+by=cax+by=c; this line

divides the plane into two half-planes, conventionally labelled H1H_1, the "origin side" of the line (the half-plane

containing the point (0,0)(0,0)), and H2H_2, the "non-origin side" (the other half-plane). Substitute the origin's

coordinates into the given inequation: if (0,0)(0,0) satisfies ax+by≤cax+by\le c, then the required region is the origin side

H1H_1, and H1H_1 should be shaded; otherwise, the required region is the non-origin side H2H_2. The points where …

Figure 7fig 7.10 — solution of ax + by ≤ c (a,b,c>0): the origin side H₁ of the line ax + by = c.
Fig. 7 — fig 7.10 — solution of ax + by ≤ c (a,b,c>0): the origin side H₁ of the line ax + by = c.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.10 — solution of ax + by ≤ c (a,b,c>0): the origin side H₁ of the lin …

Figure 8fig 7.11 — solution of ax + by ≥ c (a,b,c>0): the non-origin side H₂ of the line ax + by = c.
Fig. 8 — fig 7.11 — solution of ax + by ≥ c (a,b,c>0): the non-origin side H₂ of the line ax + by = c.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

fig 7.11 — solution of ax + by ≥ c (a,b,c>0): the non-origin side H₂ of the lin …