Linear equations in two variables are such that both equations would remain true when we find a solution for each variable. When we want to solve systems of linear equations by graphing, we plot both equations on the same coordinate plane. Now the point where both lines intersect is the solution for the system. Let us look at the example below.
Solve the equation
Solution
As mentioned earlier, we will want to plot both equations on the coordinate plane. We will start by finding the y-intercept and slope for each line. This means for each equation, we will rewrite it in the slope-intercept form. Slope intercept form is given by;
where m is the slope
b is the y-intercept
x is the x-value on the coordinate plane
y is the y-value on the coordinate plane
[Equation 1]
This means that;
[Equation 2]
This means that;
Both equations in the slope-intercept form are given by;
Let us find the y-value by assuming two values on the x-axis. Recall that two points are enough to give us a line. Given two values on the x-axis, we will use 1 and 2, what is y when x = 1? And what is y when x = 2?
The solution to these two questions should give us the lines of both equations.
Let us start with Equation 1,
.
Substitute 1 into the equation assuming x = 1,
When , .
Substitute 2 into the equation assuming x = 2,
When , .
We now have two points for Equation 1 to be plotted.
Graph of line y = 2x + 2 - StudySmarter Originals
The same will be done for the Equation 2,
.
Substitute 1 into the equation assuming x = 1,
When , .
Substitute 2 into the equation assuming x = 2,
When , .
Let us plot these points and draw the line on the same coordinate plane.
Graph for equations y = 2x + 2 and y = x – 1, StudySmarter Originals
The point they both intercept is the solution for the problem, (–3, –4).
This means
Now we can evaluate this to see if this is true. Working with equations means that everything on the left side should be equal to what is on the right. Since we have two equations here, we will verify both. Let us start with the first one.
We will substitute the values we just found into the equation
Since both negative values are multiplying each other, the result becomes positive.
.
We do see here that the first equation is satisfied. We can go ahead to do the same with the second equation.
Substitute the values we just found into the equation
Negative values multiplying each other will result in positive.
We do realize here that the solution satisfies both equations, therefore, the solution is correct.