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

Notes on Lesson 2: Linear equations in two variables. Systems of two linear equations in two variables (Maths 9 Canh Dieu, Chapter I)

Lesson summary

Linear equation in two variables xx and yy is an equality of the form ax+by=cax + by = c, where aa, bb and cc are given numbers, a≠0a \ne 0 or b≠0b \ne 0.

If ax0+by0=cax_0 + by_0 = c is a true statement then the pair of numbers (x0;y0)(x_0; y_0) is called a solution of the equation.

Think about buying things: xx is the price of a notebook, yy is the price of a pen.

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

  • Nhận biết phương trình bậc nhất hai ẩn, hệ hai phương trình bậc nhất hai ẩn
  • Nhận biết nghiệm của phương trình, hệ phương trình bậc nhất hai ẩn

One hundred grams of beef has 26 g of protein, one hundred grams of fish has 22 g. Uncle An wants to eat enough 70 g of protein from these two dishes every day. Call the number of hundred grams of beef xx, the number of hundred grams of fish yy, we get 26x+22y=7026x + 22y = 70. This lesson helps you recognise a linear equation in two variables and a system of two such equations, know how to check whether a pair of numbers is a solution, and draw the solutions on the coordinate plane.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Linear equation in two variables

Linear equation in two variables xx and yy is an equality of the form ax+by=cax + by = c, where aa, bb and cc are given numbers, a≠0a \ne 0 or b≠0b \ne 0.

  • 2x+3y=42x + 3y = 4, 0x+2y=30x + 2y = 3, x+0y=2x + 0y = 2 are linear equations in two variables.
  • 0x+0y=50x + 0y = 5 is not, because aa and bb both equal 0. Equalities with x2x^2, with xyxy are not either.

In plain words: Think about buying things: xx is the price of a notebook, yy is the price of a pen. Buying 5 notebooks and 3 pens costs 39 thousand, so write 5x+3y=395x + 3y = 39. Each unknown is only multiplied by a number and then added, so it is called linear. The condition a≠0a \ne 0 or b≠0b \ne 0 is only to make sure the equation still has at least one real unknown; if both equal 0, the unknowns disappear completely.

Phrase by phrase
given numbers
The numbers already in the equation, not the unknowns. Remember to keep the signs too.Example: x−2y=6x - 2y = 6 has a=1a = 1, b=−2b = -2, c=6c = 6.
or
It is enough that just one of the two numbers aa, bb is different from 0.Example: 0x+2y=30x + 2y = 3 has b=2≠0b = 2 \ne 0 so it is allowed.

Common mistakesThinking 0x+2y=30x + 2y = 3 is not a linear equation in two variables because it is "missing xx". It is enough to have a≠0a \ne 0 or b≠0b \ne 0.

Solution of a linear equation in two variables

Given the equation ax+by=cax + by = c. If ax0+by0=cax_0 + by_0 = c is a true statement then the pair of numbers (x0;y0)(x_0; y_0) is called a solution of the equation.

  • (−1;2)(-1; 2) is a solution of 2x+3y=42x + 3y = 4 because 2⋅(−1)+3⋅2=−2+6=42 \cdot (-1) + 3 \cdot 2 = -2 + 6 = 4.
  • (1;2)(1; 2) is not a solution because 2⋅1+3⋅2=8≠42 \cdot 1 + 3 \cdot 2 = 8 \ne 4.

Note: you can apply the transposition rule and the multiplication rule you already know from linear equations in one unknown to transform a linear equation in two variables.

In plain words: Testing a solution is like trying a key in a lock: put the numbers in, work out the left-hand side, compare with the right-hand side. If they match, it is a solution. The order in the pair matters a lot: the number in front is xx, the number after is yy. The two transformation rules help you express one unknown, for example 2x+3y=42x + 3y = 4 transposes to 3y=4−2x3y = 4 - 2x, divide both sides by 3 to get y=4−2x3y = \frac{4 - 2x}{3}.

Phrase by phrase
a true statement
An equality between numbers that really works out equal on both sides.Example: 2⋅(−1)+3⋅2=42 \cdot (-1) + 3 \cdot 2 = 4 is a true statement.
a solution
A pair of numbers that makes the equation true. The word "a" reminds us that there are other solutions too.Example: (8;1)(8; 1) and (4;−1)(4; -1) are both solutions of x−2y=6x - 2y = 6.
transposition rule
Move a term to the other side and change its sign.Example: x+y=3x + y = 3 becomes y=3−xy = 3 - x.
multiplication rule
Multiply or divide both sides by the same non-zero number.Example: 2y=6−x2y = 6 - x divide both sides by 2 to get y=6−x2y = \frac{6 - x}{2}.

Common mistakesTesting the solution of the system in one equation and then concluding right away, forgetting to test the other equation.

TipWhen testing a solution, write out each substitution clearly, like 4−2⋅(−1)=64 - 2 \cdot (-1) = 6. Writing it out makes fewer mistakes than mental calculation.

Representing solutions on the coordinate plane Oxy

In the coordinate plane OxyOxy, each solution (x0;y0)(x_0; y_0) of the equation ax+by=cax + by = c is represented by a point with coordinates (x0;y0)(x_0; y_0).

  • The equation ax+0y=cax + 0y = c (a≠0)(a \ne 0): the solutions are the points (ca;y0)\left(\frac{c}{a}; y_0\right) (y0∈R)(y_0 \in \mathbb{R}), lying on the straight line d1:x=cad_1: x = \frac{c}{a}, passing through the point ca\frac{c}{a} on the OxOx axis and perpendicular to the Ox axis.
  • The equation 0x+by=c0x + by = c (b≠0)(b \ne 0): the solutions are the points (x0;cb)\left(x_0; \frac{c}{b}\right) (x0∈R)(x_0 \in \mathbb{R}), lying on the straight line d2:y=cbd_2: y = \frac{c}{b}, passing through the point cb\frac{c}{b} on the OyOy axis and perpendicular to the Oy axis.
  • The equation ax+by=cax + by = c (a≠0,b≠0)(a \ne 0, b \ne 0): the solutions lie on the straight line d3:y=−abx+cbd_3: y = -\frac{a}{b}x + \frac{c}{b}.

Example: 2x+0y=32x + 0y = 3 gives the line x=1,5x = 1{,}5 through N(1,5;0)N(1{,}5; 0); 0x+y=−20x + y = -2 gives the line y=−2y = -2 through M(0;−2)M(0; -2); −3x+y=2-3x + y = 2 gives the line y=3x+2y = 3x + 2.

-3-2-1123-4-3-2-112345xyd₁: 2x + 0y = 3M(0; −2)N(1,5; 0)(0; 2)d₃: −3x + y = 2d₂: 0x + y = −2
Ba trường hợp: đường x = 1,5 vuông góc với Ox tại N(1,5; 0); đường y = −2 vuông góc với Oy tại M(0; −2); đường y = 3x + 2 biểu diễn nghiệm của −3x + y = 2

In plain words: Why do the solution points line up in a straight line? When b≠0b \ne 0, use transposition and divide by bb to get the familiar form y=mx+ny = mx + n from grade 8, and the graph of this form is a straight line. Without yy (b=0b = 0), xx is forced to one value while yy is free, so you get a vertical line. Without xx it is the other way round, and you get a horizontal direction. A straight line has infinitely many points, so the equation has infinitely many solutions.

Phrase by phrase
a point with coordinates
The point is at the position: across x0x_0, up or down y0y_0.Example: The solution (4;−1)(4; -1) is the point 4 to the right, 1 down.
perpendicular to the Ox axis
A vertical line, parallel to the OyOy axis.Example: The line x=1,5x = 1{,}5 meets OxOx at (1,5;0)(1{,}5; 0).
perpendicular to the Oy axis
A horizontal direction, parallel to the OxOx axis.Example: The line y=−2y = -2 meets OyOy at (0;−2)(0; -2).
straight line
A graph of the form y=mx+ny = mx + n; you can draw it once you know two points.Example: y=3x+2y = 3x + 2 passes through (0;2)(0; 2) and (−1;−1)(-1; -1).

TipWhichever unknown is missing is free: if yy is missing then yy runs vertically, giving a vertical line; if xx is missing then xx runs horizontally, giving a horizontal direction.

System of two linear equations in two variables

A system of two linear equations in two variables xx, yy has the form {ax+by=ca′x+b′y=c′\begin{cases} ax + by = c \\ a'x + b'y = c' \end{cases} (I), where each equation ax+by=cax + by = c and a′x+b′y=c′a'x + b'y = c' is a linear equation in two variables.

  • Example: {2x−y=0x+y=3\begin{cases} 2x - y = 0 \\ x + y = 3 \end{cases}, {3x=1x−y=3\begin{cases} 3x = 1 \\ x - y = 3 \end{cases}, {4x−y=33y=6\begin{cases} 4x - y = 3 \\ 3y = 6 \end{cases}.
  • If (x0;y0)(x_0; y_0) is a solution of each equation in system (I), then (x0;y0)(x_0; y_0) is called a solution of system (I).
  • (1;2)(1; 2) is a solution of the system {2x−y=0x+y=3\begin{cases} 2x - y = 0 \\ x + y = 3 \end{cases} because 2⋅1−2=02 \cdot 1 - 2 = 0 and 1+2=31 + 2 = 3.
  • Solving a system of equations means finding all solutions of that system.

In plain words: A single equation in two variables still leaves too many possibilities. Knowing "five friends bought 5 stickers in total" allows 1 and 4, 2 and 3, 3 and 2... Adding the fact "it cost 12 thousand, type I costs 2 thousand, type II costs 3 thousand" leaves only the pair (3;2)(3; 2) that fits both. So a solution of the system must satisfy both equations at the same time. In the picture, that is where the two straight lines meet.

Phrase by phrase
each equation
Both lines inside the braces must be linear equations in two variables.Example: {3x=1x−y=3\begin{cases} 3x = 1 \\ x - y = 3 \end{cases}: the first line is 3x+0y=13x + 0y = 1, still fine.
solution of each equation
It satisfies the first equation, and it also satisfies the second equation.Example: (3;2)(3; 2) satisfies x+y=5x + y = 5 and 2x+3y=122x + 3y = 12.
Solving a system of equations
Find every pair of numbers that satisfies both equations.Example: You will learn the specific method of solving in the next lesson.

Worked examples

Example 1

Which of the following relations is a linear equation in two variables? Point out aa, bb, cc of that equation.
a) 3x−y=53x - y = 5; b) 0x+4y=−20x + 4y = -2; c) x2+y=1x^2 + y = 1; d) 0x+0y=40x + 0y = 4.

Show the solution to example 1

Step 1: Compared with the form ax+by=cax + by = c, we need a≠0a \ne 0 or b≠0b \ne 0, and each unknown has only power 1.
Step 2: a) a=3a = 3, b=−1b = -1, c=5c = 5. It is a linear equation in two variables.
Why: −y-y is exactly (−1)⋅y(-1) \cdot y, so b=−1b = -1 and not 1.
Step 3: b) a=0a = 0, b=4b = 4, c=−2c = -2. It has b≠0b \ne 0, so it is still a linear equation in two variables.
Step 4: c) has x2x^2, so it is not. d) has a=b=0a = b = 0, so it is not.
Result: a) and b) are linear equations in two variables.

Example 2

Among the pairs of numbers (8;1)(8; 1), (−3;6)(-3; 6), (4;−1)(4; -1), (0;2)(0; 2), which pair is a solution of each of the following equations?
a) x−2y=6x - 2y = 6; b) x+y=3x + y = 3.

Show the solution to example 2

Step 1: a) (8;1)(8; 1): 8−2=68 - 2 = 6, correct. (−3;6)(-3; 6): −3−12=−15≠6-3 - 12 = -15 \ne 6. (4;−1)(4; -1): 4−2⋅(−1)=4+2=64 - 2 \cdot (-1) = 4 + 2 = 6, correct. (0;2)(0; 2): 0−4=−4≠60 - 4 = -4 \ne 6.
Why: −2⋅(−1)=+2-2 \cdot (-1) = +2. A negative times a negative gives a positive, a mistake here means missing the solution (4;−1)(4; -1).
Step 2: b) (8;1)(8; 1): 9≠39 \ne 3. (−3;6)(-3; 6): 33, correct. (4;−1)(4; -1): 33, correct. (0;2)(0; 2): 2≠32 \ne 3.
Result: a) (8;1)(8; 1) and (4;−1)(4; -1); b) (−3;6)(-3; 6) and (4;−1)(4; -1).

Example 3

Represent the solutions of the equation x−2y=6x - 2y = 6 on the coordinate plane OxyOxy.

5-4-3-2-112xy(0; −3)(6; 0)(4; −1)(8; 1)x − 2y = 6
Đường thẳng x − 2y = 6 đi qua các điểm (0; −3), (4; −1), (6; 0) và (8; 1)
Show the solution to example 3

Step 1: Use the transposition rule: −2y=6−x-2y = 6 - x. Divide both sides by −2-2: y=12x−3y = \frac{1}{2}x - 3. This is the straight line d3d_3.
Why: When dividing by a negative number, every term changes sign: 6−x−2=x−62=12x−3\frac{6 - x}{-2} = \frac{x - 6}{2} = \frac{1}{2}x - 3.
Step 2: Let x=0x = 0, then y=−3y = -3, giving (0;−3)(0; -3). Let y=0y = 0, then x=6x = 6, giving (6;0)(6; 0).
Step 3: Draw the straight line through those two points. The two solutions (8;1)(8; 1) and (4;−1)(4; -1) from the previous example also lie on this line.
Result: The solutions are represented by the straight line y=12x−3y = \frac{1}{2}x - 3, which passes through (0;−3)(0; -3) and (6;0)(6; 0).

Common mistakesUsing the transposition rule but forgetting to change signs, or dividing by a negative number without changing the sign of every term.

TipQuickly draw the line ax+by=cax + by = c: let x=0x = 0 to find yy, let y=0y = 0 to find xx, then join the two points.

Example 4

Represent the solutions of each equation 0x+3y=60x + 3y = 6 and 4x+0y=−64x + 0y = -6 on the same coordinate plane OxyOxy.

-4-3-2-1123-2-11234xy4x + 0y = −6(0; 2)(−1,5; 0)(−1,5; 2)0x + 3y = 6
Đường nằm ngang y = 2 và đường thẳng đứng x = −1,5 cắt nhau tại (−1,5; 2)
Show the solution to example 4

Step 1: 0x+3y=60x + 3y = 6 has the form 0x+by=c0x + by = c with b=3b = 3, c=6c = 6. The solutions are (x0;2)(x_0; 2) with x0x_0 arbitrary, lying on the line d2:y=2d_2: y = 2, perpendicular to OyOy at (0;2)(0; 2).
Step 2: 4x+0y=−64x + 0y = -6 has the form ax+0y=cax + 0y = c with a=4a = 4, c=−6c = -6. The solutions are (−1,5;y0)(-1{,}5; y_0) with y0y_0 arbitrary, lying on the line d1:x=−1,5d_1: x = -1{,}5, perpendicular to OxOx at (−1,5;0)(-1{,}5; 0).
Why: ca=−64=−1,5\frac{c}{a} = \frac{-6}{4} = -1{,}5. Keep the negative sign of cc, the line lies to the left of the OyOy axis.
Step 3: The two lines intersect at (−1,5;2)(-1{,}5; 2). Check: 0+3⋅2=60 + 3 \cdot 2 = 6 and 4⋅(−1,5)+0=−64 \cdot (-1{,}5) + 0 = -6, both correct.
Result: One horizontal line y=2y = 2 and one vertical line x=−1,5x = -1{,}5.

Common mistakesConfusing the two special cases: ax+0y=cax + 0y = c gives a vertical line (perpendicular to OxOx), while 0x+by=c0x + by = c gives a horizontal direction.

Example 5

Given the system of equations {x+2y=13x−2y=3\begin{cases} x + 2y = 1 \\ 3x - 2y = 3 \end{cases}. Which pair of numbers is a solution of the system: a) (3;−1)(3; -1); b) (1;0)(1; 0)?

Show the solution to example 5

Step 1: a) First equation: 3+2⋅(−1)=13 + 2 \cdot (-1) = 1, correct.
Step 2: Second equation: 3⋅3−2⋅(−1)=9+2=11≠33 \cdot 3 - 2 \cdot (-1) = 9 + 2 = 11 \ne 3. Wrong, so (3;−1)(3; -1) is not a solution of the system.
Why: Satisfying just one equation is not enough. A solution of the system must be a solution of each equation.
Step 3: b) 1+0=11 + 0 = 1, correct; 3−0=33 - 0 = 3, correct. So (1;0)(1; 0) is a solution of the system.
Result: Only (1;0)(1; 0) is a solution of the system.

Common mistakesReading the pair (x0;y0)(x_0; y_0) in the wrong order, substituting the predecessor into yy.

Example 6

Five friends go shopping together for stickers to decorate their notebooks. Type I costs 2 thousand dong each, type II costs 3 thousand dong each. Each friend buys 1 sticker, and all five friends pay 12 thousand dong. Let xx, yy be the number of type I and type II stickers. a) Write the system of two linear equations in two variables xx, yy. b) Is the pair (3;2)(3; 2) a solution of the system?

Show the solution to example 6

Step 1: Five friends, each buys 1 sticker, so there are 5 stickers: x+y=5x + y = 5.
Step 2: The money for type I is 2x2x, for type II is 3y3y (thousand dong), total 12: 2x+3y=122x + 3y = 12.
Why: Money = number of stickers × price of one sticker. Do not add the prices 2+32 + 3 and then multiply by 5.
Step 3: The system is {x+y=52x+3y=12\begin{cases} x + y = 5 \\ 2x + 3y = 12 \end{cases}.
Step 4: Try (3;2)(3; 2): 3+2=53 + 2 = 5, true; 2⋅3+3⋅2=122 \cdot 3 + 3 \cdot 2 = 12, true.
Result: a) {x+y=52x+3y=12\begin{cases} x + y = 5 \\ 2x + 3y = 12 \end{cases}; b) (3;2)(3; 2) is a solution of the system: the friends buy 3 type I stickers and 2 type II stickers.

Terms

Linear equation in two variables
A relation of the form ax+by=cax + by = c, with a≠0a \ne 0 or b≠0b \ne 0.Example: 26x+22y=7026x + 22y = 70.
Solution of an equation
The pair (x0;y0)(x_0; y_0) makes ax0+by0=cax_0 + by_0 = c a true statement.Example: (1;2)(1; 2) is a solution of 26x+22y=7026x + 22y = 70.
Transposition rule
When you move a term to the other side, change its sign.Example: 2x+y=32x + y = 3 becomes y=3−2xy = 3 - 2x.
Multiplication rule
Multiply or divide both sides by the same non-zero number.Example: 3y=63y = 6 becomes y=2y = 2.
Coordinate plane Oxy
A plane with horizontal axis OxOx and vertical axis OyOy, where each point corresponds to a pair of numbers.Example: Point M(0;−2)M(0; -2) lies on the OyOy axis.
System of two linear equations in two variables
Two linear equations in two variables considered at the same time, written inside braces.Example: {x+y=52x+3y=12\begin{cases} x + y = 5 \\ 2x + 3y = 12 \end{cases}
Solution of a system
A pair of numbers that is a solution of each equation in the system.Example: (3;2)(3; 2) is a solution of the system above.
x-coordinate, y-coordinate
The x-coordinate is the xx number, the y-coordinate is the yy number of a point.Example: N(1,5;0)N(1{,}5; 0) has x-coordinate 1,51{,}5, y-coordinate 0.

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

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 9Written answer · Applying

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

Nêu hai ví dụ về phương trình bậc nhất hai ẩn.

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.

More practice questions for you

Additional exercises

  • Kiểm tra một cặp số có là nghiệm của phương trình hoặc của hệ hay không (Recall, Understanding, Applying)
  • Lập phương trình bậc nhất hai ẩn mô tả một tình huống thực tế đơn giản (Understanding)
  • Viết nghiệm tổng quát và biểu diễn tập nghiệm bằng đường thẳng trên mặt phẳng tọa độ (Applying)

Challenge yourself

  • Kiểm tra một cặp số có là nghiệm của phương trình hoặc của hệ hay không (Understanding, Applying)
  • Lập phương trình bậc nhất hai ẩn mô tả một tình huống thực tế đơn giản (Applying, Advanced applying)
  • Dạng khác (Applying, Understanding)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in

Skills in this lesson

Tap a skill to see what to secure first, what comes next, and more practice.