why is this true? I mean, why is a modulus function giving an negative x?

5 Answers

Hi u/NewBlackstar,

**You are required to explain your post and show your efforts. _(Rule 1)_**

Please add a comment below explaining your attempt(s) to solve this and what you need help with **specifically**. If some of your work is included in the image or gallery, you may make reference to it as needed. See the sidebar for advice on 'how to ask a good question'. Don't just say you need help with it.

**Failure to follow the rules and explain your post will result in the post being removed**

---

*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/askmath) if you have any questions or concerns.*
I understand why x if x >= 0
but I cant wrap my head around a modulus function giving a negative value: -x if x < 0
It’s value would be -x , becausethe negative of a negative is positive.
sqrt(x^2 ) asks for the positive root of x^2 . Therefore, it’s equal to the absolute value of x. The piecewise function is the definition of absolute value; keep it unchanged for positive x, and multiply by -1 for negative x.
There is no modulus function.

Edit: ok, TIL "modulus" is yet another word for "absolute value"

In which case, as others have noted, it's not returning a negative number; if x<0 then it's returning a negative negative (positive) number.

Related questions

0 like 0 dislike
1 answer
Are the S3/S4 Edexcel Further Maths units useful to become an actuary? Topics include sampling, unbiased and biased estimators, confidence intervals and significance test...
0 like 0 dislike
9 answers
Has anyone successfully guessed on like half of the questions on an exam and still passed?
0 like 0 dislike
19 answers
What do you do after an exam without instant results?
0 like 0 dislike
26 answers
Why is it boring to be an actuary?
0 like 0 dislike
7 answers
Using SOA suggested text books to study for an exam