Nepedia
Back to Discover
Advanced Reader
🔢

Operation (mathematics)

math Maturity 7-9 Next article →

In mathematics, an operation is a specific type of function. It takes a fixed number of elements from a set and returns an element from that same set. These input values are often called operands or arguments. The value that results from the process is known as the output or the result.

Binary operations as black box
Binary operations as black box

Operations are essential because they provide the rules for how mathematical objects interact. They allow us to move from simple, individual values to complex calculations and logical conclusions.

A key characteristic of any operation is its arity. Arity refers to the specific number of operands that the operation requires to function. When an operation uses a finite number of inputs, it is called a finitary operation. If the number of inputs is infinite, it is known as an infinitary operation. The arity determines how many arguments must be provided before a result can be produced.

Arithmetic operations
Arithmetic operations

Understanding arity helps mathematicians categorize different types of mathematical rules.

Operations are categorized by their arity into several distinct types. A unary operation has an arity of one, meaning it acts on a single value. Examples include negation or various trigonometric functions. A binary operation has an arity of two and is very common in arithmetic. Addition, subtraction, multiplication, and division are all examples of binary operations. A ternary operation, or a mixed product, uses an arity of three. Even more simply, a nullary operation has an arity of zero and is represented as a constant.

Arithmetic operations
Arithmetic operations

Mathematical operations are not limited to just basic numbers. They can be applied to many different types of objects. Logic operations combine values like true and false using rules such as "and," "or," and "not." In geometry and physics, vectors can be combined through vector addition or vector subtraction.

Operations also exist in set theory, such as the union and intersection of sets. You can even use function composition to combine different rotations. These diverse applications show that operations are universal tools for structuring information.

Some operations are classified as internal or external. An internal operation, such as vector addition, takes inputs from a set and returns a result within that same set. An external operation involves different types of objects. For example, scalar multiplication is an external operation where a scalar is multiplied by a vector to produce a new vector. Another example is the inner product, where two vectors are multiplied to produce a scalar. This distinction is important when studying how different mathematical systems interact with one another.

Every operation has specific boundaries regarding what it can process and produce. The set of all possible valid inputs is called the domain of definition, or the active domain. The set of all possible results is called the codomain. However, the specific set of values actually attained by the operation is called the range or the image.

For example, in the set of real numbers, the squaring operation only produces non-negative numbers. While the codomain is the set of all real numbers, the range is limited to non-negative values.

Not all operations are defined for every possible value in a domain. When an operation cannot be performed on certain values, it is called a partial operation. A famous example in real numbers is division, which is not defined when you attempt to divide by zero. Similarly, you cannot take the square root of a negative number within the set of real numbers. These limitations define the active domain and are crucial for ensuring mathematical consistency.

Understanding these constraints prevents errors in complex calculations and proofs.

591 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Arithmetic_operations.svg
Arithmetic_operations.svg
File:Binary operations as black box.svg
Binary operations as black box.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.