Arithmetic
Literally, the art of counting. The word, in its oldest Greek form, comes from the word arithmetike, which combines the ideas of two words in Greek, arithmos, meaning "number," and techne, referring to an art or skill. For the history of arithmetic and mathematics, see Mathematics.
The numbers used for counting are called the positive integers. They are generated by adding 1 to each number in an unending series, so that each number in the sequence is one more than its immediate predecessor. Different civilizations throughout history have developed different kinds of number systems. One of the most common is the one used in all modern cultures, in which objects are counted in groups of ten. Called the base 10, or decimal, system, it is the one that is used in this article.
In the base 10 system, integers are represented by digits expressing various powers of 10. For example, take the number 1534. Every digit in this number has its own place value, and the place values increase by another power of 10 as they move to the left. The first place value is a unit value (here, 4); the second place value is 10 (here, 3 × 10, or 30); the third place value is 10 × 10, or 100 (here, 5 × 100, or 500); and the fourth place value is 10 × 10 × 10, or 1000 (here, 1 × 1000, or 1000).
·
·
·
·
·
·
·
·
·
·
·
·
·
·
Arithmetic is concerned with the ways in which numbers can be combined through addition, subtraction, multiplication, and division. The word number also includes negative numbers, fractions, and algebraic irrational numbers. For a summary of the laws of addition, multiplication, and distribution, see Algebra.
The arithmetic operation of addition is indicated by the plus sign (+) and is basically a means of counting by increments greater than 1. For example, four apples and five apples could be added by putting them together and then counting them individually from 1 to 9. Addition, however, makes it possible to add, or compute, sums more readily. The simplest combinations of sums must be memorized. The following table represents the sums of any two digits from 0 to 9:

To find the sum of any two numbers between 0 and 9, locate the first of the numbers in the vertical column at the left of the table and the other number in the horizontal row at the top. The sum is the number in the body of the table at the intersection of the particular row and column that have been selected.
Arithmetic also makes it possible to add long lists of large numbers by applying simple rules that make the work quite easy. For example, it would be possible to add 27 + 32 + 49 by first counting to 27, then counting 32 more times after 27, and then another 49 times beyond that to get the total, or sum. But if the numbers are listed one under another so that all the units are in a line, all the tens are in a line, and so on, the addition is relatively simple:

First the units (7 + 2 + 9) are added; they total 18. Then the digits in the tens place (2 + 3 + 4) are added; they total 9, but this means 9 tens, or 90. This can now be written as

In the last step, the total of the units is added to the total of the tens. This procedure may be shortened by carrying the 1 of 18, which stands for one ten, over to the tens column and adding it directly with the digits there.

The digits in the tens column are added, and the sum 108 is the result. Similarly, in adding numbers with three or more places, numbers may be carried to the hundreds, thousands, or higher places.
The arithmetic operation of subtraction is indicated by the minus sign (-) and is the opposite, or inverse, operation to addition. Again, it is possible to subtract 23 from 66 by counting backward from 66 or by taking away 23 items from a collection of 66 until one reaches the remainder of 43. The rules of arithmetic for subtraction, however, provide a much simpler method for obtaining the answer. First the numbers are aligned under one another, units under units, tens under tens:

Subtraction is a bit more complicated if digits of the subtrahend are larger than those of the minuend. This can be handled in a manner analogous to carrying, but known as borrowing in subtraction. For example, to subtract 46 from 92

10 can be borrowed from the tens column--that is, from the 9 of 92--leaving 8 in the tens column. The 10 is brought over to the units column and added to the 2 already there, giving 12 (notated 12) in that column from which 6 can now be subtracted:

The subtraction is completed by carrying out the difference in the tens column, that is, by taking 4 away from 8 to give 4; the answer is 46.
As long as smaller numbers are being subtracted from larger ones, carrying out the operation of subtraction in arithmetic is not difficult. But if the subtrahend is larger than the minuend, the only way to produce an answer, or remainder, is to introduce the concept of negative numbers.
Negative numbers may be most easily visualized by considering the familiar numbers of arithmetic, the positive integers, arranged in a line and increasing in a positive direction. Negative numbers are reached by proceeding away from 0 in the opposite direction. The following number line represents both positive and negative numbers:

If 4 is subtracted from 2, written symbolically as 2 - 4, four units are counted backward from +2, and -2 is reached--the difference when 4 is subtracted from 2. Rules for basic arithmetic operations involving negative numbers are given at the end of this section, following the laws of basic arithmetic operations.
The arithmetic operation of multiplication is indicated by the times sign (×). Sometimes a dot is used to indicate the multiplication of two or more numbers, and sometimes parentheses are used. For example, 3 × 4, 3

4, and (3)(4) all indicate the product of 3 times 4. Multiplication is simply repeated addition. The expression 3 × 4 means that 3 is to be added to itself four times; or, similarly, that 4 is to be added to itself three times. In either case, the answer is the same. When large numbers are involved, however, such repeated addition is tedious, and thus arithmetic provides procedures for simplifying the operations. As in addition, it is necessary to know the basic multiples of the integers between 0 and 9, which are provided in the following table:

To find the product of any two numbers between 0 and 9, locate the first of the numbers in the vertical column at the left of the table and the second number in the horizontal row at the top of the table. The product is then the number in the body of the table at the intersection of the column and row in question. For example, 7 × 8 = 56.
In order to multiply two numbers, the units, tens, hundreds, and so on, are aligned, as in the following example.

Each digit of the multiplicand is then multiplied by the multiplier, in this case, 4. The results of all these multiplications are then added together, giving the product 1544:

This operation can be shortened by carrying tens and hundreds, as in addition:

The 6 is multiplied by 4, giving 24; the 4 is written in the units place in the product and the 2, which stands for 2 tens, or 20, is carried. The 8 in the tens place is now multiplied by 4, giving 32, to which 2 is added, giving 34. (Actually, 80 has been multiplied by 4, giving 320, and the 20, which had been carried, is then added to 320.) The 4 is written down in the tens place, and the 3 (which stands for 3 hundreds) is carried and placed over the hundreds column. To finish, the 3 in the hundreds place of the multiplicand is multiplied by 4, giving 12 (actually 1200), and the 3 that was carried is added to give 15 (actually 1500):

For larger multipliers, an analogous procedure may be followed. For example, the following product is begun by carrying out multiplication by the unit 3 of the multiplier:

The 9 is next multiplied by 6, giving 54, and the 4 is placed under the number 3 in the tens place of the partial product. This is done because the digit 6 in the multiplier is in the tens place and actually represents 60. The 5 is carried as usual. The 7 in the tens place of the multiplicand is multiplied by the 6, giving 42, and the carried 5 is added, giving 47 (really 6 times 70, plus 50, giving 470). Now the 7 is written in the hundreds place (directly to the left of the 4 in the tens place), and the 4 is carried. The rest of the multiplication is straightforward, and the total product is obtained by adding the two partial products:

For each digit in the multiplier there will be a line for each partial product obtained as the units, tens, hundreds, and so on are multiplied out.. Each successive partial product is placed one digit to the left of the partial product above it, corresponding to the position of the digit being multiplied in the multiplier. Thus, in the above example, the partial product of 6 times 579 yields 3474, and the 4 in the digits place must be written in the tens place for the partial product. This is because the multiplier is really 60, not 6; the entire partial product is actually a multiple of 10, 34740, which would of course produce the same alignment:

Superscript numbers (raised numbers) are employed to notate the multiplication of a number by itself. For example 5
5 is notated 52 and is termed "five squared." Similarly, 5
5
5 = 53, or five cubed.
The arithmetic operation of division is the opposite, or inverse, operation to multiplication. Using the example of 12 divided by 4, division may be indicated by the division sign (12÷4), a bar (

), a slash (12/4), or the notation

.
Basically, division is the arithmetic operation that determines how many times a given number is contained in another as a multiple. For example, 4 is contained three times in 12; thus, 12 divided by 4 is 3, or 12/4 is 3, or

Many divisions may be carried out by inspection, but more complicated cases require a procedure known as long division. For example, in the quotient 3918 ÷ 6, or
the number 6 will not divide 3 one or more times, but 6 will go into 39 at least six times and less than seven times (6 × 6 is 36). The number 6 is therefore written in the quotient over the 9 in the dividend, 3918, and 36 (the product of the divisor, 6, and the first number of the quotient, 6) is written under the 39 and subtracted from it, yielding 3.
What has actually been determined thus far in this process of long division is that 3918 contains 600 6s, and that 318 is left when these are taken away. Long division is a repetition of a cycle of simple operations, an iterative process that is much used in modern computing science . Thus in the next step of the division process, the 1 in the dividend is brought down and written to the right of the 3 to give 31:

The 6 in the divisor will go into 31 at least five times and less than six times (6 × 5 is 30). The 5 is then written to the right of the 6 in the quotient, above the 1 in the dividend. The product, 5 × 6, or 30, is placed under the 31 and subtracted from it, yielding 1. The 8 from the dividend is brought down and written to the right of the 1 to give 18. The 6 in the divisor will go into 18 exactly three times, so the number 3 is written in the quotient above the 8 in the dividend:

The answer to how many times 6 will divide 3918 is 653. This can be easily verified by multiplying 6 × 653; this proof should yield the dividend 3918.
Had the dividend been 3923, the last subtraction would not have yielded 00, but would have left a remainder of 5. Such a remainder must then be incorporated into the answer as a fraction--a fraction of the divisor, in this case 6, leaving a fractional remainder of

:

Again, it is easily verified, by multiplication (see below, under fractions), that 6
(653
) is 3923.
Long division is an arithmetic procedure whereby larger divisors may be dealt with in carrying out divisions. The method is basically analogous to the shorter method for division described above. For example, in dividing 3626 by 25

25 will go into 36 once; therefore, a 1 is placed over the 6 in 36. The 25 is multiplied by 1, and this product (25) is written under the 36 and subtracted from it, yielding 11. The 2 is then brought down to give 112:

Because 25 will go into 112 at most four times, a 4 is written next to the 1 in the quotient, over the 2 in the dividend. The divisor is multiplied by 4, and the product, 100, is written under the 112 and subtracted from it, yielding 12. The 6 is brought down to give 126. Because 25 will go into 126 five times, with a remainder of 1, the answer is

Before it is possible to deal adequately with arithmetic operations involving negative numbers, the concept of absolute value must be introduced. Given any number, whether positive or negative, the absolute value of that number is the value of the number regardless of its sign. Thus, the absolute value of +5 is 5, and the absolute value of -5 is also 5.. In symbolic notation, the absolute value of any number
a is written as |
a | and defined as follows: The absolute value of
a is
a if
a is positive, and the absolute value of
a is -
a if
a is negative. In the following discussion, inequality signs are used. The symbol > means greater than; ≥ means greater than or equal to. Similarly, < means less than;

means less than or equal to. The symbol

means not equal to. For example, the expression
a ≥
0 is read "
a is greater than or equal to zero."

By referring once again to the number line, which includes both positive and negative numbers, it is easy to see that the sum of any two negative numbers will be negative and that the sum will simply be the total of the absolute values of the two numbers, but negative:

If, however, the signs of the two numbers are opposite, then it is necessary to proceed more cautiously.

To add -4 and +2, for example, it is clear that by beginning at -4 and adding 2 by moving two units to the right in the positive direction, the result will be -2 (the answer is the difference between the absolute values of the two numbers with the result taking the sign of the larger). The result must be negative because in terms of absolute value, | -4 | > | +2 |. The answer, however, is obtained by calculating the difference between the absolute values 4 and 2. Similarly, to add -3 and +7, beginning at -3 and moving seven units to the right produces +4. This may now be summarized conveniently in two rules:
If two numbers of like sign are to be added, the absolute values of the two numbers are added, and the answer is given the sign of the numbers in question:

If two numbers of different sign are to be added, their absolute values are ascertained, and the smaller number is subtracted from the larger. The result is given the sign of the number with the larger absolute value:

The subtraction of negative numbers is easier to visualize by referring again to the number line. Subtracting one number from another indicates a reversal of direction from addition. To subtract 5 from 7, for example, begin at 7 and move in the negative direction five units, reaching +2 as the answer. Similarly, to subtract -2 from 5, start at 5 and move in the opposite direction from -2, that is to say, in the positive direction, two units to +7. Subtraction basically indicates that one is to change the sign, or direction, of the number in question. For example,

Subtraction problems are best converted to problems in addition; following rules 1 and 2 above, the addition is then carried out as indicated. For subtraction, the following rule applies:
Whenever subtraction is indicated, change the subtraction to addition after changing the sign of the number following the subtraction sign, and then add, using the above rules for addition:

Multiplication of negative numbers is carried out using the following two conventions:
To multiply two numbers of the same sign, multiply their absolute values and give the resulting product a positive sign:

To multiply two numbers of different sign, multiply their absolute values and give the resulting product a negative sign:

Division is the inverse operation of multiplication; therefore, dividing signed numbers involves rules similar to those for multiplication.
To divide two numbers of the same sign, divide their absolute values and give the resulting quotient a positive sign:

To divide two numbers of different sign, divide their absolute values and give the resulting quotient a negative sign:

If a number carries no explicit sign with it, it is assumed to be positive.
Before discussing fractions, some additional remarks must be made about several other classes of numbers: An even number is any number divisible by 2. An odd number is any number not divisible by 2. A prime number is any integer greater than 1 that is divisible only by itself. Examples of prime numbers are 2, 3, 5, 7, 11, 13, 17, 19. . . . The only even prime number is 2. All integers that are not prime are said to be composite, but all composite numbers can be written as the product of prime numbers.
"Every integer greater than 1 that is not a prime number is the product of one and only one set of prime numbers." This theorem was first proved rigorously by the German mathematician Carl Friedrich Gauss. Given a number such as 14, the theorem states that it may be written uniquely as the product of primes, in this case, 14 = 2

7. Similarly, 50 = 2

5

5 = 2

5
2.. By factoring numbers into their prime components, both their least common multiple and their greatest common divisor can be found.
The least common multiple (LCM) of any two (or more) numbers is the least number into which each number will divide evenly. The LCM will contain the maximum number of prime factors of all primes appearing in each of the given numbers. For example, to find the LCM for the three numbers 27, 63, and 75, each number is first factored: 27 = 3
3, 63 = 3
2 
7, and 75 = 3

5
2.. The LCM must contain at least factors of 3
3, 7, and 5
2; thus, 3
3 
7

5
2 = 4725 is the least number into which 27, 63, and 75 will all divide evenly.
The largest factor common to a given set of numbers is called the highest common factor (HCF) or greatest common divisor (GCD). For example, given 9, 15, and 27, the GCD is 3, which can readily be seen by examining the prime factorization of each number: 9 = 3
2, 15 = 3

5, 27 = 3
3; the only factor common to each number is 3.
Numbers representing parts of a whole are called rational numbers, or fractions. Simple fractions are familiar: a dime is
of a dollar; ¼ of a pie plus ½ of a pie is ¾ of a pie; and so on. In general, fractions may be expressed as the quotient of two integers a and b.:

A fraction is said to be reduced to lowest terms if neither the numerator nor the denominator has a factor in common. For example,
is not a fraction reduced to lowest terms because both 6 and 8 contain factors of 2:
= (2
3)/(2
4); ¾, however, is a fraction reduced to lowest terms.
If
a/c is a fraction, and
b 
0, then (
a
b)/(
c
b) =
a/c. Two types of fractions exist, proper and improper. A proper fraction is one in which the numerator is less than the denominator;

, -

, and

are all proper fractions. An improper fraction is one in which the numerator is larger than the denominator;

, -

, and

are improper fractions. Improper fractions can be converted to mixed fractions or whole numbers (for example,

= 1½, -

= -2, and

= 2

) by dividing the numerator by the denominator and expressing any remainder as a fraction of the denominator.
In order to add or subtract fractions the denominators of which are the same, the numerators are added or subtracted, just as for integers, and the result is expressed as a fraction of the denominator. The result is reduced to lowest terms. For example,


Only fractions of equal denominators may be added or subtracted as they stand. If the denominators are unequal, a common denominator must be found.. The least common denominator (LCD), in fact, will always be the least common multiple (LCM) of the denominators in question. For example, in the expression
+ ¾, the denominators 3 and 4 are different, but the LCM of 3 and 4 is 12. Thus, to add
and ¾, the fractions must be changed into those with 12 as a common denominator. Because both the numerator and denominator can be multiplied by the same number without changing the value of the fractions, it is apparent that

Now it is possible to add

Similarly,

Given two fractions
a/
b
and
c/
d
, multiplication is straightforward: numerators are multiplied together and denominators are multiplied together, so that

For example,

The answer must always be reduced to the lowest terms. Similarly,

The rules for multiplying signed fractions are the same as those for multiplying signed integers. The same is true for the rules governing addition, subtraction, and division of signed fractions.
The division of fractions is most easily understood in terms of reciprocals. Given any number
a, a 
0, the reciprocal of
a is

. This is also called the inverse of
a and may be written as
a-1. Note that
a(

) = 1.
To carry out the following division

both the numerator and the denominator can be multiplied by the same nonzero number without affecting the value of the original number. Both numerator and denominator in the above example are multiplied by
:

This division is equivalent to multiplying the numerator
by the reciprocal of the denominator
, that is by
.
The following two examples illustrate the general procedure outlined above:

Note that
is the reciprocal of the denominator
.

Note that -
is the reciprocal of -
. In general, division by a fraction is equivalent to multiplication by its reciprocal:

For example,

Zero (0) has no reciprocal. This follows because the reciprocal of any number a is a number (
) such that a(
) = 1. To say that zero has no reciprocal is to say that no number (
) exists such that 0(
) = 1. This is obvious, since no number exists that can be multiplied by zero to give 1: 0
r = 0, whatever r may be.
The idea of place values can be extended to accommodate fractions. Instead of writing
, or two-tenths, a decimal point (.) can be introduced so that 0.2 can represent the fraction. Just as places to the left of the decimal represent units, tens, hundreds, and so on, those to the right of the decimal represent places for tenths (
), hundredths (
), thousandths (
), and so forth. These are decreasing powers of ten, which can be represented as 10-1, 10-2, 10-3, and so on. In general, a number such as 5428.632 is called a decimal fraction in which 0.632 represents

This number is read as follows: "five thousand four hundred twenty-eight and six hundred thirty-two thousandths."
In a number system based on the number 10, because places to both the left and right of the decimal point represent powers of ten, addition and subtraction of decimal fractions are handled in the same manner as described for integers. The decimal point, however, must always be aligned, so that tens are under tens, units under units, tenths under tenths, and so on, ensuring that each value is being added to or subtracted from a similar value at every step. For example, to add 365.289 and 32.4, the decimals are aligned, and then the numbers are added beginning at the right and moving to the left.

The addition of zeros to the right of a number does not change the number; filling in the number of places helps ensure that the same number of places exist to the right of the decimal point for all numbers being added or subtracted:

Subtraction with decimals proceeds in much the same way as addition: Zeros are added to give both numbers the same number of places to the right of the decimal. The numbers are then subtracted as usual.
Multiplying decimals is similar to multiplying integers, except that the values of the decimal points must be kept in mind. For example, in multiplying 0.3 and 0.5, visualizing the process involved is easier if each of these decimals is converted to common fractions and then multiplied.

The 15, of course, is the direct value of the product of 3 and 5, but the placement of the decimal point is determined by the fact that 0.3 and 0.5 each represent one decimal place, for a total of two decimal places that must be represented in the answer; thus, the product is 0.15.
Another example will serve to make this concept even clearer. Multiply (0.2) and (0.3). The product of the two numbers is 6, but since 0.2 and 0.3 each has one decimal place, the product must have a total of two decimal places. This can be achieved by placing the decimal point two places to the left in the product: 0.06. The following rule governs the multiplication of decimal fractions:
Decimal fractions are multiplied as if they were integers. The decimal point is then placed at the appropriate place in the product so that the number of places there is the same as the total number of decimal places in the multiplier and multiplicand. For example:

Because the multiplicand has three decimal places and the multiplier has two, the product must have a total of five decimal places. Counting five places to the left from the digit farthest to the right (digit 8 of the final product), the answer must be 0.03108.
One final example will also illustrate the importance of counting the proper number of decimal places in determining products of decimal fractions.. Multiply .001 and .002. The multiplication of the digits is simple: the answer is 2. There are, however, three decimal places in the multiplier, and three in the multiplicand, giving a total of six places that must be preserved in the product. Six places must be counted to the left of the 2, and the answer is 0.000002.
Like multiplication, the division of decimal fractions follows the same procedures used to divide integers, except that care must be taken to determine the proper placement of decimal points in the quotients. Dividing a decimal fraction by a whole number is straightforward: The decimal point is placed in the quotient directly above the decimal point in the dividend, and the division is performed as usual.

In cases where the divisor is also a decimal fraction, the problem is converted to one in which the divisor is an integer; division may then proceed as in the above example. To divide 14 by 0.7, for example, the divisor is converted to an integer by multiplying it by 10: (0.7)(10) = 7. The dividend must then be multiplied by an equal amount, that is by 10, to preserve value of the division. This may be understood more easily by considering what division means. In the above example the division can be rewritten as a fraction,
. Multiplying both numerator and denominator by the same amount will not change the value of the fraction:

Similarly, the division of 2.675 by 0.23 can be considered in the form 2.675/0.23. This can be converted to a division involving an integer divisor, namely, 23, if both numerator and denominator are multiplied by 100:

The following rule for the division of decimal fractions summarizes the above concisely:
Any division of a decimal fraction by another decimal fraction may be converted into a straightforward division with an integer divisor by moving the decimal point as many places to the right in the divisor as is necessary to make it an integer. The decimal point in the dividend is then moved an equal number of places to the right, and zeros are added if necessary. The division is carried out as usual, the decimal point in the quotient being placed directly over the new decimal point in the dividend. For example, in the division
, the decimal point in the divisor is moved three places to the right, giving the integer 2. The decimal point in the dividend is moved three places to the right as well, giving
. The division is then carried out as usual. The quotient in this case is 10750.J.W.D.