# How do you solve abs(x-5)+ abs(2-2x) = 7?

Sep 10, 2015

$x = 0 \text{ }$ or $\text{ } x = 4$

#### Explanation:

The idea here is that you need to looks at the intervals for which the two expressions inside the moduli change signs.

Since the absolute value of a real number is always positive, regardless of the sign of the number, you need to take into account the fact that these expressions can be negative as well.

So, you know that

$x - 5 > 0 \implies x > 5 \text{ }$ and $\text{ } 1 - x > 0 \implies x < 1$

This will produce three intervals which need to be considered

• $x \in \left(- \infty , 1\right)$

In this case, you have

$x - 5 < 0 \implies | x - 5 | = - \left(x - 5\right)$

and

$2 \left(1 - x\right) > 0 \implies | 2 - 2 x | = 2 - 2 x$

The equation becomes

$- \left(x - 5\right) + 2 - 2 x = 7$

$- x + 5 + 2 - 2 x = 7$

$- 3 x = 0 \implies x = 0$

Since you have $0 \in \left(- \infty , 1\right)$, $x = 0$ will be a valid solution to the original equation.

• $x \in \left(1 , 5\right)$

This time, you have

$x - 5 < 0 \implies | x - 5 | = - \left(x - 5\right)$

and

$2 \left(1 - x\right) < 0 \implies | 2 - 2 x | = - \left(2 - 2 x\right)$

The equation will be

$- x + 5 - 2 + 2 x = 7$

$x = 7 - 3 = 4$

Once again, you have $4 \in \left(1 , 5\right)$, so $x = 4$ will be a valid solution.

• $x \in \left(5 , + \infty\right)$

This time, you have

$x - 5 > 0 \implies | x - 5 | = x - 5$

and

$2 \left(1 - x\right) < 0 \implies | 2 - 2 x | = - \left(2 - 2 x\right)$

The equation will be

$x - 5 - 2 + 2 x = 7$

$3 x = 14 \implies x = \frac{14}{3}$

However, $\frac{14}{3} \notin \left(5 , + \infty\right)$, so this solution will be extraneouis.

The only two valid solutions will be

$x = \textcolor{g r e e n}{0} \text{ }$ or $\text{ } x = \textcolor{g r e e n}{4}$