Absolute value: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>D.Lazard
top: New version of the hatnote, see talk
 
imported>Nehz XZX
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:


==Terminology and notation==
==Terminology and notation==
In 1806, [[Jean-Robert Argand]] introduced the term ''module'', meaning ''unit of measure'' in French, specifically for the ''complex'' absolute value,<ref name=oed>[[Oxford English Dictionary]], Draft Revision, June 2008</ref><ref>Nahin, [http://www-history.mcs.st-andrews.ac.uk/Mathematicians/Argand.html O'Connor and Robertson], and [http://functions.wolfram.com/ComplexComponents/Abs/35/ functions.Wolfram.com.]; for the French sense, see [[Dictionnaire de la langue française (Littré)|Littré]], 1877</ref> and it was borrowed into English in 1866 as the Latin equivalent ''modulus''.<ref name=oed /> The term ''absolute value'' has been used in this sense from at least 1806 in French<ref>[[Lazare Nicolas Marguerite Carnot|Lazare Nicolas M. Carnot]], ''Mémoire sur la relation qui existe entre les distances respectives de cinq point quelconques pris dans l'espace'', p.&nbsp;105 [https://books.google.com/books?id=YyIOAAAAQAAJ&pg=PA105 at Google Books]</ref> and 1857 in English.<ref>James Mill Peirce, ''A Text-book of Analytic Geometry'' [https://archive.org/details/atextbookanalyt00peirgoog/page/n60 <!-- pg=42 --> at Internet Archive]. The oldest citation in the 2nd edition of the Oxford English Dictionary is from 1907. The term ''absolute value'' is also used in contrast to ''relative value''.</ref> The notation {{math|{{abs|{{mvar|x}}}}}}, with a [[vertical bar]] on each side, was introduced by [[Karl Weierstrass]] in 1841.<ref>Nicholas J. Higham, ''Handbook of writing for the mathematical sciences'', SIAM. {{ISBN|0-89871-420-6}}, p.&nbsp;25</ref> Other names for ''absolute value'' include ''numerical value''<ref name=oed /> and ''magnitude''.<ref name=oed /> The absolute value of <math>x</math> has also been denoted <math>\operatorname{abs} x</math> in some mathematical publications,<ref>{{cite journal
In 1806, [[Jean-Robert Argand]] introduced the term ''module'', meaning ''unit of measure'' in French, specifically for the ''complex'' absolute value,<ref name=oed>[[Oxford English Dictionary]], Draft Revision, June 2008</ref><ref>Nahin, [http://www-history.mcs.st-andrews.ac.uk/Mathematicians/Argand.html O'Connor and Robertson], and [http://functions.wolfram.com/ComplexComponents/Abs/35/ functions.Wolfram.com.]; for the French sense, see [[Dictionnaire de la langue française (Littré)|Littré]], 1877</ref> and it was borrowed into English in 1866 as the Latin equivalent ''modulus''.<ref name=oed /> The term ''absolute value'' has been used in this sense from at least 1806 in French<ref>[[Lazare Nicolas Marguerite Carnot|Lazare Nicolas M. Carnot]], ''Mémoire sur la relation qui existe entre les distances respectives de cinq point quelconques pris dans l'espace'', p.&nbsp;105 [https://books.google.com/books?id=YyIOAAAAQAAJ&pg=PA105 at Google Books]</ref> and 1857 in English.<ref>James Mill Peirce, ''A Text-book of Analytic Geometry'' [https://archive.org/details/atextbookanalyt00peirgoog/page/n60 <!-- pg=42 --> at Internet Archive]. The oldest citation in the 2nd edition of the Oxford English Dictionary is from 1907. The term ''absolute value'' is also used in contrast to ''relative value''.</ref> The notation {{math|{{abs|{{mvar|x}}}}}}, with a [[vertical bar]] on each side, was introduced by [[Karl Weierstrass]] in 1841.<ref>Nicholas J. Higham, ''Handbook of writing for the mathematical sciences'', SIAM. {{ISBN|0-89871-420-6}}, p.&nbsp;25</ref> Other names for ''absolute value'' include ''numerical value''<ref name=oed /> and ''magnitude''.<ref name=oed /> The absolute value of <math>x</math> has also been denoted <math>\operatorname{abs} x</math> in some mathematical publications,{{sfnp|Siegel|1942}} and in [[spreadsheet]]s, programming languages, and computational software packages, the absolute value of <math display="inline">x</math> is generally represented by <code>abs(''x'')</code>, or a similar expression,{{sfnp|Bluttman|2015|p=[https://books.google.com/books?id=3pVxBgAAQBAJ&pg=PA135 135]}} as it has been since the earliest days of [[high-level programming language]]s.{{sfnp|Knuth|1962|p=43, 126}}
| last = Siegel | first = Carl Ludwig
| doi = 10.2307/1968953
| journal = Annals of Mathematics
| jstor = 1968953
| mr = 8095
| pages = 613–616
| series = Second Series
| title = Note on automorphic functions of several variables
| volume = 43
| year = 1942| issue = 4
}}</ref> and in [[spreadsheet]]s, programming languages, and computational software packages, the absolute value of <math display="inline">x</math> is generally represented by <code>abs(''x'')</code>, or a similar expression,<ref>{{cite book|title=Excel Formulas and Functions For Dummies|first=Ken|last=Bluttman|publisher=John Wiley & Sons|year=2015|isbn=9781119076780|page=135|contribution=Ignoring signs|contribution-url=https://books.google.com/books?id=3pVxBgAAQBAJ&pg=PA135}}</ref> as it has been since the earliest days of [[high-level programming language]]s.<ref>{{citation
| last = Knuth | first = D. E. | author-link = Donald Knuth
| contribution = Invited papers: History of writing compilers
| doi = 10.1145/800198.806098
| page = 43, 126
| publisher = ACM Press
| title = Proceedings of the 1962 ACM National Conference
| year = 1962}}</ref>


The vertical bar notation also appears in a number of other mathematical contexts: for example, when applied to a set, it denotes its [[cardinality]]; when applied to a [[Matrix (math)|matrix]], it denotes its [[determinant]].<ref>{{cite report|url=https://www.unicode.org/notes/tn28/UTN28-PlainTextMath-v3.3.pdf|type=Unicode report 28|title=A Nearly Plain-Text Encoding of Mathematics|first=Murray III|last=Sargent|date=January 22, 2025|access-date=2025-02-23}}</ref> Vertical bars denote the absolute value only for algebraic objects for which the notion of an absolute value is defined, notably an [[Element (mathematics)|element]] of a [[normed division algebra]], for example a real number, a complex number, or a quaternion. A closely related but distinct notation is the use of vertical bars for either the [[Euclidean norm]]<ref>{{Cite book|title=Calculus on Manifolds|last=Spivak|first=Michael|publisher=Westview|year=1965|isbn=0805390219|location=Boulder, CO|pages=1}}</ref> or [[sup norm]]<ref>{{Cite book|title=Analysis on Manifolds|last=Munkres|first=James|publisher=Westview|year=1991|isbn=0201510359|location=Boulder, CO|pages=4}}</ref> of a vector {{nowrap|in <math>\R^n</math>,}} although double vertical bars with subscripts {{nowrap|(<math>\|\cdot\|_2</math>}} {{nowrap|and <math>\|\cdot\|_\infty</math>,}} respectively) are a more common and less ambiguous notation.
The vertical bar notation also appears in a number of other mathematical contexts: for example, when applied to a set, it denotes its [[cardinality]]; when applied to a [[Matrix (math)|matrix]], it denotes its [[determinant]].{{sfnp|Sargent|2025|p=10}} Vertical bars denote the absolute value only for algebraic objects for which the notion of an absolute value is defined, notably an [[Element (mathematics)|element]] of a [[normed division algebra]], for example, a real number, a complex number, or a quaternion. A closely related but distinct notation is the use of vertical bars for either the [[Euclidean norm]]{{sfnp|Spivak|1965|p=1}} or [[sup norm]]{{sfnp|Munkres|1991|p=4}} of a vector {{nowrap|in <math>\R^n</math>,}} although double vertical bars with subscripts {{nowrap|(<math>\|\cdot\|_2</math>}} {{nowrap|and <math>\|\cdot\|_\infty</math>,}} respectively) are a more common and less ambiguous notation.


==Definition and properties==
==Definition and properties==


===Real numbers===
===Real numbers===
For any {{nowrap|[[real number]] <math>x</math>,}} the '''absolute value''' or '''modulus''' {{nowrap|of <math>x</math>}} is denoted {{nowrap|by <math>|x|</math>}}, with a [[vertical bar]] on each side of the quantity, and is defined as<ref>Mendelson, [https://books.google.com/books?id=A8hAm38zsCMC&pg=PA2 p.&nbsp;2].</ref>
For any {{nowrap|[[real number]] <math>x</math>,}} the '''absolute value''' or '''modulus''' {{nowrap|of <math>x</math>}} is denoted {{nowrap|by <math>|x|</math>}}, with a [[vertical bar]] on each side of the quantity, and is defined as{{sfnp|Mendelson|2008|p=[https://books.google.com/books?id=A8hAm38zsCMC&pg=PA2 2]}}
<math display=block>|x| =
<math display=block>|x| =
   \begin{cases}
   \begin{cases}
Line 42: Line 24:
  </math>
  </math>


The absolute value {{nowrap|of <math>x</math>}} is thus always either a [[positive number]] or [[0|zero]], but never [[negative number|negative]]. When <math>x</math> itself is negative {{nowrap|(<math>x < 0</math>),}} then its absolute value is necessarily positive {{nowrap|(<math>|x|=-x>0</math>).}}
The absolute value {{nowrap|of <math>x</math>}} is thus always either a [[positive number]] or [[0|zero]], but never [[negative number|negative]]. When <math>x</math> itself is negative {{nowrap|(<math>x < 0</math>),}} then its absolute value is necessarily positive {{nowrap|(<math>|x|=-x>0</math>).{{sfnp|Smith|2013|p=[https://books.google.com/books?id=ZUJbVQN37bIC&pg=PA8 8]}}}}


From an [[analytic geometry]] point of view, the absolute value of a real number is that number's [[distance]] from zero along the [[real number line]], and more generally the absolute value of the difference of two real numbers (their [[absolute difference]]) is the distance between them.<ref>{{cite book|title=Precalculus: A Functional Approach to Graphing and Problem Solving|first=Karl|last=Smith|publisher=Jones & Bartlett Publishers|year=2013|isbn=978-0-7637-5177-7|page=8|url=https://books.google.com/books?id=ZUJbVQN37bIC&pg=PA8}}</ref> The notion of an abstract [[distance function]] in mathematics can be seen to be a generalisation of the absolute value of the difference (see [[#Distance|"Distance"]] below).
From an [[analytic geometry]] point of view, the absolute value of a real number is that number's [[distance]] from zero along the [[real number line]], and more generally, the absolute value of the difference of two real numbers (their [[absolute difference]]) is the distance between them.{{sfnp|Smith|2013|p=[https://books.google.com/books?id=ZUJbVQN37bIC&pg=PA8 8]}} The notion of an abstract [[distance function]] in mathematics can be seen to be a generalisation of the absolute value of the difference.{{sfnp|Tabak|2014|p=[https://books.google.com/books?id=r0HuPiexnYwC&pg=PA150 150]}} See {{slink||Distance}} below.


Since the [[radical symbol|square root symbol]] represents the unique ''positive'' [[square root]], when applied to a positive number, it follows that
Since the [[radical symbol|square root symbol]] represents the unique ''positive'' [[square root]], when applied to a positive number, it follows that{{sfnp|Varberg|Purcell|Rigdon|2007|p=[https://archive.org/details/matematika-a-purcell-calculus-9th-ed/page/13 13]}}}
<math display=block qid=Q120645811>|x| = \sqrt{x^2}.</math>
<math display=block qid=Q120645811>|x| = \sqrt{x^2}.</math>
This is equivalent to the definition above, and may be used as an alternative definition of the absolute value of real numbers.<ref>{{Cite book| author=Stewart, James B. | title=Calculus: concepts and contexts | year=2001 | publisher=Brooks/Cole | location=Australia  | isbn=0-534-37718-1 | page=A5}}</ref>
This is equivalent to the definition above, and may be used as an alternative definition of the absolute value of real numbers.{{sfnp|Stewart|2001|p=A5}}


The absolute value has the following four fundamental properties (<math display="inline">a</math>, <math display="inline">b</math> are real numbers), that are used for generalization of this notion to other domains:
The absolute value has the following four fundamental properties (<math display="inline">a</math>, <math display="inline">b</math> are real numbers), that are used for generalization of this notion to other domains:{{sfnp|Shechter|1997|p=[https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA259 259]}}


{| style="margin-left:1.6em"
{| style="margin-left:1.6em"
|-
|-
| style="width: 250px" |<math qid=Q120645720>|a| \ge 0 </math>
| style="width: 250px" |<math qid=Q120645720>|a| \ge 0 </math>
| Non-negativity
| Non-negativity{{sfnp|Shechter|1997|p=[https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA259 259]}}
|-
|-
|<math>|a| = 0 \iff a = 0 </math>
|<math>|a| = 0 \iff a = 0 </math>
|Positive-definiteness
|Positive-definiteness{{sfnp|Shechter|1997|p=[https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA259 259]}}
|-
|-
|<math>|ab| = \left|a\right| \left|b\right|</math>
|<math>|ab| = \left|a\right| \left|b\right|</math>
|[[Multiplicativeness|Multiplicativity]]
|[[Multiplicativeness|Multiplicativity]]{{sfnp|Shechter|1997|p=[https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA259 259]}}
|-
|-
|<math qid=Q120645947>|a+b| \le |a| + |b|  </math>
|<math qid=Q120645947>|a+b| \le |a| + |b|  </math>
| [[Subadditivity]], specifically the [[triangle inequality]]
| [[Subadditivity]], specifically the [[triangle inequality]]{{sfnp|Shechter|1997|p=[https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA259 259]}}
|}
|}


Non-negativity, positive definiteness, and multiplicativity are readily apparent from the definition. To see that subadditivity holds, first note that <math>|a+b|=s(a+b)</math> {{nowrap|where <math>s=\pm 1</math>,}} with its sign chosen to make the result positive. Now, since <math>-1 \cdot x \le |x|</math> {{nowrap|and <math>+1 \cdot x \le |x|</math>,}} it follows that, whichever of <math>\pm1</math> is the value {{nowrap|of <math>s</math>,}} one has <math>s \cdot x\leq |x|</math> for all {{nowrap|real <math>x</math>.}} Consequently, <math>|a+b|=s \cdot (a+b) = s \cdot a + s \cdot b \leq |a| + |b|</math>, as desired.
Non-negativity, positive definiteness, and multiplicativity are readily apparent from the definition. To see that subadditivity holds, first note that <math>|a+b|=s(a+b)</math> {{nowrap|where <math>s=\pm 1</math>,}} with its sign chosen to make the result positive. Now, since <math>-1 \cdot x \le |x|</math> {{nowrap|and <math>+1 \cdot x \le |x|</math>,}} it follows that, whichever of <math>\pm1</math> is the value {{nowrap|of <math>s</math>,}} one has <math>s \cdot x\leq |x|</math> for all {{nowrap|real <math>x</math>.}} Consequently, <math>|a+b|=s \cdot (a+b) = s \cdot a + s \cdot b \leq |a| + |b|</math>, as desired.


Some additional useful properties are given below. These are either immediate consequences of the definition or implied by the four fundamental properties above.
Some additional useful properties are given below. These are either immediate consequences of the definition or implied by the four fundamental properties above.


{| style="margin-left:1.6em"
{| style="margin-left:1.6em"
Line 77: Line 59:
|-
|-
| style="width:250px" |<math>\left|-a\right| = |a|</math>
| style="width:250px" |<math>\left|-a\right| = |a|</math>
|[[even function|Evenness]] ([[reflection symmetry]] of the graph)
|[[even function|Evenness]] ([[reflection symmetry]] of the graph){{sfnp|Varberg|Purcell|Rigdon|2007|p=[https://archive.org/details/matematika-a-purcell-calculus-9th-ed/page/32 32]}}
|-
|-
|<math>|a - b| = 0 \iff a = b </math>
|<math>|a - b| = 0 \iff a = b </math>
Line 86: Line 68:
|-
|-
|<math>\left|\frac{a}{b}\right| = \frac{|a|}{|b|}\ </math> (if <math>b \ne 0</math>)
|<math>\left|\frac{a}{b}\right| = \frac{|a|}{|b|}\ </math> (if <math>b \ne 0</math>)
|Preservation of division (equivalent to multiplicativity)
|Preservation of division &ndash; equivalent to multiplicativity{{sfnp|Varberg|Purcell|Rigdon|2007|p=[https://archive.org/details/matematika-a-purcell-calculus-9th-ed/page/11 11]}}
|-
|-
|<math>|a-b| \geq \bigl| \left|a\right| - \left|b\right| \bigr| </math>
|<math>|a-b| \geq \bigl| \left|a\right| - \left|b\right| \bigr| </math>
|[[Reverse triangle inequality]] (equivalent to subadditivity)
|[[Reverse triangle inequality]] &ndash; equivalent to subadditivity{{sfnp|Varberg|Purcell|Rigdon|2007|p=[https://archive.org/details/matematika-a-purcell-calculus-9th-ed/page/11 11]}}
|}
|}


Two other useful properties concerning inequalities are:
Two other useful properties concerning inequalities are:{{sfnp|Varberg|Purcell|Rigdon|2007|p=[https://archive.org/details/matematika-a-purcell-calculus-9th-ed/page/11 11]}}
{| style="margin-left:1.6em"
{| style="margin-left:1.6em"
|-
|-
Line 118: Line 100:
Since the [[complex number]]s are not [[Totally ordered set|ordered]], the definition given at the top for the real absolute value cannot be directly applied to complex numbers. However, the geometric interpretation of the absolute value of a real number as its distance from 0 can be generalised. The absolute value of a complex number is defined by the Euclidean distance of its corresponding point in the [[complex plane]] from the [[origin (mathematics)|origin]].  This can be computed using the [[Pythagorean theorem]]: for any complex number
Since the [[complex number]]s are not [[Totally ordered set|ordered]], the definition given at the top for the real absolute value cannot be directly applied to complex numbers. However, the geometric interpretation of the absolute value of a real number as its distance from 0 can be generalised. The absolute value of a complex number is defined by the Euclidean distance of its corresponding point in the [[complex plane]] from the [[origin (mathematics)|origin]].  This can be computed using the [[Pythagorean theorem]]: for any complex number
<math display=block>z = x + iy,</math>
<math display=block>z = x + iy,</math>
where <math>x</math> and <math>y</math> are real numbers, the '''absolute value''' or '''modulus''' {{nowrap|of <math>z</math>}} is {{nowrap|denoted <math>|z|</math>}} and is defined by<ref>{{cite book|author=González, Mario O.|title=Classical Complex Analysis|publisher=CRC Press|year=1992|isbn=9780824784157|page=19|url=https://books.google.com/books?id=ncxL7EFr7GsC&pg=PA19}}</ref>
where <math>x</math> and <math>y</math> are real numbers, the '''absolute value''' or '''modulus''' {{nowrap|of <math>z</math>}} is {{nowrap|denoted <math>|z|</math>}} and is defined by{{sfnp|González|1992|p=[https://books.google.com/books?id=ncxL7EFr7GsC&pg=PA19 19]}}
<math display=block>|z| = \sqrt{\operatorname{Re}(z)^2 + \operatorname{Im}(z)^2}=\sqrt{x^2 + y^2},</math>
<math display=block>|z| = \sqrt{\operatorname{Re}(z)^2 + \operatorname{Im}(z)^2}=\sqrt{x^2 + y^2},</math>
the [[Pythagorean addition]] of <math>x</math> and <math>y</math>, where <math>\operatorname{Re}(z)=x</math> and <math>\operatorname{Im}(z)=y</math> denote the real and imaginary parts {{nowrap|of <math>z</math>,}} respectively. When the {{nowrap|imaginary part <math>y</math>}} is zero, this coincides with the definition of the absolute value of the {{nowrap|real number <math>x</math>.}}
the [[Pythagorean addition]] of <math>x</math> and <math>y</math>, where <math>\operatorname{Re}(z)=x</math> and <math>\operatorname{Im}(z)=y</math> denote the real and imaginary parts {{nowrap|of <math>z</math>,}} respectively. When the {{nowrap|imaginary part <math>y</math>}} is zero, this coincides with the definition of the absolute value of the {{nowrap|real number <math>x</math>.}}{{sfnp|González|1992|p=[https://books.google.com/books?id=ncxL7EFr7GsC&pg=PA19 19]}}


When a complex number <math>z</math> is expressed in its [[Complex number#Polar form|polar form]] {{nowrap|as <math>z = r e^{i \theta},</math>}} its absolute value {{nowrap|is <math>|z| = r.</math>}}
When a complex number <math>z</math> is expressed in its [[Complex number#Polar form|polar form]] {{nowrap|as <math>z = r e^{i \theta},</math>}} its absolute value {{nowrap|is <math>|z| = r.</math>}}


Since the product of any complex number <math>z</math> and its {{nowrap|[[complex conjugate]] <math>\bar z = x - iy</math>,}} with the same absolute value, is always the non-negative real number {{nowrap|<math>\left(x^2 + y^2\right)</math>,}} the absolute value of a complex number <math>z</math> is the square root {{nowrap|of  <math>z \cdot \overline{z},</math>}} which is therefore called the [[absolute square]] or ''squared modulus'' {{nowrap|of <math>z</math>:}}
Since the product of any complex number <math>z</math> and its {{nowrap|[[complex conjugate]] <math>\bar z = x - iy</math>,}} with the same absolute value, is always the non-negative real number {{nowrap|<math>\left(x^2 + y^2\right)</math>,}} the absolute value of a complex number <math>z</math> is the square root {{nowrap|of  <math>z \cdot \overline{z},</math>}} which is therefore called the [[absolute square]] or ''squared modulus'' {{nowrap|of <math>z</math>:}}{{sfnp|González|1992|p=[https://books.google.com/books?id=ncxL7EFr7GsC&pg=PA19 19]}}
<math display=block>|z| = \sqrt{z \cdot \overline{z}}.</math>
<math display=block>|z| = \sqrt{z \cdot \overline{z}}.</math>
This generalizes the alternative definition for reals: {{nowrap|<math display="inline">|x| = \sqrt{x\cdot x}</math>.}}
This generalizes the alternative definition for reals: {{nowrap|<math display="inline">|x| = \sqrt{x\cdot x}</math>.}}


The complex absolute value shares the four fundamental properties given above for the real absolute value. The identity <math>|z|^2 = |z^2|</math> is a special case of multiplicativity that is often useful by itself.
The complex absolute value shares the four fundamental properties given above for the real absolute value. The identity <math>|z|^n = |z^n|</math> is a special case of multiplicativity that is often useful by itself.{{sfnp|González|1992|p=[https://books.google.com/books?id=ncxL7EFr7GsC&pg=PA19 19]}}


==Absolute value function==
==Absolute value function==
[[Image:Absolute value.svg|thumb|360px|The [[graph of a function|graph]] of the absolute value function for real numbers]]
[[Image:Absolute value.svg|thumb|The [[graph of a function|graph]] of the absolute value function for real numbers]]
[[Image:Absolute value composition.svg|256px|thumb|[[composition of functions|Composition]] of absolute value with a [[cubic function]] in different orders]]
[[Image:Absolute value composition.svg|thumb|[[composition of functions|Composition]] of absolute value with a [[cubic function]] in different orders]]
The real absolute value function is [[continuous function|continuous]] everywhere. It is [[differentiable]] everywhere except for {{math|1=''x'' = 0}}.  It is [[monotonic function|monotonically decreasing]] on the [[Interval (mathematics)|interval]] {{open-closed|−∞, 0}} and monotonically increasing on the interval {{closed-open|0, +∞}}. Since a real number and its [[additive inverse|opposite]] have the same absolute value, it is an [[even function]], and is hence not [[Inverse function|invertible]]. The real absolute value function is a [[piecewise linear function|piecewise linear]], [[convex function]].
The real absolute value function is [[continuous function|continuous]] everywhere. It is [[differentiable]] everywhere except for {{math|1=''x'' = 0}}.  It is [[monotonic function|monotonically decreasing]] on the [[Interval (mathematics)|interval]] {{open-closed|−∞, 0}} and monotonically increasing on the interval {{closed-open|0, +∞}}.{{sfnp|Varberg|Purcell|Rigdon|2007|p=[https://archive.org/details/matematika-a-purcell-calculus-9th-ed/page/84 84]}} Since a real number and its [[additive inverse|opposite]] have the same absolute value, it is an [[even function]], and is hence not [[Inverse function|invertible]].{{sfnp|Baronti et al.|2016|p=[http://books.google.com/books?id=dBFuDQAAQBAJ&pg=PA37 37]}} The real absolute value function is a [[piecewise linear function|piecewise linear]], [[convex function]].{{sfnp|Varberg|Purcell|Rigdon|2007|p=[https://archive.org/details/matematika-a-purcell-calculus-9th-ed/page/32 32]}}


For both real and complex numbers the absolute value function is [[idempotent]] (meaning that the absolute value of any absolute value is itself).
For both real and complex numbers, the absolute value function is [[idempotent]] (meaning that the absolute value of any absolute value is itself).


===Relationship to the sign function===
===Relationship to the sign function===
Line 156: Line 138:


===Derivative===
===Derivative===
The real absolute value function has a [[derivative]] for every {{math|''x'' ≠ 0}}, but is not [[differentiable]] at {{math|1=''x'' = 0}}. Its derivative for {{math|''x'' ≠ 0}} is given by the [[step function]]:<ref name="MathWorld">{{cite web| url = http://mathworld.wolfram.com/AbsoluteValue.html| title = Weisstein, Eric W. ''Absolute Value.'' From MathWorld – A Wolfram Web Resource.}}</ref><ref name="BS163">Bartle and Sherbert, p.&nbsp;163</ref>
The real absolute value function has a [[derivative]] for every {{math|''x'' ≠ 0}}, given by a [[step function]] equal to the [[sign function]] except at {{math|1=''x'' = 0}} where the absolute value function is not [[differentiable]]:<ref name="MathWorld">{{cite web| url = http://mathworld.wolfram.com/AbsoluteValue.html| title = Weisstein, Eric W. ''Absolute Value.'' From MathWorld – A Wolfram Web Resource.}}</ref>{{sfnp|Bartle|2011|p=163}}
:<math>\frac{d\left|x\right|}{dx} = \frac{x}{|x|} = \begin{cases} -1 & x<0 \\  1 & x>0. \end{cases}</math>
<math display="block">\begin{align}
\frac{d\left|x\right|}{dx}
&= \frac{x}{|x|} = \begin{cases} -1 & x<0 \\  1 & x>0 \end{cases} \\[7mu]
&= \sgn x\quad \text{for } x \ne 0.
\end{align}</math>


The real absolute value function is an example of a continuous function that achieves a [[Maximum and minimum|global minimum]] where the derivative does not exist.
The real absolute value function is an example of a continuous function that achieves a [[Maximum and minimum|global minimum]] where the derivative does not exist.


The [[subderivative|subdifferential]] of&nbsp;{{math|{{abs|{{mvar|x}}}}}} at&nbsp;{{math|1=''x'' = 0}} is the interval&nbsp;{{closed-closed|−1, 1}}.<ref>Peter Wriggers, Panagiotis Panatiotopoulos, eds., ''New Developments in Contact Problems'', 1999, {{ISBN|3-211-83154-1}}, [https://books.google.com/books?id=tiBtC4GmuKcC&pg=PA31 p.&nbsp;31–32]</ref>
The [[subderivative|subdifferential]] of&nbsp;{{math|{{abs|{{mvar|x}}}}}} at&nbsp;{{math|1=''x'' = 0}} is the interval&nbsp;{{closed-closed|−1, 1}}.{{sfnp|Curnier|1999|p=[https://books.google.com/books?id=tiBtC4GmuKcC&pg=PA31 31&ndash;32]}}


The [[complex number|complex]] absolute value function is continuous everywhere but [[complex differentiable]] ''nowhere'' because it violates the [[Cauchy–Riemann equations]].<ref name="MathWorld"/>
The [[complex number|complex]] absolute value function is continuous everywhere but [[complex differentiable]] ''nowhere'' because it violates the [[Cauchy–Riemann equations]].<ref name="MathWorld"/>
Line 190: Line 176:


The standard [[Euclidean distance]] between two points
The standard [[Euclidean distance]] between two points
 
<math display="block">a = (a_1, a_2, \dots , a_n) </math>
:<math>a = (a_1, a_2, \dots , a_n) </math>
 
and
and
 
<math display="block">b = (b_1, b_2, \dots , b_n) </math>
:<math>b = (b_1, b_2, \dots , b_n) </math>
in [[Euclidean space|Euclidean {{mvar|n}}-space]] is defined as:{{sfnp|Tabak|2014|p=[https://books.google.com/books?id=r0HuPiexnYwC&pg=PA150 150]}}
 
<math display="block">\sqrt{\textstyle\sum_{i=1}^n(a_i-b_i)^2}. </math>
in [[Euclidean space|Euclidean {{mvar|n}}-space]] is defined as:
:<math>\sqrt{\textstyle\sum_{i=1}^n(a_i-b_i)^2}. </math>


This can be seen as a generalisation, since for <math>a_1</math> and <math>b_1</math> real, i.e. in a 1-space, according to the alternative definition of the absolute value,
This can be seen as a generalisation, since for <math>a_1</math> and <math>b_1</math> real, i.e. in a 1-space, according to the alternative definition of the absolute value,
Line 241: Line 223:


===Ordered rings===
===Ordered rings===
The definition of absolute value given for real numbers above can be extended to any [[ordered ring]]. That is, if&nbsp;{{mvar|a}} is an element of an ordered ring&nbsp;''R'', then the '''absolute value''' of&nbsp;{{mvar|a}}, denoted by {{math|{{abs|''a''}}}}, is defined to be:<ref>Mac Lane, [https://books.google.com/books?id=L6FENd8GHIUC&pg=PA264 p.&nbsp;264].</ref>
The definition of absolute value given for real numbers above can be extended to any [[ordered ring]]. That is, if&nbsp;{{mvar|a}} is an element of an ordered ring&nbsp;''R'', then the '''absolute value''' of&nbsp;{{mvar|a}}, denoted by {{math|{{abs|''a''}}}}, is defined to be:
 
<math display="block">|a| = \left\{
:<math>|a| = \left\{
   \begin{array}{rl}
   \begin{array}{rl}
     a, & \text{if }  a \geq 0 \\
     a, & \text{if }  a \geq 0 \\
Line 249: Line 230:
   \end{array}\right.
   \end{array}\right.
  </math>
  </math>
 
where {{math|−''a''}} is the [[additive inverse]] of&nbsp;{{mvar|a}}, 0 is the [[additive identity]], and < and ≥ have the usual meaning with respect to the ordering in the ring.{{sfnp|Mac Lane|Birkhoff|1999|p=[https://books.google.com/books?id=L6FENd8GHIUC&pg=PA264 264]}}
where {{math|−''a''}} is the [[additive inverse]] of&nbsp;{{mvar|a}}, 0 is the [[additive identity]], and < and ≥ have the usual meaning with respect to the ordering in the ring.


===Fields===
===Fields===
Line 256: Line 236:
The four fundamental properties of the absolute value for real numbers can be used to generalise the notion of absolute value to an arbitrary field, as follows.
The four fundamental properties of the absolute value for real numbers can be used to generalise the notion of absolute value to an arbitrary field, as follows.


A real-valued function&nbsp;{{mvar|v}} on a [[field (mathematics)|field]]&nbsp;{{mvar|F}} is called an ''absolute value'' (also a ''modulus'', ''magnitude'', ''value'', or ''valuation'')<ref>Shechter, [https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA260 p.&nbsp;260]. This meaning of ''valuation'' is rare. Usually, a [[valuation (algebra)|valuation]] is the logarithm of the inverse of an absolute value</ref> if it satisfies the following four axioms:
A real-valued function&nbsp;{{mvar|v}} on a [[field (mathematics)|field]]&nbsp;{{mvar|F}} is called an ''absolute value'' (also a ''modulus'', ''magnitude'', ''value'', or ''valuation''){{sfnp|Shechter|1997|p=[https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA260 260]}}{{efn|1=This meaning of ''valuation'' is rare. Usually, a [[valuation (algebra)|valuation]] is the logarithm of the inverse of an absolute value.}} if it satisfies the following four axioms:


:{| cellpadding=10
:{| cellpadding=10
Line 283: Line 263:
* <math> v(a + b) \le \max \{v(a), v(b)\}\ </math> for all <math>a, b \in F</math>.
* <math> v(a + b) \le \max \{v(a), v(b)\}\ </math> for all <math>a, b \in F</math>.


An absolute value which satisfies any (hence all) of the above conditions is said to be '''non-Archimedean''', otherwise it is said to be [[Archimedean field|Archimedean]].<ref>Shechter, [https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA260 pp.&nbsp;260–261].</ref>
An absolute value which satisfies any (hence all) of the above conditions is said to be '''non-Archimedean''', otherwise it is said to be [[Archimedean field|Archimedean]].{{sfnp|Shechter|1997|pp=[https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA260 260–261]}}


===Vector spaces===
===Vector spaces===
Line 324: Line 304:
The real numbers <math>\mathbb{R}</math>, complex numbers <math>\mathbb{C}</math>, and quaternions <math>\mathbb{H}</math> are all composition algebras with norms given by [[definite quadratic form]]s. The absolute value in these [[division algebra]]s is given by the square root of the composition algebra norm.
The real numbers <math>\mathbb{R}</math>, complex numbers <math>\mathbb{C}</math>, and quaternions <math>\mathbb{H}</math> are all composition algebras with norms given by [[definite quadratic form]]s. The absolute value in these [[division algebra]]s is given by the square root of the composition algebra norm.


In general the norm of a composition algebra may be a [[quadratic form]] that is not definite and has [[null vector]]s. However, as in the case of division algebras, when an element ''x'' has a non-zero norm, then ''x'' has a [[multiplicative inverse]] given by ''x''*/''N''(''x'').
In general, the norm of a composition algebra may be a [[quadratic form]] that is not definite and has [[null vector]]s. However, as in the case of division algebras, when an element ''x'' has a non-zero norm, then ''x'' has a [[multiplicative inverse]] given by ''x''*/''N''(''x'').


==See also==
==See also==
*[[Least absolute values]]
*[[Least absolute values]]


==Notes==
== Notes ==
{{Reflist|30em}}
{{notelist}}
 
== Footnotes ==
{{reflist|20em}}


==References==
==References==
* Bartle; Sherbert; ''Introduction to real analysis'' (4th ed.), John Wiley & Sons, 2011 {{ISBN|978-0-471-43331-6}}.
* {{cite book
| last1 = Baronti | first1 = Marco
| last2 = De Mari | first2 = Filippo
| last3 = van der Putten | first3 = Robertus
| last4 = Venturi | first4 = Irene
| year = 2016
| publisher = Springer
| url = https://books.google.com/books?id=dBFuDQAAQBAJ
| ref = {{harvid|Baronti et al.|2016}}
| title = Calculus Problems
| doi = 10.1007/978-3-319-15428-2
| isbn = 978-3-319-15428-2
}}
* {{cite book
| last = Bartle | first = Sherbert
| title = Introduction to real analysis
| edition = 4th
| publisher = John Wiley & Sons
| year = 2011
| isbn = 978-0-471-43331-6
}}
* {{cite book
| last = Bluttman | first = Ken
| title = Excel Formulas and Functions For Dummies
| publisher = John Wiley & Sons
| year = 2015
| isbn = 9781119076780
| page = 135
| contribution = Ignoring signs
| contribution-url = https://books.google.com/books?id=3pVxBgAAQBAJ
}}
* {{cite book
| last = Curnier | first = A.
| editor-first1 = Peter | editor-last1 = Wriggers
| editor-first2 = Panagiotis | editor-last2 = Panatiotopoulos
| title = New Developments in Contact Problems
| year = 1999
| publisher = Springer
| isbn = 3-211-83154-1
| url = https://books.google.com/books?id=tiBtC4GmuKcC
}}
* {{cite book
| last = González | first = Mario O.
| title = Classical Complex Analysis
| publisher = CRC Press
| year = 1992
| isbn = 9780824784157
| page = 19
| url = https://books.google.com/books?id=ncxL7EFr7GsC
}}
* {{cite book
| last = Knuth | first = D. E. | author-link = Donald Knuth
| contribution = Invited papers: History of writing compilers
| doi = 10.1145/800198.806098
| publisher = ACM Press
| title = Proceedings of the 1962 ACM National Conference
| year = 1962
| doi-access = free
}}
* {{cite book
| last1 = Mac Lane | first1 = Saunders
| last2 = Birkhoff | first2 = Garrett
| title = Algebra
| publisher = American Mathematical Society
| year = 1999
| isbn = 978-0-8218-1646-2
}}
* {{cite book
| last = Mendelson | first = Elliott
| title = Schaum's Outline of Beginning Calculus
| publisher = McGraw-Hill Professional
| year = 2008
| isbn = 978-0-07-148754-2
| url = https://books.google.com/books?id=A8hAm38zsCMC
}}
* {{cite book
| last = Munkres | first = James
| title = Analysis on Manifolds
| publisher = Westview
| year= 1991
| isbn = 0201510359
| location = Boulder, CO
}}
* {{cite report
| last = Sargent | first = Murray III
| url = https://www.unicode.org/notes/tn28/UTN28-PlainTextMath-v3.3.pdf
| type = Unicode report 28
| title = A Nearly Plain-Text Encoding of Mathematics
| date = January 22, 2025
| access-date = 2025-02-23
}}
* {{cite book
| last = Shechter | first = Eric
| title = Handbook of Analysis and Its Foundations
| url = https://books.google.com/books?id=eqUv3Bcd56EC
| publisher = Academic Press
| year = 1997
| isbn = 0-12-622760-8
}}
* {{cite journal
| last = Siegel | first = Carl Ludwig
| doi = 10.2307/1968953
| journal = Annals of Mathematics
| jstor = 1968953
| mr = 8095
| pages = 613–616
| series = Second Series
| title = Note on automorphic functions of several variables
| volume = 43
| year = 1942| issue = 4
}}
* {{cite book
| last = Smith | first = Karl
| title = Precalculus: A Functional Approach to Graphing and Problem Solving
| publisher = Jones & Bartlett Publishers
| year = 2013
| isbn = 978-0-7637-5177-7
| page = 8
| url = https://books.google.com/books?id=ZUJbVQN37bIC
}}
* {{cite book
| last = Spivak | first = Michael
| title = Calculus on Manifolds
| publisher = Westview
| year = 1965
| isbn = 0805390219
| location = Boulder, CO
}}
* {{cite book
| last = Stewart | first = James B.
| title = Calculus: concepts and contexts
| year = 2001
| publisher = Brooks/Cole
| location = Australia
| isbn = 0-534-37718-1
}}
* {{cite book
| last = Tabak | first = John
| title = Geometry: The Language of Space and Form
| series = Facts on File math library
| publisher = Infobase Publishing
| year = 2014
| isbn = 978-0-8160-6876-0
| url = https://books.google.com/books?id=r0HuPiexnYwC
}}
* {{cite book
| last1 = Varberg | first1 = Dale E.
| last2 = Purcell | first2 = Edwin J.
| last3 = Rigdon | first3 = Steven E.
| title = Calculus
| year = 2007
| publisher = [[Pearson Prentice Hall]]
| edition = 9th
| isbn = 978-0131469686
| page = 11
| url = https://archive.org/details/matematika-a-purcell-calculus-9th-ed
}}
* Nahin, Paul J.; ''An Imaginary Tale''; Princeton University Press; (hardcover, 1998). {{ISBN|0-691-02795-1}}.
* Nahin, Paul J.; ''An Imaginary Tale''; Princeton University Press; (hardcover, 1998). {{ISBN|0-691-02795-1}}.
* Mac Lane, Saunders, Garrett Birkhoff, ''Algebra'', American Mathematical Soc., 1999. {{ISBN|978-0-8218-1646-2}}.
 
* Mendelson, Elliott, ''Schaum's Outline of Beginning Calculus'', McGraw-Hill Professional, 2008. {{ISBN|978-0-07-148754-2}}.
* O'Connor, J.J. and Robertson, E.F.; [http://www-history.mcs.st-andrews.ac.uk/Mathematicians/Argand.html "Jean Robert Argand"].
* O'Connor, J.J. and Robertson, E.F.; [http://www-history.mcs.st-andrews.ac.uk/Mathematicians/Argand.html "Jean Robert Argand"].
* Schechter, Eric; ''Handbook of Analysis and Its Foundations'', pp.&nbsp;259–263, [https://books.google.com/books?id=eqUv3Bcd56EC&pg=PA259 "Absolute Values"], Academic Press (1997) {{ISBN|0-12-622760-8}}.


==External links==
==External links==

Latest revision as of 06:27, 9 October 2025

Template:Short description Script error: No such module "about". Template:Use dmy dates

File:Absolute value.svg
The graph of the absolute value function for real numbers
File:AbsoluteValueDiagram.svg
The absolute value of a number may be thought of as its distance from zero.

In mathematics, the absolute value or modulus of a real number x, denoted |x|, is the non-negative value of x without regard to its sign. Namely, |x|=x if x is a positive number, and |x|=x if x is negative (in which case negating x makes x positive), and |0|=0. 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.

Generalisations of the absolute value for real numbers occur in a wide variety of mathematical settings. For example, an absolute value is also defined for the complex numbers, the quaternions, ordered rings, fields and vector spaces. The absolute value is closely related to the notions of magnitude, distance, and norm in various mathematical and physical contexts.

Terminology and notation

In 1806, Jean-Robert Argand introduced the term module, meaning unit of measure in French, specifically for the complex absolute value,[1][2] and it was borrowed into English in 1866 as the Latin equivalent modulus.[1] The term absolute value has been used in this sense from at least 1806 in French[3] and 1857 in English.[4] The notation Template:Math, with a vertical bar on each side, was introduced by Karl Weierstrass in 1841.[5] Other names for absolute value include numerical value[1] and magnitude.[1] The absolute value of x has also been denoted absx in some mathematical publications,Template:Sfnp and in spreadsheets, programming languages, and computational software packages, the absolute value of x is generally represented by abs(x), or a similar expression,Template:Sfnp as it has been since the earliest days of high-level programming languages.Template:Sfnp

The vertical bar notation also appears in a number of other mathematical contexts: for example, when applied to a set, it denotes its cardinality; when applied to a matrix, it denotes its determinant.Template:Sfnp Vertical bars denote the absolute value only for algebraic objects for which the notion of an absolute value is defined, notably an element of a normed division algebra, for example, a real number, a complex number, or a quaternion. A closely related but distinct notation is the use of vertical bars for either the Euclidean normTemplate:Sfnp or sup normTemplate:Sfnp of a vector in n, although double vertical bars with subscripts (2 and , respectively) are a more common and less ambiguous notation.

Definition and properties

Real numbers

For any real number x, the absolute value or modulus of x is denoted by |x|, with a vertical bar on each side of the quantity, and is defined asTemplate:Sfnp |x|={x,if x0x,if x<0.

The absolute value of x is thus always either a positive number or zero, but never negative. When x itself is negative (x<0), then its absolute value is necessarily positive (|x|=x>0).Template:Sfnp

From an analytic geometry point of view, the absolute value of a real number is that number's distance from zero along the real number line, and more generally, the absolute value of the difference of two real numbers (their absolute difference) is the distance between them.Template:Sfnp The notion of an abstract distance function in mathematics can be seen to be a generalisation of the absolute value of the difference.Template:Sfnp See Template:Slink below.

Since the square root symbol represents the unique positive square root, when applied to a positive number, it follows thatTemplate:Sfnp} |x|=x2. This is equivalent to the definition above, and may be used as an alternative definition of the absolute value of real numbers.Template:Sfnp

The absolute value has the following four fundamental properties (a, b are real numbers), that are used for generalization of this notion to other domains:Template:Sfnp

|a|0 Non-negativityTemplate:Sfnp
|a|=0a=0 Positive-definitenessTemplate:Sfnp
|ab|=|a||b| MultiplicativityTemplate:Sfnp
|a+b||a|+|b| Subadditivity, specifically the triangle inequalityTemplate:Sfnp

Non-negativity, positive definiteness, and multiplicativity are readily apparent from the definition. To see that subadditivity holds, first note that |a+b|=s(a+b) where s=±1, with its sign chosen to make the result positive. Now, since 1x|x| and +1x|x|, it follows that, whichever of ±1 is the value of s, one has sx|x| for all real x. Consequently, |a+b|=s(a+b)=sa+sb|a|+|b|, as desired.

Some additional useful properties are given below. These are either immediate consequences of the definition or implied by the four fundamental properties above.

||a||=|a| Idempotence (the absolute value of the absolute value is the absolute value)
|a|=|a| Evenness (reflection symmetry of the graph)Template:Sfnp
|ab|=0a=b Identity of indiscernibles (equivalent to positive-definiteness)
|ab||ac|+|cb| Triangle inequality (equivalent to subadditivity)
|ab|=|a||b|  (if b0) Preservation of division – equivalent to multiplicativityTemplate:Sfnp
|ab|||a||b|| Reverse triangle inequality – equivalent to subadditivityTemplate:Sfnp

Two other useful properties concerning inequalities are:Template:Sfnp

|a|bbab
|a|bab  or ab

These relations may be used to solve inequalities involving absolute values. For example:

|x3|9 9x39
6x12

The absolute value, as "distance from zero", is used to define the absolute difference between arbitrary real numbers, the standard metric on the real numbers.

Complex numbers

Script error: No such module "anchor".

File:Complex conjugate picture.svg
The absolute value of a complex number z is the distance r of z from the origin. It is also seen in the picture that z and its complex conjugate z¯ have the same absolute value.

Since the complex numbers are not ordered, the definition given at the top for the real absolute value cannot be directly applied to complex numbers. However, the geometric interpretation of the absolute value of a real number as its distance from 0 can be generalised. The absolute value of a complex number is defined by the Euclidean distance of its corresponding point in the complex plane from the origin. This can be computed using the Pythagorean theorem: for any complex number z=x+iy, where x and y are real numbers, the absolute value or modulus of z is denoted |z| and is defined byTemplate:Sfnp |z|=Re(z)2+Im(z)2=x2+y2, the Pythagorean addition of x and y, where Re(z)=x and Im(z)=y denote the real and imaginary parts of z, respectively. When the imaginary part y is zero, this coincides with the definition of the absolute value of the real number x.Template:Sfnp

When a complex number z is expressed in its polar form as z=reiθ, its absolute value is |z|=r.

Since the product of any complex number z and its complex conjugate z¯=xiy, with the same absolute value, is always the non-negative real number (x2+y2), the absolute value of a complex number z is the square root of zz, which is therefore called the absolute square or squared modulus of z:Template:Sfnp |z|=zz. This generalizes the alternative definition for reals: |x|=xx.

The complex absolute value shares the four fundamental properties given above for the real absolute value. The identity |z|n=|zn| is a special case of multiplicativity that is often useful by itself.Template:Sfnp

Absolute value function

File:Absolute value.svg
The graph of the absolute value function for real numbers
File:Absolute value composition.svg
Composition of absolute value with a cubic function in different orders

The real absolute value function is continuous everywhere. It is differentiable everywhere except for Template:Math. It is monotonically decreasing on the interval Template:Open-closed and monotonically increasing on the interval Template:Closed-open.Template:Sfnp Since a real number and its opposite have the same absolute value, it is an even function, and is hence not invertible.Template:Sfnp The real absolute value function is a piecewise linear, convex function.Template:Sfnp

For both real and complex numbers, the absolute value function is idempotent (meaning that the absolute value of any absolute value is itself).

Relationship to the sign function

The absolute value function of a real number returns its value irrespective of its sign, whereas the sign (or signum) function returns a number's sign irrespective of its value. The following equations show the relationship between these two functions:

|x|=xsgn(x),

or

|x|sgn(x)=x,

and for Template:Math,

sgn(x)=|x|x=x|x|.

Relationship to the max and min functions

Let s,t, then the following relationship to the minimum and maximum functions hold:

|ts|=2min(s,t)+s+t

and

|ts|=2max(s,t)st.

The formulas can be derived by considering each case s>t and t>s separately.

From the last formula one can derive also |t|=max(t,t).

Derivative

The real absolute value function has a derivative for every Template:Math, given by a step function equal to the sign function except at Template:Math where the absolute value function is not differentiable:[6]Template:Sfnp d|x|dx=x|x|={1x<01x>0=sgnxfor x0.

The real absolute value function is an example of a continuous function that achieves a global minimum where the derivative does not exist.

The subdifferential of Template:Math at Template:Math is the interval Template:Closed-closed.Template:Sfnp

The complex absolute value function is continuous everywhere but complex differentiable nowhere because it violates the Cauchy–Riemann equations.[6]

The second derivative of Template:Math with respect to Template:Mvar is zero everywhere except zero, where it does not exist. As a generalised function, the second derivative may be taken as two times the Dirac delta function.

Antiderivative

The antiderivative (indefinite integral) of the real absolute value function is

|x|dx=x|x|2+C,

where Template:Mvar is an arbitrary constant of integration. This is not a complex antiderivative because complex antiderivatives can only exist for complex-differentiable (holomorphic) functions, which the complex absolute value function is not.

Derivatives of compositions

The following two formulae are special cases of the chain rule:

ddxf(|x|)=x|x|(f(|x|))

if the absolute value is inside a function, and

ddx|f(x)|=f(x)|f(x)|f(x)

if another function is inside the absolute value. In the first case, the derivative is always discontinuous at x=0 in the first case and where f(x)=0 in the second case.

Distance

Script error: No such module "Labelled list hatnote". The absolute value is closely related to the idea of distance. As noted above, the absolute value of a real or complex number is the distance from that number to the origin, along the real number line, for real numbers, or in the complex plane, for complex numbers, and more generally, the absolute value of the difference of two real or complex numbers is the distance between them.

The standard Euclidean distance between two points a=(a1,a2,,an) and b=(b1,b2,,bn) in [[Euclidean space|Euclidean Template:Mvar-space]] is defined as:Template:Sfnp i=1n(aibi)2.

This can be seen as a generalisation, since for a1 and b1 real, i.e. in a 1-space, according to the alternative definition of the absolute value,

|a1b1|=(a1b1)2=i=11(aibi)2,

and for a=a1+ia2 and b=b1+ib2 complex numbers, i.e. in a 2-space,

|ab| =|(a1+ia2)(b1+ib2)|
=|(a1b1)+i(a2b2)|
=(a1b1)2+(a2b2)2=i=12(aibi)2.

The above shows that the "absolute value"-distance, for real and complex numbers, agrees with the standard Euclidean distance, which they inherit as a result of considering them as one and two-dimensional Euclidean spaces, respectively.

The properties of the absolute value of the difference of two real or complex numbers: non-negativity, identity of indiscernibles, symmetry and the triangle inequality given above, can be seen to motivate the more general notion of a distance function as follows:

A real valued function Template:Mvar on a set Template:Math is called a metric (or a distance function) on Template:Mvar, if it satisfies the following four axioms:[7]

d(a,b)0 Non-negativity
d(a,b)=0a=b Identity of indiscernibles
d(a,b)=d(b,a) Symmetry
d(a,b)d(a,c)+d(c,b) Triangle inequality

Generalizations

Ordered rings

The definition of absolute value given for real numbers above can be extended to any ordered ring. That is, if Template:Mvar is an element of an ordered ring R, then the absolute value of Template:Mvar, denoted by Template:Math, is defined to be: |a|={a,if a0a,if a<0. where Template:Math is the additive inverse of Template:Mvar, 0 is the additive identity, and < and ≥ have the usual meaning with respect to the ordering in the ring.Template:Sfnp

Fields

Script error: No such module "Labelled list hatnote". The four fundamental properties of the absolute value for real numbers can be used to generalise the notion of absolute value to an arbitrary field, as follows.

A real-valued function Template:Mvar on a field Template:Mvar is called an absolute value (also a modulus, magnitude, value, or valuation)Template:SfnpTemplate:Efn if it satisfies the following four axioms:

v(a)0 Non-negativity
v(a)=0a=𝟎 Positive-definiteness
v(ab)=v(a)v(b) Multiplicativity
v(a+b)v(a)+v(b) Subadditivity or the triangle inequality

Where 0 denotes the additive identity of Template:Mvar. It follows from positive-definiteness and multiplicativity that Template:Math, where 1 denotes the multiplicative identity of Template:Mvar. The real and complex absolute values defined above are examples of absolute values for an arbitrary field.

If Template:Mvar is an absolute value on Template:Mvar, then the function Template:Mvar on Template:Math, defined by Template:Math, is a metric and the following are equivalent:

An absolute value which satisfies any (hence all) of the above conditions is said to be non-Archimedean, otherwise it is said to be Archimedean.Template:Sfnp

Vector spaces

Script error: No such module "Labelled list hatnote". Again the fundamental properties of the absolute value for real numbers can be used, with a slight modification, to generalise the notion to an arbitrary vector space.

A real-valued function on a vector space Template:Mvar over a field Template:Mvar, represented as Template:Math, is called an absolute value, but more usually a norm, if it satisfies the following axioms:

For all Template:Mvar in Template:Mvar, and Template:Math, Template:Math in Template:Mvar,

𝐯0 Non-negativity
𝐯=0𝐯=0 Positive-definiteness
a𝐯=|a|𝐯 Absolute homogeneity or positive scalability
𝐯+𝐮𝐯+𝐮 Subadditivity or the triangle inequality

The norm of a vector is also called its length or magnitude.

In the case of Euclidean space n, the function defined by

(x1,x2,,xn)=i=1nxi2

is a norm called the Euclidean norm. When the real numbers are considered as the one-dimensional vector space 1, the absolute value is a norm, and is the Template:Mvar-norm (see Lp space) for any Template:Mvar. In fact the absolute value is the "only" norm on 1, in the sense that, for every norm Template:Math on 1, Template:Math.

The complex absolute value is a special case of the norm in an inner product space, which is identical to the Euclidean norm when the complex plane is identified as the Euclidean plane 2.

Composition algebras

Script error: No such module "Labelled list hatnote". Every composition algebra A has an involution xx* called its conjugation. The product in A of an element x and its conjugate x* is written N(x) = x x* and called the norm of x.

The real numbers , complex numbers , and quaternions are all composition algebras with norms given by definite quadratic forms. The absolute value in these division algebras is given by the square root of the composition algebra norm.

In general, the norm of a composition algebra may be a quadratic form that is not definite and has null vectors. However, as in the case of division algebras, when an element x has a non-zero norm, then x has a multiplicative inverse given by x*/N(x).

See also

Notes

Template:Notelist

Footnotes

Template:Reflist

References

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Template:Cite report
  • Script error: No such module "citation/CS1".
  • Script error: No such module "Citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Nahin, Paul J.; An Imaginary Tale; Princeton University Press; (hardcover, 1998). Template:ISBN.

External links

Template:Authority control

  1. a b c d Oxford English Dictionary, Draft Revision, June 2008
  2. Nahin, O'Connor and Robertson, and functions.Wolfram.com.; for the French sense, see Littré, 1877
  3. Lazare Nicolas M. Carnot, Mémoire sur la relation qui existe entre les distances respectives de cinq point quelconques pris dans l'espace, p. 105 at Google Books
  4. James Mill Peirce, A Text-book of Analytic Geometry at Internet Archive. The oldest citation in the 2nd edition of the Oxford English Dictionary is from 1907. The term absolute value is also used in contrast to relative value.
  5. Nicholas J. Higham, Handbook of writing for the mathematical sciences, SIAM. Template:ISBN, p. 25
  6. a b Script error: No such module "citation/CS1".
  7. These axioms are not minimal; for instance, non-negativity can be derived from the other three: Template:Math.