Sub topic 1
Linear equations in two variables
Prerequisites
This chapter assumes you can solve one-variable linear equations, substitute values into expressions, plot points on a coordinate plane, and work with fractions and negative numbers.
Linear equations in two variables
A linear equation in two variables has the form ax + by = c, where a, b, and c are constants and x and y are variables. Its graph is a straight line. Every point (x, y) on that line makes the equation true. For example, 2x + y = 7 has solutions (2, 3), (3, 1), and (0, 7).
What a system of equations is and what its solution means
A system of equations is a set of equations solved together. A solution to a system of two linear equations is an ordered pair (x, y) that satisfies both equations at the same time. Graphically, it is the point where the two lines cross. Consider this system:
x + y = 5 x - y = 1
The pair (3, 2) is the solution because it works in both equations.
Checking a solution in both equations
To check a proposed solution, substitute x and y into each equation separately. If both statements are true, the pair is a solution. If either fails, it is not.
- Check (3, 2) in x + y = 5: 3 + 2 = 5, true.
- Check (3, 2) in x - y = 1: 3 - 2 = 1, true.
- Check (4, 1) in x - y = 1: 4 - 1 = 3, false. So (4, 1) is not a solution.
Rewriting equations in slope-intercept form
Slope-intercept form is y = mx + b, where m is the slope (rise over run) and b is the y-intercept, the point where the line crosses the y-axis. Writing an equation this way makes it easy to graph and compare. To convert 2x + y = 7, subtract 2x from both sides to get y = -2x + 7.
| Original equation | Slope-intercept form | Slope | y-intercept |
|---|---|---|---|
| 2x + y = 7 | y = -2x + 7 | -2 | 7 |
| x - y = 1 | y = x - 1 | 1 | -1 |
Exercise
Is (2, 1) a solution of the system 3x - y = 5 and x + 2y = 4?
Show answer
Yes. Substitute into the first equation: 3(2) - 1 = 5, which is true. Substitute into the second: 2 + 2(1) = 4, which is also true. Because both statements hold, (2, 1) is a solution.