Main content

# Inequalities with variables on both sides

Sal solves the inequality -3p-7<p+9, draws the solution on a number line and checks a few values to verify the solution. Created by Sal Khan and Monterey Institute for Technology and Education.

## Want to join the conversation?

- At1:39Sal says that when you are dividing a negative number you must switch the inequality. Why is that? What would happen if I didn't? I was just wondering the math behind it and why we have to do that :)(23 votes)
- Dividing or multiplying by a negative reverses the relationship between the numbers which is why you need to reverse the inequality.

For example: 2 < 5

Divide by -1 and you get: -2 < -5 which is false, so reverse the inequality: -2 > -5

Hope this helps.(75 votes)

- I am working on a question: -9x-4<-4x+5

the answer i get is x>-1.8 yet my answer key says the answer is x>565 or 11.2

WHAT!? so confused. can someone explain this to me please!(20 votes)- Sorry for being late! No, the answer key is not an error and you can solve this equation. All you gotta do is:

Step 1: Add 4x to both sides.

−9x−4+4x<−4x+5+4x

−5x−4<5

Step 2: Add 4 to both sides.

−5x−4+4<5+4

−5x<9

Step 3: Divide both sides by -5.

-5x/-5 < 9/-5

x > -9/5

Answer:

x > -9/5

Hope that cleared some things up! :)(19 votes)

- i am in fifth grade being curious and starting to learn some algebra 1(17 votes)
- I am just like you(11 votes)

- why? is it necessary to swap the inequality sign? Is there any way to prove why should we do so and the reasons behind it?(3 votes)
- If you multiply or divide by a negative value, the relationship between the numbers changes. You can confirm this by looking at a simple numeric example:

-2 < 3

Multiply both sides by -5 and you get:

10 > -15

If you didn't reverse the inequality, you would have 10<-15 which is a false statement.

Hope this helps.(21 votes)

- Erm what the flip ;-;(10 votes)
- i dont know what i'm doing T^T(5 votes)
- What do you not get?(7 votes)

- By this point in math, you would have learned how to solve equations where the variable is on both sides. Use the same techniques here to solve the inequality.

-- Get the variable on only one side by using opposite operations to add/subtract one of the terms containing the variable.

-- Next, If there is a constant on the same side as the variable, again, move it using opposite operations.

-- Last, divide by the coefficient in front of the variable to finish isolating the variable.

The only things that are different are:

1) If you multiply / divide both sides of the equation by a negative value, you need to reverse the inequality.

2) Equations create 1 solution. With inequalities, you will have a large number of solutions. For example: x>1 has a solution set of all real numbers larger than 1.

Hope this helps.(6 votes)

- Can we reason our way through as to why do we change the inequality sign when we multiply and divide by the negative side?(4 votes)
- Multiplying / dividing by a negative reverses the relation between the sides of the inequality. You can see this is you use an inequality containing only numbers.

For example: Start with 4 < 12

-- Multiply by -2 and you get: -8 < -24 which makes no sense as -8 is now larger than -24.

-- Reverse the inequality: -8 > -24. Now the relationship is correctly stated.

Hope this helps.(4 votes)

- Why do we have to find P?(5 votes)
- 22q+73>52q+63

it says don't round and don't use mix numbers(1 vote)- The result is a simple proper fraction, so no rounding and no mixed numbers are needed.

Try solving it and see what you get.(6 votes)

## Video transcript

We're asked to solve for p. And we have the inequality
here negative 3p minus 7 is less than p plus 9. So what we really want
to do is isolate the p on one side of this inequality. And preferably the
left-- that just makes it just a little easier to read. It doesn't have to be, but we
just want to isolate the p. So a good step to
that is to get rid of this p on the
right-hand side. And the best way I can
think of doing that is subtracting p from the right. But of course, if
we want to make sure that this inequality is
always going to be true, if we do anything to
the right, we also have to do that to the left. So we also have to
subtract p from the left. And so the left-hand side,
negative 3p minus p-- that's negative 4p. And then we still have
a minus 7 up here-- is going to be less than p minus p. Those cancel out. It is less than 9. Now the next thing
I'm in the mood to do is get rid of this
negative 7, or this minus 7 here, so that we
can better isolate the p on the left-hand side. So the best way I can think
of to get rid of a negative 7 is to add 7 to it. Then it will just
cancel out to 0. So let's add 7 to both
sides of this inequality. Negative 7 plus 7 cancel out. All we're left with
is negative 4p. On the right-hand side, we
have 9 plus 7 equals 16. And it's still less than. Now, the last step
to isolate the p is to get rid of this
negative 4 coefficient. And the easiest way I
can think of to get rid of this negative
4 coefficient is to divide both
sides by negative 4. So if we divide this
side by negative 4, these guys are
going to cancel out. We're just going
to be left with p. We also have to do it
to the right-hand side. Now, there's one thing that
you really have to remember, since this is an
inequality, not an equation. If you're dealing
with an inequality and you multiply or divide
both sides of an equation by a negative number, you
have to swap the inequality. So in this case, the less
than becomes greater than, since we're dividing
by a negative number. And so negative 4 divided by
negative 4-- those cancel out. We have p is greater than
16 divided by negative 4, which is negative 4. And we can plot this
solution set right over here. And then we can
try out some values to help us feel good about
the idea of it working. So let's say this is negative
5, negative 4, negative 3, negative 2, negative 1, 0. Let me write that a
little bit neater. And then we can keep
going to the right. And so our solution is p is
not greater than or equal, so we have to
exclude negative 4. p is greater than negative 4,
so all the values above that. So negative 3.9999999 will work. Negative 4 will not work. And let's just try
some values out to feel good that this is
really the solution set. So first let's try out when
p is equal to negative 3. This should work. The way I've drawn it,
this is in our solution set. p equals negative 3
is greater than negative 4. So let's try that out. We have negative 3
times negative 3. The first negative
3 is this one, and then we're saying
p is negative 3. Minus 7 should be less
than-- instead of a p, we're going to
putting a negative 3. Should be less than
negative 3 plus 9. Negative 3 times
negative 3 is 9, minus 7 should be less than
negative 3 plus 9 is 6. 9 minus 7 is 2. 2 should be less than 6,
which, of course, it is. Now let's try a value that
definitely should not work. So let's try negative 5. Negative 5 is not
in our solution set, so it should not work. So we have negative 3
times negative 5 minus 7. Let's see whether it is
less than negative 5 plus 9. Negative 3 times negative
5 is 15, minus 7. It really should not be
less than negative 5 plus 9. So we're just seeing if p
equals negative 5 works. 15 minus 7 is 8. And so we get 8 is
less than 4, which is definitely not the case. So p equals negative
5 doesn't work. And it shouldn't work, because
that's not in our solution set. And now if we really want
to feel good about it, we can actually try
this boundary point. Negative 4 should
not work, but it should satisfy the
related equation. When I talk about
the related equation, negative 4 should satisfy
negative 3 minus 7 is equal to p plus 9. It'll satisfy this, but
it won't satisfy this. Because when we get the
same value on both sides, the same value is not
less than the same value. So let's try it out. Let's see whether
negative 4 at least satisfies the related equation. So if we get negative 3
times negative 4 minus 7, this should be equal
to negative 4 plus 9. So this is 12 minus 7 should
be equal to negative 4 plus 9. It should be equal to 5. And this, of course, is true. 5 is equal to 5. So it satisfies the
related equation, but it should not satisfy this. If you put negative
4 for p here-- and I encourage you to do so. Actually, we could
do it over here. Instead of an equals
sign, if you put it into the original inequality--
let me delete all of that-- it really just becomes this. The original inequality
is this right over here. If you put negative
4, you have less than. And then you get 5 is less
than 5, which is not the case. And that's good,
because we did not include that in
the solution set. We put an open circle. If negative 4 was included,
we would fill that in. But the only reason why
we'd include negative 4 is if this was
greater than or equal. So it's good that this does
not work, because negative 4 is not part of our solution set. You can kind of view
it as a boundary point.