Practice: Plotting Linear Inequalities

Recognition · Classification

For which constraint is the origin unavailable as a test point?

2 hints available, least help first.

Hint 1: Retrieval cue

Substitute the origin into each and see which gives no information.

Hint 2: Concept cue

When does a boundary line pass through the origin?

Direct application · Construction · Explanation

Determine the region defined by

2 x 1 + x 2 ≤ 10 , − x 1 + 2 x 2 ≤ 4 , x 1 ≥ 0 , x 2 ≥ 0 .

For each constraint give the boundary, the test point used, and the allowed side. Then give the corners of the region and verify it with one interior point.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

Take each constraint in turn: boundary from intercepts, then test the origin.

Hint 2: Strategy cue

The two slanted boundaries meet at a corner. Solve them simultaneously rather than reading it off.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

Constraint 1: 2 x 1 + x 2 ≤ 10 . Boundary 2 x 1 + x 2 = 10 , intercepts ( 5 , 0 ) and ( 0 , 10 ) . Test the origin: 0 ≤ 10 is true, so the allowed side contains the origin, below and left of the line.

Constraint 2: − x 1 + 2 x 2 ≤ 4 . Boundary − x 1 + 2 x 2 = 4 , intercepts ( − 4 , 0 ) and ( 0 , 2 ) . Test the origin: 0 ≤ 4 is true, so again the origin's side is allowed, below and right of this line.

Sign restrictions. x 1 ≥ 0 and x 2 ≥ 0 confine everything to the first quadrant.

Corners. The origin ( 0 , 0 ) ; along the x 1 -axis to ( 5 , 0 ) where constraint 1 binds; the intersection of the two slanted boundaries; and ( 0 , 2 ) where constraint 2 meets the x 2 -axis.

For the intersection, solve 2 x 1 + x 2 = 10 with − x 1 + 2 x 2 = 4 . From the first, x 2 = 10 − 2 x 1 . Substituting: − x 1 + 2 ( 10 − 2 x 1 ) = 4 , so − x 1 + 20 − 4 x 1 = 4 , giving − 5 x 1 = − 16 and x 1 = 16 / 5 = 3.2 , then x 2 = 10 − 6.4 = 3.6 .

So the corners are ( 0 , 0 ) , ( 5 , 0 ) , ( 3.2 , 3.6 ) and ( 0 , 2 ) .

Verification. Take the interior point ( 1 , 1 ) : 2 + 1 = 3 ≤ 10 holds; − 1 + 2 = 1 ≤ 4 holds; both coordinates are nonnegative. All four constraints are satisfied, confirming every shaded side.

Note on the second constraint. Its x 1 -intercept is negative, at ( − 4 , 0 ) , which lies outside the first quadrant. That is perfectly normal. The boundary line extends across the whole plane, and only the part bounding the feasible region is visible in the quadrant.

A complete answer does each of these:

  • boundary placed
  • side tested
  • handles sign reversal
  • includes sign restrictions

Comparison · Method selection

The constraints x 1 + 2 x 2 ≤ 8 and − x 1 − 2 x 2 ≤ − 8 have the same boundary line. What is the relationship between the sides they allow?

2 hints available, least help first.

Hint 1: Retrieval cue

Test the origin in each constraint and compare the verdicts.

Hint 2: Concept cue

What happens to an inequality when you multiply both sides by − 1 ?

Classification

The constraint 2 x 1 + 3 x 2 ≤ 12 is to be drawn in the plane.

Select every statement that correctly describes its boundary line.

Select every option that applies

Every option that applies, and only those. The set is checked as a whole.

Classification

A feasible set is defined by x 1 + x 2 ≤ 6 together with x 1 ≥ 0 and x 2 ≥ 0 .

Select every point that belongs to the feasible set.

Select every option that applies

Every option that applies, and only those. The set is checked as a whole.

Error diagnosis · Explanation · Evaluation

A student plots the region for 3 x 1 + x 2 ≥ 9 , x 1 ≥ 0 , x 2 ≥ 0 and writes:

The boundary runs through ( 3 , 0 ) and ( 0 , 9 ) . It is a greater-than constraint, so I shaded the larger area. The triangle between the line and the origin, with corners ( 0 , 0 ) , ( 3 , 0 ) and ( 0 , 9 ) . The region is bounded.

Identify the error, give the correct region, and say why this kind of mistake is hard to catch.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

Test the origin against the constraint and see whether it satisfies it.

Hint 2: Concept cue

Pick any point inside the student's triangle and check it against the original inequality.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

What is correct. The boundary is right: 3 x 1 + x 2 = 9 does pass through ( 3 , 0 ) and ( 0 , 9 ) .

The error. The side was chosen from the inequality symbol rather than by testing a point. Testing the origin: 3 ( 0 ) + 0 = 0 , and 0 ≥ 9 is false. So the origin's side is not allowed, and the correct region is the far side of the line, away from the origin.

The correct region. The part of the first quadrant on or beyond the line 3 x 1 + x 2 = 9 . It is unbounded: it contains ( t , 9 ) for every t ≥ 0 , and indeed every point far enough out in the quadrant. Its corners are ( 3 , 0 ) and ( 0 , 9 ) , and it has no third corner.

Why 'greater-than means the larger area' fails. The words suggest size, but the inequality is about the value of 3 x 1 + x 2 , not about area. The region where that expression is large is the one far from the origin, which here happens to be the unbounded side. There is no general correspondence between the direction of the symbol and the visual size of a region.

Why this is hard to catch. The output is entirely plausible. A triangle with corners ( 0 , 0 ) , ( 3 , 0 ) , ( 0 , 9 ) is a perfectly ordinary feasible region, and nothing about it looks wrong. Every later step would then be executed correctly on it: corners enumerated, objective evaluated, an optimum reported, all of it valid work on the wrong region, and none of it capable of detecting the error, because nothing downstream ever revisits the original inequality.

The check that would have caught it. Test a point and write the verdict down before shading, for every constraint. Then verify the finished region with one interior point: taking ( 1 , 1 ) from the student's triangle gives 3 + 1 = 4 , and 4 ≥ 9 is false, that single check exposes the whole error in one line.

A complete answer does each of these:

  • boundary placed
  • side tested
  • handles sign reversal
  • includes sign restrictions

Transfer · Evaluation · Explanation

A model has the constraint

5 x 1 + 2 x 2 + 7 x 3 + x 4 ≤ 60

in four variables, so no drawing is possible.

Say how you would decide whether a proposed plan satisfies it, what the analogue of the test point is here, and what the analogue of the boundary is. Then explain what it would mean for the plan to sit exactly on the boundary.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

What did the test point actually do in two variables? Does that argument mention dimension?

Hint 2: Strategy cue

Ask what object plays the role of the boundary line when there are four variables.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

Deciding a plan. Evaluate the left-hand side at the plan and compare it with 60 . For x = ( 4 , 5 , 2 , 6 ) : 20 + 10 + 14 + 6 = 50 ≤ 60 , so the plan satisfies the constraint with 10 units to spare.

The analogue of the test point. It is the same thing, unchanged, any specific point whose satisfaction you evaluate directly. In two variables a single test point settles a whole side because the expression cannot cross from below the bound to above it without passing through equality; that argument never mentioned the dimension, so it holds here identically.

The analogue of the boundary. The hyperplane 5 x 1 + 2 x 2 + 7 x 3 + x 4 = 60 . It is three-dimensional inside four-dimensional space and cannot be pictured, but it does exactly what a line did: divide the space into two half-spaces, one allowed and one not.

A plan exactly on the boundary. The constraint holds with equality. The resource is exactly exhausted, with nothing to spare. The constraint is then binding (or active) at that plan. This matters well beyond drawing: optima in linear programming sit where constraints bind, and which constraints are tight at a point is what identifies it as a corner.

What transfers and what does not. The drawing does not, and it was never the substance. What transfers is the structure: a boundary where the expression equals the bound, two sides, and a direct evaluation to decide which side a point is on. That is why the plotting skill matters as a skill rather than as a picture. The picture stops at two variables, and the reasoning does not.

A complete answer does each of these:

  • boundary placed
  • side tested
  • handles sign reversal
  • includes sign restrictions
Practice data

Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.