−2

← −3 −2 −1 →
−1 0 1 2 3 4 5 6 7 8 9
Cardinal−2, minus two, negative two
Ordinal−2nd (negative second)
Divisors1, 2
Arabic٢
Chinese numeral负二,负弍,负貳
Bengali
Binary (byte)
S&M: 1000000102
2sC: 111111102
Hex (byte)
S&M: 0x10216
2sC: 0xFE16

In mathematics, negative two or minus two is an integer two units from the origin,[1] denoted as −2[2] or 2.[3] It is the additive inverse of 2, following −3 and preceding −1, and is the largest negative even integer. Except in rare cases exploring integral ring prime elements,[4] negative two is generally not considered a prime number.[5]

Negative two is sometimes used to denote the square reciprocal in the notation of SI base units, such as m·s−2.[6] Additionally, in fields like software design, −1 is often used as an invalid return value for functions,[7] and similarly, negative two may indicate other invalid conditions beyond negative one.[8] For example, in the On-Line Encyclopedia of Integer Sequences, negative one denotes non-existence, while negative two indicates an infinite solution.[9][10]

Properties

  • Negative two is a complementary Bell number (also known as Rao Uppuluri-Carpenter numbers),[11][12] and a Hermite number.
  • Negative two makes the class number of the quadratic field equal to 1, meaning its ring of integers is a unique factorization domain.[Note 1][13] According to the Stark–Heegner theorem, only nine negative numbers have this property,[14][15][16] corresponding to Heegner numbers.[17]
    • Negative two also makes the quadratic field a simple Euclidean field (or norm-Euclidean field).[18] Only five negative numbers have this property: −11, −7, −3, −2, −1.[19][20] If relaxed, −15 is included.[21][22]
  • Negative two is the largest negative number unreachable from 1 in two steps using addition, subtraction, or multiplication.[23] The largest in one step is −1, and in three steps, −4.[23] This relates to the straight-line program combined with addition, subtraction, and multiplication,[24] exploring the algebraic complexity of integers in relation to NP = P.[25]
  • Negative two is the second-order i.e., .[26][27]
  • Negative two makes a triangular number.[28] Only nine integers have this property, with negative two being the smallest: −2, −1, 0, 1, 4, 5, 9, 56, and 636.[29]

Divisors of negative two

The divisors of negative two, including negative divisors, are identical to those of two: −2, −1, 1, 2. By definition, negative numbers are not typically subjected to prime factorization, though can be factored out as ,[30] making 2 a prime factor but not the result of prime factorization. As a Gaussian integer, negative two can be factored as , where is a Gaussian prime and is the imaginary unit.[31]

Powers of negative two

The first few powers of negative two are −2, 4, −8, 16, −32, 64, −128, oscillating between positive and negative.[32] The positive terms are powers of four, and the negative terms differ from powers of four by a factor of negative two.[33] This property makes negative two the largest negative number that can represent all real numbers as a base without using a negative sign or two's complement.[32][34][35][36] In 1957, some computers used a base-negative-two numeral system for calculations.[37] Similarly, using can represent complex numbers.[38]

The sum of the powers of negative two is a divergent geometric series. Although divergent, its generalized sum is .[39][40]

Using the geometric series formula,[41]

with the first term and common ratio , the result is . However, the series is divergent, with partial sums:[42]

1, −1, 3, −5, 11, −21, 43, −85, 171, −341...[42]

Though divergent, Euler assigned the value to this series,[43] known as Euler summation.[44]

Negative second power

The negative second power of a number is its square reciprocal, applicable to functions as well.[45] In daily life, it is occasionally used to denote units without a division sign, such as acceleration, typically written as m/s2 but also as m·s−2 in SI notation.[6]

Common topics related to the square reciprocal include: for any real number , its square reciprocal is always positive; the inverse-square law;[46] grid turbulence decay;[47] and the Basel problem.[48] The Basel problem states that the sum of the square reciprocals of natural numbers converges to :[49][48]

This value equals the Riemann zeta function at 2.[50][51]

For any real number, the square reciprocal is positive. For negative two, it is . The square reciprocals of the first few natural numbers are:

Square reciprocal 1 2 3 4 5 6 7 8 9 10
1
1 0.25 0.0625 0.04 0.0204081632...[Note 2] 0.015625 0.01

Square root of negative two

The square root of negative two, defined with the imaginary unit satisfying , is derived from . For negative two, it is .[Note 3][52][53][54][55] The principal value is .[Note 4][52][53][54][55]

Representation

Negative two is typically represented by adding a negative sign before 2,[56] commonly called "negative two" or "minus two" in English.[57]

In binary, especially in computing, negative numbers are often represented using two's complement.[58] Negative two is represented as "...11111110(2)", specifically "1110(2)" for 4-bit, "11111110(2)" for 8-bit, and "1111111111111110(2)" for 16-bit integers.[59] In signed notation, it is "−10(2)".[60]

Plus or minus two

Plus or minus two () is expressed using the plus-minus sign, representing both positive and negative two. It denotes the square roots of 4 or the solutions to the quadratic equation , i.e., . Plus or minus two appears more frequently in cultural contexts, such as music compositions[61] or the documentary ±2 °C, which explores the environmental impact of a global temperature change of two degrees.[62][63]

See also

Notes

  1. ^ When , if the ring of integers of is a unique factorization domain, all numbers in have a unique factorization. For example, is not, as 6 can be factored in two ways in : and .
  2. ^ The repeating decimal for 7's square reciprocal has a period of 42: 0.0204081632 6530612244 8979591836 7346938775 51... See reciprocal of 49.
  3. ^ In the bi-imaginary number system , where is negative two and is two, it is . Donald E. Knuth (April 1, 1960). "A imaginary number system" [A imaginary number system]. Communications of the ACM. 3 (4): 245–247. doi:10.1145/367177.367233. Retrieved August 21, 2025.
  4. ^ The principal value of the square root of –2 is taking the positive value; with respect to –2, that is .

References

  1. ^ Jeremko, Catherine V. (2003). Just in time math (PDF). LearningExpress, LLC, New York. p. 20. ISBN 1-57685-506-6. Archived (PDF) from the original on 2020-03-26. Retrieved August 21, 2025.
  2. ^ Runesson, Ulla; Lövström, Anna; Hellquist, Björn (2018-04-09). "Beyond the borders of the local: How "instructional products" from learning study can be shared and enhance student learning". International Journal for Lesson and Learning Studies. 7 (2): 111–123. doi:10.1108/IJLLS-01-2018-0004. ISSN 2046-8253.
  3. ^ Billstein, Rick; Libeskind, Shlomo; Lott, Johnny W. (2010). A Problem Solving Approach to Mathematics for Elementary School Teachers. Pearson Education, Inc. p. 250.
  4. ^ Sloane, N. J. A. (ed.). "Sequence A061019 (Negate primes in factorization of n.)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  5. ^ "Can negative numbers be prime?". primes.utm.edu. Archived from the original on January 23, 2018. Retrieved August 21, 2025.
  6. ^ a b International Bureau of Weights and Measures (2006), The International System of Units (SI) (PDF) (8th ed.), ISBN 92-822-2213-6, archived (PDF) from the original on 2021-06-04, retrieved 2021-12-16
  7. ^ Knuth, Donald (1973). The Art of Computer Programming, Volume 1: Fundamental Algorithms (second ed.). Addison-Wesley. pp. 213–214, also p. 631. ISBN 0-201-03809-9. Archived from the original on April 3, 2019. Retrieved August 21, 2025.
  8. ^ Yan, Michael; Leung, Eric; Han, Binna (December 2011). "The Joy Of Engineering" (PDF). Computer Science / Computer Engineering Final Report. Archived (PDF) from the original on March 21, 2020. Retrieved August 21, 2025.
  9. ^ Sloane, N. J. A. (ed.). "Sequence A164793 (smallest number which has in its English name the letter "i" in the n-th position, −1 if such number no exist, −2 for infinite)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  10. ^ Sloane, N. J. A. (ed.). "Sequence A164805". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  11. ^ Weisstein, Eric W. "Complementary Bell Number". MathWorld--A Wolfram Web Resource. Wolfram Research. Retrieved 2025-08-21.
  12. ^ Amdeberhan, Tewodros; De Angelis, Valerio; Moll, Victor H. (2013). "Complementary Bell Numbers: Arithmetical Properties and Wilf's Conjecture". In Kotsireas, Ilias S.; Zima, Eugene V. (eds.). Advances in Combinatorics. Berlin, Heidelberg: Springer. pp. 23–56. doi:10.1007/978-3-642-30979-3_2. ISBN 978-3-642-30979-3.
  13. ^ Hardy, Godfrey Harold; Wright, E. M. (1979) [1938]. An introduction to the theory of numbers (Fifth ed.). The Clarendon Press Oxford University Press. p. 213. ISBN 978-0-19-853171-5. MR 0568909. Retrieved August 21, 2025.
  14. ^ Conway, John Horton; Guy, Richard K. (1996). The Book of Numbers. Springer. p. 224. ISBN 0-387-97993-X. Retrieved August 21, 2025.
  15. ^ H.M. Stark (January 1969). "On the "gap" in a theorem of Heegner". Journal of Number Theory. 1 (1): 16–27. Bibcode:1969JNT.....1...16S. doi:10.1016/0022-314X(69)90023-7. Archived from the original on June 28, 2020. Retrieved August 21, 2025.
  16. ^ Weisstein, Eric W. "Heegner Number". MathWorld--A Wolfram Web Resource. Wolfram Research, Inc. Retrieved 2025-08-21.
  17. ^ Sloane, N. J. A. (ed.). "Sequence A003173 (Heegner numbers: imaginary quadratic fields with unique factorization (or class number 1).)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  18. ^ Kyle Bradford; Eugen J. Ionascu (2014). "Unit Fractions in Norm-Euclidean Rings of Integers". Acta Mathematica Universitatis Comenianae. arXiv:1405.4025.
  19. ^ LeVeque, William J. (2002) [1956]. Topics in Number Theory, Volumes I and II. New York: Dover Publications. pp. II:57, 81. ISBN 978-0-486-42539-9. Zbl 1009.11001. Retrieved August 21, 2025.
  20. ^ "A048981 - OEIS". oeis.org. Retrieved 2025-08-21.
  21. ^ Kelly Emmrich and Clark Lyons (December 18, 2017). "Norm-Euclidean Ideals in Galois Cubic Fields" (PDF). 2017 West Coast Number Theory Conference. Archived (PDF) from the original on March 26, 2020. Retrieved August 21, 2025.
  22. ^ Sloane, N. J. A. (ed.). "Sequence A296818 (Squarefree values of n for which the quadratic field Q[ sqrt(n) ] possesses a norm-Euclidean ideal class.)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  23. ^ a b Sloane, N. J. A. (ed.). "Sequence A229686 (The negative number of minimum absolute value not obtainable from 1 in n steps using addition, multiplication, and subtraction.)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  24. ^ Koiran, Pascal (2005). "Valiant's model and the cost of computing integers". Computational Complexity. 13 (3–4). Springer: 131–146. doi:10.1007/s00037-004-0186-2. Retrieved August 21, 2025.
  25. ^ Shub, Michael; Smale, Steve (1995). "On the intractability of Hilbert's Nullstellensatz and an algebraic version of "NP= P?"" (PDF). Duke Mathematical Journal. 81 (1): 47-54. doi:10.1215/S0012-7094-95-08105-8. Retrieved August 21, 2025.
  26. ^ Sloane, N. J. A. (ed.). "Sequence A067994 (Hermite numbers)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  27. ^ pahio (March 22, 2013). "Hermite numbers" [Hermite numbers]. planetmath.org. Archived from the original on September 19, 2015. Retrieved August 21, 2025.
  28. ^ Richard K. Guy (1994). "Figurate Numbers", §D3 in Unsolved Problems in Number Theory. Problem Books in Mathematics (2nd ed.). New York: Springer-Verlag. p. 148. ISBN 978-0387208602.
  29. ^ Sloane, N. J. A. (ed.). "Sequence A165519 (Integers k for which k(k+1)(k+2) is a triangular number.)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  30. ^ Bard, G.V. (2015). Sage for Undergraduates (PDF). American Mathematical Society. p. 269. ISBN 9781470411114. Retrieved August 21, 2025.
  31. ^ Dresden, Greg; Dymàček, Wayne M. (2005). "Finding Factors of Factor Rings over the Gaussian Integers". The American Mathematical Monthly. 112 (7): 602–611. doi:10.2307/30037545. ISSN 0002-9890. JSTOR 30037545.
  32. ^ a b Wells, Chauncey H. (1963). "Using a negative base for number notation". The Mathematics Teacher. 56 (2). National Council of Teachers of Mathematics: 91–93. doi:10.5951/MT.56.2.0091. ISSN 0025-5769. JSTOR 27956751.
  33. ^ Sloane, N. J. A. (ed.). "Sequence A004171". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  34. ^ Knuth, Donald (1998). The Art of Computer Programming, Volume 2 (3rd ed.). pp. 204–205. Knuth mentions both negabinary and negadecimal.
  35. ^ Petkovsek, Marko (May 1990). "Ambiguous Numbers are Dense". The American Mathematical Monthly. 97 (5): 408–411. doi:10.2307/2324393. JSTOR 2324393. Archived from the original on June 10, 2020. Retrieved August 21, 2025.
  36. ^ Sloane, N. J. A. (ed.). "Sequence A122803 (Powers of −2)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  37. ^ Marczynski, R.W. (1980). "The First Seven Years of Polish Digital Computers" (PDF). IEEE Annals of the History of Computing. 2: 37–48. doi:10.1109/MAHC.1980.10008. Archived from the original (PDF) on 19 July 2011.
  38. ^ Braunwart, Robert (April 1965). "Negative and Imaginary Radices". School Science and Mathematics. 65 (4): 292–295. doi:10.1111/j.1949-8594.1965.tb13422.x. Archived from the original on June 27, 2022. Retrieved August 21, 2025.
  39. ^ Leibniz, Gottfried (2003). Probst, S.; Knobloch, E.; Gädeke, N. (eds.). Sämtliche Schriften und Briefe, Reihe 7, Band 3: 1672–1676: Differenzen, Folgen, Reihen. Akademie Verlag. pp. 205–207. ISBN 3-05-004003-3. Archived from the original on October 17, 2013. Retrieved August 21, 2025.
  40. ^ Knobloch, Eberhard (2006-02-01). "Beyond Cartesian limits: Leibniz's passage from algebraic to "transcendental" mathematics". Historia Mathematica. The Origins of Algebra: From al-Khwarizmi to Descartes. 33 (1): 113–131. doi:10.1016/j.hm.2004.02.001. ISSN 0315-0860. Archived from the original on October 14, 2019.
  41. ^ Weisstein, Eric W. "Geometric Series". MathWorld--A Wolfram Web Resource. Wolfram Research, Inc. Retrieved 2025-08-21.
  42. ^ a b Sloane, N. J. A. (ed.). "Sequence A077925". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  43. ^ Euler, Leonhard (1755). Institutiones calculi differentialis cum eius usu in analysi finitorum ac doctrina serierum. p. 234. Archived from the original on February 25, 2008. Retrieved August 21, 2025.
  44. ^ Korevaar, Jacob (2004). Tauberian Theory: A Century of Developments. Springer. p. 325. ISBN 3-540-21058-X. Retrieved August 21, 2025.
  45. ^ Sun Changjun (2004). "Fù èrcì mì hánshù yǔ páiliè shù de jiāocuò jíshù xíng xiànxìng wēifēn fāngchéng" 负二次幂函数与排列数的交错级数型线性微分方程 [Negative Second Power Functions and Alternating Series Type Linear Differential Equations of Permutation Numbers]. Shandong Ligong Daxue Xuebao (Ziran Kexue Ban) (自然科学版) (连云港职业技术学院数学教研室) (in Chinese) (5). Lianyungang Vocational Technical College Mathematics Department: 85–89. SDGC200405019. Retrieved August 21, 2025.
  46. ^ Koyré, Alexandre (December 1952). "An Unpublished Letter of Robert Hooke to Isaac Newton". Isis. 43 (4): 312–337. doi:10.1086/348155. ISSN 0021-1753. PMID 13010921. Retrieved August 21, 2025.
  47. ^ Zhōngguó jìndài hángkōng gōngyè shǐ (1909–1949) 中国近代航空工业史(1909-1949) [History of Modern Chinese Aviation Industry (1909-1949)]. China Aviation Industry History Series: General History. Aviation Industry Press. 2013. ISBN 9787516502617. LCCN 2019437836. Archived from the original on November 30, 2020. Retrieved August 21, 2025.
  48. ^ a b Havil, J. (2003). Gamma: Exploring Euler's Constant [Gamma: Exploring Euler's Constant]. Princeton, New Jersey: Princeton University Press. pp. 37–42 (Chapter 4). ISBN 0-691-09983-9. Retrieved August 21, 2025.
  49. ^ "Evaluating ζ(2)" [Evaluating ζ(2)] (PDF). secamlocal.ex.ac.uk. Archived (PDF) from the original on June 29, 2007. Retrieved August 21, 2025.
  50. ^ Xu Zhinong. "Xiūxián shùxué de lànshǎng ... Zhōngguó de Luòshū" 休閒數學的濫觴⋯中國的洛書 [The Origin of Recreational Mathematics: China's Luoshu] (PDF). lungteng.com.tw. Archived (PDF) from the original on March 21, 2020. Retrieved August 21, 2025.
  51. ^ "Bāsài'ěr wèntí (Basel problem) de duōzhǒng jiěfǎ" 巴塞尔问题(Basel problem)的多种解法 [Multiple Solutions to the Basel Problem]. Archived from the original on May 2, 2019. Retrieved August 21, 2025.
  52. ^ a b Knuth, Donald E. (1960-04-01). "A imaginary number system". Commun. ACM. 3 (4): 245–247. doi:10.1145/367177.367233. ISSN 0001-0782. Bi-imaginary number system
  53. ^ a b Knuth, Donald (1998). "Positional Number Systems". The art of computer programming. Vol. 2 (3rd ed.). Boston: Addison-Wesley. p. 205. ISBN 0-201-89684-2. OCLC 48246681.
  54. ^ a b Slekys, Arunas G; Avižienis, Algirdas (1978). "A modified bi-imaginary number system". 1978 IEEE 4th Symposium onomputer Arithmetic (ARITH). IEEE. p. 48-55. doi:10.1109/ARITH.1978.6155756.
  55. ^ a b Slekys, Arunas George (1976). "Design of complex number digital arithmetic units based on a modified bi-imaginary number system". University of California, Los Angeles.
  56. ^ Kreith, Kurt; Mendle, Al (2013-04-18). "Toward A Coherent Treatment of Negative Numbers". Journal of Mathematics Education at Teachers College. 4 (1): 53. doi:10.7916/jmetc.v4i1.775. ISSN 2156-1397.
  57. ^ Walter Noll (March 2003). "Mathematics should not be boring" [Mathematics should not be boring] (PDF). CMU Math - Carnegie Mellon University: 13. Archived (PDF) from the original on March 22, 2016. Retrieved August 21, 2025.
  58. ^ "4.2.1 Integers". Intel 64 and IA-32 Architectures Software Developer's Manual - Volume 1: Basic Architecture. October 2025. p. 4-3. Signed integers are two's complement binary values that can be used to represent both positive and negative integer values.
  59. ^ "3.9. Two's Complement" [3.9. Two's Complement]. Chapter 3. Data Representation. cs.uwm.edu. December 3, 2012. Archived from the original on November 30, 2020. Retrieved August 21, 2025.
  60. ^ David J. Lilja and Sachin S. Sapatnekar, Designing Digital Computer Systems with Verilog, Cambridge University Press, 2005 online Archived 2019-07-26 at the Wayback Machine
  61. ^ Pace, Ian (1998). "Positive or negative 2" [Positive or negative 2]. The Musical Times. 139 (1860). JSTOR: 4–15. doi:10.2307/1004287. JSTOR 1004287.
  62. ^ Tang, Jialing; Liu, Liren; Chen, Peiling (March 4, 2010). "Zhèng-fù èr dù C shùjù jiědú cuòwù, xuézhě bù bèishū" 正負2度C數據解讀錯誤 學者不背書 [Data Misinterpretation in ±2 °C, Scholars Do Not Endorse] (in Chinese (Taiwan)). Liberty Times. Archived from the original on March 7, 2010. Retrieved August 21, 2025.
  63. ^ Zhu Liqun (March 3, 2010). "Huán tuán kēxué jǔzhèng ± èr dù C nèiróng yǒu wù" 環團科學舉證 ±2 °C內容有誤 [Environmental Groups and Scientists Point Out Errors in ±2 °C] (in Chinese (Taiwan)). China Times. Archived from the original on October 26, 2014. Retrieved August 21, 2025.