Array ( [0] => {{Short description|Number in {..., –2, –1, 0, 1, 2, ...} }} [1] => {{for multi|computer representation|Integer (computer science)|the generalization in algebraic number theory|Algebraic integer}} [2] => {{Use dmy dates|date=July 2020}} [3] => {{Group theory sidebar |Discrete}} [4] => [5] => An '''integer''' is the [[number]] zero ([[0]]), a positive [[natural number]] (1, 2, 3, etc.) or a '''negative integer''' ([[−1]], −2, −3, etc.).{{cite book |title=Science and Technology Encyclopedia |date=September 2000 |publisher=University of Chicago Press |isbn=978-0-226-74267-0 |page=280 |url=https://books.google.com/books?id=PZIdcYCCf2kC&dq=integer&pg=PA280 |language=en}} The [[negative number]]s are the [[additive inverse]]s of the corresponding positive numbers.{{cite web |title=Integers: Introduction to the concept, with activities comparing temperatures and money. {{!}} Unit 1 |url=https://www.oercommons.org/authoring/13198-integers-introduction-to-the-concept-with-activiti/1/view |website=OER Commons |language=en}} The [[set (mathematics)|set]] of all integers is often denoted by the [[boldface]] {{math|'''Z'''}} or [[blackboard bold]] {{nobr|\mathbb{Z}.{{cite book |author=Peter Jephson Cameron |title=Introduction to Algebra |url=https://books.google.com/books?id=syYYl-NVM5IC&pg=PA4 |year=1998 |publisher=Oxford University Press |isbn=978-0-19-850195-4 |page=4 |access-date=2016-02-15 |archive-url=https://web.archive.org/web/20161208142220/https://books.google.com/books?id=syYYl-NVM5IC&pg=PA4 |archive-date=2016-12-08 |url-status=live }}}} [6] => [7] => The set of natural numbers \mathbb{N} is a [[subset]] of \mathbb{Z}, which in turn is a subset of the set of all [[rational number]]s \mathbb{Q}, itself a subset of the [[real number]]s \mathbb{R}.{{efn|More precisely, each system is [[Embedding|embedded]] in the next, isomorphically mapped to a subset.{{cite book |last1=Partee |first1=Barbara H. |last2=Meulen |first2=Alice ter |last3=Wall |first3=Robert E. |title=Mathematical Methods in Linguistics |date=30 April 1990 |publisher=Springer Science & Business Media |isbn=978-90-277-2245-4 |pages=78–82 |url=https://books.google.com/books?id=qV7TUuaYcUIC&pg=PA80 |language=en |quote=The natural numbers are not themselves a subset of this set-theoretic representation of the integers. Rather, the set of all integers contains a subset consisting of the positive integers and zero which is isomorphic to the set of natural numbers.}} The commonly-assumed set-theoretic containment may be obtained by constructing the reals, discarding any earlier constructions, and defining the other sets as subsets of the reals.{{cite book |last1=Wohlgemuth |first1=Andrew |title=Introduction to Proof in Abstract Mathematics |date=10 June 2014 |publisher=Courier Corporation |isbn=978-0-486-14168-8 |page=237 |url=https://books.google.com/books?id=PEP_AwAAQBAJ&pg=PA237 |language=en}} Such a convention is "a matter of choice", yet not.{{cite book |last1=Polkinghorne |first1=John |title=Meaning in Mathematics |date=19 May 2011 |publisher=OUP Oxford |isbn=978-0-19-162189-5 |page=68 |url=https://books.google.com/books?id=DCqQDwAAQBAJ&pg=PA68 |language=en}}}} Like the set of natural numbers, the set of integers \mathbb{Z} is [[Countable set|countably infinite]]. An integer may be regarded as a real number that can be written without a [[fraction|fractional component]]. For example, 21, 4, 0, and −2048 are integers, while 9.75, {{sfrac|5|1|2}}, and {{math|{{sqrt|2}}}} are not.{{cite book |last1=Prep |first1=Kaplan Test |title=GMAT Complete 2020: The Ultimate in Comprehensive Self-Study for GMAT |date=4 June 2019 |publisher=Simon and Schuster |isbn=978-1-5062-4844-8 |url=https://books.google.com/books?id=6l_sDwAAQBAJ&pg=PA708 |language=en}} [8] => [9] => The integers form the smallest [[Group (mathematics)|group]] and the smallest [[ring (mathematics)|ring]] containing the [[natural number]]s. In [[algebraic number theory]], the integers are sometimes qualified as '''rational integers''' to distinguish them from the more general [[algebraic integer]]s. In fact, (rational) integers are algebraic integers that are also [[rational number]]s. [10] => [11] => == History == [12] => [13] => The word integer comes from the [[Latin]] [[wikt:integer#Latin|''integer'']] meaning "whole" or (literally) "untouched", from ''in'' ("not") plus ''tangere'' ("to touch"). "[[wikt:entire|Entire]]" derives from the same origin via the [[French language|French]] word ''[[wikt:entier|entier]]'', which means both ''entire'' and ''integer''.{{cite book |first=Nick |last=Evans |contribution=A-Quantifiers and Scope |editor-first=Emmon W. |editor-last=Bach |title=Quantification in Natural Languages |isbn=978-0-7923-3352-4 |year=1995 |pages=262 |url=https://books.google.com/books?id=NlQL97qBSZkC |location=Dordrecht, The Netherlands; Boston, MA |publisher=Kluwer Academic Publishers}} Historically the term was used for a [[number]] that was a multiple of 1,{{cite book |last1=Smedley |first1=Edward |last2=Rose |first2=Hugh James |last3=Rose |first3=Henry John |title=Encyclopædia Metropolitana |date=1845 |publisher=B. Fellowes |page=537 |url=https://books.google.com/books?id=ZVI_AQAAMAAJ&pg=PA537 |language=en|quote=An integer is a multiple of unity}}{{harvnb|Encyclopaedia Britannica|1771|p=[https://books.google.com/books?id=d50qAQAAMAAJ&pg=PA367 367]}} or to the whole part of a [[mixed number]].{{cite book| title = Incipit liber Abbaci compositus to Lionardo filio Bonaccii Pisano in year Mccij | type=Manuscript | trans-title=The Book of Calculation | last1 = Pisano | first1 = Leonardo | author1-link=Fibonacci | publisher = Museo Galileo | date = 1202 | url = https://bibdig.museogalileo.it/tecanew/opera?bid=1072400&seq=30 |lang=la|last2=Boncompagni|first2=Baldassarre (transliteration)|translator-last = Sigler |translator-first = Laurence E.|page=30|quote=Nam rupti uel fracti semper ponendi sunt post integra, quamuis prius integra quam rupti pronuntiari debeant.|trans-quote=And the fractions are always put after the whole, thus first the integer is written, and then the fraction}}{{harvnb|Encyclopaedia Britannica|1771|p=[https://books.google.com/books?id=d50qAQAAMAAJ&pg=PA83 83]}} Only positive integers were considered, making the term synonymous with the [[natural number]]s. The definition of integer expanded over time to include [[negative number]]s as their usefulness was recognized. For example [[Leonhard Euler]] in his 1765 ''[[Elements of Algebra]]'' defined integers to include both positive and negative numbers.{{cite book |last1=Euler |first1=Leonhard |title=Vollstandige Anleitung Zur Algebra|lang=de|trans-title=Complete Introduction to Algebra|volume=1|date=1771 |url=https://archive.org/details/1770LEULERVollstandigeAnleitungZurAlgebraVol1/page/n31/mode/2up|page=10|quote=Alle diese Zahlen, so wohl positive als negative, führen den bekannten Nahmen der gantzen Zahlen, welche also entweder größer oder kleiner sind als nichts. Man nennt dieselbe gantze Zahlen, um sie von den gebrochenen, und noch vielerley andern Zahlen, wovon unten gehandelt werden wird, zu unterscheiden.|trans-quote=All these numbers, both positive and negative, are called whole numbers, which are either greater or lesser than nothing. We call them whole numbers, to distinguish them from fractions, and from several other kinds of numbers of which we shall hereafter speak.}} However, European mathematicians, for the most part, resisted the concept of negative numbers until the middle of the 19th century.{{cite book|last=Martinez|first=Alberto|title=Negative Math|pages=80–109|date=2014|publisher=Princeton University Press}} [14] => [15] => The use of the letter Z to denote the set of integers comes from the [[German language|German]] word ''[[wikt:Zahlen|Zahlen]]'' ("numbers"){{cite web |url=http://jeff560.tripod.com/nth.html |title=Earliest Uses of Symbols of Number Theory |access-date=2010-09-20 |date=2010-08-29 |first=Jeff |last=Miller |archive-url=https://web.archive.org/web/20100131022510/http://jeff560.tripod.com/nth.html |archive-date=2010-01-31 |url-status=dead }}{{cite book |author=Peter Jephson Cameron |title=Introduction to Algebra |url=https://books.google.com/books?id=syYYl-NVM5IC&pg=PA4 |year=1998 |publisher=Oxford University Press |isbn=978-0-19-850195-4 |page=4 |access-date=2016-02-15 |archive-url=https://web.archive.org/web/20161208142220/https://books.google.com/books?id=syYYl-NVM5IC&pg=PA4 |archive-date=2016-12-08 |url-status=live }} and has been attributed to [[David Hilbert]].{{cite book |title=The University of Leeds Review |date=1989 |publisher=University of Leeds. |page=46 |url=https://books.google.com/books?id=Z-7kAAAAMAAJ|language=en|volume=31-32|quote=Incidentally, Z comes from "Zahl": the notation was created by Hilbert.}} The earliest known use of the notation in a textbook occurs in [[Éléments de mathématique|Algébre]] written by the collective [[Nicolas Bourbaki]], dating to 1947.{{cite book |last1=Bourbaki |first1=Nicolas |title=Algèbre, Chapter 1 |date=1951|edition=2nd |publisher=Hermann|location=Paris |page=27|language=fr|url=https://archive.org/details/algebrebour00bour/page/26/mode/2up|quote=Le symétrisé de '''N''' se note '''Z'''; ses éléments sont appelés entiers rationnels.|trans-quote=The group of differences of '''N''' is denoted by '''Z'''; its elements are called the rational integers.}} The notation was not adopted immediately, for example another textbook used the letter J{{cite book |last1=Birkhoff |first1=Garrett |title=Lattice Theory |date=1948 |publisher=American Mathematical Society |page=63 |edition=Revised |url=https://archive.org/details/in.ernet.dli.2015.166886/page/n63/mode/2up|quote=the set ''J'' of all integers}} and a 1960 paper used Z to denote the non-negative integers.{{cite book |last1=Society |first1=Canadian Mathematical |title=Canadian Journal of Mathematics |date=1960 |publisher=Canadian Mathematical Society |page=374 |url=https://books.google.com/books?id=uMAXOmLTCGsC&dq=integer%20set%20Z&pg=PA374 |language=en|quote=Consider the set ''Z'' of non-negative integers}} But by 1961, Z was generally used by modern algebra texts to denote the positive and negative integers.{{cite book |last1=Bezuszka |first1=Stanley |title=Contemporary Progress in Mathematics: Teacher Supplement [to] Part 1 and Part 2 |date=1961 |publisher=Boston College |page=69 |url=https://books.google.com/books?id=dhJPAQAAMAAJ&q=integer+set+Z |language=en|quote=Modern Algebra texts generally designate the set of integers by the capital letter Z.}} [16] => [17] => The symbol \mathbb{Z} is often annotated to denote various sets, with varying usage amongst different authors: \mathbb{Z}^+,\mathbb{Z}_+ or \mathbb{Z}^{>} for the positive integers, \mathbb{Z}^{0+} or \mathbb{Z}^{\geq} for non-negative integers, and \mathbb{Z}^{\neq} for non-zero integers. Some authors use \mathbb{Z}^{*} for non-zero integers, while others use it for non-negative integers, or for {{math|{–1, 1}{{void}}}} (the [[group of units]] of \mathbb{Z}). Additionally, \mathbb{Z}_{p} is used to denote either the set of [[integers modulo n|integers modulo {{math|''p''}}]] (i.e., the set of [[congruence relation|congruence classes]] of integers), or the set of [[p-adic integer|{{math|''p''}}-adic integers]].Keith Pledger and Dave Wilkins, "Edexcel AS and A Level Modular Mathematics: Core Mathematics 1" Pearson 2008LK Turner, FJ BUdden, D Knighton, "Advanced Mathematics", Book 2, Longman 1975. [18] => [19] => The whole numbers were synonymous with the integers up until the early 1950s.{{cite book |last1=Mathews |first1=George Ballard |title=Theory of Numbers |date=1892 |publisher=Deighton, Bell and Company |page=2 |url=https://books.google.com/books?id=iQ_vAAAAMAAJ&pg=PA2 |language=en}}{{cite book |last1=Betz |first1=William |title=Junior Mathematics for Today |date=1934 |publisher=Ginn |url=https://books.google.com/books?id=RzNCAAAAIAAJ |language=en |quote=The whole numbers, or integers, when arranged in their natural order, such as 1, 2, 3, are called consecutive integers.}}{{cite book |last1=Peck |first1=Lyman C. |title=Elements of Algebra |date=1950 |publisher=McGraw-Hill |page=3 |url=https://books.google.com/books?id=tclXAAAAYAAJ&q=integers+whole+numbers |language=en |quote=The numbers which so arise are called positive whole numbers, or positive integers.}} In the late 1950s, as part of the [[New Math]] movement,{{cite thesis|type=PhD |url= https://dr.lib.iastate.edu/handle/20.500.12876/80303 |title=A history of the "new math" movement in the United States|date=1981|last=Hayden|first=Robert|publisher=Iowa State University |doi=10.31274/rtd-180813-5631|page=145|quote=A much more influential force in bringing news of the "new math" to high school teachers and administrators was the National Council of Teachers of Mathematics (NCTM).|doi-access=free}} American elementary school teachers began teaching that "whole numbers" referred to the [[natural number]]s, excluding negative numbers, while "integer" included the negative numbers.{{cite book |title=The Growth of Mathematical Ideas, Grades K-12: 24th Yearbook |date=1959 |publisher=National Council of Teachers of Mathematics |page=14 |isbn=9780608166186 |url=https://books.google.com/books?id=OO9RAQAAIAAJ&pg=PA14 |language=en}}{{cite book |last1=Deans |first1=Edwina |title=Elementary School Mathematics: New Directions |date=1963 |publisher=U.S. Department of Health, Education, and Welfare, Office of Education |page=42 |url=https://books.google.com/books?id=bAUJAQAAMAAJ&pg=PA42 |language=en}} "Whole number" remains ambiguous to the present day.{{cite web |title=entry: whole number |url=https://www.ahdictionary.com/word/search.html?q=whole+number |website=The American Heritage Dictionary |publisher=HarperCollins}} [20] => [21] => == Algebraic properties == [22] => [[File:Number-line.svg|right|thumb|300px|Integers can be thought of as discrete, equally spaced points on an infinitely long [[number line]]. In the above, non-[[Sign (mathematics)#Terminology for signs|negative]] integers are shown in blue and negative integers in red.]] [23] => {{Ring theory sidebar}} [24] => [25] => Like the [[natural numbers]], \mathbb{Z} is [[closure (mathematics)|closed]] under the [[binary operation|operations]] of addition and [[multiplication]], that is, the sum and product of any two integers is an integer. However, with the inclusion of the negative natural numbers (and importantly, {{num|0}}), \mathbb{Z}, unlike the natural numbers, is also closed under [[subtraction]].{{Cite web|title=Integer {{!}} mathematics|url=https://www.britannica.com/science/integer|access-date=2020-08-11|website=Encyclopedia Britannica|language=en}} [26] => [27] => The integers form a [[unital ring]] which is the most basic one, in the following sense: for any unital ring, there is a unique [[ring homomorphism]] from the integers into this ring. This [[universal property]], namely to be an [[initial object]] in the [[category of rings]], characterizes the ring \mathbb{Z}. [28] => [29] => \mathbb{Z} is not closed under [[division (mathematics)|division]], since the quotient of two integers (e.g., 1 divided by 2) need not be an integer. Although the natural numbers are closed under [[exponentiation]], the integers are not (since the result can be a fraction when the exponent is negative). [30] => [31] => The following table lists some of the basic properties of addition and multiplication for any integers {{math|''a''}}, {{math|''b''}} and {{math|''c''}}: [32] => {|class="wikitable" style="margin-left: auto; margin-right: auto; border: none;" [33] => |+Properties of addition and multiplication on integers [34] => ! [35] => !scope="col" |Addition [36] => !scope="col" |Multiplication [37] => |- [38] => !scope="row" |[[Closure (mathematics)|Closure]]: [39] => |{{math|''a'' + ''b''}}{{pad|1em}}is an integer [40] => |{{math|''a'' × ''b''}}{{pad|1em}}is an integer [41] => |- [42] => !scope="row"|[[Associativity]]: [43] => |{{math|''a'' + (''b'' + ''c'') {{=}} (''a'' + ''b'') + ''c''}} [44] => |{{math|''a'' × (''b'' × ''c'') {{=}} (''a'' × ''b'') × ''c''}} [45] => |- [46] => !scope="row" |[[Commutativity]]: [47] => |{{math|''a'' + ''b'' {{=}} ''b'' + ''a''}} [48] => |{{math|''a'' × ''b'' {{=}} ''b'' × ''a''}} [49] => |- [50] => !scope="row" |Existence of an [[identity element]]: [51] => |{{math|''a'' + 0 {{=}} ''a''}} [52] => |{{math|''a'' × 1 {{=}} ''a''}} [53] => |- [54] => !scope="row" |Existence of [[inverse element]]s: [55] => |{{math|''a'' + (−''a'') {{=}} 0}} [56] => |The only invertible integers (called [[Unit (ring theory)|units]]) are {{math|−1}} and {{math|1}}. [57] => |- [58] => !scope="row" |[[Distributivity]]: [59] => |colspan=2 align=center |{{math|''a'' × (''b'' + ''c'') {{=}} (''a'' × ''b'') + (''a'' × ''c'')}}{{pad|1em}}and{{pad|1em}}{{math|(''a'' + ''b'') × ''c'' {{=}} (''a'' × ''c'') + (''b'' × ''c'')}} [60] => |- [61] => !scope="row" |No [[zero divisor]]s: [62] => | || | If {{math|''a'' × ''b'' {{=}} 0}}, then {{math|''a'' {{=}} 0}} or {{math|''b'' {{=}} 0}} (or both) [63] => |} [64] => [65] => The first five properties listed above for addition say that \mathbb{Z}, under addition, is an [[abelian group]]. It is also a [[cyclic group]], since every non-zero integer can be written as a finite sum {{nowrap|1 + 1 + ... + 1}} or {{nowrap|(−1) + (−1) + ... + (−1)}}. In fact, \mathbb{Z} under addition is the ''only'' infinite cyclic group—in the sense that any infinite cyclic group is [[group isomorphism|isomorphic]] to \mathbb{Z}. [66] => [67] => The first four properties listed above for multiplication say that \mathbb{Z} under multiplication is a [[commutative monoid]]. However, not every integer has a multiplicative inverse (as is the case of the number 2), which means that \mathbb{Z} under multiplication is not a group. [68] => [69] => All the rules from the above property table (except for the last), when taken together, say that \mathbb{Z} together with addition and multiplication is a [[commutative ring]] with [[multiplicative identity|unity]]. It is the prototype of all objects of such [[algebraic structure]]. Only those [[equality (mathematics)|equalities]] of [[algebraic expression|expressions]] are true in \mathbb{Z} [[for all]] values of variables, which are true in any unital commutative ring. Certain non-zero integers map to [[additive identity|zero]] in certain rings. [70] => [71] => The lack of [[zero divisor]]s in the integers (last property in the table) means that the commutative ring \mathbb{Z} is an [[integral domain]]. [72] => [73] => The lack of multiplicative inverses, which is equivalent to the fact that \mathbb{Z} is not closed under division, means that \mathbb{Z} is ''not'' a [[field (mathematics)|field]]. The smallest field containing the integers as a [[subring]] is the field of [[rational number]]s. The process of constructing the rationals from the integers can be mimicked to form the [[field of fractions]] of any integral domain. And back, starting from an [[algebraic number field]] (an extension of rational numbers), its [[ring of integers]] can be extracted, which includes \mathbb{Z} as its [[subring]]. [74] => [75] => Although ordinary division is not defined on \mathbb{Z}, the division "with remainder" is defined on them. It is called [[Euclidean division]], and possesses the following important property: given two integers {{math|''a''}} and {{math|''b''}} with {{math|''b'' ≠ 0}}, there exist unique integers {{math|''q''}} and {{math|''r''}} such that {{math|''a'' {{=}} ''q'' × ''b'' + ''r''}} and {{math|0 ≤ ''r'' < {{!}}''b''{{!}}}}, where {{math|{{!}}''b''{{!}}}} denotes the [[absolute value]] of {{math|''b''}}. The integer {{math|''q''}} is called the ''quotient'' and {{math|''r''}} is called the ''[[remainder]]'' of the division of {{math|''a''}} by {{math|''b''}}. The [[Euclidean algorithm]] for computing [[greatest common divisor]]s works by a sequence of Euclidean divisions. [76] => [77] => The above says that \mathbb{Z} is a [[Euclidean domain]]. This implies that \mathbb{Z} is a [[principal ideal domain]], and any positive integer can be written as the products of [[prime number|primes]] in an [[essentially unique]] way.{{cite book |first=Serge |last=Lang |author-link=Serge Lang |title=Algebra |edition=3rd |publisher=Addison-Wesley |year=1993 |isbn=978-0-201-55540-0 |pages=86–87}} This is the [[fundamental theorem of arithmetic]]. [78] => [79] => ==Order-theoretic properties== [80] => \mathbb{Z} is a [[total order|totally ordered set]] without [[upper and lower bounds|upper or lower bound]]. The ordering of \mathbb{Z} is given by: [81] => {{math|:... −3 < −2 < −1 < 0 < 1 < 2 < 3 < ...}} [82] => An integer is ''positive'' if it is greater than [[0|zero]], and ''negative'' if it is less than zero. Zero is defined as neither negative nor positive. [83] => [84] => The ordering of integers is compatible with the algebraic operations in the following way: [85] => # if {{math|''a'' < ''b''}} and {{math|''c'' < ''d''}}, then {{math|''a'' + ''c'' < ''b'' + ''d''}} [86] => # if {{math|''a'' < ''b''}} and {{math|0 < ''c''}}, then {{math|''ac'' < ''bc''}}. [87] => [88] => Thus it follows that \mathbb{Z} together with the above ordering is an [[ordered ring]]. [89] => [90] => The integers are the only nontrivial [[totally ordered]] [[abelian group]] whose positive elements are [[well-ordered]].{{cite book |title=Modern Algebra |series=Dover Books on Mathematics |first=Seth |last=Warner |publisher=Courier Corporation |year=2012 |isbn=978-0-486-13709-4 |at=Theorem 20.14, p. 185 |url=https://books.google.com/books?id=TqHDAgAAQBAJ&pg=PA185 |access-date=2015-04-29 |archive-url=https://web.archive.org/web/20150906083836/https://books.google.com/books?id=TqHDAgAAQBAJ&pg=PA185|archive-date=2015-09-06 |url-status=live}}. This is equivalent to the statement that any [[Noetherian ring|Noetherian]] [[valuation ring]] is either a [[Field (mathematics)|field]]—or a [[discrete valuation ring]]. [91] => [92] => ==Construction== [93] => === Traditional development === [94] => In elementary school teaching, integers are often intuitively defined as the union of the (positive) natural numbers, [[zero]], and the negations of the natural numbers. This can be formalized as follows.{{cite book |last1=Mendelson |first1=Elliott |title=Number systems and the foundations of analysis |date=1985 |publisher=Malabar, Fla. : R.E. Krieger Pub. Co. |isbn=978-0-89874-818-5 |page=153 |url=https://archive.org/details/numbersystemsfou0000mend/page/152/mode/2up}} First construct the set of natural numbers according to the [[Peano axioms]], call this P. Then construct a set P^- which is [[Disjoint sets|disjoint]] from P and in one-to-one correspondence with P via a function \psi. For example, take P^- to be the [[ordered pair]]s (1,n) with the mapping \psi = n \mapsto (1,n). Finally let 0 be some object not in P or P^-, for example the ordered pair (0,0). Then the integers are defined to be the union P \cup P^- \cup \{0\}. [95] => [96] => The traditional arithmetic operations can then be defined on the integers in a [[piecewise]] fashion, for each of positive numbers, negative numbers, and zero. For example [[negation]] is defined as follows: [97] => [98] => -x = \begin{cases} [99] => \psi(x), & \text{if } x \in P \\ [100] => \psi^{-1}(x), & \text{if } x \in P^- \\ [101] => 0, & \text{if } x = 0 [102] => \end{cases} [103] => [104] => [105] => The traditional style of definition leads to many different cases (each arithmetic operation needs to be defined on each combination of types of integer) and makes it tedious to prove that integers obey the various laws of arithmetic.{{cite book |title=Number Systems and the Foundations of Analysis |series=Dover Books on Mathematics |first=Elliott |last=Mendelson |publisher=Courier Dover Publications |year=2008 |isbn=978-0-486-45792-5 |page=86 |url=https://books.google.com/books?id=3domViIV7HMC&pg=PA86 |access-date=2016-02-15 |archive-url=https://web.archive.org/web/20161208233040/https://books.google.com/books?id=3domViIV7HMC&pg=PA86 |archive-date=2016-12-08|url-status=live}}. [106] => [107] => === Equivalence classes of ordered pairs === [108] => [[File:Relative numbers representation.svg|thumb|alt=Representation of equivalence classes for the numbers −5 to 5 [109] => |Red points represent ordered pairs of [[natural number]]s. Linked red points are equivalence classes representing the blue integers at the end of the line.|upright=1.5]] [110] => [111] => In modern set-theoretic mathematics, a more abstract constructionIvorra Castillo: ''Álgebra''{{Cite book |last1=Kramer |first1=Jürg |title=From Natural Numbers to Quaternions |last2=von Pippich |first2=Anna-Maria |publisher=Springer Cham |year=2017 |isbn=978-3-319-69427-6 |edition=1st |location=Switzerland |pages=78–81 |language=en |doi=10.1007/978-3-319-69429-0}} allowing one to define arithmetical operations without any case distinction is often used instead.{{cite book |title=Learning to Teach Number: A Handbook for Students and Teachers in the Primary School |series=The Stanley Thornes Teaching Primary Maths Series |first=Len |last=Frobisher |publisher=Nelson Thornes |year=1999 |isbn=978-0-7487-3515-0 |page=126 |url=https://books.google.com/books?id=KwJQIt4jQHUC&pg=PA126 |access-date=2016-02-15 |archive-url=https://web.archive.org/web/20161208121843/https://books.google.com/books?id=KwJQIt4jQHUC&pg=PA126 |archive-date=2016-12-08 |url-status=live}}. The integers can thus be formally constructed as the [[equivalence class]]es of [[ordered pair]]s of [[natural number]]s {{math|(''a'',''b'')}}.{{cite book |author=Campbell, Howard E. |title=The structure of arithmetic |publisher=Appleton-Century-Crofts |year=1970 |isbn=978-0-390-16895-5 |page=[https://archive.org/details/structureofarith00camp/page/83 83] |url-access=registration |url=https://archive.org/details/structureofarith00camp/page/83 }} [112] => [113] => The intuition is that {{math|(''a'',''b'')}} stands for the result of subtracting {{math|''b''}} from {{math|''a''}}. To confirm our expectation that {{nowrap|1 − 2}} and {{nowrap|4 − 5}} denote the same number, we define an [[equivalence relation]] {{math|~}} on these pairs with the following rule: [114] => :(a,b) \sim (c,d) [115] => precisely when [116] => :a + d = b + c. [117] => [118] => Addition and multiplication of integers can be defined in terms of the equivalent operations on the natural numbers; by using {{math|[(''a'',''b'')]}} to denote the equivalence class having {{math|(''a'',''b'')}} as a member, one has: [119] => :[(a,b)] + [(c,d)] := [(a+c,b+d)]. [120] => :[(a,b)]\cdot[(c,d)] := [(ac+bd,ad+bc)]. [121] => [122] => The negation (or additive inverse) of an integer is obtained by reversing the order of the pair: [123] => :-[(a,b)] := [(b,a)]. [124] => [125] => Hence subtraction can be defined as the addition of the additive inverse: [126] => :[(a,b)] - [(c,d)] := [(a+d,b+c)]. [127] => [128] => The standard ordering on the integers is given by: [129] => :[(a,b)] < [(c,d)] [[if and only if]] a+d < b+c. [130] => [131] => It is easily verified that these definitions are independent of the choice of representatives of the equivalence classes. [132] => [133] => Every equivalence class has a unique member that is of the form {{math|(''n'',0)}} or {{math|(0,''n'')}} (or both at once). The natural number {{math|''n''}} is identified with the class {{math|[(''n'',0)]}} (i.e., the natural numbers are [[embedding|embedded]] into the integers by map sending {{math|''n''}} to {{math|[(''n'',0)]}}), and the class {{math|[(0,''n'')]}} is denoted {{math|−''n''}} (this covers all remaining classes, and gives the class {{math|[(0,0)]}} a second time since {{math|−0 {{=}} 0.}} [134] => [135] => Thus, {{math|[(''a'',''b'')]}} is denoted by [136] => :\begin{cases} a - b, & \mbox{if } a \ge b \\ -(b - a), & \mbox{if } a < b. \end{cases} [137] => [138] => If the natural numbers are identified with the corresponding integers (using the embedding mentioned above), this convention creates no ambiguity. [139] => [140] => This notation recovers the familiar [[group representation|representation]] of the integers as {{math|{..., −2, −1, 0, 1, 2, ...} }}. [141] => [142] => Some examples are: [143] => :\begin{align} [144] => 0 &= [(0,0)] &= [(1,1)] &= \cdots & &= [(k,k)] \\ [145] => 1 &= [(1,0)] &= [(2,1)] &= \cdots & &= [(k+1,k)] \\ [146] => -1 &= [(0,1)] &= [(1,2)] &= \cdots & &= [(k,k+1)] \\ [147] => 2 &= [(2,0)] &= [(3,1)] &= \cdots & &= [(k+2,k)] \\ [148] => -2 &= [(0,2)] &= [(1,3)] &= \cdots & &= [(k,k+2)]. [149] => \end{align} [150] => [151] => === Other approaches === [152] => [153] => In theoretical computer science, other approaches for the construction of integers are used by [[Automated theorem proving|automated theorem provers]] and [[Rewriting|term rewrite engines]]. [154] => Integers are represented as [[Term algebra|algebraic terms]] built using a few basic operations (e.g., '''zero''', '''succ''', '''pred''') and, possibly, using [[natural number]]s, which are assumed to be already constructed (using, say, the [[Peano axioms|Peano approach]]). [155] => [156] => There exist at least ten such constructions of signed integers.{{cite conference |last=Garavel |first=Hubert |title=On the Most Suitable Axiomatization of Signed Integers |conference=Post-proceedings of the 23rd International Workshop on Algebraic Development Techniques (WADT'2016) |year=2017 |publisher=Springer |series=Lecture Notes in Computer Science |volume=10644 |pages=120–134 |doi=10.1007/978-3-319-72044-9_9 |isbn=978-3-319-72043-2 |url=https://hal.inria.fr/hal-01667321 |access-date=2018-01-25 |archive-url=https://web.archive.org/web/20180126125528/https://hal.inria.fr/hal-01667321 |archive-date=2018-01-26 |url-status=live }} These constructions differ in several ways: the number of basic operations used for the construction, the number (usually, between 0 and 2) and the types of arguments accepted by these operations; the presence or absence of natural numbers as arguments of some of these operations, and the fact that these operations are free constructors or not, i.e., that the same integer can be represented using only one or many algebraic terms. [157] => [158] => The technique for the construction of integers presented in the previous section corresponds to the particular case where there is a single basic operation '''pair'''(x,y) that takes as arguments two natural numbers x and y, and returns an integer (equal to x-y). This operation is not free since the integer 0 can be written '''pair'''(0,0), or '''pair'''(1,1), or '''pair'''(2,2), etc. This technique of construction is used by the [[proof assistant]] [[Isabelle (proof assistant)|Isabelle]]; however, many other tools use alternative construction techniques, notable those based upon free constructors, which are simpler and can be implemented more efficiently in computers. [159] => [160] => ==Computer science== [161] => {{Main|Integer (computer science)}} [162] => An integer is often a primitive [[data type]] in [[computer language]]s. However, integer data types can only represent a [[subset]] of all integers, since practical computers are of finite capacity. Also, in the common [[two's complement]] representation, the inherent definition of [[sign (mathematics)|sign]] distinguishes between "negative" and "non-negative" rather than "negative, positive, and 0". (It is, however, certainly possible for a computer to determine whether an integer value is truly positive.) Fixed length integer approximation data types (or subsets) are denoted ''int'' or Integer in several programming languages (such as [[Algol68]], [[C (computer language)|C]], [[Java (programming language)|Java]], [[Object Pascal|Delphi]], etc.). [163] => [164] => Variable-length representations of integers, such as [[bignum]]s, can store any integer that fits in the computer's memory. Other integer data types are implemented with a fixed size, usually a number of bits which is a power of 2 (4, 8, 16, etc.) or a memorable number of decimal digits (e.g., 9 or 10). [165] => [166] => ==Cardinality== [167] => The set of integers is [[countably infinite]], meaning it is possible to pair each integer with a unique natural number. An example of such a pairing is [168] => [169] => :{{math|(0, 1), (1, 2), (−1, 3), (2, 4), (−2, 5), (3, 6), . . . , (1 − ''k'', 2''k'' − 1), (''k'', 2''k'' ), . . .}} [170] => [171] => More technically, the [[cardinality]] of \mathbb{Z} is said to equal {{math|ℵ{{sub|0}}}} ([[Aleph number|aleph-null]]). The pairing between elements of \mathbb{Z} and \mathbb{N} is called a [[bijection]]. [172] => [173] => == See also == [174] => {{Portal|Mathematics}} [175] => * [[Canonical representation of a positive integer|Canonical factorization of a positive integer]] [176] => * [[Hyperinteger]] [177] => * [[Integer complexity]] [178] => * [[Integer lattice]] [179] => * [[Integer part]] [180] => * [[Integer sequence]] [181] => * [[Integer-valued function]] [182] => * [[Mathematical symbols]] [183] => * [[Parity (mathematics)]] [184] => * [[Profinite integer]] [185] => {{Classification of numbers}} [186] => [187] => == Footnotes == [188] => {{notelist|1}} [189] => [190] => [191] => == References == [192] => {{reflist}} [193] => [194] => == Sources == [195] => {{refbegin}} [196] => * {{cite book |author-link=Eric Temple Bell |last=Bell |first=E.T. |title=[[Men of Mathematics]] |location=New York |publisher=Simon & Schuster |date=1986 |isbn=0-671-46400-0}}) [197] => * {{cite book |last=Herstein |first=I.N. |title=Topics in Algebra |publisher=Wiley |edition=2nd |date=1975 |isbn=0-471-01090-1}} [198] => * {{cite book |author-link1=Saunders Mac Lane |last1=Mac Lane |first1=Saunders |author-link2=Garrett Birkhoff |last2=Birkhoff |first2=Garrett |title=Algebra |publisher=American Mathematical Society |edition=3rd |date=1999 |isbn=0-8218-1646-2}} [199] => * {{cite book |author1=A Society of Gentlemen in Scotland |title=Encyclopaedia Britannica |date=1771 |location=Edinburgh |url=https://books.google.com/books?id=d50qAQAAMAAJ |language=en|ref = {{harvid|Encyclopaedia Britannica|1771}}}} [200] => {{refend}} [201] => [202] => == External links == [203] => {{Wiktionary}} [204] => * {{Springer|title=Integer|id=p/i051290}} [205] => * [http://www.positiveintegers.org The Positive Integers – divisor tables and numeral representation tools] [206] => * [http://oeis.org/ On-Line Encyclopedia of Integer Sequences] cf [[OEIS]] [207] => * {{mathworld|Integer}} [208] => [209] => {{PlanetMath attribution|id=403|title=Integer}} [210] => [211] => {{Integers}} [212] => {{Number systems}} [213] => {{Rational numbers}} [214] => [215] => {{Authority control}} [216] => [217] => [[Category:Elementary mathematics]] [218] => [[Category:Abelian group theory]] [219] => [[Category:Ring theory]] [220] => [[Category:Integers| ]] [221] => [[Category:Elementary number theory]] [222] => [[Category:Algebraic number theory]] [223] => [[Category:Sets of real numbers]] [] => )
good wiki

Integer

An integer is a number that can be written without a fractional or decimal component. It is a mathematical concept that represents whole numbers, including positive, negative, and zero.

More about us

About

It is a mathematical concept that represents whole numbers, including positive, negative, and zero. In mathematics, integers are used in various applications, such as counting, labeling, representing quantities, and solving equations. They can be classified into different subsets, such as natural numbers, whole numbers, and rational numbers. Integers have a special property called closure, which means that adding, subtracting, and multiplying integers always results in another integer. This property makes integers an important concept in algebra, number theory, and other branches of mathematics. In computer science, integers are used extensively in programming languages and data structures to represent and manipulate numerical data.

Expert Team

Vivamus eget neque lacus. Pellentesque egauris ex.

Award winning agency

Lorem ipsum, dolor sit amet consectetur elitorceat .

10 Year Exp.

Pellen tesque eget, mauris lorem iupsum neque lacus.