Questions tagged [absolute-value]

For questions about or involving the absolute value function also known as modulus function.

The absolute value function, usually denoted by $|x|$, is a function $\mathbb{R} \to [0, \infty)$ which can be defined in three equivalent ways:

  1. $|x| = \begin{cases}x &\ \text{if $x \ge 0$, and} \\ -x &\ \text{if $x < 0$.} \end{cases}$

  2. $|x| = \sqrt{x^2}$, and

  3. $|x| = \max \{x, -x\}$.

This definition extends to complex numbers as the square root of the norm: $|x+iy|=\sqrt{x^2+y^2}$. In both cases, the function may be interpreted geometrically as the distance of the input number from the origin.


More generally, an absolute value may be defined on an field (or integral domain) $k$ as a function $|\cdot | : k \to \mathbb{R}$ which satisfies the axioms

  1. (nonnegativity) $|x| \ge 0$ for all $x \in k$,

  2. (definiteness) $|x| = 0 \iff x = 0 \in k$,

  3. (multiplicativity) $|x y| = |x||y| $ for all $x,y\in k$ ), and

  4. (triangle inequality) $|x+y| \le |x| + |y|$ for all $x,y\in k$.

For example, if $p$ is a fixed prime number and $x \in \mathbb{Q}$, then there exists a unique $n \in \mathbb{Z}$ such that $x$ may be written as $$ x = p^n \frac{a}{b}, $$ where $\gcd(p, a) = \gcd(p, b) = 1$. The function which maps $x$ to $p^{-n}$ is an absolute value on $\mathbb{Q}$, called the $p$-adic absolute value.

3133 questions
2
votes
3 answers

How to solve this multiple-absolute-value equation using regions-in a number line method?

How to solve this multiple-absolute-value equation using three-region number line? I can solve it with combination of giving each absolute value a negative sign and leaving it as it is. There are four combinations. The method using regions in…
2
votes
1 answer

Difference between $|X|$ and $||X||$

I have an algorithms class and a question is referring to $||X||$. I know that $|X|$ would be referring to the size of an object, I have searched around and only found information about vectors that I do not entirely understand. What does this…
2
votes
2 answers

Absolute value equation problem

What are the solutions to the equation $|x^2−1|+|x^2−4|=ax$ where $a, x$ are integers? So far I've found two solutions just by guessing, they are $(a,x)=(3,1)$ and $(a,x)=(-3,-1)$. I've thought of using the $(x−y)(x+y)=x^2−y^2$ identity, but that…
fic19292
  • 593
2
votes
3 answers

Absolute value equation infinite solutions

$$|3-x|+4x=5|2+x|-13$$ One of the solutions is $[3,\infty)$ I'm not familiar with interval solutions for absolute equations. How to solve for this interval?
2
votes
3 answers

Why do we have a symbol for the absolute value function rather than simply $\sqrt{x^2}$

I was looking at my calculator and saw the abs() function to which I thought, this function is fairly unnecessary. So I suppose my question is: is abs(x) different from sqrt(x^2) in some way? If they are not different, why is it so common to see…
Curtis
  • 133
2
votes
1 answer

Prove that if $x \in \mathbb{R}$ and $y \in \mathbb{R}$, then $xy \leq |xy|$.

Prove that if $x \in \mathbb{R}$ and $y \in \mathbb{R}$, then $xy \leq |xy|$. Proof (Attempt): Case $1$ : $x \geq 0$ and $y \geq 0$. Then $xy \geq 0$ so $xy =|xy|$. Case $2$ : $x \geq 0$ and $y < 0$. Then $xy \leq 0$ so $xy \leq |xy|$. Case $3$ : $x…
2
votes
2 answers

Compare values of P and K

I am preparing for GRE. These two problems are from Manhattan 5lb book. I am finding absolute value equations very daunting. Sometimes it is time consuming, sometimes it seems very difficult to me. Following two are comparison problems. You have to…
2
votes
4 answers

How can an absolute value equation with a variable have both a positive, and negative answer?

I thought absolute values are supposed to be a number's distance from 0, which is always positive. So I had this equation: | 7 – y | = 12 According to practice tests they say this, This equation means we need to solve two equations: 7–y=12, and…
2
votes
2 answers

absolute value binomial split into two absolute values

$$ |a-b| = |a|-|b| $$ I think I might missing something with absolute values. Can I split a binomial into two separate absolute values like above?
2
votes
2 answers

Absolute value of numbers

The absolute value of the sum of -5 and twice a number is 19. Find the number. I have a problem with this question because i do not fully understand absolute value and this question is a little trucky for me.
Pecan
  • 21
2
votes
2 answers

For real numbers a and b, when is the equation |a + b| = |a – b| true?

I put that the statement was true only when a = 0 and b = 0 but the correct answer was that it only held true for a = 0 OR b = 0. With 'and' I figured |0 + 0| = 0 and |0 - 0| = 0. Could someone explain why my answer was incorrect? Thank you.
2
votes
2 answers

Forcing an absolute value of x after a square root operation

Given the following two equations: $$ f(x) = x \\ g^2(x) = 2x $$ I need to find the $(x,y)$ coordinates for when they meet. So after performing the square root operation, we have: $$ f(x) = x \\ g(x) = \pm\sqrt{2\lvert x\rvert} $$ So when trying to…
Dor
  • 1,074
2
votes
3 answers

Prove: Use the triangle inequality to prove that for all $x, y, z, | x − z | ≤ | x − y | + | y − z |$

Prove: Use the triangle inequality to prove that for all $x, y, z, |x-z|≤|x−y|+|y−z|$ Is my proof correct? Proof: Let $a = x-y$, and $b=y-z$. We can say that $|a+b| = |(x-y) + (y-z)| = |x - z|$. Further more we can say: $$|a| + |b -a| \ge |a + b…
lucidgold
  • 1,054
1
vote
2 answers

Absolute value proof with epsilon

I'm having trouble with this proof. any hints would be greatly appreciated! If $x$ is a positive real number, show that for some $\epsilon$ $>0, $ then $y\in \Bbb{R}$ is positive if $|(x-y)|< $ $\epsilon$.
1
vote
5 answers

How to solve this absolute value equation?

Consider the absolute value equation: |x| + |x-2| +|x-4|= 6 How to find the solution(s)? My attempt: For |x|, we got x, for x>=0 and -x, for x <0 For |x-2|, we got x-2, for x >= 0 and -(x-2), for x<0 For |x-4|, we got x-4, for x>=0 and -(x-4), for…
akusaja
  • 2,551