View Full Version : absolute values of variables
yourmom98
Oct4-05, 07:46 AM
so if |x|=(x,if x>=0, and -x, if x<0)
then what would be like |x-7| be equal too and how do you do this i do not understand why |x|equals (x,if x>=0, and -x, if x<0) could you explain it to me?
i do not understand why |x|equals (x,if x>=0, and -x, if x<0)
That's the definition of |x|. Try plugging in a few actual numbers to get more comfortable with it.
would be like |x-7| be equal too
If f(x) = (x-3)²+4, do you know how to get f(x-7)? Why can't you do the same thing with |x|?
uchihajeff
Oct4-05, 10:11 AM
Here are a couple examples.
|8+x| equals {8+x if 8+x>=0, -(8+x) if 8+x<0}
|x²-5| equals {x²-5 if x²-5>=0, -(x²-5) if x²-5<0}
Like Hurkyl said above, plugging in numbers will help your understanding.
Picture a number line.
|x-8| is the distance from "8", which you can write in terms of x, as done above.
Try it for |x-0| first.
yourmom98
Oct4-05, 08:16 PM
so basically|x| means the answer is like always positive so therefor there will be a possibility of where the x is negative or -x and positvie just x right? so |x| is like F(x) rite? and if you sub x-7 for f(x) you would get like in order for x to be the positive value it would have to be greater than 7 there for x>=7 and -x would be -x<7?
did i get his right?
honestrosewater
Oct5-05, 01:40 AM
so basically|x| means the answer is like always positiveRight, if you include 0 as a positive number. To avoid confusion about 0, you could also say that |x| is non-negative, which means |x| > 0.
so therefor there will be a possibility of where the x is negative or -x and positvie just x right? so |x| is like F(x) rite? and if you sub x-7 for f(x) you would get like in order for x to be the positive value it would have to be greater than 7 there for x>=7 and -x would be -x<7?I don't really understand that. Perhaps x appearing both in the definition and your example is confusing - the two x's aren't being used in the same way. So let's just change (x - 7) to (y - 7). If you write |x| as f(x), |y - 7| would be f(y - 7); You're setting x = y - 7. Plug (y - 7) into your definition in place of x. It now says
|y - 7| = (y - 7) if (y - 7) > 0; -(y - 7) if (y - 7) < 0.
You already know that |y - 7| will be non-negative, remember. The definition tells you how to turn (y - 7) into a non-negative number.
Let y = 0. (0 - 7) = -7. Plug this into your definition:
|-7| = -7 if -7 > 0; -(-7) if -7 < 0.
-7 < 0. So what does the definition tell you? |-7| = -(-7) = 7.
Let y = 8. (8 - 7) = 1. Do the same thing.
|1| = 1 if 1 > 0; -(1) if 1 < 0.
1 > 0. So what does the definition tell you in this case? |1| = 1.
The definition tells you more than that. But do you understand this part?
The rule is pretty simple - you could say informally that if x is already non-negative, don't do anything to it; If x is negative, do what to it in order to make it non-negative?
vBulletin® v3.7.6, Copyright ©2000-2009, Jelsoft Enterprises Ltd.