Steply

Solve 5 < 2 - x < 8

Step by step, with the reason for every step · Compound inequalities · Algebra 1

Step by step

The question

Question: solve 5 < 2 − x < 8.

x is in the middle, between two numbers.

5 < 2 − x < 8

1 Remove the 2

We want x by itself.

The 2 is in the way.

To remove 2, we take away 2.

We do it to all three parts.

Why all three?

The signs compare the three parts.

If we change only one part, the answer can change.

5 − 2 < 2 − x − 2 < 8 − 2

2 and − 2 make zero.

Cross them out.

5 minus 2 is 3.

8 minus 2 is 6.

5 − 2 = 3
8 − 2 = 6

Now we have 3 < −x < 6.

3 < −x < 6

2 Remove the −1

−x means −1 times x.

We want just x.

To remove times −1, we divide by −1.

We do it to all three parts.

We divide by a negative number.

That turns both signs around.

3−1 > −1x−1 > 6−1

−1 divided by −1 is 1.

So just x is left.

3 divided by −1 is −3.

6 divided by −1 is −6.

3−1 = −3, 6−1 = −6

Now we have −3 > x > −6.

−3 > x > −6

We turn it around, so the small number is on the left.

It says the same thing.

So x is between −6 and −3: −6 < x < −3.

−6 < x < −3

3 Show it on a number line

Books also write the answer like this.

It is called interval notation.

A round bracket means the end is not in, like the open circle.

interval: (−6, −3)

4 Check

Let's test one number from the answer: −4.

We put it in place of x in the middle part.

Middle: 2 − (−4) = 2 + 4 = 6

6 is greater than 5, and less than 8.

True!

So the answer works.

5 < 6 < 8

Let's look back.

First: remove the 2.

Then: remove the −1.

Then: show it on a number line.

Last: check.

Answer
−6 < x < −3

Your turn

Try this one yourself, then check:

Solve 10 < 5 − x < 12
Show the answer
−7 < x < −5

More from Compound inequalities

The whole lesson: Compound inequalities →