|x-1|+|x+1|=2
1) We solve in ℝ: |x -1| + |x + 1| = 2
The absolute-value arguments are zero at { -1, 1 }. Split ℝ at these points and solve on each interval
On (-∞, -1]: x -1 ≤ 0, so |x -1| = -(x -1) ; x + 1 ≤ 0; therefore, |x + 1| = -(x + 1)
On (-∞, -1], the equation becomes -(x -1) -(x + 1) = 2
2) We solve in ℝ: -(x -1) -(x + 1) = 2
-x + 1 -x -1 = 2
ⓘ Start from 1 and move back 1 on the number line, down to zero: 1 -1 = 0■Like terms are grouped by adding their coefficients: -x -x = -2x
-2x + 0 = 2
ⓘ Adding 0 preserves the original value: -2x + 0 = -2x
-2x = 2
ⓘ Divide both sides by -2
x = 2-2
ⓘ The sign of a fraction goes in front of the bar, whether it comes from the numerator or the denominator: 2-2 = -22
x = -22
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: -22 = -1
Solution obtained: x = -1
Since -1 ≤ -1, we can keep the solution -1
On [-1, 1]: x -1 ≤ 0, so |x -1| = -(x -1) ; x + 1 ≥ 0; therefore, |x + 1| = x + 1
On [-1, 1], the equation becomes -(x -1) + (x + 1) = 2
3) Let's solve in ℝ: -(x -1) + (x + 1) = 2
ⓘ With a minus sign before parentheses, change the sign of every term inside: -(x -1) = -x + 1
-x + 1 + x + 1 = 2
ⓘ Start from 1 and move forward 1 on the number line: 1 + 1 = 2■Like terms are grouped by adding their coefficients: -x + x = 0
0 + 2 = 2
ⓘ Adding 0 preserves the original value: 0 + 2 = 2
2 = 2
ⓘ We subtract 2 from both sides
2 -2 = 0
ⓘ Start from 2 and move back 2 on the number line, down to zero: 2 -2 = 0
0 = 0
Solution obtained: x ∈ ℝ
The equation holds for every x in [-1, 1]: keep the whole interval
On [1, +∞): x -1 ≥ 0; therefore, |x -1| = x -1 ; x + 1 ≥ 0, so |x + 1| = x + 1
On [1, +∞), the equation becomes (x -1) + (x + 1) = 2
4) We solve in ℝ: (x -1) + (x + 1) = 2
ⓘ Start from -1 and move forward 1 on the number line, up to zero: -1 + 1 = 0■Group like terms by adding their coefficients: x + x = 2x
2x + 0 = 2
ⓘ Adding 0 preserves the original value: 2x + 0 = 2x
2x = 2
ⓘ Both sides are divided by 2
x = 22
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 22 = 1
Solution found: x = 1
As 1 ≥ 1, we can keep the solution 1
▶Solution obtained: x ∈ [-1, 1]