−2
In mathematics, negative two or minus two is an integer two units from the origin, denoted as −2 or −2. 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, negative two is generally not considered a prime number.
Negative two is sometimes used to denote the square reciprocal in the notation of SI base units, such as m·s−2. Additionally, in fields like software design, −1 is often used as an invalid return value for functions, and similarly, negative two may indicate other invalid conditions beyond negative one. For example, in the On-Line Encyclopedia of Integer Sequences, negative one denotes non-existence, while negative two indicates an infinite solution.
Properties
- Negative two is a complementary Bell number, 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. According to the Stark–Heegner theorem, only nine negative numbers have this property, corresponding to Heegner numbers.
- * Negative two also makes the quadratic field a simple Euclidean field. Only five negative numbers have this property: −11, −7, −3, −2, −1. If relaxed, −15 is included.
- Negative two is the largest negative number unreachable from 1 in two steps using addition, subtraction, or multiplication. The largest in one step is −1, and in three steps, −4. This relates to the straight-line program combined with addition, subtraction, and multiplication, exploring the algebraic complexity of integers in relation to NP = P.
- Negative two is the second-order i.e.,.
- Negative two makes a triangular number. Only nine integers have this property, with negative two being the smallest: −2, −1, 0, 1, 4, 5, 9, 56, and 636.
Divisors of negative two
Powers of negative two
The first few powers of negative two are −2, 4, −8, 16, −32, 64, −128, oscillating between positive and negative. The positive terms are powers of four, and the negative terms differ from powers of four by a factor of negative two. 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. In 1957, some computers used a base-negative-two numeral system for calculations. Similarly, using can represent complex numbers.The sum of the powers of negative two is a divergent geometric series. Although divergent, its generalized sum is.
Using the geometric series formula,
with the first term and common ratio, the result is. However, the series is divergent, with partial sums:
Though divergent, Euler assigned the value to this series, known as Euler summation.
Negative second power
The negative second power of a number is its square reciprocal, applicable to functions as well. 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.Common topics related to the square reciprocal include: for any real number, its square reciprocal is always positive; the inverse-square law; grid turbulence decay; and the Basel problem. The Basel problem states that the sum of the square reciprocals of natural numbers converges to :
This value equals the Riemann zeta function at 2.
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... | 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. The principal value is.Representation
Negative two is typically represented by adding a negative sign before 2, commonly called "negative two" or "minus two" in English.In binary, especially in computing, negative numbers are often represented using two's complement. Negative two is represented as "...11111110", specifically "1110" for 4-bit, "11111110" for 8-bit, and "1111111111111110" for 16-bit integers. In signed notation, it is "−10".