From HandWiki
Short description: Branch of elementary mathematics
Diagram of symbols of arithmetic operations
The main arithmetic operations are addition, subtraction, multiplication, and division.

Arithmetic is an elementary branch of mathematics that studies numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms. Arithmetic systems can be distinguished based on the type of number they operate on. Integer arithmetic restricts itself to calculations with positive and negative whole numbers. Rational number arithmetic involves operations on fractions that lie between integers. Real number arithmetic includes calculations with both rational and irrational numbers and covers the complete number line. Another distinction is based on the numeral system employed to perform calculations. Decimal arithmetic is the most common. It uses the basic numerals from 0 to 9 and their combinations to express numbers. Binary arithmetic, by contrast, is used by most computers and represents numbers as combinations of the basic numerals 0 and 1. Some arithmetic systems operate on mathematical objects other than numbers, such as interval arithmetic and matrix arithmetic.

Arithmetic operations form the basis of many branches of mathematics, such as algebra, calculus, and statistics. They play a similar role in the sciences, like physics and economics. Arithmetic is present in many aspects of daily life, for example, to calculate change while shopping or to manage personal finances. It is one of the earliest forms of mathematics education that students encounter. Its cognitive and conceptual foundations are studied by psychology and philosophy.

The practice of arithmetic is at least thousands and possibly tens of thousands of years old. Ancient civilizations like the Egyptians and the Sumerians invented numeral systems to solve practical arithmetic problems in about 3000 BCE. Starting in the 7th and 6th centuries BCE, the Ancient Greece initiated a more abstract study of numbers and introduced the method of rigorous mathematical proofs. The ancient Indians developed the concept of zero and the decimal system, which Arab mathematicians further refined and spread to the Western world during the medieval period. The first mechanical calculators were invented in the 17th century. The 18th and 19th centuries saw the development of modern number theory and the formulation of axiomatic foundations of arithmetic. In the 20th century, the emergence of electronic calculators and computers revolutionized the accuracy and speed with which arithmetic calculations could be performed.

Definition, etymology, and related fields

Arithmetic is the fundamental branch of mathematics that studies numbers and their operations. In particular, it deals with numerical calculations using the arithmetic operations of addition, subtraction, multiplication, and division.[1] In a wider sense, it also includes exponentiation, extraction of roots, and logarithm.[2] The term "arithmetic" has its root in the Latin term "arithmetica" which derives from the Ancient Greek words ἀριθμός (arithmos), meaning "number", and ἀριθμητική τέχνη (arithmetike tekhne), meaning "the art of counting".[3]

There are disagreements about its precise definition. According to a narrow characterization, arithmetic deals only with natural numbers.[4] However, the more common view is to include operations on integers, rational numbers, real numbers, and sometimes also complex numbers in its scope.[5] Some definitions restrict arithmetic to the field of numerical calculations.[6] When understood in a wider sense, it also includes the study of how the concept of numbers developed, the analysis of properties of and relations between numbers, and the examination of the axiomatic structure of arithmetic operations.[7]

Arithmetic is closely related to number theory and some authors use the terms as synonyms.[8] However, in a more specific sense, number theory is restricted to the study of integers and focuses on their properties and relationships such as divisibility, factorization, and primality.[9] Traditionally, it is known as higher arithmetic.[10]

Arithmetic is intimately connected to many branches of mathematics that depend on numerical operations. Algebra relies on arithmetic principles to solve equations using variables. These principles also play a key role in calculus in its attempt to determine rates of change and areas under curves. Geometry uses arithmetic operations to measure the properties of shapes while statistics utilizes them to analyze numerical data.[11]


Numbers are mathematical objects used to count quantities and measure magnitudes. They are fundamental elements in arithmetic since all arithmetic operations are performed on numbers. There are different kinds of numbers and different numeral systems to represent them.[12]


Number line showing different types of numbers
Different types of numbers on a number line. Integers are black, rational numbers are blue, and irrational numbers are green.

The main kinds of numbers employed in arithmetic are natural numbers, whole numbers, integers, rational numbers, and real numbers.[13] The natural numbers are whole numbers that start from 1 and go to infinity. They exclude 0 and negative numbers. They are also known as counting numbers and can be expressed as {1, 2, 3, 4, ...}. The symbol of the natural numbers is [math]\displaystyle{ \N. }[/math] The whole numbers are identical to the natural numbers with the only difference being that they include 0. They can be represented as {0, 1, 2, 3, 4, ...} and have the symbol [math]\displaystyle{ \N_0 }[/math].[14] Some mathematicians do not draw the distinction between the natural and the whole numbers by including 0 in the set of natural numbers.[15] The set of integers encompasses both positive and negative whole numbers. It has the symbol [math]\displaystyle{ \Z }[/math] and can be expressed as {..., -2, -1, 0, 1, 2, ...}.[16]

A number is rational if it can be represented as the ratio of two integers. For instance, the rational number [math]\displaystyle{ \tfrac{1}{2} }[/math] is formed by dividing the integer 1, called the numerator, by the integer 2, called the denominator. Other examples are [math]\displaystyle{ \tfrac{3}{4} }[/math] and [math]\displaystyle{ \tfrac{281}{3} }[/math]. The set of rational numbers includes all integers, which are fractions with a denominator of 1. The symbol of the rational numbers is [math]\displaystyle{ \Q }[/math].[17] Decimal fractions like 0.3 and 25.12 are a special type of rational numbers since their denominator is a power of 10. For instance, 0.3 is equal to [math]\displaystyle{ \tfrac{3}{10} }[/math], and 25.12 is equal to [math]\displaystyle{ \tfrac{2512}{100} }[/math].[18] Every rational number corresponds to a finite or a repeating decimal.[19]

Diagram of a right triangle
Irrational numbers are sometimes required to describe magnitudes in geometry. For example, the length of the hypotenuse of a right triangle is irrational if its legs have a length of 1.

Irrational numbers are numbers that cannot be expressed through the ratio of two integers. Examples are many square roots, such as [math]\displaystyle{ \sqrt 2 }[/math], and numbers like π and e (Euler's number).[20] The decimal representation of an irrational number is infinite without repeating decimals.[21] The set of rational numbers together with the set of irrational numbers makes up the set of real numbers. The symbol of the real numbers is [math]\displaystyle{ \R }[/math].[22] Even wider classes of numbers include complex numbers and quaternions.[23]

Based on how numbers are used, they can be distinguished into cardinal and ordinal numbers. Cardinal numbers, like one, two, and three, are numbers that express the quantity of objects. They answer the question "how many?". Ordinal numbers, such as first, second, and third, indicate order or placement in a series. They answer the question "what position?".[24]

Numeral systems

A numeral is a symbol to represent a number and numeral systems are representational frameworks.[25] They usually have a limited amount of basic numerals, which directly refer to certain numbers. The system governs how these basic numerals may be combined to express any number.[26] Numeral systems are either positional or non-positional. All early numeral systems were non-positional.[27] For non-positional numeral systems, the value of a digit does not depend on its position in the numeral.[28]

Diagram showing tally marks
Photo of tally sticks
Tally marks and some tally sticks use the non-positional unary numeral system.

The simplest non-positional system is the unary numeral system. It relies on one symbol for the number 1. All higher numbers are written by repeating this symbol. For example, the number 7 can be represented by repeating the symbol for 1 seven times. This system makes it cumbersome to write large numbers, which is why many non-positional systems include additional symbols to directly represent larger numbers.[29] Variations of the unary numeral systems are employed in tally sticks using dents and in tally marks.[30]

Diagram of hieroglyphic numerals
Hieroglyphic numerals from 1 to 10,000[31]

Egyptian hieroglyphics had a more complex non-positional numeral system. They have additional symbols for numbers like 10, 100, 1000, and 10,000. These symbols can be combined into a sum to more conveniently express larger numbers. For instance, the numeral for 10,405 uses one time the symbol for 10,000, four times the symbol for 100, and five times the symbol for 1. A similar well-known framework is the Roman numeral system. It has the symbols I, V, X, L, C, D, M as its basic numerals to represent the numbers 1, 5, 10, 50, 100, 500, and 1000.[32]

A numeral system is positional if the position of a basic numeral in a compound expression determines its value. Positional numeral systems have a radix that acts as a multiplicand of the different positions. For each subsequent position, the radix is raised to a higher power. In the common decimal system, also called the Hindu–Arabic numeral system, the radix is 10. This means that the first digit is multiplied by [math]\displaystyle{ 10^0 }[/math], the next digit is multiplied by [math]\displaystyle{ 10^1 }[/math], and so on. For example, the decimal numeral 532 stands for [math]\displaystyle{ 5 \cdot 10^2 + 3 \cdot 10^1 + 2 \cdot 10^0 }[/math]. Because of the effect of the digits' positions, the numeral 532 differs from the numerals 325 and 253 even though they have the same digits.[33]

Another positional numeral system used extensively in computer arithmetic is the binary system, which has a radix of 2. This means that the first digit is multiplied by [math]\displaystyle{ 2^0 }[/math], the next digit by [math]\displaystyle{ 2^1 }[/math], and so on. For example, the number 13 is written as 1101 in the binary notation, which stands for [math]\displaystyle{ 1 \cdot 2^3 + 1 \cdot 2^2 + 0 \cdot 2^1 + 1 \cdot 2^0 }[/math]. In computing, each digit in the binary notation corresponds to one bit.[34] The earliest positional system was developed by ancient Babylonians and had a radix of 60.[35]

Arithmetic operations

Arithmetic operations are ways of combining, transforming, or manipulating numbers. They are functions that have numbers both as input and output.[36] The most important operations in arithmetic are addition, subtraction, multiplication, and division.[37] Further operations include exponentiation, extraction of roots, and logarithm.[38] If these operations are performed on variables rather than numbers, they are sometimes referred to as algebraic operations.[39]

Two important concepts in relation to arithmetic operations are identity elements and inverse elements. The identity element or neutral element of an operation does not cause any change if it is applied to another element. For example, the identity element of addition is 0 since any sum of a number and 0 results in the same number. The inverse element is the element that results in the identity element when combined with another element. For instance, the additive inverse of the number 6 is -6 since their sum is 0.[40]

There are not only inverse elements but also inverse operations. In an informal sense, one operation is the inverse of another operation if it undoes the first operation. For example, subtraction is the inverse of addition since a number returns to its original value if a second number is first added and subsequently subtracted, as in [math]\displaystyle{ 13 + 4 - 4 = 13 }[/math]. Defined more formally, the operation "[math]\displaystyle{ \star }[/math]" is an inverse of the operation "[math]\displaystyle{ \circ }[/math]" if it fulfills the following condition: [math]\displaystyle{ t \star s = r }[/math] if and only if [math]\displaystyle{ r \circ s = t }[/math].[41]

Commutativity and associativity are laws governing the order in which some arithmetic operations can be carried out. An operation is commutative if the order of the arguments can be changed without affecting the results. This is the case for addition, for instance, [math]\displaystyle{ 7 + 9 }[/math] is the same as [math]\displaystyle{ 9 + 7 }[/math]. Associativity is a rule that affects the order in which a series of operations can be carried out. An operation is associative if, in a series of two operations, it does not matter which operation is carried out first. This is the case for multiplication, for example, since [math]\displaystyle{ (5 \times 4) \times 2 }[/math] is the same as [math]\displaystyle{ 5 \times (4 \times 2) }[/math].[42]

Addition and subtraction

Main pages: Addition and Subtraction
Diagram showing addition
Diagram showing subtraction
Addition and subtraction

Addition is an arithmetic operation in which two numbers, called the addends, are combined into a single number, called the sum. The symbol of addition is [math]\displaystyle{ + }[/math]. Examples are [math]\displaystyle{ 2 + 2 = 4 }[/math] and [math]\displaystyle{ 6.3 + 1.26 = 7.56 }[/math].[43] The term summation is used if several additions are performed in a row. Counting is a type of repeated addition in which the number 1 is continuously added.[44]

Subtraction is the inverse of addition. In it, one number, known as the subtrahend, is taken away from another, known as the minuend. The result of this operation is called the difference. The symbol of subtraction is [math]\displaystyle{ - }[/math].[45] Examples are [math]\displaystyle{ 14 - 8 = 6 }[/math] and [math]\displaystyle{ 45 - 1.7 = 43.3 }[/math]. Subtraction is often treated as a special case of addition: instead of subtracting a positive number, it is also possible to add a negative number. For instance [math]\displaystyle{ 14 - 8 = 14 + (-8) }[/math]. This helps to simplify mathematical computations by reducing the number of basic arithmetic operations needed to perform calculations.[46]

The additive identity element is 0 and the additive inverse of a number is the negative of that number. For instance, [math]\displaystyle{ 13 + 0 = 13 }[/math] and [math]\displaystyle{ 13 + (-13) = 0 }[/math]. Addition is both commutative and associative.[47]

Multiplication and division

Main pages: Multiplication and Division (mathematics)
Diagram showing multiplication
Diagram showing division
Multiplication and division

Multiplication is an arithmetic operation in which two numbers, called the multiplier and the multiplicand, are combined into a single number called the product.[48][lower-alpha 1] The symbols of multiplication are [math]\displaystyle{ \times }[/math], [math]\displaystyle{ \cdot }[/math], and *. Examples are [math]\displaystyle{ 2 \times 3 = 6 }[/math] and [math]\displaystyle{ 0.3 \cdot 5 = 1.5 }[/math]. If the multiplicand is a natural number then multiplication is the same as repeated addition, as in [math]\displaystyle{ 2 \times 3 = 2 + 2 + 2 }[/math].[50]

Division is the inverse of multiplication. In it, one number, known as the dividend, is split into several equal parts by another number, known as the divisor. The result of this operation is called the quotient. The symbols of division are [math]\displaystyle{ \div }[/math] and [math]\displaystyle{ / }[/math]. Examples are [math]\displaystyle{ 48 \div 8 = 6 }[/math] and [math]\displaystyle{ 29.4 / 1.4 = 21 }[/math].[51] Division is often treated as a special case of multiplication: instead of dividing by a number, it is also possible to multiply by its reciprocal. The reciprocal of a number is 1 divided by that number. For instance, [math]\displaystyle{ 48 \div 8 = 48 \times \tfrac{1}{8} }[/math].[52]

The multiplicative identity element is 1 and the multiplicative inverse of a number is the reciprocal of that number. For example, [math]\displaystyle{ 13 \times 1 = 13 }[/math] and [math]\displaystyle{ 13 \times \tfrac{1}{13} = 1 }[/math]. Multiplication is both commutative and associative.[53]

Exponentiation and logarithm

Main pages: Exponentiation and Logarithm
Diagram showing exponentiation
Diagram showing logarithm
Exponentiation and logarithm

Exponentiation is an arithmetic operation in which a number, known as the base, is raised to the power of another number, known as the exponent. The result of this operation is called the power. Exponentiation is sometimes expressed using the symbol ^ but the more common way is to write the exponent in superscript right after the base. Examples are [math]\displaystyle{ 2^4 = 16 }[/math] and [math]\displaystyle{ 3 }[/math]^[math]\displaystyle{ 3 = 27 }[/math]. If the exponent is a natural number then exponentiation is the same as repeated multiplication, as in [math]\displaystyle{ 2^4 = 2 \times 2 \times 2 \times 2 }[/math].[54]

Roots are a special type of exponentiation using a fractional exponent. For example, the square root of a number is the same as raising the number to the power of [math]\displaystyle{ \tfrac{1}{2} }[/math] and the cube root of a number is the same as raising the number to the power of [math]\displaystyle{ \tfrac{1}{3} }[/math]. Examples are [math]\displaystyle{ \sqrt{4} = 4^{\frac{1}{2}} = 2 }[/math] and [math]\displaystyle{ \sqrt[3]{27} = 27^{\frac{1}{3}} = 3 }[/math].[55]

Logarithm is the inverse of exponentiation. The logarithm of a number [math]\displaystyle{ x }[/math] to the base [math]\displaystyle{ b }[/math] is the exponent to which [math]\displaystyle{ b }[/math] must be raised to produce [math]\displaystyle{ x }[/math]. For instance, since [math]\displaystyle{ 1000 = 10^3 }[/math], the logarithm base 10 of 1000 is 3. The logarithm of [math]\displaystyle{ x }[/math] to base [math]\displaystyle{ b }[/math] is denoted as [math]\displaystyle{ \log_b (x) }[/math], or without parentheses, [math]\displaystyle{ \log_b x }[/math], or even without the explicit base, [math]\displaystyle{ \log x }[/math], when the base can be understood from context. So, the previous example can be written [math]\displaystyle{ \log_{10} 1000 = 3 }[/math].[56]

Exponentiation and logarithm do not have general identity elements and inverse elements like addition and multiplication. The neutral element of exponentiation in relation to the exponent is 1, as in [math]\displaystyle{ 14^1 = 14 }[/math]. However, exponentiation does not have a general identity element since 1 is not the neutral element for the base.[57] Exponentiation and logarithm are neither commutative nor associative.[58]

Types of arithmetic

Different types of arithmetic systems are discussed in the academic literature. They differ from each other based on what type of number they operate on, what numeral system they use to represent them, and whether they operate on mathematical objects other than numbers.[59]

Integer arithmetic

Integer arithmetic is the branch of arithmetic that deals with the manipulation of positive and negative whole numbers.[60] Simple one-digit operations can be performed by following or memorizing a table that presents the results of all possible combinations, like an addition table or a multiplication table. Other common methods are verbal counting and finger-counting.[61]

Addition table
+ 0 1 2 3 4 ...
0 0 1 2 3 4 ...
1 1 2 3 4 5 ...
2 2 3 4 5 6 ...
3 3 4 5 6 7 ...
4 4 5 6 7 8 ...
... ... ... ... ... ... ...
Multiplication table
× 0 1 2 3 4 ...
0 0 0 0 0 0 ...
1 0 1 2 3 4 ...
2 0 2 4 6 8 ...
3 0 3 6 9 12 ...
4 0 4 8 12 16 ...
... ... ... ... ... ... ...
Diagram of addition with carry
Example of addition with carry. The black numbers are the addends, the green number is the carry, and the blue number is the sum.

For operations on numbers with more than one digit, different techniques can be employed to calculate the result by using several one-digit operations in a row. For example, in the method addition with carries, the two numbers are written one above the other. Starting from the rightmost digit, each pair of digits is added together. The rightmost digit of the sum is written below them. If the sum is a two-digit number then the leftmost digit, called the "carry", is added to the next pair of digits to the left. This process is repeated until all digits have been added.[62] Other methods used for integer additions are the number line method, the partial sum method, and the compensation method.[63] A similar technique is utilized for subtraction: it also starts with the rightmost digit and uses a "borrow" or a negative carry for the column on the left if the result of the one-digit subtraction is negative.[64]

Diagram of long multiplication
Example of long multiplication. The black numbers are the multiplier and the multiplicand. The green numbers are intermediary products gained by multiplying the multiplier with only one digit of the multiplicand. The blue number is the total product calculated by adding the intermediary products.

A basic technique of integer multiplication employs repeated addition. For example, the product of 3 × 4 can be calculated as 3 + 3 + 3 + 3.[65] A common technique for multiplication with larger numbers is called long multiplication. This method starts by writing the multiplier above the multiplicand. The calculation begins by multiplying the multiplier only with the rightmost digit of the multiplicand and writing the result below, starting in the rightmost column. The same is done for each digit of the multiplicand and the result in each case is shifted one position to the left. As a final step, all the individual products are added to arrive at the total product of the two multi-digit numbers.[66] Other techniques used for multiplication are the grid method and the lattice method.[67] Computer science is interested in multiplication algorithms with a low computational complexity to be able to efficiently multiply very large integers, such as the Karatsuba algorithm, the Schönhage-Strassen algorithm, and the Toom-Cook algorithm.[68] A common technique used for division is called long division. Other methods include short division and chunking.[69]

Integer arithmetic is not closed under division. This means that when dividing one integer by another integer, the result is not always an integer. For instance, 7 divided by 2 is not a whole number but 3.5.[70] One way to ensure that the result is an integer is to round the result to a whole number. However, this method leads to inaccuracies as the original value is altered.[71] Another method is to perform the division only partially and retain the remainder. For example, 7 divided by 2 is 3 with a remainder of 1. These difficulties are avoided by rational number arithmetic, which allows for the exact representation of fractions.[72]

A simple method to calculate exponentiation is by repeated multiplication. For instance, the exponentiation of 34 can be calculated as 3 × 3 × 3 × 3.[73] A more efficient technique used for large exponents is exponentiation by squaring. It breaks down the calculation into a number of squaring operations. For example, the exponentiation 365 can be written as (((((32)2)2)2)2)2 × 3. By taking advantage of repeated squaring operations, only 7 individual operations are needed rather than the 64 operations required for regular repeated multiplication.[74] Methods to calculate logarithms include the Taylor series and continued fractions.[75] Integer arithmetic is not closed under logarithm and under exponentiation with negative exponents, meaning that the result of these operations is not always an integer.[76]

Number theory

Main page: Number theory

Number theory studies the structure and properties of integers as well as the relations and laws between them.[77] Some of the main branches of modern number theory include elementary number theory, analytic number theory, algebraic number theory, and geometric number theory.[78] Elementary number theory studies aspects of integers that can be investigated using elementary methods. In this regard, it excludes the use of methods found in analysis and calculus. Its topics include divisibility, factorization, and primality.[79] Analytic number theory, by contrast, relies on techniques from analysis and calculus. It examines problems like how prime numbers are distributed and the claim that every even number is a sum of two prime numbers.[80] Algebraic number theory employs algebraic structures to analyze the properties of and relations between numbers. Examples are the use of fields and rings, as in algebraic number fields like the ring of integers. Geometric number theory uses concepts from geometry to study numbers. For instance, it investigates how lattice points with integer coordinates behave in a plane.[81] Further branches of number theory are probabilistic number theory, combinatorial number theory, computational number theory, and applied number theory.[82]

Influential theorems in number theory include the fundamental theorem of arithmetic, Euclid's theorem, and Fermat's last theorem.[83] According to the fundamental theorem of arithmetic, every integer greater than 1 is either a prime number or can be represented as a unique product of prime numbers. For example, the number 18 is not a prime number and can be represented as [math]\displaystyle{ 2 \times 3 \times 3 }[/math], all of which are prime numbers. The number 19, by contrast, is a prime number that has no other prime factorization.[84] Euclid's theorem states that there are infinitely many prime numbers.[85] Fermat's last theorem is the statement that no positive integer values can be found for [math]\displaystyle{ a }[/math], [math]\displaystyle{ b }[/math], and [math]\displaystyle{ c }[/math], to solve the equation [math]\displaystyle{ a^n + b^n = c^n }[/math] if [math]\displaystyle{ n }[/math] is greater than [math]\displaystyle{ 2 }[/math].[86]

Rational number arithmetic

Rational number arithmetic is the branch of arithmetic that deals with the manipulation of numbers that can be expressed as a ratio of two integers.[87] Most arithmetic operations on rational numbers can be calculated by performing a series of integer arithmetic operations on the numerators and the denominators of the involved numbers. If two rational numbers have the same denominator then they can be added by adding their numerators and keeping the common denominator. For example, [math]\displaystyle{ \tfrac{2}{7} + \tfrac{3}{7} = \tfrac{5}{7} }[/math]. A similar procedure is used for subtraction. If the two numbers do not have the same denominator then they must be transformed to find a common denominator. This can be achieved by scaling the first number with the denominator of the second number while scaling the second number with the denominator of the first number. For instance, [math]\displaystyle{ \tfrac{1}{3} + \tfrac{1}{2} = \tfrac{1 \cdot 2}{3 \cdot 2} + \tfrac{1 \cdot 3}{2 \cdot 3} = \tfrac{2}{6} + \tfrac{3}{6} = \tfrac{5}{6} }[/math].[88]

Two rational numbers are multiplied by multiplying their numerators and their denominators respectively, as in [math]\displaystyle{ \tfrac{2}{3} \cdot \tfrac{2}{5} = \tfrac{2 \cdot 2}{3 \cdot 5} = \tfrac{4}{15} }[/math]. Dividing one rational number by another can be achieved by multiplying the first number with the reciprocal of the second number. This means that the numerator and the denominator of the second number change position. For example, [math]\displaystyle{ \tfrac{3}{5} : \tfrac{2}{7} = \tfrac{3}{5} \cdot \tfrac{7}{2} = \tfrac{21}{10} }[/math].[89] Unlike integer arithmetic, rational number arithmetic is closed under division as long as the divisor is not 0.[90]

Both integer arithmetic and rational number arithmetic are not closed under exponentiation and logarithm.[91] One way to calculate exponentiation with a fractional exponent is to perform two separate calculations: one exponentiation using the numerator of the exponent followed by drawing the nth root of the result based on the denominator of the exponent. For example, [math]\displaystyle{ 5^\frac{2}{3} = \sqrt[3]{5^2} }[/math]. The first operation can be completed using methods like repeated multiplication or exponentiation by squaring. One way to get an approximate result for the second operation is to employ Newton's method, which uses a series of steps to gradually refine an initial guess until it reaches the desired level of accuracy.[92] The Taylor series or the continued fraction method can be utilized to calculate logarithms.[93]

The decimal fraction notation is a special way of representing rational numbers whose denominator is a power of 10. For instance, the rational numbers [math]\displaystyle{ \tfrac{1}{10} }[/math], [math]\displaystyle{ \tfrac{371}{100} }[/math], and [math]\displaystyle{ \tfrac{44}{10000} }[/math] are written as 0.1, 3.71, and 0.0044 in the decimal fraction notation.[94] Modified versions of integer calculation methods like addition with carry and long multiplication can be applied to calculations with decimal fractions.[95] Not all rational numbers have a finite representation in the decimal notation. For example, the rational number [math]\displaystyle{ \tfrac{1}{3} }[/math] corresponds to 0.333... with an infinite number of 3s. The shortened notation for this type of repeating decimal is 0.3.[96] Every repeating decimal expresses a rational number.[19]

Real number arithmetic

Real number arithmetic is the branch of arithmetic that deals with the manipulation of both rational and irrational numbers. Irrational numbers are numbers that cannot be expressed through fractions or repeated decimals, like the root of 2 and π.[97] Unlike rational number arithmetic, real number arithmetic is closed under exponentiation as long as it uses a positive number as its base. The same is true for the logarithm of positive real numbers as long as the logarithm base is positive and not 1.[98]

Irrational numbers involve an infinite non-repeating series of decimal digits. Because of this, there is often no simple and accurate way to express the results of arithmetic operations like [math]\displaystyle{ \sqrt{2} + \pi }[/math] or [math]\displaystyle{ e \cdot \sqrt{3} }[/math].[99] In cases where absolute precision is not required, the problem of calculating arithmetic operations on real numbers is usually addressed by truncation or rounding. For truncation, a certain number of significant digits to the left are kept and additional digits to the right of the last significant digit are removed. For example, the number π has an infinite number of digits starting with 3.14159... . If this number is truncated to 4 significant digits, the result is 3.141. Rounding is a similar process in which the last significant digit is increased by one if the next digit is 5 or greater. If the next digit is less than 5, the last digit remains the same. For instance, if the number π is rounded to 4 significant digits, the result is 3.142 because the following digit is a 5.[100] These methods are essential to allow computers to efficiently perform calculations on real numbers.[101]

Very large and very small real numbers are often expressed using normalized scientific notation. In it, numbers are represented using a so-called significand multiplied by a power of 10. The significand is a digit followed by a decimal point and a series of digits. For example, the normalized scientific notation of the number 8276000 is [math]\displaystyle{ 8.276 \times 10^6 }[/math] and the number 0.00735 has the normalized scientific notation of [math]\displaystyle{ 7.35 \times 10^{-3} }[/math].[102]

A common method employed by computers to approximate real number arithmetic is called floating-point arithmetic. It represents real numbers similar to the scientific notation through three numbers: a significand, a base, and an exponent.[103] The precision of the significand is limited by the number of bits allocated to represent it. If an arithmetic operation results in a number that requires more bits than are available, the computer rounds the result to the closest representable number. This leads to rounding errors.[104] A consequence of this behavior is that certain laws of arithmetic are violated by floating-point arithmetic. For example, floating-point addition is not associative since the rounding errors introduced can depend on the order of the additions. This means that the result of [math]\displaystyle{ (a + b) + c }[/math] is sometimes different from the result of [math]\displaystyle{ a + (b + c) }[/math].[105] The most common technical standard used for floating-point arithmetic is called IEEE 754. Among other things, it determines how numbers are represented, how arithmetic operations and rounding are performed, and how errors and exceptions are handled.[106] In cases where computation speed is not a limiting factor, it is possible to use arbitrary-precision arithmetic, for which the precision of calculations is only restricted by the computer's memory.[107]


Diagram of modular arithmetic using a clock
Example of modular arithmetic using a clock: after adding 4 hours to 9 o'clock, the hand starts at the beginning again and points at 1 o'clock.

There are many other types of arithmetic. Modular arithmetic operates on a finite set of numbers. If an operation would result in a number outside this finite set then the number is adjusted back into the set, similar to how the hands of clocks start at the beginning again after having completed one cycle. The number at which this adjustment happens is called the modulus. For example, a regular clock has a modulus of 12. In the case of adding 4 to 9, this means that the result is not 13 but 1. The same principle applies also to other operations, such as subtraction, multiplication, and division.[108]

Some forms of arithmetic deal with operations performed on mathematical objects other than numbers. Interval arithmetic describes operations on intervals. Intervals can be used to represent a range of values if one does not know the precise magnitude, for example, because of measurement errors. Interval arithmetic includes operations like addition and multiplication on intervals, as in [math]\displaystyle{ [1, 2] + [3, 4] = [4, 6] }[/math] and [math]\displaystyle{ [1, 2] \times [3, 4] = [3, 8] }[/math].[109] It is closely related to affine arithmetic, which aims to give more precise results by performing calculations on affine forms rather than intervals. An affine form is a number together with error terms that describe how the number may deviate from the actual magnitude.[110] Vector arithmetic and matrix arithmetic describe arithmetic operations on vectors and matrices, like vector addition and matrix multiplication.[111]

Painting of students engaged in mental arithmetic
Calculations in mental arithmetic are done exclusively in the mind without relying on external aids.

For mental arithmetic, the calculations are performed exclusively in the mind without external tools like pen and paper or electronic calculators. Instead, mental arithmetic makes use of visualization, memorization, and certain calculation techniques to solve arithmetic problems.[112] One such technique is the compensation method. It consists in altering the numbers to make the calculation easier and then adjusting the result afterward. For example, instead of calculating [math]\displaystyle{ 85-47 }[/math], one calculates [math]\displaystyle{ 85-50 }[/math] which is easier because it uses a round number. In the next step, one adds [math]\displaystyle{ 3 }[/math] to the result to compensate for the earlier adjustment.[113] Mental arithmetic is often taught in primary education to train the numerical abilities of the students.[114]

Arithmetic systems can be classified based on the numeral system they rely on. For instance, decimal arithmetic describes arithmetic operations in the decimal system. Other examples are binary arithmetic, octal arithmetic, and hexadecimal arithmetic.[115]

Compound unit arithmetic describes arithmetic operations performed on magnitudes with compound units. It involves additional operations to govern the transformation between single unit and compound unit quantities. For example, the operation of reduction is used to transform the compound quantity 1 h 90 min into the single unit quantity 150 min.[116]

Non-Diophantine arithmetics are arithmetic systems that violate traditional arithmetic intuitions and include equations like [math]\displaystyle{ 1 + 1 = 1 }[/math] and [math]\displaystyle{ 2 + 2 = 5 }[/math].[117] They can be employed to represent some real-world situations in modern physics and everyday life. For instance, the equation [math]\displaystyle{ 1 + 1 = 1 }[/math] can be used to describe the observation that if one raindrop is added to another raindrop then they do not remain two separate entities but become one.[118]

Axiomatic foundations

Axiomatic foundations of arithmetic try to provide a small set of laws, so-called axioms, from which all fundamental properties of and operations on numbers can be derived. They constitute logically consistent and systematic frameworks that can be used to formulate mathematical proofs in a rigorous manner. Two well-known approaches are the Dedekind–Peano axioms and set-theoretic constructions.[119]

The Dedekind–Peano axioms provide an axiomatization of the arithmetic of natural numbers. Their basic principles were first formulated by Richard Dedekind and later refined by Giuseppe Peano. They rely only on a small number of primitive mathematical concepts, such as 0, natural number, and successor.[lower-alpha 2] The Peano axioms determine how these concepts are related to each other. All other arithmetic concepts can then be defined in terms of these primitive concepts.[120]

  1. 0 is a natural number.
  2. For every natural number, there is a successor, which is also a natural number.
  3. The successors of two different natural numbers are never identical.
  4. 0 is not the successor of a natural number.
  5. If a set contains 0 and every successor then it contains every natural number.[121][lower-alpha 3]

Numbers greater than 0 are expressed by repeated application of the successor function [math]\displaystyle{ s }[/math]. For example, [math]\displaystyle{ 1 }[/math] is [math]\displaystyle{ s(0) }[/math] and [math]\displaystyle{ 3 }[/math] is [math]\displaystyle{ s(s(s(0))) }[/math]. Arithmetic operations can be defined as mechanisms that affect how the successor function is applied. For instance, to add [math]\displaystyle{ 2 }[/math] to any number is the same as applying the successor function two times to this number.[122]

Various axiomatizations of arithmetic rely on set theory. They cover natural numbers but can also be extended to integers, rational numbers, and real numbers. Each natural number is represented by a unique set. 0 is usually defined as the empty set [math]\displaystyle{ \varnothing }[/math]. Each subsequent number can be defined as the union of the previous number with the set containing the previous number. For example, [math]\displaystyle{ 1 = 0 \cup \{0\} = \{0\} }[/math], [math]\displaystyle{ 2 = 1 \cup \{1\} = \{0, 1\} }[/math], and [math]\displaystyle{ 3 = 2 \cup \{2\} = \{0, 1, 2\} }[/math].[123] Integers can be defined as ordered pairs of natural numbers where the second number is subtracted from the first one. For instance, the pair (9, 0) represents the number 9 while the pair (0, 9) represents the number -9.[124] Rational numbers are defined as pairs of integers where the first number represents the numerator and the second number represents the denominator. For example, the pair (3, 7) represents the rational number [math]\displaystyle{ \tfrac{3}{7} }[/math].[125] One way to construct the real numbers relies on the concept of Dedekind cuts. According to this approach, each real number is represented by a partition of all rational numbers into two sets, one for all numbers below the represented real number and the other for the rest.[126] Arithmetic operations are defined as functions that perform various set-theoretic transformations on the sets representing the input numbers to arrive at the set representing the result.[127]


Main page: History of arithmetic
Photo of the Ishango bone
Some historians interpret the Ishango bone as one of the earliest arithmetic artifacts.

The earliest forms of arithmetic are sometimes traced back to counting and tally marks used to keep track of quantities. Some historians suggest that the Lebombo bone (dated about 43,000 years ago) and the Ishango bone (dated about 22,000 to 30,000 years ago) are the oldest arithmetic artifacts but this interpretation is disputed.[128] However, a basic sense of numbers may predate these findings and might even have existed before the development of language.[129]

It was not until the emergence of ancient civilizations that a more complex and structured approach to arithmetic began to evolve, starting around 3000 BCE. This became necessary because of the increased need to keep track of stored items, manage land ownership, and arrange exchanges.[130] All the major ancient civilizations developed non-positional numeral systems to facilitate the representation of numbers. They also had symbols for operations like addition and subtraction and were aware of fractions. Examples are Egyptian hieroglyphics as well as the numeral systems invented in Sumeria, China, and India.[131] The first positional numeral system was developed by the Babylonians starting around 1800 BCE. This was a significant improvement over earlier numeral systems since it made the representation of large numbers and calculations on them more efficient.[132] Abacuses have been utilized as hand-operated calculating tools since ancient times as efficient means for performing complex calculations.[133]

Photo of a Chinese abacus
Abacuses were used as manual calculation tools in ancient civilizations, such as the Suanpan in China.

Early civilizations primarily used numbers for concrete practical purposes and lacked an abstract concept of number itself.[134] This changed with the ancient Greek mathematicians, who began to explore the abstract nature of numbers rather than studying how they are applied to specific problems.[135] Another novel feature was their use of proofs to establish mathematical truths and validate theories.[136] A further contribution was their distinction of various classes of numbers, such as even numbers, odd numbers, and prime numbers.[137] This included the discovery that numbers for certain geometrical lengths are irrational and therefore cannot be expressed as a fraction.[138] The works of Thales of Miletus and Pythagoras in the 7th and 6th centuries BCE are often regarded as the inception of Greek mathematics.[139] Diophantus was an influential figure in Greek arithmetic in the 3rd century BCE because of his numerous contributions to number theory and his exploration of the application of arithmetic operations to algebraic equations.[140]

The ancient Indians were the first to develop the concept of zero as a number to be used in calculations. The exact rules of its operation were written down by Brahmagupta in around 628 CE.[141] The concept of zero or none existed long before, but it was not considered an object of arithmetic operations.[142] Brahmagupta further provided a detailed discussion of calculations with negative numbers and their application to problems like credit and debt.[143] The concept of negative numbers itself is significantly older and was first explored in Chinese mathematics in the first millennium BCE.[144]

Indian mathematicians also developed the positional decimal system used today, in particular the concept of a zero digit instead of empty/missing positions. For example, a detailed treatment of its operations was provided by Aryabhata around the turn of the 6th century CE.[145] The Indian decimal system was further refined and expanded to non-integers during the Islamic Golden Age by Arab mathematicians such as Al-Khwarizmi. His work was influential in introducing the decimal numeral system to the Western world, which at that time relied on the Roman numeral system.[146] There, it was popularized by mathematicians like Leonardo Fibonacci, who lived in the 12th and 13th centuries and also developed the Fibonacci sequence.[147] During the Middle Ages and Renaissance, many popular textbooks were published to cover the practical calculations for commerce. The use of abacuses also became widespread in this period.[148] In the 16th century, the mathematician Gerolamo Cardano conceived the concept of complex numbers as a way to solve cubic equations.[149]

Photo of Leibniz's stepped reckoner
Leibniz's stepped reckoner was the first calculator that could perform all four arithmetic operations.[150]

The first mechanical calculators were developed in the 17th century and greatly facilitated complex mathematical calculations, such as Blaise Pascal's calculator and Gottfried Wilhelm Leibniz's stepped reckoner.[151] The 17th century also saw the discovery of the logarithm by John Napier.[152]

In the 18th and 19th centuries, mathematicians such as Leonhard Euler and Carl Friedrich Gauss laid the foundations of modern number theory.[153] Another development in this period concerned work on the formalization and foundations of arithmetic, such as Georg Cantor's set theory and the Dedekind–Peano axioms used as an axiomatization of natural-number arithmetic.[154] Computers and electronic calculators were first developed in the 20th century. Their widespread use revolutionized both the accuracy and speed with which even complex arithmetic computations can be calculated.[155]

In various fields


Main page: Mathematics education

Arithmetic education forms part of primary education. It is one of the first forms of mathematics education that children encounter. Elementary arithmetic aims to give students a basic sense of numbers and to familiarize them with fundamental numerical operations like addition, subtraction, multiplication, and division.[156] It is usually introduced in relation to concrete scenarios, like counting beads, dividing the class into groups of children of the same size, and calculating change when buying items. Common tools in early arithmetic education are number lines, addition and multiplication tables, and counting blocks.[157]

Later stages focus on a more abstract understanding. They introduce the students to different types of numbers, such as negative numbers, fractions, real numbers, and complex numbers. They further cover more advanced numerical operations, like exponentiation, extraction of roots, and logarithm.[158] They also show how arithmetic operations are employed in other branches of mathematics, such as their application to describe geometrical shapes and the use of variables in algebra. Another aspect is to teach the students the use of algorithms and calculators to solve complex arithmetic problems.[159]


The psychology of arithmetic is interested in how humans and animals learn about numbers, represent them, and use them for calculations. It examines how mathematical problems are understood and solved and how arithmetic abilities are related to perception, memory, judgment, and decision making.[160] For example, it investigates how collections of concrete items are first encountered in perception and subsequently associated with numbers.[161] A further field of inquiry concerns the relation between numerical calculations and the use of language to form representations.[162] Psychology also explores the biological origin of arithmetic as an inborn ability. This concerns pre-verbal and pre-symbolic cognitive processes implementing arithmetic-like operations required to successfully represent the world and perform tasks like spatial navigation.[163]

One of the concepts studied by psychology is numeracy, which is the capability to comprehend numerical concepts, apply them to concrete situations, and reason with them. It includes a fundamental number sense as well as being able to estimate and compare quantities. It further encompasses the abilities to symbolically represent numbers in numbering systems, interpret numerical data, and evaluate arithmetic calculations.[164] Numeracy is a key skill in many academic fields. A lack of numeracy can inhibit academic success and lead to bad economic decisions in everyday life, for example, by misunderstanding mortgage plans and insurance policies.[165]


Main page: Philosophy:Philosophy of mathematics

The philosophy of arithmetic studies the fundamental concepts and principles underlying numbers and arithmetic operations. It explores the nature and ontological status of numbers, the relation of arithmetic to language and logic, and how it is possible to acquire arithmetic knowledge.[166]

According to Platonism, numbers have mind-independent existence: they exist as abstract objects outside spacetime and without causal powers.[167] This view is rejected by intuitionists, who claim that mathematical objects are mental constructions.[168] Further theories are logicism, which holds that mathematical truths are reducible to logical truths,[169] and formalism, which states that mathematical principles are rules of how symbols are manipulated without claiming that they correspond to entities outside the rule-governed activity.[170]

The traditionally dominant view in the epistemology of arithmetic is that arithmetic truths are knowable a priori. This means that they can be known by thinking alone without the need to rely on sensory experience.[171] Some proponents of this view state that arithmetic knowledge is innate while others claim that there is some form of rational intuition through which mathematical truths can be apprehended.[172] A more recent alternative view was suggested by naturalist philosophers like Willard Van Orman Quine, who argue that mathematical principles are high-level generalizations that are ultimately grounded in the sensory world as described by the empirical sciences.[173]


Arithmetic is relevant to many fields. In daily life, it is required to calculate change when shopping, manage personal finances, and adjust a cooking recipe for a different number of servings. Businesses use arithmetic to calculate profits and losses and analyze market trends. In the field of engineering, it is used to measure quantities, calculate loads and forces, and design structures.[174] Cryptography relies on arithmetic operations to protect sensitive information by encrypting data and messages.[175]

Arithmetic operations lie at the foundation of many branches of mathematics, like algebra, calculus, and statistics. Through them, the influence of arithmetic extends to most sciences such as physics, computer science, and economics. These operations are used in calculations, problem-solving, data analysis, and algorithms, making them integral to scientific research, technological development, and economic modeling.[176]

See also



  1. Some authors use a different terminology and refer to the first number as multiplicand and the second number as the multiplier.[49]
  2. The successor of a natural number is the number that comes after it. For instance, 4 is the successor of 3.
  3. There are different versions of the exact formulation and number of axioms. For example, some formulations start with 1 instead of 0 in the first axiom.


  1. Sophian 2017, p. 84.
  2. 19.0 19.1 Musser, Peterson & Burger 2013, p. 358.
  3. Ore 1948, p. 10.
  4. Stakhov 2020, p. 74.
  5. Burgin 2022, p. 25.
  6. Sperling & Stuart 1981, p. 7.
  7. Sperling & Stuart 1981, p. 8.
  8. Mooney et al. 2014, p. 148.
  9. Davis, Goulding & Suggate 2017, pp. 11–12.
  10. Haylock & Cockburn 2008, p. 49.
  11. Prata 2002, p. 138.
  12. Koepf 2021, p. 49.
  13. Goodstein 2014, p. 33.
  14. Gellert et al. 2012, pp. 32–33.
  15. Gellert et al. 2012, p. 33.
  16. Klose 2014, p. 107.
  17. Koren 2018, p. 71.
  18. Muller et al. 2009, pp. 13–16.
  19. Duffy 2018, p. 1225.
  20. Burgin 2022, pp. 92–93.
  21. Cunningham 2016, pp. 95–96.
  22. Vullo 2020, p. 140.
  23. De Cruz, Neth & Schlimm 2010, pp. 60–62.
  24. De Cruz, Neth & Schlimm 2010, p. 63.
  25. Grice et al. 2023, Abstract.
  26. Horsten 2023, § 2.2 Intuitionism.
  27. Weir 2022, Lead Section.


External links