Solving Systems of Linear Equations
Solving Systems of Linear Equations
A
system of
linear equations
is just a set of two or more linear equations.
In two variables
(x and y)
, the graph of a system of two equations is a pair of lines in the plane.
The lines intersect at infinitely many points. (The two equations represent the same line.)
Zero solutions:
y = −2x + 4
y = −2x − 3
One solution:
y = 0.5x + 2
y = −2x − 3
y = −2x − 4
y + 4 = −2x
See the second graph above. The solution is where the two lines intersect, the point
(−2, 1)
.
coordinate. (If it's easier, you can start by solving an equation for
x
in terms of
y
, also – same
difference!)
Example 1:
3x + 2y = 16
Solve the system
{
7x + y = 19
y = 19 − 7x
Substitute
19 − 7x
for
y
in the first equation and solve for
x
.
3x + 2(19 − 7x) = 16
3x + 38 − 14x = 16
−11x = −22
x = 2
Substitute
2
for
x
in
y = 19 − 7x
and solve for
y
.
y = 19 − 7(2)
y = 5
The solution is
(2, 5)
.
Example 2:
4x + 3y = −2
Solve the system
{
8x − 2y = 12
−8x − 6y = 4
8x − 2y = 12
− −−−−− −−−−−
− 8y = 16
Solve for
y
.
y = −2
Substitute for
y
in either of the original equations and solve for
x
.
4x + 3(−2) = −2
4x − 6 = −2
4x = 4
x = 1
The solution is
(1, −2)
.