# Operation (mathematics)

mathematical procedure which produces a result from zero or more input values

In mathematics, an operation is a function which takes one or more inputs (called operands) and produces an output. Some of the most common operations include addition, subtraction, multiplication and division,[1][2] all of which take two inputs and produce an output. These are called binary operations,[3][4] and are often used when solving math problems. Other types of operations are called unary operations,[5] which take only one input and produce an output.

There are more operations than these, including raising numbers to exponents, taking the root and applying the logarithm.

Below is a list of the most used operations.

## List of mathematical operations

Addition is the first arithmetic operation and hyperoperation. It is the inverse operation of subtraction. The terms in an addition are called addends, and the result of an addition is called a sum.

The symbol for addition is +

${\displaystyle 2+3}$

${\displaystyle 7+1}$

${\displaystyle 1+4+6}$

${\displaystyle 8+1+5}$

${\displaystyle 2+5+9}$

Any number plus zero is the same number (${\displaystyle a+0=a}$ ). This is called the additive identity.

For example: ${\displaystyle 4+0=4}$

Changing the order of the addends in an addition does not change its sum. This is called the commutative property of addition.

For example: ${\displaystyle 31+27\iff 27+31}$

Changing how addends are grouped in an addition does not change its sum either. This is called the associative property of addition.

For example: ${\displaystyle (14+15)+92\iff 14+(15+92)}$

The opposite of a number ${\displaystyle n}$  is ${\displaystyle -n}$ . A number ${\displaystyle n}$  plus its opposite ${\displaystyle -n}$  is always equal to 0: ${\displaystyle n+-n=0}$

For example, the opposite of 5 is -5, because ${\displaystyle -5+5=0}$

The absolute value of two opposite numbers is always the same.

### Subtraction

Subtraction is the second arithmetic operation and the inverse operation of addition. The number that is being subtracted is the subtrahend and the number it is subtracted from is the minuend. The result of a subtraction is called a difference.

The symbol for subtraction is

Examples of subtractions:

${\displaystyle 2-4-5}$

${\displaystyle 6-1}$

${\displaystyle 1-8}$

${\displaystyle 3-3}$

${\displaystyle 0-9-8}$

${\displaystyle 7-8}$

Because of the additive identity, any number minus zero is the same number (${\displaystyle n-0=n}$ ).

In a subtraction of two terms, switching the minuend and the subtrahend changes the sign of the answer, meaning subtraction is anticommutative.

For example: ${\displaystyle 15-4=11}$  and ${\displaystyle 4-15=-11}$

### Multiplication

Multiplication is the third arithmetic operation and the second hyperoperation. It is the inverse operation of division. The terms in a multiplication are called factors, and the result of a multiplication is called a product.

The symbol for multiplication is × (• in algebra)

Examples of multiplications:

${\displaystyle 6\times 7}$

${\displaystyle 4\times 4}$

${\displaystyle 9\times 0}$

${\displaystyle 1\times 2\times 3}$

${\displaystyle 8\times 5}$

Any number times one is the same number (${\displaystyle x\cdot 1=x}$ ). This is called the multiplicative identity.

For example: ${\displaystyle 6\times 1=6}$

Changing the order of the factors in a multiplication does not change its product. This is called the commutative property of multiplication.

For example: ${\displaystyle 4\times 5\iff 5\times 4}$

Changing how factors are grouped in a multiplication does not change its product either. This is called the associative property of multiplication.

For example: ${\displaystyle (3\times 4)\times 5\iff 3\times (4\times 5)}$

#### Multiplicative inverses (reciprocals)

The reciprocal of a number ${\displaystyle x}$  is ${\displaystyle {\frac {1}{x}}}$ . A number ${\displaystyle x}$  times its reciprocal ${\displaystyle {\frac {1}{x}}}$  is always equal to 1: ${\displaystyle x\cdot {\frac {1}{x}}=1}$

For example, the reciprocal of 3 is 1/3, because ${\displaystyle 3\times {\frac {1}{3}}=1}$

To get the reciprocal of a fraction, switch the numerator and the denominator: the reciprocal of ${\displaystyle {\frac {2}{7}}}$  is ${\displaystyle {\frac {7}{2}}}$

### Division

Division is the fourth arithmetic operation and the inverse operation of multiplication. The number that is being divided is the dividend and the number it is divided by is the divisor. The number on top of a fraction is called the numerator and the number at the bottom is called the denominator. The result of a division is called a quotient.

Division is repeated subtraction.

The symbol for division is / or a fraction.

Examples of divisions:

${\displaystyle 3/7}$

${\displaystyle 2/3}$

${\displaystyle {\frac {3}{4}}}$

${\displaystyle {\frac {0}{6}}}$

${\displaystyle {\frac {\frac {5}{9}}{\frac {1}{8}}}}$

Because of the multiplicative identity, any number divided by one is the same number (${\displaystyle y/1=y}$ ).

Division by zero is undefined (${\displaystyle d/0={\textrm {undefined}}}$ ).

In a fraction, switching the numerator and the denominator gives the reciprocal of the fraction.

For example: ${\displaystyle {\frac {2}{4}}={\frac {1}{\frac {4}{2}}}}$

### Exponentiation

Exponentiation is the fifth arithmetic operation and the third hyperoperation. It is one of the inverse operations of roots and logarithms. The number that is being multiplied is the base and the number of times it is multiplied is the exponent. The result of an exponentiation is called a power.

Exponentiation is repeated multiplication or division.

The symbol for exponentiation is the superscript (xy) or the caret (^).

Examples of exponentiations:

${\displaystyle 11^{1}=1\times 11=11}$

${\displaystyle 3^{2}=1\times 3\times 3=9}$

${\displaystyle 2^{3}=1\times 2\times 2\times 2=8}$

${\displaystyle 5^{0}=1}$

${\displaystyle 7^{-1}=1/7=0.{\overline {142857}}}$

${\displaystyle 13^{-2}=1/13^{2}\approx 0.006}$

Because of the multiplicative identity, the first power of any number is the same number, and the zeroth power of any number is one (${\displaystyle b^{1}=b}$  and ${\displaystyle b^{0}=1}$ ).

### Roots

Roots are the sixth arithmetic operation and one of the inverse operations of exponentiation and logarithms. The first term is called the index, and the second term is called the radicand. The result of a root is called a base. When there is no index, this means it is a square (2) root.

The symbol for roots is the radical (${\displaystyle {\sqrt {\,\,\,\,}}}$ ).

Examples of roots:

${\displaystyle {\sqrt {4}}=2}$

${\displaystyle {\sqrt {121}}=11}$

${\displaystyle {\sqrt[{3}]{343}}=7}$

${\displaystyle {\sqrt[{4}]{81}}=3}$

${\displaystyle {\sqrt[{3}]{-125}}=-5}$

The first root of any number is the same number (${\displaystyle {\sqrt[{1}]{k}}=k}$ ).

### Logarithms

Logarithms are the seventh arithmetic operation and one of the inverse operations of exponentiation and roots. The first term is called the base, and the second term is called the power. The result of a logarithm is called an exponent. When there is no base, this means it is a base 10 logarithm.

The symbol for logarithm is logb(a)

Examples of logarithms:

${\displaystyle \log({100})=2}$

${\displaystyle \log _{2}({1024})=10}$

${\displaystyle \log _{3}({27})=3}$

${\displaystyle \log _{2}({128})=7}$

${\displaystyle \log _{3}({729})=6}$

The logarithm of 1 (${\displaystyle \log _{b}({1})}$ ) is 0 in every base. This is because ${\displaystyle m^{0}=1}$

The logarithm base e, or natural logarithm, is written as ${\displaystyle \ln({x})}$ .

### Modulation

Modulation is the eighth arithmetic operation. It gives the remainder of a division. The first term is called the modulend and the second term is called the modulator. The result of a modulation is called a modulus.

The symbol for modulation is \

Examples of modulations:

${\displaystyle 5}$ \${\displaystyle 2=1}$

${\displaystyle 20}$ \${\displaystyle 7=6}$

${\displaystyle 0}$ \${\displaystyle 3=0}$

${\displaystyle 9}$ \${\displaystyle 8=1}$

${\displaystyle 22}$ \${\displaystyle 4=2}$

${\displaystyle 0}$ \${\displaystyle x}$  is always equal to zero, because zero can be divided by any number (${\displaystyle 0/x=0}$ ).

### Factorial

Factorial is a function which gives the number of ways to arrange ${\displaystyle n}$  objects. The term is called the index. The result of a factorial is also called a factorial.

The symbol for factorial is !

The first factorials are:

${\displaystyle 0!=1}$

${\displaystyle 1!=1}$

${\displaystyle 2!=2}$

${\displaystyle 3!=6}$

${\displaystyle 4!=24}$

${\displaystyle 5!=120}$

${\displaystyle 0!}$  is equal to one because there is exactly one way of arranging 0 objects. Factorials are undefined for negative numbers. Factorials of fractional numbers can be calculated using the Gamma function.

### Absolute value

Absolute value is a function which gives the distance from zero (or magnitude) of a number.

The symbol for absolute value is ${\displaystyle \left\vert x\right\vert }$

Examples of absolute values:

${\displaystyle \left\vert 147\right\vert =147}$

${\displaystyle \left\vert -321\right\vert =321}$

${\displaystyle \left\vert 96\right\vert =96}$

${\displaystyle \left\vert -358\right\vert =358}$

${\displaystyle \left\vert 0\right\vert =0}$

The absolute value of ${\displaystyle a-b}$  is the same as the absolute value of ${\displaystyle b-a}$  (${\displaystyle \left\vert a-b\right\vert =\left\vert b-a\right\vert }$ ). This is because subtraction is anticommutative.

## References

1. "Definition of Operation (Illustrated Mathematics Dictionary)". mathsisfun.com. Retrieved 2021-10-21.{{cite web}}: CS1 maint: url-status (link)
2. "Order of Operations". mathsisfun.com. Retrieved 2021-11-21.{{cite web}}: CS1 maint: url-status (link)
3. Weisstein, Eric W. "Binary Operation". mathworld.wolfram.com. Retrieved 2020-08-26.
4. "Definition of Binary Operation (Illustrated Mathematics Dictionary)". mathsisfun.com. Retrieved 2021-11-21.{{cite web}}: CS1 maint: url-status (link)
5. "Definition of Unary Operation (Illustrated Mathematics Dictionary)". mathsisfun.com. Retrieved 2021-11-21.{{cite web}}: CS1 maint: url-status (link)