Unary 0 Binary Operations
Unary 0 Binary Operations
Unary 0 Binary Operations
BINARY
OPERATIONS
UNARY OPERATION
UNARY OPERATION – accepts only one value or operand.
Not all operations in mathematics involve two operands or numbers such as in the
expression 2+3=5. The plus sign between 2 and 3 is addition. The plus symbol
involves binary operation.
The plus and minus signs may not mean addition or subtraction when they are
attached before a single number. Instead, they are read as positive and negative
signs.
‘+4’ and ‘4’ each represent the same value, so you can say that an
‘invisible’ positive sign exists before any number.
UNARY OPERATION
The negative, (or opposite), sign is a unary operator.
Consider this expression: -4. Technically here, the negative sign operator
accepts a value of four as its operand and produces a value of negative
four. Obviously, ‘-4’ and ‘4’ represent different values.
There are many operations on the set of real numbers. For example,
negation is a unary operation. The others are the trigonometric functions,
the single-variable function , the factorial denoted n!, the transpose
of a matrix , the square root of 100 among others.
UNARY OPERATION
Additional examples of unary operations are given below:
-5
sin
cos 45
tan
BINARY OPERATIONS
On the other hand, ‘+’ and ‘-‘ can act on two operands and then is is
called binary operations.
Among the binary operators, the ‘+’ and ‘-‘ require more attention than
all other binary operations.
The first one symbol (left most), is actually the binary subtraction
operation. The other (right before the integer 2) is the unary negative
sign operator.
BINARY OPERATIONS
The negative sign operator, has precedence over the subtraction
operator, so it accepts operands first.
In the number line you go three units to the right of zero to locate 3. To
subtract two from three means you go two units to the left of three but to
subtract a negative two means you count the opposite of negative two
from three which is counting two units to the right of three.
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10
BINARY OPERATIONS
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10
3 - -2
The product and the sum of any two real numbers is also a real
number
BINARY OPERATIONS
II. Commutativity of Binary Operation
Addition and multiplication of any two real numbers is commutative,
that is in mathematical symbols these are written,
(multiplication)
(addition)
For example,
1 +2 = 2 + 1 (addition) and
(multiplication)
BINARY OPERATIONS
iii. Associativity of Binary Operations
Given any three real numbers you may take any two and perform
addition or multiplication as the case maybe and you will end with the
same answer.
This means that the identity is the number that you add to any real number
and the result will return the same real number. The only number that
satisfies this property if the number zero for addition.
5 + 0 = 0 + 5 = 5.
Therefore, the identity element e in the above definition is zero or e = 0.
BINARY OPERATIONS
What then is the identity element under multiplication?
Obviously, the identity for multiplication is 1 since
for any real number .
Example:
and
BINARY OPERATIONS
vi. Inverses of Binary Operations
Now what do you add to any real number to get the identity
element = 0 as a result?
Additive Inverse
BINARY OPERATIONS
Meanwhile, for multiplication we have the familiar
In which case
Multiplicative Inverse
GIVEN THE FOLLOWING, DETERMINE WHICH
PROPERTY OF THE BINARY OPERATION IS APPLIED.
GIVEN THE FOLLOWING, DETERMINE WHICH
PROPERTY OF THE BINARY OPERATION IS
APPLIED.