6

In mathematics, the absolute value of a number n is either −n if n is negative or n itself if otherwise.

Is there a single word or shorter description for the replacement of n with its absolute value?

Andrew Leach
  • 101,901
stefan
  • 202
  • I think you would call it "modulus n" but writing |n| is shortest of all. Perhaps I've misunderstood the question. [Sorry, can't get an italic n inside vertical bars] – Andrew Leach Jul 22 '12 at 22:30
  • @AndrewLeach No, modulus is something else; it’s the remainder function, as in 7 mod 3 is 1 (because 3 goes into 7 twice with a remainder of 1), usually written 7 % 3 == 1 in C-derived programming languages. – tchrist Jul 22 '12 at 22:35
  • 5
    @tchrist I know that as modulo, not modulus. – Andrew Leach Jul 22 '12 at 22:37
  • 1
    @AndrewLeach I’ve only heard magnitude for abs(x), never modulus. I would just hate for a paired ‑us and a ‑o term to be that different, because it’s just a different case ending to, or a different/later evolution of, the same Latin word. For a good time, try to find programming languages that allow you to actually write abs(x) as |x|. – tchrist Jul 22 '12 at 22:41
  • 1
    RE modulo/modulus: My understanding is that in the expression x % y = z, e.g. 7 mod 3 = 1, y is the modulus, and we read the expression as "x modulo y equals z". – Jay Jul 23 '12 at 03:23
  • 1
    From Wikipedia, "In mathematics, the absolute value (or modulus) | a | of a real number a is the numerical value of a without regard to its sign. So, for example, the absolute value of 3 is 3, and the absolute value of –3 is also 3. The absolute value of a number may be thought of as its distance from zero." – coleopterist Jul 23 '12 at 06:58
  • 1
    I think modulus might be more common in complex analysis. That is where I remember using it in the way @AndrewLeach suggests. For complex numbers of the form z = a + 0i, the modulus of z equals the absolute value of a. – Daniel Harbour Jul 23 '12 at 12:07
  • 9 years later, for anyone who would like a mathematician's perspective, it is definitely the case that the absolute value of a number is sometimes referred to as its modulus, as @DanielHarbour says perhaps most often in the complex-analysis setting. (Bourbaki uses the even more confusing 'module'!) This probably inspired the term ’modular function’ (in the Haar-measure context). – LSpice Sep 24 '21 at 16:26

2 Answers2

7

|n| is called taking its magnitude. That is the value without the sign, if you would.

tchrist
  • 134,759
  • 1
    Your format does not fit the mobile version of EL&U; you should edit the following string that is shown on the screen: ⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠ –  Jul 22 '12 at 23:06
  • 1
    Furthermore, as engineer, I do not ever hear "magnitude" to refer to abs(Z). –  Jul 22 '12 at 23:11
  • 6
    @Carlo_R. There is no string shown on the screen. I have no idea what you are talking about. If there are requirements about this smartypantys phone of yours that everyone is expected to follow, they should be built into the edit widget. And they aren’t. Try a real computer. – tchrist Jul 22 '12 at 23:54
  • 2
    Whatever happened to "Civility is required at all times"? – Ryogi Jul 23 '12 at 02:53
4

It’s hard to say without having a context, but you might be able to use unsigned, as in Compute the absolute difference between unsigned integers using sse.

You can also just talk about ignoring the sign.