Evaluate x in this absolute value form equation

40 Views Asked by At

|x-1|+|x-2|=|x-3| Can you show me the solution to this equation?

1

There are 1 best solutions below

0
On

You would need to consider several cases.

Case 1: $x\geq 3$

Then the equality would simplify as $$ (x-1)+(x-2) = (x-3) \iff 2x = x \iff x=0. $$ Hence, no $x\geq 3$ satisfies the equality.

Case 2: $3>x\geq 2$ would yield $$ (x-1)+(x-2) = 3-x \iff 3x = 6 \iff x = 2. $$ Thus, $x=2$ is the only value that satisfies the equality in this range.

Case 3: $2>x\geq 1$ would yield $$ (x-1)+(2-x) = 3-x \iff x = 2. $$ Thus, nothing works in this range.

Finally,

Case 4: $1>x$ yields $$ (1-x)+(2-x) = 3-x \iff 2x = x \iff x=0, $$ hence, $x=0$ is in this range, thus satisfies the equality.

In short, $x\in \{0,2\}$ satisfy the equality.