3E - Regions and linear optimisation

3E - Regions and linear optimisation

With two variables, an inequality describes a region of possible pairs rather than an interval of numbers. You will draw its boundaries, combine constraints into a feasible region and find the greatest or least value of a linear expression, including situations where the variables must be integers.

Straight-line boundaries

Which pairs (x,y)(x,y) satisfy 2x+3y≤132x+3y\le13? If xx and yy count two kinds of kit, using two and three units of material respectively, this inequality keeps total material within the available 1313 units. A graph can show all permitted combinations together.

Start by replacing the inequality sign with equality. The resulting straight line separates the two sides of the plane. Its coordinates are the pairs at the limiting total.

Boundary line

The boundary line of a linear inequality is obtained by replacing its comparison sign with ==. Use a solid line when equality is allowed, and a dashed line when equality is excluded.

A straight line divides the plane into two half-planes, one on each side. The next step will decide which side satisfies the inequality.

You already know how to draw a straight line through two points. For ax+by=cax+by=c, setting x=0x=0 and y=0y=0 often gives convenient intercepts; if both intercepts coincide at the origin, find a second point by substituting another value.

Worked example 1: an inclusive boundary

Question. Draw and label the boundary of 2x+y≤82x+y\le8.

Plan. Find two points on 2x+y=82x+y=8, then decide whether the boundary belongs to the solution.

x=0⇒y=8vertical-axis intercepty=0⇒2x=8⇒x=4horizontal-axis intercept\begin{aligned} x=0&\Rightarrow y=8 &&\text{vertical-axis intercept}\\ y=0&\Rightarrow2x=8\Rightarrow x=4 &&\text{horizontal-axis intercept} \end{aligned}

The sign ≤\le includes equality.

Answer. Draw a solid straight line through (0,8)(0,8) and (4,0)(4,0), extending it across the graph. Label it 2x+y=82x+y=8, as in the left-hand picture.

Check. The midpoint (2,4)(2,4) also gives 2(2)+4=82(2)+4=8. Every point on the line satisfies the original inequality at equality, so the solid style is justified.

Change only the comparison sign. The same points determine the line, but they no longer belong to the solution.

Worked example 2: a strict boundary

Question. Draw and label the boundary of 2x+y<82x+y<8.

Plan. Keep the equation and its intercepts, but exclude all points at equality.

2x+y=8passes through (0,8) and (4,0).2x+y=8\quad\text{passes through }(0,8)\text{ and }(4,0).

Answer. Draw the same line dashed, labelled 2x+y=82x+y=8, as in the right-hand picture. The line marks the boundary but is excluded from the solution.

Check. At (2,4)(2,4), the left side is 88. Since 8<88<8 is false, this boundary point must not be included.

[DIAGRAM: asset_name: Solid and dashed straight-line boundaries; asset_slug: region-boundaries; caption: The same boundary is included for a non-strict inequality and excluded for a strict inequality; description: Two equal-scale coordinate graphs show the line 2x plus y equals 8 through intercepts (0,8) and (4,0). The left line is solid for 2x plus y less than or equal to 8. The right line is dashed for 2x plus y less than 8. No half-plane is selected yet.]
The same boundary is included for a non-strict inequality and excluded for a strict inequality

Vertical and horizontal boundaries work in the same way: x≥1x\ge1 has solid boundary x=1x=1; y<3y<3 has dashed boundary y=3y=3. Do not try to find two different intercepts for a vertical or horizontal line.

Watch out

A boundary equation identifies the line, but does not yet identify the whole solution region. Choosing the correct side is a separate decision from choosing solid or dashed.

Describe the next boundary without needing to draw it.

The feasible region

Substituting a point tells you which side of a boundary satisfies an inequality.

For 2x+y≤82x+y\le8, the point (0,0)(0,0) gives 0≤80\le8, which is true. Keep the side containing (0,0)(0,0), together with the boundary. A test point must lie off the boundary; if the line passes through the origin, use another point. All points on a given side give the same strict comparison because crossing to the other sign requires crossing the boundary.

Constraints and feasible region

Constraints are conditions that restrict the allowed pairs. The feasible region is their intersection: every point in it satisfies every constraint.

A vertex is a corner where boundary segments meet. A region is bounded if it fits inside some finite rectangle; otherwise it is unbounded.

Shade the feasible side of each condition lightly, then identify the common region. If you shade unwanted regions instead, label the remaining feasible region clearly. The mathematical answer is the same.

Worked example 3: a bounded feasible region

Question. Find the feasible region and its vertices for

x≥0,y≥0,y≤2x,x+y≤6.x\ge0,\qquad y\ge0,\qquad y\le2x,\qquad x+y\le6.

Plan. Work in the first quadrant, select the required sides of the two sloping lines and find their intersections.

The point (1,1)(1,1) satisfies all four conditions: 1≤21\le2 and 2≤62\le6. Thus the feasible region is below y=2xy=2x, below x+y=6x+y=6 and on or above the horizontal axis, with all boundaries included.

y=2x,x+y=6⇒3x=6⇒(x,y)=(2,4)y=0,x+y=6⇒(x,y)=(6,0)y=0,y=2x⇒(x,y)=(0,0)\begin{aligned} y=2x,\quad x+y=6&\Rightarrow3x=6\Rightarrow(x,y)=(2,4)\\ y=0,\quad x+y=6&\Rightarrow(x,y)=(6,0)\\ y=0,\quad y=2x&\Rightarrow(x,y)=(0,0) \end{aligned}

Answer. The feasible region is the filled triangle with vertices (0,0)(0,0), (2,4)(2,4) and (6,0)(6,0), shown on the left below.

Check. Each vertex satisfies every original constraint. The other intercept (0,6)(0,6) of x+y=6x+y=6 is not a feasible vertex, because 6≤2(0)6\le2(0) is false. This excludes the tempting larger triangle formed by that line and the axes.

Change only the last sign from ≤\le to ≥\ge. The new region extends beyond the picture.

Worked example 4: an unbounded feasible region

Question. Find the feasible region for

x≥0,y≥0,y≤2x,x+y≥6.x\ge0,\qquad y\ge0,\qquad y\le2x,\qquad x+y\ge6.

Plan. Keep the first three conditions and select the opposite side of x+y=6x+y=6.

At (0,0)(0,0), the last condition is false. At (4,4)(4,4), all constraints are true: 4≤84\le8 and 8≥68\ge6. Keep the side containing (4,4)(4,4), within the first-quadrant wedge below y=2xy=2x.

y=2x, x+y=6⇒(2,4),y=0, x+y=6⇒(6,0).y=2x,\ x+y=6\Rightarrow(2,4),\qquad y=0,\ x+y=6\Rightarrow(6,0).

Answer. The region has vertices (2,4)(2,4) and (6,0)(6,0), and continues indefinitely to the right between the rays along y=0y=0 and y=2xy=2x. It is unbounded; the right-hand picture shows only part of it.

Check. Every point (t,0)(t,0) with t≥6t\ge6 satisfies all four constraints. Since tt has no upper bound, no edge of the graph window can close this region. The point (3,1)(3,1) fails the sum condition, since 3+1<63+1<6.

[DIAGRAM: asset_name: Changing one constraint makes a bounded region unbounded; asset_slug: feasible-regions; caption: Reversing the sum constraint changes a triangle into a region that continues beyond the grid; description: Two first-quadrant graphs show y equals 2x and x plus y equals 6. On the left the feasible triangle for y less than or equal to 2x and x plus y less than or equal to 6 has vertices (0,0), (2,4) and (6,0). On the right the sum inequality is reversed, so the feasible region lies beyond the segment from (2,4) to (6,0) and extends indefinitely within the wedge below y equals 2x. Arrows show continuation beyond the displayed window.]
Reversing the sum constraint changes a triangle into a region that continues beyond the grid

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account