- Practice
- About 24 min
- 5 practice questions
GCD of polynomials and linear equations in two variables
Find the GCD of polynomials by factorisation, draw the graph of a linear equation, and solve a pair of linear equations by graphical, substitution, elimination and cross-multiplication methods; test for consistency.
If something looks wrong, please tell us.
By the end of this lesson you can
- Find the GCD (HCF) of monomials and polynomials by factorisation.
- Recognise a linear equation in two variables and draw its graph from a table of values.
- Solve simultaneous linear equations by four methods and decide whether a system is consistent.
Two last tools complete the chapter. The greatest common divisor of polynomials works just like the HCF of numbers. Linear equations in two variables connect algebra with graphs: each equation is a straight line, and solving two equations together means finding where two lines meet.
GCD of polynomials
The GCD (greatest common divisor, also called HCF) of two or more polynomials is the polynomial of highest possible degree that divides each of them. Method: factorise each expression completely; take each common factor with the lowest power in which it appears; put the GCD of the numerical coefficients in front.
Worked example 1: GCD
(a) 12x³y² and 18x²y⁴: GCD(12, 18) = 6; lowest powers x² and y². GCD = 6x²y². (b) x² − 4 = (x − 2)(x + 2) and x² + 5x + 6 = (x + 2)(x + 3): the only common factor is x + 2. (c) 2x² − 18 = 2(x − 3)(x + 3) and 4x² + 12x = 4x(x + 3): GCD of 2 and 4 is 2, common factor x + 3, so GCD = 2(x + 3).
Linear equations in two variables
A linear equation in two variables has the form ax + by + c = 0, where a, b, c are real numbers and a and b are not both zero. Each variable has power 1 and the variables are not multiplied together, so 2x + y = 4 and 5x = 3y are linear, but xy + 2x = 5 and x² + y = 7 are not. Every pair (x, y) that makes the equation true is a solution, and there are infinitely many. Plotting them gives a straight line.
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| y = 6 − 2x | 6 | 4 | 2 | 0 |
Simultaneous linear equations
Two linear equations in the same two variables, taken together, form a pair of simultaneous equations. A solution is a pair (x, y) that satisfies both. Graphically it is the point where the two lines cross.
Methods of solving a pair of linear equations
-
Geometric
- Graphical method: draw both lines
- Read off the point of intersection
-
Algebraic
- Substitution: make one variable the subject and substitute
- Elimination: add or subtract to remove a variable
- Cross multiplication: use a formula in the coefficients
Worked example 2: graphical method
Solve x + y = 6 and x − y = 2 graphically. Working: points on x + y = 6 include (0, 6), (2, 4), (6, 0); points on x − y = 2 include (2, 0), (4, 2), (6, 4). The lines cross at (4, 2), so x = 4, y = 2. Check: 4 + 2 = 6 and 4 − 2 = 2.
Worked example 3: substitution
Solve x + 2y = 8 and 3x − y = 3. Working: from the second equation, y = 3x − 3. Substitute into the first: x + 2(3x − 3) = 8, so 7x − 6 = 8, 7x = 14, x = 2, and y = 3(2) − 3 = 3. Check: 2 + 6 = 8 and 6 − 3 = 3.
Worked example 4: elimination
Solve 3x + 2y = 12 and 5x − 2y = 4. Working: adding the equations removes y: 8x = 16, so x = 2. Then 3(2) + 2y = 12 gives 2y = 6, y = 3. Check: 10 − 6 = 4.
Worked example 5: cross multiplication
For a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0, the solution is x/(b₁c₂ − b₂c₁) = y/(c₁a₂ − c₂a₁) = 1/(a₁b₂ − a₂b₁). Solve 2x + 3y = 13 and 3x − y = 3. Write them as 2x + 3y − 13 = 0 and 3x − y − 3 = 0, so a₁ = 2, b₁ = 3, c₁ = −13, a₂ = 3, b₂ = −1, c₂ = −3. Then b₁c₂ − b₂c₁ = −9 − 13 = −22; c₁a₂ − c₂a₁ = −39 + 6 = −33; a₁b₂ − a₂b₁ = −2 − 9 = −11. So x = −22/−11 = 2 and y = −33/−11 = 3.
Consistency
| Condition | Lines | Solutions | System |
|---|---|---|---|
| a₁/a₂ ≠ b₁/b₂ | Intersect at one point | Exactly one | Consistent |
| a₁/a₂ = b₁/b₂ = c₁/c₂ | Coincide (same line) | Infinitely many | Consistent |
| a₁/a₂ = b₁/b₂ ≠ c₁/c₂ | Parallel | None | Inconsistent |
For example, 2x + 3y = 5 and 4x + 6y = 10 have ratios 2/4 = 3/6 = 5/10, so they are the same line with infinitely many solutions. But 2x + 3y = 5 and 4x + 6y = 7 have 2/4 = 3/6 ≠ 5/7: parallel lines, no solution.
Worked example 6: a word problem (made-up data)
A purse holds 50 coins, all ₹2 and ₹5 coins, worth ₹160 in all. Let x be the number of ₹2 coins and y the number of ₹5 coins. Then x + y = 50 and 2x + 5y = 160. Multiply the first by 2: 2x + 2y = 100. Subtract from the second: 3y = 60, so y = 20 and x = 30. Check: 30 × 2 + 20 × 5 = 60 + 100 = ₹160.
Unique solution when a₁/a₂ ≠ b₁/b₂; infinitely many when a₁/a₂ = b₁/b₂ = c₁/c₂; none when a₁/a₂ = b₁/b₂ ≠ c₁/c₂.
Key takeaways: the GCD of polynomials is the product of common factors with their lowest powers; ax + by + c = 0 is a straight line; a pair of linear equations can be solved graphically or by substitution, elimination or cross multiplication; the ratios of coefficients tell whether there is one solution, infinitely many or none. Always check your solution in both equations.
Check your understanding
-
1. What is the GCD of 15a³b² and 25a²b⁵?
- 5a²b²
- 75a³b⁵
- 5a³b⁵
- 15a²b²
Show answer
Answer: A. GCD(15, 25) = 5, and the lowest powers of a and b are a² and b². So the GCD is 5a²b².
-
2. Which equation is a linear equation in two variables?
- xy = 12
- 3x − 4y = 7
- x² + y = 1
- x + 1/y = 2
Show answer
Answer: B. 3x − 4y = 7 has both variables to the power 1 and they are not multiplied together. xy, x² and 1/y make the others non-linear.
-
3. What is the solution of x + y = 7 and x − y = 1?
- x = 3, y = 4
- x = 5, y = 2
- x = 4, y = 3
- x = 6, y = 1
Show answer
Answer: C. Adding gives 2x = 8, so x = 4; then y = 7 − 4 = 3. Check: 4 − 3 = 1.
-
4. How many solutions does the pair 3x − 2y = 4 and 6x − 4y = 9 have?
- Exactly one
- Exactly two
- Infinitely many
- None
Show answer
Answer: D. a₁/a₂ = 3/6 = 1/2 and b₁/b₂ = −2/−4 = 1/2, but c₁/c₂ = 4/9 ≠ 1/2. The lines are parallel, so there is no solution: the system is inconsistent.
-
5. Solve 2x + y = 11 and x + 3y = 13.
- x = 5, y = 1
- x = 4, y = 3
- x = 3, y = 5
- x = 1, y = 4
Show answer
Answer: B. From the first, y = 11 − 2x. Substitute: x + 3(11 − 2x) = 13, so x + 33 − 6x = 13, −5x = −20, x = 4 and y = 11 − 8 = 3. Check: 4 + 9 = 13.
Sign in to keep track of the lessons you finish.