Steply

Solve |x| = |x - 6|

Step by step, with the reason for every step · |u| = |v| equations · Algebra 1

Step by step

The question

Question: solve |x| = |x − 6|.

|x| = |x − 6|

Both bars give how far from 0.

Two numbers the same distance from 0 are equal, or opposite.

Like 3 and minus 3.

|A| = |B| → A = B or A = −B
|3| = |−3|: 3 and −3 are both 3 away from 0

Careful!

The minus is for the whole of x − 6.

Every sign in the bracket changes.

Careful: not x = −x − 6 ✗

1 Two cases

So x = x − 6, or x = −(x − 6).

We keep the bracket: the minus is for all of it.

x = x − 6 or x = −(x − 6)

2 Solve the first case

First case: x = x − 6.

x = x − 6

3 Get x on one side

There is x on both sides.

We want x on one side only.

So we remove the x from the right side.

To remove x, we take away x.

We do it on both sides, so they stay equal.

x − x = x − 6 − x

x and − x make zero.

Cross them out.

x − x = 0.

x − x = 0

0 = −6 is false for every x.

So this case gives no x.

0 = −6 false

4 Solve the second case

Second case: x = −(x − 6).

x = −(x − 6)

5 Open the brackets

A minus in front of a bracket changes the sign of every part inside.

x becomes −x.

−6 becomes +6.

x = −x + 6

6 Get x on one side

There is x on both sides.

We want x on one side only.

So we remove the −x from the right side.

To remove −x, we add x.

We do it on both sides, so they stay equal.

x + x = −x + 6 + x

− x and + x make zero.

Cross them out.

x + x = 2x.

x + x = 2x

Now we have 2x = 6.

2x = 6

7 Remove the 2

2x means 2 times x.

We want just x.

To remove times 2, we divide by 2.

We do it on both sides, so they stay equal.

2x2 = 62

2 divided by 2 is 1.

So just x is left.

6 divided by 2 is 3.

62 = 3

So x = 3!

x = 3

8 Write the answers

Only one case works.

So x = 3.

x = 3

9 Check

Let's check: put x = 3 in.

The left bars give 3.

x = 3: |3| = 3

The right bars give 3 too.

The same!

|3 − 6| = |−3| = 3

Let's look back.

First: two cases.

Then: solve the first case.

Then: get x on one side.

Then: solve the second case.

Then: open the brackets.

Then: get x on one side.

Then: remove the 2.

Then: write the answers.

Last: check.

Answer
x = 3

Your turn

Try this one yourself, then check:

Solve |x| = |x − 2|
Show the answer
x = 1

More from |u| = |v| equations

The whole lesson: |u| = |v| equations →