In mathematics, a negative number represents an opposite. In the real number system, a negative number is a number that is less than zero. Negative numbers are often used to represent the magnitude of a loss or deficiency. A debt that is owed may be thought of as a negative asset. If a quantity, such as the charge on an electron, may have either of two opposite senses, then one may choose to distinguish between those senses—perhaps arbitrarily—as positive and negative. Negative numbers are used to describe values on a scale that goes below zero, such as the Celsius and Fahrenheit scales for temperature. The laws of arithmetic for negative numbers ensure that the common-sense idea of an opposite is reflected in arithmetic. For example, −(−3) = 3 because the opposite of an opposite is the original value.
Negative numbers are usually written with a minus sign in front. For example, −3 represents a negative quantity with a magnitude of three, and is pronounced "minus three" or "negative three". To help tell the difference between a subtraction operation and a negative number, occasionally the negative sign is placed slightly higher than the minus sign (as a superscript). Conversely, a number that is greater than zero is called positive; zero is usually (but not always) thought of as neither positive nor negative. The positivity of a number may be emphasized by placing a plus sign before it, e.g. +3. In general, the negativity or positivity of a number is referred to as its sign.
Every real number other than zero is either positive or negative. The non-negative whole numbers are referred to as natural numbers (i.e., 0, 1, 2, 3...), while the positive and negative whole numbers (together with zero) are referred to as integers. (Some definitions of the natural numbers exclude zero.)
In bookkeeping, amounts owed are often represented by red numbers, or a number in parentheses, as an alternative notation to represent negative numbers.
Negative numbers appeared for the first time in history in the Nine Chapters on the Mathematical Art, which in its present form dates from the period of the Chinese Han Dynasty (202 BC – AD 220), but may well contain much older material. Liu Hui (c. 3rd century) established rules for adding and subtracting negative numbers. By the 7th century, Indian mathematicians such as Brahmagupta were describing the use of negative numbers. Islamic mathematicians further developed the rules of subtracting and multiplying negative numbers and solved problems with negative coefficients. Prior to the concept of negative numbers, mathematicians such as Diophantus considered negative solutions to problems "false" and equations requiring negative solutions were described as absurd. Western mathematicians like Leibniz (1646–1716) held that negative numbers were invalid, but still used them in calculations.
Main article: Number line
The relationship between negative numbers, positive numbers, and zero is often expressed in the form of a number line:
Numbers appearing farther to the right on this line are greater, while numbers appearing farther to the left are less. Thus zero appears in the middle, with the positive numbers to the right and the negative numbers to the left.
Note that a negative number with greater magnitude is considered less. For example, even though (positive) 8 is greater than (positive) 5, written
negative 8 is considered to be less than negative 5:
(Because, for example, if you have £−8, a debt of £8, you would have less after adding, say £10, to it than if you have £−5.) It follows that any negative number is less than any positive number, so
Main article: Sign (mathematics)
In the context of negative numbers, a number that is greater than zero is referred to as positive. Thus every real number other than zero is either positive or negative, while zero itself is not considered to have a sign. Positive numbers are sometimes written with a plus sign in front, e.g. +3 denotes a positive three.
Because zero is neither positive nor negative, the term nonnegative is sometimes used to refer to a number that is either positive or zero, while nonpositive is used to refer to a number that is either negative or zero. Zero is a neutral number.
Negative numbers can be thought of as resulting from the subtraction of a larger number from a smaller. For example, negative three is the result of subtracting three from zero:
In general, the subtraction of a larger number from a smaller yields a negative result, with the magnitude of the result being the difference between the two numbers. For example,
since 8 − 5 = 3.
The minus sign "−" signifies the operator for both the binary (two-operand) operation of subtraction (as in y − z) and the unary (one-operand) operation of negation (as in −x, or twice in −(−x)). A special case of unary negation occurs when it operates on a positive number, in which case the result is a negative number (as in −5).
The ambiguity of the "−" symbol does not generally lead to ambiguity in arithmetical expressions, because the order of operations makes only one interpretation or the other possible for each "−". However, it can lead to confusion and be difficult for a person to understand an expression when operator symbols appear adjacent to one another. A solution can be to parenthesize the unary "−" along with its operand.
For example, the expression 7 + −5 may be clearer if written 7 + (−5) (even though they mean exactly the same thing formally). The subtraction expression 7 – 5 is a different expression that doesn't represent the same operations, but it evaluates to the same result.
Sometimes in elementary schools a number may be prefixed by a superscript minus sign or plus sign to explicitly distinguish negative and positive numbers as in
Addition of two negative numbers is very similar to addition of two positive numbers. For example,
The idea is that two debts can be combined into a single debt of greater magnitude.
When adding together a mixture of positive and negative numbers, one can think of the negative numbers as positive quantities being subtracted. For example:
In the first example, a credit of 8 is combined with a debt of 3, which yields a total credit of 5. If the negative number has greater magnitude, then the result is negative:
Here the credit is less than the debt, so the net result is a debt.
As discussed above, it is possible for the subtraction of two non-negative numbers to yield a negative answer:
In general, subtraction of a positive number yields the same result as the addition of a negative number of equal magnitude. Thus
On the other hand, subtracting a negative number yields the same result as the addition a positive number of equal magnitude. (The idea is that losing a debt is the same thing as gaining a credit.) Thus
When multiplying numbers, the magnitude of the product is always just the product of the two magnitudes. The sign of the product is determined by the following rules:
The reason behind the first example is simple: adding three −2's together yields −6:
The reasoning behind the second example is more complicated. The idea again is that losing a debt is the same thing as gaining a credit. In this case, losing two debts of three each is the same as gaining a credit of six:
The convention that a product of two negative numbers is positive is also necessary for multiplication to follow the distributive law. In this case, we know that
Since 2 × (−3) = −6, the product (−2) × (−3) must equal 6.
These rules lead to another (equivalent) rule—the sign of any product a × b depends on the sign of a as follows:
The justification for why the product of two negative numbers is a positive number can be observed in the analysis of complex numbers.
The sign rules for division are the same as for multiplication. For example,
If dividend and divisor have the same sign, the result is positive, if they have different signs the result is negative.
Main article: Additive inverse
The negative version of a positive number is referred to as its negation. For example, −3 is the negation of the positive number 3. The sum of a number and its negation is equal to zero:
That is, the negation of a positive number is the additive inverse of the number.
Using algebra, we may write this principle as an algebraic identity:
This identity holds for any positive number x. It can be made to hold for all real numbers by extending the definition of negation to include zero and negative numbers. Specifically:
For example, the negation of −3 is +3. In general,
The absolute value of a number is the non-negative number with the same magnitude. For example, the absolute value of −3 and the absolute value of 3 are both equal to 3, and the absolute value of 0 is 0.
See also: Integer § Construction
In a similar manner to rational numbers, we can extend the natural numbers N to the integers Z by defining integers as an ordered pair of natural numbers (a, b). We can extend addition and multiplication to these pairs with the following rules:
We define an equivalence relation ~ upon these pairs with the following rule:
This equivalence relation is compatible with the addition and multiplication defined above, and we may define Z to be the quotient set N²/~, i.e. we identify two pairs (a, b) and (c, d) if they are equivalent in the above sense. Note that Z, equipped with these operations of addition and multiplication, is a ring, and is in fact, the prototypical example of a ring.
We can also define a total order on Z by writing
This will lead to an additive zero of the form (a, a), an additive inverse of (a, b) of the form (b, a), a multiplicative unit of the form (a + 1, a), and a definition of subtraction
This construction is a special case of the Grothendieck construction.
The additive inverse of a number is unique, as is shown by the following proof. As mentioned above, an additive inverse of a number is defined as a value which when added to the number yields zero.
Let x be a number and let y be its additive inverse. Suppose y′ is another additive inverse of x. By definition,
And so, x + y′ = x + y. Using the law of cancellation for addition, it is seen that y′ = y. Thus y is equal to any other additive inverse of x. That is, y is the unique additive inverse of x.
See also: Complex number § History
For a long time, understanding of negative numbers was delayed by the impossibility of having a negative-number amount of a physical object, for example "minus-three apples", and negative solutions to problems were considered "false".
In Hellenistic Egypt, the Greek mathematician Diophantus in the 3rd century AD referred to an equation that was equivalent to (which has a negative solution) in Arithmetica, saying that the equation was absurd. For this reason Greek geometers were able to solve geometrically all forms of the quadratic equation which give positive roots; while they could take no account of others.
Negative numbers appear for the first time in history in the Nine Chapters on the Mathematical Art (九章算術, Jiǔ zhāng suàn-shù), which in its present form dates from the period of the Han Dynasty (202 BC – 220 AD), but may well contain much older material. The mathematician Liu Hui (c. 3rd century) established rules for the addition and subtraction of negative numbers. The historian Jean-Claude Martzloff theorized that the importance of duality in Chinese natural philosophy made it easier for the Chinese to accept the idea of negative numbers. The Chinese were able to solve simultaneous equations involving negative numbers. The Nine Chapters used red counting rods to denote positive coefficients and black rods for negative. This system is the exact opposite of contemporary printing of positive and negative numbers in the fields of banking, accounting, and commerce, wherein red numbers denote negative values and black numbers signify positive values. Liu Hui writes:
Now there are two opposite kinds of counting rods for gains and losses, let them be called positive and negative. Red counting rods are positive, black counting rods are negative.
The ancient Indian Bakhshali Manuscript carried out calculations with negative numbers, using "+" as a negative sign. The date of the manuscript is uncertain. LV Gurjar dates it no later than the 4th century, Hoernle dates it between the third and fourth centuries, Ayyangar and Pingree dates it to the 8th or 9th centuries, and George Gheverghese Joseph dates it to about AD 400 and no later than the early 7th century,
During the 7th century AD, negative numbers were used in India to represent debts. The Indian mathematician Brahmagupta, in Brahma-Sphuta-Siddhanta (written c. AD 630), discussed the use of negative numbers to produce the general form quadratic formula that remains in use today. He also found negative solutions of quadratic equations and gave rules regarding operations involving negative numbers and zero, such as "A debt cut off from nothingness becomes a credit; a credit cut off from nothingness becomes a debt." He called positive numbers "fortunes", zero "a cipher", and negative numbers "debts".
In the 9th century, Islamic mathematicians were familiar with negative numbers from the works of Indian mathematicians, but the recognition and use of negative numbers during this period remained timid. Al-Khwarizmi in his Al-jabr wa'l-muqabala (from which we get the word "algebra") did not use negative numbers or negative coefficients. But within fifty years, Abu Kamil illustrated the rules of signs for expanding the multiplication , and al-Karaji wrote in his al-Fakhrī that "negative quantities must be counted as terms". In the 10th century, Abū al-Wafā' al-Būzjānī considered debts as negative numbers in A Book on What Is Necessary from the Science of Arithmetic for Scribes and Businessmen.
By the 12th century, al-Karaji's successors were to state the general rules of signs and use them to solve polynomial divisions. As al-Samaw'al writes:
the product of a negative number—al-nāqiṣ (loss)—by a positive number—al-zāʾid (gain)—is negative, and by a negative number is positive. If we subtract a negative number from a higher negative number, the remainder is their negative difference. The difference remains positive if we subtract a negative number from a lower negative number. If we subtract a negative number from a positive number, the remainder is their positive sum. If we subtract a positive number from an empty power (martaba khāliyya), the remainder is the same negative, and if we subtract a negative number from an empty power, the remainder is the same positive number.
In the 12th century in India, Bhāskara II gave negative roots for quadratic equations but rejected them because they were inappropriate in the context of the problem. He stated that a negative value is "in this case not to be taken, for it is inadequate; people do not approve of negative roots."
Fibonacci allowed negative solutions in financial problems where they could be interpreted as debits (chapter 13 of Liber Abaci, 1202 AD) and later as losses (in Fibonacci's work Flos).
In the 15th century, Nicolas Chuquet, a Frenchman, used negative numbers as exponents but referred to them as "absurd numbers".
Michael Stifel dealt with negative numbers in his 1544 AD Arithmetica Integra, where he also called them numeri absurdi (absurd numbers).
In 1545, Gerolamo Cardano, in his Ars Magna, provided the first satisfactory treatment of negative numbers in Europe. He did not allow negative numbers in his consideration of cubic equations, so he had to treat, for example, separately from (with in both cases). In all, Cardano was driven to the study of thirteen types of cubic equations, each with all negative terms moved to the other side of the = sign to make them positive. (Cardano also dealt with complex numbers, but understandably liked them even less.)
In 1748 Leonhard Euler, by formally manipulating complex power series while using the square root of obtained Euler's formula of complex analysis:
In 1797 AD, Carl Friedrich Gauss published a proof of the fundamental theorem of algebra but expressed his doubts at the time about "the true metaphysics of the square root of −1".
However, European mathematicians, for the most part, resisted the concept of negative numbers until the middle of the 19th century. In the 18th century it was common practice to ignore any negative results derived from equations, on the assumption that they were meaningless. In 1759 AD, the English mathematician Francis Maseres wrote that negative numbers "darken the very whole doctrines of the equations and make dark of the things which are in their nature excessively obvious and simple". He came to the conclusion that negative numbers were nonsensical.
Liu is explicit on this; at the point where the Nine Chapters give a detailed and helpful 'Sign Rule'
Mark McCall's side have subsequently dropped from third to bottom of the Premiership with −22 points
But in the third minute of stoppage time, the striker turned in Luke Murphy's cross from eight yards to earn a third straight League One win for Hill's side, who started the campaign on −12 points after going into administration in May.
Delta time: A term used to describe the time difference between two different laps or two different cars. For example, there is usually a negative delta between a driver's best practice lap time and his best qualifying lap time because he uses a low fuel load and new tyres.
Wind assistance is normally expressed in meters per second, either positive or negative. A positive measurement means that the wind is helping the runners and a negative measurement means that the runners had to work against the wind. So, for example, winds of −2.2m/s and +1.9m/s are legal, while a wind of +2.1m/s is too much assistance and considered illegal. The terms "tailwind" and "headwind" are also frequently used. A tailwind pushes the runners forward (+) while a headwind pushes the runners backwards (−)