Solve for x and y.
And we have the system of equations right here.
We have 2x minus y is equal to 14,
and negative 6x plus 3y is equal to negative 42.
So we could try to solve this by elimination,
and let's see if we can eliminate our y
variables first.
We have a 3y here, and we have a negative y up here.
And they won't eliminate.
If you just add negative y plus 3y, that won't eliminate.
But if we could turn this negative y into a negative 3y,
then it would cancel out with the 3y.
And the best way to turn a negative y into a negative 3y
is to multiply this entire top equation by 3.
So let's do that.
Let me get some space over to the left
Let's multiply this entire top equation by 3.
So I'm going to multiply it by 3.
So I multiply 2x by 3.
I get 6x.
I multiply negative y by 3.
I get negative 3y.
And then I multiply 14 by 3.
3 times 14 is 42, right?
3 times 10 is 30, plus 12, it's 42.
And then we can add both of these equations.
Something interesting should already maybe
be showing up on your radar.
But let's add both of these equations.
Let's add the left-hand side.
Negative 6x plus 6x?
Well, those cancel out.
We get 0.
Then we have 3y minus 3y.
Those cancel out.
We get another 0.
And then finally, you get negative 42 plus 42.
Well, that's a 0.
So we end up with just 0 is equal to 0, which
is clearly true, but it's not putting any constraints
on the x or y.
And that's because whenever you have a situation like this,
where you just get something that's obviously true-- 0
equals 0, or 1 equals 1, or 5 equals
5-- what we're dealing in this situation
is where both of our constraints,
both of our equations, are actually the same equation.
So this right here is a dependent system.
And you see it right over here.
If you take that first equation, you multiply it by 3,
you got 6x minus 3y is equal to 42.
If we then multiplied it by negative 1,
you would get the exact same equation
as the second equation.
You would get negative 6x plus 3y is equal to negative 42.
Or another way to think about it,
if you want to go from the first equation
to the second equation, you just multiply
both sides of the equation times negative 3.
So both of these constraints are actually the same constraints.
They're just kind of a scaled-up multiple of each other.
So if you were to graph them-- and I
might as well graph them for you right here.
This first equation right here, let me do it over here.
It's 2x minus y is equal to 14.
You could subtract 2x from both sides,
and you would get-- let me just subtract it.
Subtract 2x, subtract 2x.
On the left-hand side, you're left with just negative y.
On the right-hand side, you have negative 2x plus 14.
Multiply both sides by negative 1,
and you get y is equal to 2x minus 14.
So this first equation over here,
if I were to draw my axes-- so that is my y-axis, and then
that is my x-axis.
This graph right over here, its y-intercept is negative 14.
So this is 0, negative 14.
And it has a slope of 2.
So it's going to look something like this.
It's going to look something like that.
And then this second equation, if you
were to graph it, because this is a dependent system,
it's the exact same line.
If you were to put this in slope-intercept form and graph
it, you would get the exact same thing.
It would go right on top of it.
So there's actually an infinite number of solutions.
These two lines are the same line.
So they intersect everywhere on each of the respective lines.
They're the same line.
And when you get something like this,
0 equals 0 or 1 equals 1, that's the telltale sign that you're
dealing with a dependent system.
If you got something like 0 equals 1,
then you would have no solution.
So this one right here would be an inconsistent system.
And this would be the situation.
So let me make it very clear.
This is the situation.
We're dealing with the same lines.
The lines are the same lines.
This is a situation where you have parallel lines.
And so they never intersect.
And then, obviously, you have the easiest situation.
I think this is one most of us are familiar with, where
you have something like x is equal to 1, or y is equal to 2,
or anything like this.
It doesn't have to be 1 or 2.
And then this is clearly a situation
where you have an independent system, where
you have two different lines that
intersect in exactly one place.
Anyway, this-- there's an infinite number of solutions.
Any x and y that satisfied the first equation
will also satisfy the second equation,
because they're fundamentally the same constraint.