Sub topic 2
Solving by graphing
Before starting, you should be able to solve one-variable linear equations, substitute values into expressions, plot points on a coordinate plane, and work with negative numbers and fractions.
Solving by graphing
A system of two linear equations asks for the ordered pair (x, y) that satisfies both equations. Each equation graphs as a straight line, so every point on a line is a solution of that equation. The point where the two lines cross satisfies both, so it is the solution of the system.
Take y = x + 1 and y = -2x + 7. Write each line in slope-intercept form, y = mx + b, where m is the slope and b is the y-intercept. The first line has slope 1 and intercept 1. The second has slope -2 and intercept 7. Plot a few points for each line and draw them. The lines cross at (2, 3).
Check the point in both equations: 3 = 2 + 1 and 3 = -2(2) + 7. Both are true.
Graphing shows the answer clearly, but reading a crossing point from a sketch can be off when the coordinates are not whole numbers. Confirm with algebra in that case.
Solving by substitution
Substitution replaces one variable with an expression taken from the other equation. Take y = 2x - 1 and 3x + 2y = 12. The first equation already isolates y, so substitute that expression into the second:
3x + 2(2x - 1) = 12 3x + 4x - 2 = 12 7x = 14, so x = 2.
Then y = 2(2) - 1 = 3. Check in 3x + 2y = 12: 6 + 6 = 12. The solution is (2, 3).
Use substitution when one variable is already isolated or has a coefficient of 1.
Why you can scale and add equations
Elimination depends on two facts. First, multiplying both sides of an equation by the same nonzero number gives an equivalent equation with the same solutions. Second, adding two equations that both hold gives a true equation, so any solution of the system also satisfies the sum.
For example, in 2x + y = 7 and x - y = 2, adding the equations cancels y and gives 3x = 9, so x = 3. Substituting into x - y = 2 gives y = 1. Because each step preserves solutions, the pair (3, 1) satisfies both original equations.
Exercise
Exercise
Solve y = x + 1 and y = -2x + 7 by substitution. What is the solution?
Show answer
Set x + 1 = -2x + 7, so 3x = 6 and x = 2. Then y = 2 + 1 = 3. The solution is (2, 3).