Skip to content
Gioi Toan
Start learning
A balance scale with both pans level

Notes on Lesson 2: Systems of linear inequalities in two unknowns (Maths 10 Chan troi sang tao, Chapter II)

Lesson summary

A system of linear inequalities in two unknowns is a system of two or more linear inequalities in two unknowns xx, yy.

Step 1: On the same coordinate plane, draw the straight lines d1d_1, d2d_2, ...

Each inequality in the system is like a separate condition.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Biểu diễn được miền nghiệm của hệ bất phương trình bậc nhất hai ẩn
  • Vận dụng vào bài toán thực tiễn tìm cực trị biểu thức F = ax + by

In everyday life, some decisions must satisfy many conditions at once: a workshop is limited by materials, time and capital; a shopper needs enough nutrients at the lowest cost. This lesson helps you turn those constraints into a system of linear inequalities in two unknowns, draw the solution region of the system on the coordinate plane, and then find the best plan for the stated goal.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Systems of linear inequalities in two unknowns and their solutions

  • A system of linear inequalities in two unknowns is a system of two or more linear inequalities in two unknowns xx, yy.
  • Each inequality in the system has the form ax+by≤cax + by \le c (or ax+by≥cax + by \ge c, ax+by<cax + by < c, ax+by>cax + by > c) with aa, bb not simultaneously equal to 0.
  • The pair of numbers (x0;y0)(x_0; y_0) is a solution of the system of linear inequalities in two unknowns when (x0;y0)(x_0; y_0) is simultaneously a solution of all the inequalities in that system.
  • In the coordinate plane, the set of points whose coordinates are solutions of the system of linear inequalities in two unknowns is the solution region of the system of inequalities.
  • The solution region of the system is the intersection of the solution regions of the inequalities in the system.
  • Example: The system {x+y≤4x≥0y≥0\begin{cases} x + y \le 4 \\ x \ge 0 \\ y \ge 0 \end{cases} has (1;2)(1; 2) as a solution because 1+2=3≤41 + 2 = 3 \le 4, 1≥01 \ge 0, 2≥02 \ge 0; the pair (3;2)(3; 2) is not a solution because 3+2=5>43 + 2 = 5 > 4.

In plain words: Each inequality in the system is like a separate condition. To be accepted, the pair of numbers must satisfy all the conditions at the same time; breaking just one condition means it is rejected. So when checking whether a pair of numbers is a solution of the system, substitute it into each inequality in turn; if all of them are true, then conclude it is a solution. The solution region of the system is exactly the part of the plane that every inequality in the system agrees on, that is, the intersection of the individual solution regions.

Phrase by phrase
System of linear inequalities in two unknowns
Consists of two or more linear inequalities in two unknowns, which must be satisfied at the same time.Example: {2x+y≤6x−y≥1\begin{cases} 2x + y \le 6 \\ x - y \ge 1 \end{cases}.
solution of a system
A pair of numbers that satisfies every inequality in the system.Example: (2;1)(2; 1) is a solution of the system {x+y≤4x≥0\begin{cases} x + y \le 4 \\ x \ge 0 \end{cases} because 2+1=3≤42 + 1 = 3 \le 4 and 2≥02 \ge 0.
Solution region of the system
The set of points whose coordinates are solutions of the system.Example: The triangle with three vertices (0;0)(0; 0), (4;0)(4; 0), (0;4)(0; 4) is the solution region of the system {x+y≤4x≥0y≥0\begin{cases} x + y \le 4 \\ x \ge 0 \\ y \ge 0 \end{cases}.
not simultaneously equal to 0
The two coefficients aa, bb cannot both be 0, otherwise both unknowns would disappear.Example: 0x+0y≤30x + 0y \le 3 is not a linear inequality in two unknowns.

Represent the solution region of the system on the coordinate plane

  • Step 1: On the same coordinate plane, draw the straight lines d1d_1, d2d_2, ... corresponding to each inequality (drop the inequality sign, replace it with an equals sign).
  • Step 2: Determine the solution region of each inequality, and shade out the part that does not belong to the solution region.
  • Step 3: The part that is not shaded is the solution region of the system of given inequalities, usually a polygon.
  • Note: If the system has an inequality with the sign << or >>, then the solution region leaves out the side lying on the corresponding straight line (for example, the system x≥0x \ge 0, y≥0y \ge 0, x+y<150x + y < 150 has the solution region being the triangular region OABOAB with the side ABAB left out).
  • If the solution region is a polygon, the vertices of the polygon are the points of intersection of the straight lines d1d_1, d2d_2, ...; the coordinates of a vertex are found by solving the system of equations in two unknowns formed by the equations of the two straight lines that intersect at that vertex.
  • Example: The system {x+y≤4x≥0y≥0\begin{cases} x + y \le 4 \\ x \ge 0 \\ y \ge 0 \end{cases} has the solution region being the triangle OABOAB with O(0;0)O(0; 0), A(4;0)A(4; 0), B(0;4)B(0; 4), including the boundary.

In plain words: The method is like finding a common spot for several groups: each inequality splits the plane into two halves, one half is valid. Shade out the invalid half of each one, and wherever it stays white is where every group agrees. Tip for choosing a test point: take the origin O(0;0)O(0; 0) if the straight line does not pass through the origin, substitute it into the inequality; if true, keep the half containing OO, if false, keep the other half. With x≥0x \ge 0, keep the half to the right of the y-axis; with y≥0y \ge 0, keep the half above the x-axis.

Phrase by phrase
shade out the part that does not belong to the solution region
Mark the wrong half-plane so the remaining part stands out.Example: With x+y≤4x + y \le 4, testing O(0;0)O(0; 0) gives 0≤40 \le 4, which is true, so keep the half containing OO.
solution region of the system
The remaining common part after removing the wrong half-planes.Example: Triangle OABOAB above.
the vertices of the polygon
Points of intersection of the boundary straight lines, found by solving a system of equations.Example: The intersection of x+y=4x + y = 4 and y=0y = 0 is A(4;0)A(4; 0).
including the boundary
Because the inequality has the sign ≤\le, ≥\ge, the points on the boundary straight line are also solutions.Example: (4;0)(4; 0) belongs to the solution region of x+y≤4x + y \le 4.

TipChoose the test point O(0;0)O(0; 0) when the boundary line does not pass through the origin; if the line passes through the origin, choose one of the two points (1;0)(1; 0), (0;1)(0; 1) that does not lie on that line (there is always at least one such point).

TipA vertex of the polygon region is the intersection of two boundary lines, so just solve the system of equations in two unknowns for each pair of intersecting lines, then discard the points of intersection that do not belong to the region.

Find the maximum value and minimum value of \(F = ax + by\) on a polygonal region

  • Let the solution region of a system of inequalities be a polygonal region A1A2...AnA_1A_2...A_n (consisting of the points inside or on the sides of the polygon) and the expression F(x;y)=ax+byF(x; y) = ax + by.
  • Remark: It can be proved that the maximum value (or minimum value) of the expression F(x;y)=ax+byF(x; y) = ax + by, where (x;y)(x; y) are the coordinates of points belonging to the polygonal region A1A2...AnA_1A_2...A_n, is attained at one of the vertices of that polygon.
  • Method: Find the coordinates of all the vertices, compute FF at each vertex and compare; the largest and smallest of those numbers are respectively the maximum value and the minimum value of FF on the region.
  • Example: On the triangle OABOAB with O(0;0)O(0; 0), A(4;0)A(4; 0), B(0;4)B(0; 4) and F=x+2yF = x + 2y: at OO it is 0, at AA it is 4, at BB it is 8. So the minimum value of FF is 0 at OO, and the maximum value is 8 at BB.

In plain words: Think of FF as the money earned, and the polygonal region as the allowed options. The amount changes from point to point, but it only increases or decreases steadily in one direction, so if there is a highest or lowest spot, it must be at a corner, like a flat sloping roof: the highest spot is always at the roof's peak. So you do not need to try countless points, just check the vertices. Remember to find all the vertices; missing one vertex could mean missing the best option.

Phrase by phrase
polygonal region
A solution region bounded by line segments, with vertices.Example: Triangle, quadrilateral, pentagon.
maximum value and minimum value
The largest and smallest numbers that FF takes on the region.Example: With F=x+2yF = x + 2y above: maximum 8, minimum 0.
attained at one of the vertices
Just compute FF at the vertices and compare, no need to try every point of the region.Example: Computing FF at OO, AA, BB is enough for the triangle OABOAB.
aa, bb are not simultaneously equal to 0
The condition for FF to really depend on xx, yy.Example: F=0x+0yF = 0x + 0y is always equal to 0, there is nothing to find.

Practical optimization problem

  • Many real-world problems have the form: choose the numbers x≥0x \ge 0, y≥0y \ge 0 (number of products, number of hours, number of hectares, ...) satisfying a system of inequalities (materials, time, capital, ...).
  • We need to maximize or minimize (that is, find a way to make FF largest or smallest) the expression F=ax+byF = ax + by (profit, cost, ...); such an expression FF is called the objective function, and the system of inequalities describing the conditions is called the constraints.
  • How to solve: Set up a system of inequalities from the conditions, draw the solution region, find the vertices, compute FF at the vertices, then give the conclusion.
  • Example: A bakery makes xx sweet cakes and yy savory cakes each day, with {x+y≤102x+y≤16x≥0y≥0\begin{cases} x + y \le 10 \\ 2x + y \le 16 \\ x \ge 0 \\ y \ge 0 \end{cases} and a profit of F=3x+2yF = 3x + 2y (thousand dong). The solution region is the quadrilateral O(0;0)O(0; 0), A(8;0)A(8; 0), B(6;4)B(6; 4), C(0;10)C(0; 10); computing FF gives 0, 24, 26, 20. The largest profit is 26 thousand dong when making 6 sweet cakes and 4 savory cakes.

In plain words: A real-world problem differs from a geometry problem only in that the numbers have meaning. The hardest part is turning words into inequalities: each sentence like “each sweet cake needs 2 ounces of flour, each savory cake needs 1 ounce, and there are only 16 ounces” becomes 2x+y≤162x + y \le 16. You let xx, yy be the two quantities to decide, write the constraints, write the objective function, then do exactly as in a maximum and minimum value problem. The final result must answer the question correctly: how many of each to make, and how much profit.

Phrase by phrase
objective function
The expression F=ax+byF = ax + by to be made largest or smallest.Example: Profit F=3x+2yF = 3x + 2y.
constraint
The inequalities expressing limits on materials, time, capital.Example: 2x+y≤162x + y \le 16: flour limit.
maximize
Find a way to make FF largest or smallest.Example: Maximize profit, minimize cost.
x≥0x \ge 0, y≥0y \ge 0
The number of products cannot be negative.Example: It is impossible to make −2-2 cakes.

Common mistakesSetting up a constraint in the wrong direction: the problem says "at least" but you write ≤\le, or "no more than" but you write ≥\ge. Read the words showing the level carefully, then choose the sign.

Common mistakesForgetting the conditions x≥0x \ge 0, y≥0y \ge 0 when setting up a system of equations for a real-life problem, so the solution region spreads into the negative part and gives an absurd plan such as making −3-3 cakes.

Worked examples

Example 1

Given the system of inequalities {x+y≤4x−y≥−2x≥0\begin{cases} x + y \le 4 \\ x - y \ge -2 \\ x \ge 0 \end{cases}.
a) Point out a pair of numbers that is a solution and a pair of numbers that is not a solution of the system.
b) Is the pair of numbers (−1;1)(-1; 1) a solution of the system?

Show the solution to example 1

Step 1: Try the pair (1;1)(1; 1): 1+1=2≤41 + 1 = 2 \le 4 true; 1−1=0≥−21 - 1 = 0 \ge -2 true; 1≥01 \ge 0 true. All three are true, so (1;1)(1; 1) is a solution of the system.
Why: A solution of the system must satisfy all the inequalities, so if just one is not satisfied, the pair of numbers is rejected.
Step 2: Try the pair (3;3)(3; 3): 3+3=6≤43 + 3 = 6 \le 4 false. Just one false inequality is enough to reach the conclusion.
Step 3: b) Try (−1;1)(-1; 1): −1+1=0≤4-1 + 1 = 0 \le 4 true; −1−1=−2≥−2-1 - 1 = -2 \ge -2 true; but −1≥0-1 \ge 0 false. So (−1;1)(-1; 1) is not a solution of the system.
Result: a) (1;1)(1; 1) is a solution, (3;3)(3; 3) is not a solution; b) (−1;1)(-1; 1) is not a solution because it does not satisfy x≥0x \ge 0.

Common mistakesChecking whether a pair of numbers is a solution of a system by substituting into only one inequality, and concluding as soon as it is true. You must substitute into all the inequalities, and only if all are true is it a solution.

TipChecking a solution of a system the "whole family" way: substitute the pair of numbers into each inequality in turn, mark true or false, and one false mark is enough to reject it.

Example 2

Represent the solution region of the system {x+y≤4x≥0y≥0\begin{cases} x + y \le 4 \\ x \ge 0 \\ y \ge 0 \end{cases} and state the vertices of the solution region.

Show the solution to example 2

Step 1: Draw the straight line d1:x+y=4d_1: x + y = 4 passing through (4;0)(4; 0) and (0;4)(0; 4). Substitute O(0;0)O(0; 0) into x+y≤4x + y \le 4 to get 0≤40 \le 4 true, so keep the half-plane containing OO, and shade out the other half.
Step 2: x≥0x \ge 0 keep the half-plane to the right of the y-axis, shade out the left half. y≥0y \ge 0 keep the half above the x-axis, shade out the half below.
Why: The unshaded part is the common part of all three half-planes, that is, where all the inequalities agree.
Step 3: What remains is the triangle OABOAB with O(0;0)O(0; 0), A(4;0)A(4; 0), B(0;4)B(0; 4). Check the vertices: AA is the point of intersection of x+y=4x + y = 4 and y=0y = 0; BB is the point of intersection of x+y=4x + y = 4 and x=0x = 0.
Result: The solution region is the triangle OABOAB including its boundary, with three vertices O(0;0)O(0; 0), A(4;0)A(4; 0), B(0;4)B(0; 4).

Common mistakesWhen drawing the solution region, shading out the wrong half-plane: testing point O(0;0)O(0; 0) gives false, yet keeping the half containing OO. The rule is: if true, keep the half containing the test point; if false, keep the other half.

Example 3

Represent the solution region of the system {x+y≤62x+y≤8x≥0y≥0\begin{cases} x + y \le 6 \\ 2x + y \le 8 \\ x \ge 0 \\ y \ge 0 \end{cases} and find the coordinates of the vertices of the solution region.

Show the solution to example 3

Step 1: Draw d1:x+y=6d_1: x + y = 6 through (6;0)(6; 0), (0;6)(0; 6) and d2:2x+y=8d_2: 2x + y = 8 through (4;0)(4; 0), (0;8)(0; 8). Try O(0;0)O(0; 0): both 0≤60 \le 6 and 0≤80 \le 8 are true, so keep the half containing OO for both lines. Together with x≥0x \ge 0, y≥0y \ge 0 we get a region inside the first quadrant.
Step 2: Find the point of intersection of d1d_1 and d2d_2: solve {x+y=62x+y=8\begin{cases} x + y = 6 \\ 2x + y = 8 \end{cases}. Subtracting side by side gives x=2x = 2, hence y=4y = 4.
Why: The point (2;4)(2; 4) satisfies 2+4=62 + 4 = 6 and 2⋅2+4=82 \cdot 2 + 4 = 8, so it lies on both boundaries.
Step 3: The other vertices: O(0;0)O(0; 0); d2d_2 meets the x-axis at (4;0)(4; 0); d1d_1 meets the y-axis at (0;6)(0; 6). The point (6;0)(6; 0) does not belong to the region because 2⋅6+0=12>82 \cdot 6 + 0 = 12 > 8.
Result: The solution region is the quadrilateral O(0;0)O(0; 0), A(4;0)A(4; 0), B(2;4)B(2; 4), C(0;6)C(0; 6).

Example 4

Given the solution region is the quadrilateral O(0;0)O(0; 0), A(4;0)A(4; 0), B(2;4)B(2; 4), C(0;6)C(0; 6). Find the maximum value and the minimum value of F=x+2yF = x + 2y on that region.

Show the solution to example 4

Step 1: Calculate FF at each vertex: at OO: 0+0=00 + 0 = 0; at AA: 4+0=44 + 0 = 4; at BB: 2+8=102 + 8 = 10; at CC: 0+12=120 + 12 = 12.
Why: FF reaches its maximum value and minimum value at one of the vertices of the polygon region, so we only need to check the four vertices.
Step 2: Compare the four values of 0,4,10,120, 4, 10, 12.
Step 3: Check a point inside, for example (1;2)(1; 2): F=1+4=5F = 1 + 4 = 5, which is between 0 and 12, matching the observation.
Result: FF has minimum value 0 at O(0;0)O(0; 0), and maximum value 12 at C(0;6)C(0; 6).

Common mistakesMissing a vertex of the polygon, usually the point of intersection of two boundary lines that belongs to the region (for example the intersection of x+y=10x+y=10 and 2x+y=162x+y=16 is B(6;4)B(6;4)), then concluding the maximum value, minimum value wrongly. You must solve the system for each pair of boundary lines and keep every point of intersection that belongs to the region; those are the vertices.

Example 5

A bakery makes xx sweet cakes and yy savoury cakes each day. Each sweet cake needs 2 liang of flour, each savoury cake needs 1 liang of flour, and the bakery has 16 liang of flour; the total number of cakes is no more than 10. The profit is 3 thousand dong per sweet cake and 2 thousand dong per savoury cake. How many cakes of each kind should be made each day to get the largest profit?

Show the solution to example 5

Step 1: Set up a system of equations: {x+y≤102x+y≤16x≥0y≥0\begin{cases} x + y \le 10 \\ 2x + y \le 16 \\ x \ge 0 \\ y \ge 0 \end{cases}, objective function F=3x+2yF = 3x + 2y (thousand dong).
Why: The sentence "the total number of cakes is no more than 10" gives x+y≤10x + y \le 10; the sentence "2 liang and 1 liang, with 16 liang" gives 2x+y≤162x + y \le 16; the number of cakes is non-negative, giving x≥0x \ge 0, y≥0y \ge 0.
Step 2: Draw x+y=10x + y = 10 and 2x+y=162x + y = 16, testing O(0;0)O(0; 0) gives true, so the solution region lies on the side of OO. Point of intersection of the two lines: subtracting the sides gives x=6x = 6, hence y=4y = 4.
Step 3: The vertices: O(0;0)O(0; 0); 2x+y=162x + y = 16 intersects the x-axis at (8;0)(8; 0); x+y=10x + y = 10 intersects the y-axis at (0;10)(0; 10); and B(6;4)B(6; 4).
Step 4: Calculate FF: at OO it is 0; at (8;0)(8; 0) it is 24; at B(6;4)B(6; 4) it is 18+8=2618 + 8 = 26; at (0;10)(0; 10) it is 20.
Step 5: Compare: 26 is the largest, reached at x=6x = 6, y=4y = 4.
Result: Make 6 sweet cakes and 4 savoury cakes, the largest profit is 26 thousand dong.

Example 6

A person needs to supplement at least 60 units of calcium and 40 units of iron each day. Food type AA costs 20 thousand dong per box and contains 30 units of calcium and 10 units of iron. Food type BB costs 15 thousand dong per box and contains 10 units of calcium and 10 units of iron. The shop has only 4 boxes of type AA and 6 boxes of type BB left. How many boxes of each type should be bought to keep the cost as low as possible?

Show the solution to example 6

Step 1: Let xx, yy be the number of boxes of type AA, type BB, with 0≤x≤40 \le x \le 4, 0≤y≤60 \le y \le 6. Calcium constraint: 30x+10y≥6030x + 10y \ge 60, that is 3x+y≥63x + y \ge 6. Iron constraint: 10x+10y≥4010x + 10y \ge 40, that is x+y≥4x + y \ge 4. Cost F=20x+15yF = 20x + 15y (thousand dong).
Why: The word "at least" gives the sign ≥\ge; the number of boxes left in the shop gives x≤4x \le 4, y≤6y \le 6; the goal is the lowest cost, so we need to find the minimum value of FF.
Step 2: Draw 3x+y=63x + y = 6 through (2;0)(2; 0), (0;6)(0; 6) and x+y=4x + y = 4 through (4;0)(4; 0), (0;4)(0; 4). Substitute O(0;0)O(0; 0) into 3x+y≥63x + y \ge 6 to get 0≥60 \ge 6, which is false, so shade out the half containing OO; similarly with x+y≥4x + y \ge 4. Also draw x=4x = 4, y=6y = 6 and keep the part to the left of x=4x = 4, below y=6y = 6.
Step 3: Find the vertices. Intersection of 3x+y=63x + y = 6 and x+y=4x + y = 4: subtracting the sides gives 2x=22x = 2, so x=1x = 1, y=3y = 3, giving B(1;3)B(1; 3). On the x-axis, x+y=4x + y = 4 gives A(4;0)A(4; 0). On the y-axis, 3x+y=63x + y = 6 gives C(0;6)C(0; 6). The point of intersection of x=4x = 4 and y=6y = 6 is D(4;6)D(4; 6). The solution region is the quadrilateral ABCDABCD.
Step 4: Calculate FF: at A(4;0)A(4; 0) it is 8080; at B(1;3)B(1; 3) it is 20+45=6520 + 45 = 65; at C(0;6)C(0; 6) it is 9090; at D(4;6)D(4; 6) it is 80+90=17080 + 90 = 170.
Step 5: Compare: 6565 is the smallest, reached at B(1;3)B(1; 3).
Result: Buy 1 box of type AA and 3 boxes of type BB, the lowest cost is 65 thousand dong.

Terms

System of linear inequalities in two unknowns
Consists of two or more linear inequalities in two unknowns, which must be satisfied at the same time.Example: {x+y≤4x≥0\begin{cases} x + y \le 4 \\ x \ge 0 \end{cases}.
Solution of a system
A pair of numbers that satisfies every inequality in the system.Example: (1;2)(1; 2) is a solution of the system {x+y≤4x≥0\begin{cases} x + y \le 4 \\ x \ge 0 \end{cases}.
Solution region of the system
The set of points whose coordinates are solutions of the system.Example: Triangle OABOAB with O(0;0)O(0; 0), A(4;0)A(4; 0), B(0;4)B(0; 4).
Polygon region
A solution region bounded by line segments, with vertices.Example: Quadrilateral OABCOABC in the bakery problem.
Vertex of the polygon
Point of intersection of the two boundary straight lines, found by solving the system of equations.Example: The intersection of x+y=10x + y = 10 and 2x+y=162x + y = 16 is B(6;4)B(6; 4).
Objective function
The expression F=ax+byF = ax + by whose maximum value and minimum value we need to find.Example: F=3x+2yF = 3x + 2y.
Constraints
The inequalities expressing the real-life limits.Example: x+y≤10x + y \le 10: limit on the total number of cakes.
Test point
A point used to decide which half-plane is the solution region.Example: Test O(0;0)O(0; 0) with x+y≤4x + y \le 4.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 10.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 2 of 5Written answer · Applying

This content is not yet available in English. It is shown below in the original Vietnamese.

Một nhà máy sản xuất hai loại thuốc trừ sâu nông nghiệp là A và B. Cứ sản xuất mỗi thùng loại A thì nhà máy thải ra 0,25 kg khí carbon dioxide (CO2C{O_2}) và 0,60 kg khí sulful dioxide (SO2S{O_2}), sản xuất mỗi thùng loại B thì thải ra 0,50 kg CO2C{O_2} và 0,20 kg SO2S{O_2}. Biết rằng, quy định hạn chế sản lượng CO2C{O_2} của nhà máy tối đa là 75 kg và SO2S{O_2} tối đa là 90 kg mỗi ngày.
a) Tìm hệ bất phương trình mô tả số thùng của mỗi loại thuốc trừ sâu mà nhà máy có thể sản xuất mỗi ngày để đáp ứng các điều kiện hạn chế trên. Biểu diễn miền nghiệm của hệ bất phương trình đó trên mặt phẳng toạ độ.
b) Việc nhà máy sản xuất 100 thùng loại A và 80 thùng loại B mỗi ngày có phù hợp với quy định không?
c) Việc nhà máy sản xuất 60 thùng loại A và 160 thùng loại B mỗi ngày có phù hợp với quy định không?

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.