An operator represents a mathematical operation. Some common operators are:
Symbols | Operation | Type | Example |
---|---|---|---|
+ | Addition | Binary | 3 + 2 = 5 |
- | Subtraction | Binary | 3 - 2 = 1 |
×, ·, * | Multiplication | Binary | 3 × 2 = 6 |
÷, / | Division | Binary | 3 ÷ 2 = 1.5 |
^ | Exponentiation | Binary | 3 ^ 2 = 9 |
- | Negation | Unary | a + -b = a - b |
! | Factorial | Unary | 4! = 4·3·2·1 = 24 |
The operands associated with an operator are inputs to the operator. The result is the output. For example, in the expression 1 + 2, the operator is +, and the operands are 1 and 2. The output is created by adding 1 and 2 to get the result which is 3.
An operator can be considered a function because it takes operands as input and returns an output. The independent variables are the operands, the dependent variable is the output, and the function is the operator.
An operator can be a unary operator or a binary operator. A unary operator has one operand. An example of a unary operator is negation. In the equation -a = 3, the negative sign\ (-) in front of the a has only one operand, the a, so it is a unary operator.
The most common operators are binary operators. A binary operator takes two operands. Addition is an example of a binary operator. In the equation b + c = 4, the operator is + and the two operands are b and c.
It is also possible to create operators with more than two operands. However, such operators are generally expressed as functions.
# | A | B | C | D |
E | F | G | H | I |
J | K | L | M | N |
O | P | Q | R | S |
T | U | V | W | X |
Y | Z |
All Math Words Encyclopedia is a service of
Life is a Story Problem LLC.
Copyright © 2018 Life is a Story Problem LLC. All rights reserved.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License