−2

From testwiki
Jump to navigation Jump to search

Template:Short description Template:About Template:Distinguish Template:Infobox number 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

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 −1 can be factored out as −1×2,[30] making 2 a prime factor but not the result of prime factorization. As a Gaussian integer, negative two can be factored as i×(1+i)2, where 1+i is a Gaussian prime and i 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 2i can represent complex numbers.[38]

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

∑k=0n(−2)k=1−2+4−8+…

Using the geometric series formula,[41]

∑k=0∞ark=a1−r

with the first term a=1 and common ratio r=−2, the result is 13. 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 13 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 n, its square reciprocal n−2 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 π26:[49][48]

∑n=1∞n−2=1−2+2−2+3−2+⋯=112+122+132+⋯=π26

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 14. The square reciprocals of the first few natural numbers are:

Square reciprocal 1 2 3 4 5 6 7 8 9 10
x−2 1 14 19 116 125 136 149 164 181 1100
1 0.25 0.1‾ 0.0625 0.04 0.027‾ 0.0204081632...[Note 2] 0.015625 0.012345679‾ 0.01

Square root of negative two

The square root of negative two, defined with the imaginary unit i satisfying i2=−1, is derived from −x=±ix. For negative two, it is −2=±i2.[Note 3][52][53][54][55] The principal value is −2=i2.[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 (±2) 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 x2=4, i.e., 4=±2. 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 d<0, if the ring of integers of ℚ[d] is a unique factorization domain, all numbers in ℚ[d] have a unique factorization. For example, ℚ[−5] is not, as 6 can be factored in two ways in ℤ[−5]: 2×3 and (1+−5)(1−−5).
  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 ⟨R,ZR⟩, where R is negative two and ZR is two, it is ⟨±i2,Z2⟩. Template:Cite journal
  4. ↑ The principal value of the square root of –2 is −x=±ix taking the positive value; with respect to –2, that is −2=i2.

References

Template:Reflist

Template:Navbox

  1. ↑ Template:Cite book
  2. ↑ Template:Cite journal
  3. ↑ Template:Cite book
  4. ↑ Template:Cite OEIS
  5. ↑ Template:Cite web
  6. ↑ 6.0 6.1 Template:SIbrochure8th
  7. ↑ Template:Cite book
  8. ↑ Template:Cite journal
  9. ↑ Template:Cite OEIS
  10. ↑ Template:Cite OEIS
  11. ↑ Template:Cite web
  12. ↑ Template:Cite book
  13. ↑ Template:Cite book
  14. ↑ Template:Cite book
  15. ↑ Template:Cite journal
  16. ↑ Template:Cite web
  17. ↑ Template:Cite OEIS
  18. ↑ Template:Cite journal
  19. ↑ Template:Cite book
  20. ↑ Template:Cite web
  21. ↑ Template:Cite web
  22. ↑ Template:Cite OEIS
  23. ↑ 23.0 23.1 Template:Cite OEIS
  24. ↑ Template:Cite journal
  25. ↑ Template:Cite journal
  26. ↑ Template:Cite OEIS
  27. ↑ Template:Cite web
  28. ↑ Template:Cite book
  29. ↑ Template:Cite OEIS
  30. ↑ Template:Cite book
  31. ↑ Template:Cite journal
  32. ↑ 32.0 32.1 Template:Cite journal
  33. ↑ Template:Cite OEIS
  34. ↑ Template:Cite book Knuth mentions both negabinary and negadecimal.
  35. ↑ Template:Cite journal
  36. ↑ Template:Cite OEIS
  37. ↑ Template:Cite journal
  38. ↑ Template:Cite journal
  39. ↑ Template:Cite book
  40. ↑ Template:Cite journal
  41. ↑ Template:Cite web
  42. ↑ 42.0 42.1 Template:Cite OEIS
  43. ↑ Template:Cite book
  44. ↑ Template:Cite book
  45. ↑ Template:Cite journal
  46. ↑ Template:Cite journal
  47. ↑ Template:Cite book
  48. ↑ 48.0 48.1 Template:Cite book
  49. ↑ Template:Cite web
  50. ↑ Template:Cite web
  51. ↑ Template:Cite web
  52. ↑ 52.0 52.1 Template:Cite journal
  53. ↑ 53.0 53.1 Template:Cite book
  54. ↑ 54.0 54.1 Template:Cite book
  55. ↑ 55.0 55.1 Template:Cite journal
  56. ↑ Template:Cite journal
  57. ↑ Template:Cite journal
  58. ↑ Template:Cite book
  59. ↑ Template:Cite web
  60. ↑ David J. Lilja and Sachin S. Sapatnekar, Designing Digital Computer Systems with Verilog, Cambridge University Press, 2005 online Template:Webarchive
  61. ↑ Template:Cite journal
  62. ↑ Template:Cite web
  63. ↑ Template:Cite web