Loading AI tools
Integer From Wikipedia, the free encyclopedia
In mathematics, −1 (negative one or minus one) is the additive inverse of 1, that is, the number that when added to 1 gives the additive identity element, 0. It is the negative integer greater than negative two (−2) and less than 0.
Multiplying a number by −1 is equivalent to changing the sign of the number – that is, for any x we have (−1) ⋅ x = −x. This can be proved using the distributive law and the axiom that 1 is the multiplicative identity:
Here we have used the fact that any number x times 0 equals 0, which follows by cancellation from the equation
In other words,
so (−1) ⋅ x is the additive inverse of x, i.e. (−1) ⋅ x = −x, as was to be shown.
The square of −1, i.e. −1 multiplied by −1, equals 1. As a consequence, a product of two negative numbers is positive.
For an algebraic proof of this result, start with the equation
The first equality follows from the above result, and the second follows from the definition of −1 as additive inverse of 1: it is precisely that number which when added to 1 gives 0. Now, using the distributive law, it can be seen that
The third equality follows from the fact that 1 is a multiplicative identity. But now adding 1 to both sides of this last equation implies
The above arguments hold in any ring, a concept of abstract algebra generalizing integers and real numbers.[1]: p.48
Although there are no real square roots of −1, the complex number i satisfies i2 = −1, and as such can be considered as a square root of −1.[2] The only other complex number whose square is −1 is −i because there are exactly two square roots of any non‐zero complex number, which follows from the fundamental theorem of algebra. In the algebra of quaternions – where the fundamental theorem does not apply – which contains the complex numbers, the equation x2 = −1 has infinitely many solutions.[3][4]
Exponentiation of a non‐zero real number can be extended to negative integers, where raising a number to the power −1 has the same effect as taking its multiplicative inverse:
This definition is then applied to negative integers, preserving the exponential law xaxb = x(a + b) for real numbers a and b.
A −1 superscript in f −1(x) takes the inverse function of f(x), where ( f(x))−1 specifically denotes a pointwise reciprocal.[lower-alpha 1] Where f is bijective specifying an output codomain of every y ∈ Y from every input domain x ∈ X, there will be
When a subset of the codomain is specified inside the function f, its inverse will yield an inverse image, or preimage, of that subset under the function.
Exponentiation to negative integers can be further extended to invertible elements of a ring by defining x−1 as the multiplicative inverse of x; in this context, these elements are considered units.[1]: p.49
In a polynomial domain F [x] over any field F, the polynomial x has no inverse. If it did have an inverse q(x), then there would be[5]
which is not possible, and therefore, F [x] is not a field. More specifically, because the polynomial is not continuous, it is not a unit in F.
Integer sequences commonly use −1 to represent an uncountable set, in place of "∞" as a value resulting from a given index.[6]
As an example, the number of regular convex polytopes in n-dimensional space is,
−1 can also be used as a null value, from an index that yields an empty set ∅ or non-integer where the general expression describing the sequence is not satisfied, or met.[6]
For instance, the smallest k > 1 such that in the interval 1...k there are as many integers that have exactly twice n divisors as there are prime numbers is,
A non-integer or empty element is often represented by 0 as well.
In software development, −1 is a common initial value for integers and is also used to show that a variable contains no useful information.[citation needed]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.