Subtraction


Subtraction is an arithmetic operation that represents the operation of removing objects from a collection. The result of a subtraction is called a difference. Subtraction is signified by the minus sign,. For example, in the adjacent picture, there are apples—meaning 5 apples with 2 taken away, which is a total of 3 apples. Therefore, the difference of 5 and 2 is 3, that is,. Subtraction represents removing or decreasing physical and abstract quantities using different kinds of objects including negative numbers, fractions, irrational numbers, vectors, decimals, functions, and matrices.
Subtraction follows several important patterns. It is anticommutative, meaning that changing the order changes the sign of the answer. It is also not associative, meaning that when one subtracts more than two numbers, the order in which subtraction is performed matters. Because is the additive identity, subtraction of it does not change a number. Subtraction also obeys predictable rules concerning related operations such as addition and multiplication. All of these rules can be proven, starting with the subtraction of integers and generalizing up through the real numbers and beyond. General binary operations that continue these patterns are studied in abstract algebra.
Performing subtraction is one of the simplest numerical tasks. Subtraction of very small numbers is accessible to young children. In primary education, students are taught to subtract numbers in the decimal system, starting with single digits and progressively tackling more difficult problems.
In advanced algebra and in computer algebra, an expression involving subtraction like is generally treated as a shorthand notation for the addition. Thus, contains two terms, namely A and −B. This allows an easier use of associativity and commutativity.

Notation and terminology

Subtraction is usually written using the minus sign "−" between the terms; that is, in infix notation. The result is expressed with an equals sign. For example,
There are also situations where subtraction is "understood" even though no symbol appears:
Formally, the number being subtracted is known as the subtrahend, while the number it is subtracted from is the minuend. The result is the difference.
All of this terminology derives from Latin. "" is an English word derived from the Latin verb subtrahere, which is in turn a compound of sub "from under" and trahere "to pull"; thus to subtract is to draw from below, take away. Using the gerundive suffix -nd results in "subtrahend", "thing to be subtracted". Likewise from minuere "to reduce or diminish", one gets "minuend", "thing to be diminished".

Of integers and real numbers

Integers

Imagine a line segment of length b with the left end labeled a and the right end labeled c.
Starting from a, it takes b steps to the right to reach c. This movement to the right is modeled mathematically by addition:
From c, it takes b steps to the left to get back to a. This movement to the left is modeled by subtraction:
Now, a line segment labeled with the numbers,, and. From position 3, it takes no steps to the left to stay at 3, so. It takes 2 steps to the left to get to position 1, so. This picture is inadequate to describe what would happen after going 3 steps to the left of position 3. To represent such an operation, the line must be extended.
To subtract arbitrary natural numbers, one begins with a line containing every natural number. From 3, it takes 3 steps to the left to get to 0, so. But is still invalid since it again leaves the line. The natural numbers are not a useful context for subtraction.
The solution is to consider the integer number line. From 3, it takes 4 steps to the left to get to −1:

Natural numbers

Subtraction of natural numbers is not closed. The difference is not a natural number unless the minuend is greater than or equal to the subtrahend. For example, 26 cannot be subtracted from 11 to give a natural number. Such a case uses one of two approaches:
  1. Say that 26 cannot be subtracted from 11; subtraction becomes a partial function.
  2. Give the answer as an integer representing a negative number, so the result of subtracting 26 from 11 is −15.

    Real numbers

Subtraction of real numbers is defined as addition of signed numbers. Specifically, a number is subtracted by adding its additive inverse. Then we have. This helps to keep the ring of real numbers "simple" by avoiding the introduction of "new" operators such as subtraction. Ordinarily a ring only has two operations defined on it; in the case of the integers, these are addition and multiplication. A ring already has the concept of additive inverses, but it does not have any notion of a separate subtraction operation, so the use of signed addition as subtraction allows us to apply the ring axioms to subtraction without needing to prove anything.

Properties

Anticommutativity

Subtraction is anti-commutative, meaning that if one reverses the terms in a difference left-to-right, the result is the negative of the original result. Symbolically, if a and b are any two numbers, then

Non-associativity

Subtraction is non-associative, which comes up when one tries to define repeated subtraction. Should the expression
be defined to mean − c or a − ? These two possibilities give different answers. To resolve this issue, one must establish an order of operations, with different orders giving different results.

Predecessor

In the context of integers, subtraction of one also plays a special role: for any integer a, the integer is the largest integer less than a, also known as the predecessor of a.

Units of measurement

When subtracting two numbers with units of measurement such as kilograms or pounds, they must have the same unit. In most cases the difference will have the same unit as the original numbers.

Percentages

Changes in percentages can be reported in at least two forms, percentage change and percentage point change. Percentage change represents the relative change between the two quantities as a percentage, while percentage point change is simply the number obtained by subtracting the two percentages.
As an example, suppose that 30% of widgets made in a factory are defective. Six months later, 20% of widgets are defective. The percentage change is = − = %, while the percentage point change is −10 percentage points.

In computing

The method of complements is a technique used to subtract one number from another using only addition of positive numbers. This method was commonly used in mechanical calculators and is still used in modern computers.
Binary
digit
Ones'
complement
01
10

To subtract a binary number y from another number x, the ones' complement of y is added to x and one is added to the sum. The leading digit "1" of the result is then discarded.
The method of complements is especially useful in binary since the ones' complement is very easily obtained by inverting each bit. And adding 1 to get the two's complement can be done by simulating a carry into the least significant bit. For example:
01100100
- 00010110
becomes the sum:
01100100
+ 11101001
+ 1
——————————
101001110
Dropping the initial "1" gives the answer: 01001110

The teaching of subtraction in schools

Methods used to teach subtraction to elementary school vary from country to country, and within a country, different methods are in fashion at different times. In what is, in the United States, called traditional mathematics, a specific process is taught to students at the end of the 1st year or during the 2nd year for use with multi-digit whole numbers, and is extended in either the fourth or fifth grade to include decimal representations of fractional numbers.

In America

Almost all American schools currently teach a method of subtraction using borrowing or regrouping and a system of markings called crutches. Although a method of borrowing had been known and published in textbooks previously, the use of crutches in American schools spread after William A. Brownell published a study claiming that crutches were beneficial to students using this method. This system caught on rapidly, displacing the other methods of subtraction in use in America at that time.

In Europe

Some European schools employ a method of subtraction called the Austrian method, also known as the additions method. There is no borrowing in this method. There are also crutches, which vary by country.

Comparing the two main methods

Both these methods break up the subtraction as a process of one digit subtractions by place value. Starting with a least significant digit, a subtraction of subtrahend:
from minuend
where each si and mi is a digit, proceeds by writing down,, and so forth, as long as si does not exceed mi. Otherwise, mi is increased by 10 and some other digit is modified to correct for this increase. The American method corrects by attempting to decrease the minuend digit mi+1 by one. The European method corrects by increasing the subtrahend digit si+1 by one.
Example: 704 − 512.
The minuend is 704, the subtrahend is 512. The minuend digits are, and. The subtrahend digits are, and. Beginning at the one's place, 4 is not less than 2 so the difference 2 is written down in the result's one's place. In the ten's place, 0 is less than 1, so the 0 is increased by 10, and the difference with 1, which is 9, is written down in the ten's place. The American method corrects for the increase of ten by reducing the digit in the minuend's hundreds place by one. That is, the 7 is struck through and replaced by a 6. The subtraction then proceeds in the hundreds place, where 6 is not less than 5, so the difference is written down in the result's hundred's place. We are now done, the result is 192.
The Austrian method does not reduce the 7 to 6. Rather it increases the subtrahend hundred's digit by one. A small mark is made near or below this digit. Then the subtraction proceeds by asking what number when increased by 1, and 5 is added to it, makes 7. The answer is 1, and is written down in the result's hundred's place.
There is an additional subtlety in that the student always employs a mental subtraction table in the American method. The Austrian method often encourages the student to mentally use the addition table in reverse. In the example above, rather than adding 1 to 5, getting 6, and subtracting that from 7, the student is asked to consider what number, when increased by 1, and 5 is added to it, makes 7.

Subtraction by hand

Austrian method

Example:

Subtraction from left to right

Example:

American method

In this method, each digit of the subtrahend is subtracted from the digit above it starting from right to left. If the top number is too small to subtract the bottom number from it, we add 10 to it; this 10 is "borrowed" from the top digit to the left, which we subtract 1 from. Then we move on to subtracting the next digit and borrowing as needed, until every digit has been subtracted.
Example:

Trade first

A variant of the American method where all borrowing is done before all subtraction.
Example:

Partial differences

The partial differences method is different from other vertical subtraction methods because no borrowing or carrying takes place. In their place, one places plus or minus signs depending on whether the minuend is greater or smaller than the subtrahend. The sum of the partial differences is the total difference.
Example:

Nonvertical methods

Counting up

Instead of finding the difference digit by digit, one can count up the numbers between the subtrahend and the minuend.
Example:
1234 − 567 = can be found by the following steps:
Add up the value from each step to get the total difference:.

Breaking up the subtraction

Another method that is useful for mental arithmetic is to split up the subtraction into small steps.
Example:
1234 − 567 = can be solved in the following way:
The same change method uses the fact that adding or subtracting the same number from the minuend and subtrahend does not change the answer. One adds the amount needed to get zeros in the subtrahend.
Example:
"1234 − 567 =" can be solved as follows:
*