Absolute value

Absolute value is a distance on the number line. Open |…| using given conditions such as x < y < 0, solve equations with absolute value and find unknowns from conditions like |…| + √(…) = 0.

  • Intermediate
  • 20 min
  • 15 questions
  • Lesson 42 of 53

In this lesson you will learn

  • Explain absolute value as a distance on the number line; |x − a| is the distance between x and a.
  • Simplify expressions with |…| using sign conditions.
  • Solve |f(x)| = k and |f(x)| = |g(x)|, and check the condition when x is on the right side.
  • Set each term to zero in conditions like |A| + √B + C² = 0.

Absolute value has appeared twice among the TR-YÖS items ÖSYM published: TMT item 19 of 2024-TR-YÖS/2 required opening |…| under a condition like x < y < 0, and one of the official samples had a condition |…| + √(…) = 0. By our estimate a test has 1 such item. In all of them the key is the same: the sign of what is inside.

The full theory is in Mathematics, in the lessons «Positive and negative numbers, the number line and absolute value» and «Equations and inequalities with absolute value». The sign reasoning continues in the next lesson, «Inequalities and sign reasoning».

Absolute value is a distance

|a| is the distance from the point a to 0. A distance is never negative: |3| = 3, |−3| = 3. |x − a| is the distance between the points x and a. This view solves many items without calculation: |x − 3| ≤ 2 means «points at most 2 away from 3», that is 1 ≤ x ≤ 5. Look at the picture.

|x − 3| ≤ 2 ⇔ 1 ≤ x ≤ 5−10123456722points whose distance from 3 is at most 2
|x − a| ≤ r is a «band» with centre a and radius r: a − r ≤ x ≤ a + r.

Example 1: distances on the number line

Problem

1) |x + 2| ≤ 3 — how many integer solutions?
2) |x − 1| > 2 ⇒ ?
3) |2x − 6| ≤ 4 ⇒ ?

Show solutionHide solution

Solution

1) |x + 2| = |x − (−2)| is the distance from x to −2. Points at most 3 away from −2: −5 ≤ x ≤ 1. The integers −5, −4, …, 1 — 7 of them.
2) Points more than 2 away from 1: x < −1 or x > 3 (two rays, not a band).
3) Take out the 2: |2x − 6| = 2|x − 3| ≤ 4 ⇒ |x − 3| ≤ 2 ⇒ 1 ≤ x ≤ 5.

Definition of absolute valueDefinition

If a number is positive or zero, its absolute value is the number itself: |a| = a. If it is negative, the absolute value is its opposite: |a| = −a. Here «−a» is a positive number: for a = −4, −a = 4.

|a| = a (a ≥ 0)|a| = −a (a < 0)

Where

a
any number or expression

if the inside is negative, the bars flip every sign

Sign up free to keep reading

The rest of the lesson, the quiz and your notes open with an Educora account. Signing up takes a minute, and your progress is saved on all your devices.

Opening |…| by the sign

A TMT item usually gives a condition (x < 0 < y, 2 < x < 5, a < b < 0) and asks you to simplify an expression with |…|. For each |…| ask one question: is the inside positive or negative? If positive, drop the bars like a bracket. If negative, drop them and flip every sign inside: for x − 5 < 0, |x − 5| = 5 − x.

The sign of a difference is easy: «bigger − smaller» is positive, «smaller − bigger» is negative. The picture shows |x − 2| + |x − 5| for 2 < x < 5: x − 2 is the distance from x to 2 and 5 − x the distance from x to 5. The sum is always 3, wherever x is.

01234567xx − 25 − x(x − 2) + (5 − x) = 32 < x < 5
The two distances together make the whole distance between 2 and 5.

Example 2: open with a condition

Problem

1) x < 0 < y ⇒ |x − y| + |x| − |y| = ?
2) 2 < x < 5 ⇒ |x − 2| + |x − 5| = ?
3) a < b < 0 < c ⇒ |a − b| + |b − c| − |a − c| = ?

Show solutionHide solution

Solution

1) x − y < 0 ⇒ |x − y| = y − x; |x| = −x; |y| = y. Sum: (y − x) + (−x) − y = −2x.
2) (x − 2) + (5 − x) = 3.
3) a − b < 0 ⇒ b − a; b − c < 0 ⇒ c − b; a − c < 0 ⇒ c − a. (b − a) + (c − b) − (c − a) = 0.

Remember from the roots lesson: √(a²) = |a|. So an expression like √((x − 3)²) is opened as an absolute value too: for x < 3, √((x − 3)²) = 3 − x.

Equations with absolute value

In |f(x)| = k we say «the distance of f(x) from 0 is k». If k is negative there is no solution. If k = 0, then f(x) = 0. If k is positive there are two cases: f(x) = k and f(x) = −k. If x appears on the right (|x − 4| = 2x − 2), the right side must be ≥ 0 — check the roots against this condition.

|f(x)| = k, k > 0 ⇔ f(x) = k or f(x) = −k|f(x)| = |g(x)| ⇔ f(x) = g(x) or f(x) = −g(x)

Where

k
the number on the right: for k < 0 there is no solution

two cases: the inside equals k or −k

Example 3: four equations

Problem

1) |2x − 3| = 7 ⇒ x = ?
2) |x + 1| = −4 ⇒ x = ?
3) |x − 1| = |2x + 4| ⇒ x = ?
4) |x − 4| = 2x − 2 ⇒ x = ?

Show solutionHide solution

Solution

1) 2x − 3 = 7 ⇒ x = 5; 2x − 3 = −7 ⇒ x = −2. x = 5 or x = −2 (sum 3).
2) An absolute value cannot be negative — no solution.
3) x − 1 = 2x + 4 ⇒ x = −5; x − 1 = −2x − 4 ⇒ x = −1. x = −5 or x = −1.
4) Condition: 2x − 2 ≥ 0 ⇒ x ≥ 1. x − 4 = 2x − 2 ⇒ x = −2 ✗ (not ≥ 1). x − 4 = −2x + 2 ⇒ x = 2 ✓. Answer x = 2 (|−2| = 2 = 2 ✓).

When a sum of non-negatives is zero

An absolute value, a square root and a square are never negative. If a sum of such expressions is 0, each one must be 0: if one were positive, the sum would be positive too. This is how one equation can give two or three unknowns — the picture shows three «≥ 0» boxes whose sum is 0, so each of them is 0.

|x − 2|≥ 0= 0+√(y + 3)≥ 0= 0+(z − 1)²≥ 0= 0sum = 0 ⇒ each one is 0 on its own
From this: x = 2, y = −3, z = 1.
|A| + √B + C² = 0 ⇒ A = B = C = 0

Where

A, B, C
expressions; B ≥ 0 for √B

if a sum of non-negative terms is 0, every term is 0

Example 4: every term is zero

Problem

1) |x − 2| + √(y + 3) = 0 ⇒ x · y = ?
2) |x + y − 5| + (x − y − 1)² = 0 ⇒ x · y = ?

Show solutionHide solution

Solution

1) x − 2 = 0 and y + 3 = 0 ⇒ x = 2, y = −3 ⇒ x · y = −6.
2) x + y = 5 and x − y = 1. Add: 2x = 6 ⇒ x = 3, y = 2 ⇒ x · y = 6.
  1. Write out each inside

    x − y, x, y − z … — get the sign of each one from the condition.

  2. Open by the sign

    Positive — as it is; negative — flip all the signs (multiply by −1).

  3. Collect like terms

    Open the brackets carefully: −|x − y| = −(y − x) = x − y.

  4. Check with a test number

    Plug in numbers that satisfy the condition and compare your answer with the option.

Practice task (TR-YÖS style)

Problem

x < −1 ⇒ |x + 1| − |x − 2| + |2x| = ?

A) −2x − 3 B) −2x + 1 C) −3 D) 2x − 3 E) 4x + 1

Show solutionHide solution

Solution

1) x + 1 < 0 ⇒ |x + 1| = −x − 1.
2) x − 2 < 0 ⇒ |x − 2| = 2 − x.
3) 2x < 0 ⇒ |2x| = −2x.
4) (−x − 1) − (2 − x) + (−2x) = −x − 1 − 2 + x − 2x = −2x − 3.
Answer: A) −2x − 3. Test: x = −2 ⇒ 1 − 4 + 4 = 1 and −2 · (−2) − 3 = 1 ✓.

Remember

  • |a| is the distance from 0 and |x − a| the distance between x and a; an absolute value is never negative.
  • Inside ≥ 0 — drop the bars; inside < 0 — drop them and flip all signs: x < 5 ⇒ |x − 5| = 5 − x.
  • |f(x)| = k (k > 0) ⇒ f(x) = ±k; k < 0 ⇒ no solution; with x on the right, the right side ≥ 0.
  • |A| + √B + C² = 0 ⇒ A = B = C = 0.
  • |x − a| ≤ r ⇔ a − r ≤ x ≤ a + r; √(a²) = |a|.
Spotted a mistake or something inaccurate in this lesson?

Check yourself

15 questions. Every correct answer earns XP.

Question 1 / 15

Question 1 / 15. |−7| − |3 − 8| + |−2| · 3 = ?