Skip to Main Content
Back to Table of Contents

Two Equations, Two Unknowns - I



Two equations with two variables. So far in the study of algebraic equations, we have looked at solving single equations with only one variable. For example, something like 2x plus 7 equals 15. What happens if there is more than one variable in an equation? Suppose we had something like 2x plus 3y equals 15.

Now, what would it mean for someone to come and tell us solve this equation? How would we find values that work in this equation? Well, certainly one possible value if x equals zero then y can equals 5. So that would be a solution. Others would be if x equals 3 and y equals 3, x equals 6 and y equals 1. Those are also values that make it work.

Of course, there's no restriction that other variable has to be positive. So other solutions include x equals 9, y equals negative 1, or x equals negative 3 and y equals positive 7. And as you can imagine, we could make x more, more negative, make y more, more positive or vice versa. So we get quite a few, solutions of that sort.

Also, there's no restriction that the variables must be integers. So other solutions include things like x equals 7 and a half, y equals 0, or x equals 4, and y equals 2 and a third. So, just on this page notice we have one, two, three, four, five six, seven solutions for this, and it's certainly clear we could get many, many more. In fact, one equation with two variables typically would have an infinite number of solutions.

Notice all those solutions if plotted on an x-y graph would lie on a straight line. So the seven solutions that we mentioned those are the seven dots on this diagram, and they all lie on a straight line. Now, for reasons we will discuss later in the coordinate geometry module. Any single equation with just x and y neither variable raised to a power or in a fraction can be represented by a line in the x-y plane.

So right now, you don't need to worry about graphing those. You don't need to worry about how would you find the slope of the line or any of that. All you need to do is just have that idea, just that association, that an equation with x and y is represented by a line. That's all you need to know for this discussion here.

So, the first big idea is no one can ask you to solve a single equation with two variables because when I have an infinite number solution, a line passes through an infinite number of points. And every single one of those points is a solution. So there's no way anyone could legitimately ask you to solve because they'd be asking you to solve for an infinity of things all at once.

Now suppose we have two equations, each with two variables. This is called a system of equation, the values of x and y must satisfy both equations simultaneously. Well, this is interesting. If each equation is a line, then it makes sense that the unique point where those two lines intersect would be the single point that satisfies both equations.

So you pick one random line and pick another random line, chances are very good, that they're gonna intersect somewhere. And they intersect at one point and that one point would be the solution. So algebraically, when we're finding that solution, what we're doing is, we're finding the point geometrically where they intersect. So Big Idea number 2, is if we have a system of two equations with two unknowns we generally can solve for unique values of x and y.

How do we solve a system of equations for these values? There are two strategies. One is Substitution and the other is called either Elimination, some sources also called Linear Combination. I'll be calling them substitution and elimination. The goal of both of these methods is to reduce the two-equations-two-unknown situation to a one-equation-one-unknown situation which is one in which we already know how to find the solution.

So what we're doing and this is often true of mathematics returning a problem, we don't know how to solve into a problem we do know how to solve. That's very typical for mathematics. So the Substitution Method. In this method, we will first solve one equation, either one for one of the variables.

In this equation, we'll get one variable by itself on one side of the equation. So there's two equations I gave a moment ago. One of the equations was x plus 2y equals 11. And that's an equation where it's particularly easy to get x by itself. All I'm going to do is subtract 2y from both sides, and I get x equals 11 minus 2y.

So hold on to that for a second, x equals 11 minus 2y. Now let's look at the other equation. We can replace the x and the other equation with the expression that x equals because x equals 11- minus 2y means that wherever there's an x, we can remove the x and replace it by the thing that it equals. So here's the other equation and we're just gonna write the same equation again but we're gonna replace that x with 11 minus 2y.

Well, now we have a single equation with y. So now we just use our ordinary solving. We'll distribute. We'll combine that like terms. We'll subtract the 22 from both sides, we get negative y equals negative 7 multiplied by negative 1, we get y equals 7.

So now we have solved for one of the two values. We solve for y, we still have to solve for x. Now we plug this value of y back into the equation that was solved for x. So we had x equals 11 minus 2y. Well, now we know that y equals 7, so we'll just plug that in, 11 minus 14 is negative 3.

And so that point x equals negative 3, y equals positive 7, that is the solution. Notice that the substitution method is most useful when in one of the two equations, the coefficients of one of the variables equals positive one or negative one. If all coefficients of x and y and the two equations are unequal to positive or negative 1 then solving for any variable will create fractions which makes the solution more cumbersome.

So, for example, suppose we have this as our system. Suppose we try to solve the first equation for x. Okay, well we can subtract 5y from both sides then we divide by 4. All right, well immediately we get into fractions. So this would not be fun to substitute. Yes, mathematically we could solve the equation this way we'd have to wait through a bunch of fractions but we'd prefer not to have to do it.

In systems in which substitution is not convenient, we will use elimination. We will cover the elimination method in the next lesson. In summary, a system of equations, two equations with two variables typically has a single unique solution. And again, this would be where the two lines are intersecting. That's the point that we're finding.

We can solve with either substitution or elimination. Substitution works best when one of the variables has a coefficient of plus or minus 1. And again, in the next lesson we'll talk about elimination.

Read full transcript