what are the numbers represent x for which are lxl=l
Answers
Answer:
Mathematical Expression for |x| goes like,
|x| = x , x>=0 and
|x| = -x, x<0
Let me explain this,
The ultimate aim of taking modulus of a variable is to find the absolute value or magnitude of the variable or vector and ignore the sign or direction (in case of vectors).
So, if x is positive, we are done .Just return x
Else,
If x is negative, to return the magnitude…..we got to return the negative(-1) of the variable x (which itself is negative) as multiplying a negative number by -1 makes it positive, So thats why we are returning -x.
|| Two straight lines denotes the mod which is a type of function which means it will always gives us a positive value (output) even on Nagative input”
Let us understand by an example—
|2|=2|2|=2
It gives positive value but here 22 is already positive so there is no means of mod.
|−2|=2|−2|=2
Here, as we know mod gives positive value.
But inside mod there is Nagative here it work and make −2−2 a positive and our output is positive.
Here, we concluded that A mod gives a positive quantity on Nagative input and at positive input it's work is not considerable.
Now your question “|x|”“|x|” means
When we put x a positive number it remains as it is i.e
|x|=x|x|=x
But when we put Nagative value it makes it positive i.e
|−x|=x|−x|=x
Simply A mod function always gives a positive value.