A farmer has 6 hectares of land and 8 days of labor to share between wheat and corn. Every possible plan is a point , with hectares of wheat and hectares of corn, and each limit rules out part of the plane. What is left is a picture of every plan that actually works. Inequalities in two variables describe regions like this, and once the region is drawn you can search it for the best plan.
Key terms
Linear and nonlinear inequalities
Definition An inequality in two variables compares two expressions in and with one of the symbols , , or . An ordered pair is a solution if the inequality is true for and . The solution set, also called the graph of the inequality, is the set of all solutions, drawn as a region of the plane. The inequality is linear if it can be written as
with real numbers , , and with and not both zero. Any other inequality is nonlinear, for example , or .
In plain words A solution is now a point, not a number, and the answer is a whole region. A linear inequality is cut out by a straight line, while a nonlinear one can be cut out by a parabola, a circle or any other curve.
Example Here are four points tested in the linear inequality .
| Point | Value of | Solution? |
|---|---|---|
| yes | ||
| yes | ||
| yes | ||
| no |
The point is a solution of the nonlinear inequality , since .
Boundary curve
Definition The boundary curve of an inequality in and is the graph of the equation obtained by replacing the inequality symbol with . If both sides are polynomials in and , the boundary curve splits the rest of the plane into regions, and within each region the inequality is either true at every point or false at every point. A point can switch from true to false only by crossing the boundary. If a side can be undefined, as with a fraction, the points where it is undefined must be treated as part of the boundary too, just as with the sign charts for rational inequalities.
In plain words The boundary is where the two sides are exactly equal. It is the fence between points that work and points that do not.
Example Each inequality below has a familiar boundary.
| Inequality | Boundary curve |
|---|---|
| the line | |
| the parabola with vertex | |
| the circle with center and radius |
The circle splits the rest of the plane into two regions, the inside and the outside.
Solid and dashed boundary
Definition For an inequality with or , every point of the boundary curve makes both sides equal and so satisfies the inequality. The boundary belongs to the solution set and is drawn as a solid curve. For an inequality with or , no point of the boundary satisfies it. The boundary is left out of the solution set and is drawn as a dashed curve. Points where a side is undefined are never solutions, so they are always left out.
In plain words A solid line means the fence itself counts. A dashed line means you may come as close as you like but never stand on it, just like an open endpoint on a number line.
Example The point lies on the circle . It satisfies because , so that circle is drawn solid. The point lies on the parabola , since . It does not satisfy , because is false, so that parabola is drawn dashed.
Half-plane
Definition A line in the plane splits the points not on it into two open half-planes, one on each side. A closed half-plane is an open half-plane together with its boundary line. The solution set of a linear inequality with or is an open half-plane, and with or it is a closed half-plane. When you can solve for . If , then means
the half-plane below the line. If , dividing by reverses the inequality and gives the half-plane above the line. When the boundary is a vertical line and the half-plane lies to its left or right.
In plain words A straight boundary always leaves two sides, and the answer is one whole side. After you solve for , the symbol means below the line and means above it. Just remember to flip the symbol if you divide by a negative number.
Example To graph , subtract and divide by , which reverses the inequality.
The solution set is the open half-plane below the dashed line . As a check, the origin lies above that line and fails the original inequality, since is false.
Test point
Definition A test point is a point not on the boundary curve that you substitute into the inequality to decide whether its region belongs to the solution set. When both sides are polynomials, the inequality is true in the whole region of a test point that makes it true, and false in the whole region of one that makes it false. One test point per region is enough. A linear inequality has only two regions, but a curved boundary can create more, and then every region needs its own test point.
In plain words Pick an easy point on one side, plug it in, and shade its whole side if it works. The origin is the easiest choice whenever it is not on the boundary.
Example The boundary of is the hyperbola , whose two branches split the plane into three regions. Test one point in each.
| Test point | Value of | Is ? |
|---|---|---|
| yes | ||
| no | ||
| yes |
So the solution set is the region beyond the branch in the first quadrant together with the region beyond the branch in the third quadrant. The middle region, which contains both axes, is left out, and the hyperbola is dashed. Testing only the origin would have missed that the answer comes in two pieces.
Intersection
Definition The intersection of two sets of points is the set of points that belong to both and . A system of inequalities joined by “and” asks for the points that satisfy every inequality at once, so its solution set is the intersection of the individual solution sets.
In plain words Shade each inequality on its own. The answer is the part where all the shadings overlap.
Example Solve the system and . The first inequality gives the region on and above the parabola, the second gives the region on and below the line. The boundaries meet where , so where or , at the points and . The solution set is the region between the parabola and the line for , boundaries included. The point is inside, since and . The point satisfies the second inequality but not the first, because is false, so it is not in the intersection.
Union
Definition The union of two sets of points is the set of points that belong to or to or to both. A compound inequality joined by “or” has as its solution set the union of the individual solution sets.
In plain words A point counts if it passes at least one of the tests. Shade every inequality, and keep everything that is shaded at least once.
Example For the condition means or . So means
The solution set is the union of two closed half-planes, everything except the open strip between the parallel lines and . The origin is in that strip and fails, since is false. The points and each satisfy one of the two inequalities, so both are solutions.
Feasible region
Definition In a problem with several conditions, called constraints, the feasible region is the set of all points that satisfy every constraint, that is the intersection of their solution sets. A corner point, or vertex, of the region is a point of the region where two nonparallel boundary lines meet. If the feasible region is nonempty and bounded and is described by finitely many linear inequalities with or , then every linear expression reaches its largest value on the region at a corner point, and its smallest value at a corner point too.
In plain words The feasible region holds every plan that breaks no rule. When the rules are straight lines and the region is bounded, it is a polygon, and the best and worst values of a linear quantity sit at its corners.
Example Back to the farmer. Wheat needs 1 day of labor per hectare and corn needs 2, so the constraints are
The lines and meet where and . The corner points are , , and , and each satisfies all four constraints. Suppose wheat earns 3 thousand dollars per hectare and corn earns 4. The profit is , , and at these corners, so the best plan is 4 hectares of wheat and 2 of corn. When the quantity to be made largest is not linear, checking corners is no longer enough, and calculus finds the best value with derivatives, as in optimization problems.
Check yourself
- Graph . Is the boundary solid or dashed, and which side is shaded?
Show the answer
The boundary is the line , or , drawn solid because of . The origin gives , which is false, so shade the side away from the origin. That is the closed half-plane below the line, .
- Find the corner points of the feasible region given by , , and .
Show the answer
Subtracting from gives , and then . The corner points are , , and . Each one satisfies all four constraints, while the other crossings and break one of them.
- Is the point a solution of the system and ? Is it a solution of or ?
Show the answer
The first inequality holds, since . The second fails, since is false, because lies on the dashed parabola . So the point is not in the intersection, but it is in the union.