51.8k views
2 votes
|x-y| if x < y


Help Pls!!!

2 Answers

6 votes

Answer:

y -x

Explanation:

You want to know the value of |x -y| when x < y.

Absolute value

The absolute value function is defined piecewise:


|x|=\begin{cases}-x,&amp;\text{for }x < 0\\x,&amp;\text{for }x\ge0\end{cases}

Application

When this is applied to the given expression, it becomes ...


|x-y|=\begin{cases}y-x,&amp;\text{for }x < y\\x-y,&amp;\text{for }x\ge y\end{cases}

Since we're concerned only with the case x < y, the value is ...

|x -y| = y -x . . . . . when x < y

<95141404393>

User Cognitronic
by
7.4k points
3 votes

Answer and Explanation:

The absolute value expression:

| x - y |

yields the positive difference between the numbers x and y.

__

The absolute value function is defined as:


| \, x\, | = \begin{cases}x \ \ \, \text{ if } x > 0 \\ -x \text{ if } x < 0\end{cases}

__

To write a statement that is equal to the given one but without the absolute value, we have to use the information that:

  • y is greater than x

and therefore it must be the number being subtracted from:

  • y - x
User Yoli
by
7.7k points