05-Number-System-Binary-Multiplication-and-Division (1)
05-Number-System-Binary-Multiplication-and-Division (1)
BINARY
MULTIPLICATION
The binary multiplication operation is
actually a process of addition and shifting
3
Binary Multiplication Rules
Binary multiplication, like other binary operations, is much easier, unlike the decimal
multiplication when you remember the following multiplication rules. The rules of binary
multiplication are:
0×0=0
0×1=0
1×0=0
1×1=1
Binary Multiplication Example
110 6
X 100 X 4
0 00 Decimal 24
0 0 0 +
1 10
1 10 00
6
Activity:
101010 111110
* 10100 * 11 0 1 0 1 0
1 000000 1 1 000000
1 1 111110
000000
1 1 000000
1 101010 1 111110
000000 + 1
000000 +
101010 111110
1 1 0 1 0 0 1 0 00 1 0 1 0 0 0 1 0 1 10 0
BINARY
DIVISION
The binary division operation is similar to
Binary the base 10 decimal system, except the
Division base 2. The division is probably one of the
most challenging operations of the basic
arithmetic operations.
9
Binary Division Rules
The binary division is much easier than the decimal division when you remember the
following division rules.
1÷1 = 1
1÷0 = Meaningless
0÷1 = 0
0÷0 = Meaningless
Binary Division Rules
Similar to the decimal number system, the binary division is similar, which follows the
four-step process:
Divide
Multiply
Subtract
Bring down
Binary Division Example
Question: Solve 01111100 ÷ 0010
Remove the zero’s in the Most Significant Bit in both the dividend
and divisor, that doesn’t change the value of the number.
- 1 0
1 1
-
1 0
1 1
-
1 0
- 1 1
1 0
0
- 11 0
0 0
- 0 0
Activity
Solve 011100100 ÷ 00101
Binary
Division Rules
21
Binary Subtraction Table
Binary Number Subtraction Value
0–0 0
1–0 1
0–1 1 (Borrow 1 from the next high order digit)
1–1 0
NOTE:
The addition of two binary numbers 1 and 1 is 10, where we consider 0 and carry forward 1
to the next high order. But in the case of subtraction of 1 and 1, the answer is equal to 0,
and nothing is carried forward.
In the case of decimal subtraction, when 1 is subtracted from 0, then we borrow 1 from the
next preceding number and make it 10, and after subtraction, it results in 9, i.e. 10 – 1 = 9.
But for binary subtraction, it results in 1 only.
Binary Subtraction Rules
Rules and tricks: Binary subtraction is much easier than the decimal subtraction when
you remember the following rules:
0–0=0
0 – 1 = 1 ( with a borrow of 1)
1–0=1
1–1=0
Procedure to do Binary Subtraction:
101
0
Step 1: First consider the 1’s column, and subtract the one’s column,( 0 – 1 ) and it gives the
(-) 1 0
1 result 1 as per the condition of binary subtraction with a borrow of 1 from the 10’s place.
1
-----------
Step 2: After borrowing 1 from the 10’s column, the value 1 in the 10’s column is changed
1 0----
1
0 into the value 0
(-) 1 0
11
-----------
1
---- Step 3: So, subtract the value in the 10’s place, ( 0 – 0 ) = 0.
101
0
(-) 1 0
0 11
----------- Step 4: Now subtract the values in 100’s place. Borrow 1 from the 1000’s place ( 0 – 1 ) =
1 1
1----
01 1.
0
(-) 1 0
1 0 11
25
Activity:
101010 111110
- 11000 - 001010
----------------- -----------------
Activity:
101010 111110
- 11000 - 001010
----------------- -----------------
1 00 10 11 0 100
THANK
YOU
Ian Cristopher M. Valles
[email protected]
28