Absolute Value

For a real number, the absolute value of \(x\), denoted \( \lvert x \rvert \), is defined as

x={x,if x0x,if x<0. \left|x \right| = \begin{cases} x, & \text{if } x \geq 0 \\ -x, & \text{if } x < 0. \end{cases}

Here are some properties of the absolute value:

  1. Non-negative: x0 \vert x \rvert \geq 0 for all real values.

  2. x=x2 \lvert x \rvert = \sqrt{ x^2 } and x2=x2\lvert x \rvert^2 = x^2 for all real values.

  3. Multiplicative: xy=xy \lvert xy \rvert = \lvert x \rvert \cdot \lvert y \rvert .

  4. Sub-additive: x+yx+y \lvert x+y \rvert \leq \lvert x \rvert + \lvert y \rvert .

  5. Symmetry: x=x \lvert -x \rvert = \lvert x \rvert .

  6. Distance to origin: x \lvert x \rvert measures the geometric distance of the real number xx to the origin 00. Since distance is always positive, the absolute value of a number is always positive. Thinking of absolute value as the distance from zero is also helpful when considering complex numbers z=a+bi z = a + bi . This distance from z z to the origin is given by the distance formula: distance(a,b)(0,0)=(a0)2+(b0)2 \text{distance}_{(a,b)\leftrightarrow(0,0)} = \sqrt{(a-0)^2 + (b-0)^2} In fact, this is also the definition of the absolute value for a complex number z=a+bi z = a+bi :

z=a2+b2 \left| z \right| = \sqrt{a^2 + b^2}

Worked Examples

1. Find all real values xx satisfying x3=5 \lvert x - 3 \rvert = 5 .

Solution 1: If x30 x-3 \geq 0 , then we need to solve x3=5 x-3 = 5 , which gives x=8 x = 8 . This satisfies the original condition of x30 x - 3 \geq 0 , hence is a valid solution. If x3<0 x-3 < 0 , then we need to solve (x3)=5 -(x-3) = 5 , which gives x+3=5 -x+3 = 5 or x=2 x = -2 . This satisfies the original condition of x3<0 x-3 < 0 , hence is a valid solution.

Solution 2: Using property 2, we obtain (x3)2=x32=52 (x-3)^2 = \lvert x-3\rvert ^2 = 5^2, or x26x+9=25 x^2 - 6x + 9 = 25 , which reduces to 0=x26x16=(x8)(x+2) 0 = x^2 -6x - 16 = (x-8)(x+2) . This has solutions x=8,2x=8, -2 . We can verify that both of these are solutions.

2. How many real values xx satisfy x21=x2 \lvert x^2 -1 \rvert = \lvert x-2 \rvert ?

Solution: Let's approach this problem by considering the different regions. We have x210x1,x1 x^2 -1 \geq 0 \Leftrightarrow x\leq -1, x \geq 1 . Also, x20x2 x -2 \geq 0 \Leftrightarrow x \geq 2 .

If x1x \leq -1 then we have x21=2x x^2 -1 = 2 - x , or x2+x3=0 x^2 + x - 3 = 0 . This has roots 1±124×1×(3)2 \frac{-1 \pm \sqrt{ 1^2 - 4 \times 1 \times (-3) }} {2} , of which only the choice of - satisfies x<1 x < -1 . There is one solution in this case.

If 1x1 -1 \leq x \leq 1 , then we have 1x2=2x 1 - x^2 = 2 - x , or x2x+1=0 x^2 -x + 1 = 0 . This has roots 1±124×1×12 \frac { 1 \pm \sqrt{ 1^2 - 4 \times 1 \times 1 } } {2} which are not real. Hence, there are no solutions in this case.

If 1x2 1 \leq x \leq 2 , then we have x21=2x x^2 -1 = 2 - x , or x2+x3=0 x^2 + x - 3 = 0. We check that the root 1+132 \frac{ -1 + \sqrt{13} } { 2} is within this domain. Hence, there is one solution in this case.

If 2x 2 \leq x , then we have x21=x2 x^2-1 = x - 2 , or x2x+1=0 x^2 - x + 1 = 0 . This has no real root.

Hence, there are two real values xx which satisfy x21=x2 \vert x^2 -1 \rvert = \lvert x-2 \rvert .

3. Prove the sub-additive property:

x+yx+y. \lvert x+y \rvert \leq \lvert x \rvert + \lvert y \rvert.

Solution 1: We apply the triangle inequality to the triangle with vertices O=0 O = 0 , A=x A = x , B=y B = -y on the real number line. Then ABOA+OB AB \leq OA + OB , implying x(y)x+y \lvert x - (-y) \rvert \leq \lvert x \rvert + \lvert y \rvert .

Solution 2:

If x,y0 x, y \geq 0 , then x+y=x+y,x+y=x+y \lvert x+y \rvert = x+y, \lvert x \rvert + \lvert y \rvert = x + y , so x+yx+y \lvert x+y \rvert \leq \lvert x \rvert + \lvert y \rvert .

If x,y0 x, y \leq 0 , then x+y=xy,x=x,y=y \lvert x+y \rvert = -x -y, \lvert x \rvert = -x, \lvert y \rvert = - y , so x+yx+y \lvert x+y \rvert \leq \lvert x \rvert + \lvert y \rvert .

If xy0 x \geq -y \geq 0 , then x+y=x+y,x=x,y=y \lvert x+y \rvert = x+y, \lvert x \rvert = x, \lvert y \rvert = -y so x+y=x+yxy=x+y \lvert x+y \rvert = x+y \leq x -y = \lvert x \rvert + \lvert y \rvert. Likewise, if yx0 y \geq -x \geq 0 .

If xy0 x \leq -y \leq 0 , then x+y=xy,x=x,y=y \lvert x+y \rvert = -x - y , \lvert x \rvert = -x, \lvert y \rvert = y, so x+y=xyx+y=x+y \lvert x+y \rvert = -x - y \leq -x + y = \lvert x \rvert + \lvert y \rvert . Likewise, if yx0 y \leq x \leq 0 .

For more problems, see the Technique Trainer.

Note by Calvin Lin
8 years, 1 month ago

No vote yet
24 votes

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

Typo in #1, Sol'n 2: (x3)2=x22 (x-3)^2=|x-2∣^2 . I believe it should be x32 |x-3|^2 .

Jonathan Wong - 8 years, 1 month ago

Log in to reply

Updated. Thanks!

Calvin Lin Staff - 8 years, 1 month ago

Typo in #2: In the first line of math text of the solution, it should read x1,x1x\leq -1, x\geq 1

Bob Krueger - 8 years, 1 month ago

Log in to reply

Updated. Thanks!

Calvin Lin Staff - 8 years, 1 month ago

Log in to reply

Welcome!

Vamsi Krishna Appili - 8 years, 1 month ago

Log in to reply

@Vamsi Krishna Appili You didn't even say anything,

Tim Ye - 8 years, 1 month ago

How is the result in the fist line of Solution 2 for Example 1 made? Apologies, I'm a little confused.

Skyler Hill - 8 years, 1 month ago

Log in to reply

If you are referring to the "(x3)2=x22(x - 3)^2 = |x - 2|^2," it is simply a typo and should read "x32|x - 3|^2."

Sotiri Komissopoulos - 8 years, 1 month ago

Log in to reply

Yes, I was just trying to confirm that it was a typo. Thank you!

Skyler Hill - 8 years, 1 month ago

An alternative proof of the sub-additive property:

Recall that if a,b0a,b\geq0, then aba\leq b is equivalent to a2b2a^2\leq b^2.

Let a=x+y,b=x+ya=|x+y|,b=|x|+|y|. We now need to show that a2b2a^2\leq b^2, i.e. x2+y2+2xyx2+y2+2xy.x^2+y^2+2xy \leq x^2+y^2+2|x||y|.This is true since xyxy=xyxy\leq|xy|=|x||y|.

Ang Yan Sheng - 8 years, 1 month ago

Nice post Master Calvin, I am waiting it ready to post in the blog.. :D

Andrias Meisyal - 8 years, 1 month ago

awesum post......i was really in need of clarification over this topic....thank u Calvin Sir. ....

A Former Brilliant Member - 8 years, 1 month ago

Hi,calvin l. I read this article on high school in my country, When you learn it?

hamid hassani - 8 years, 1 month ago

Log in to reply

I'm not certain what you mean. Absolute value is generally taught in high school.

Calvin Lin Staff - 8 years, 1 month ago
×

Problem Loading...

Note Loading...

Set Loading...