JSS1: MATHEMATICS - 1ST TERM
-
Whole Numbers I | Week 13 Topics|1 Quiz
-
Whole Numbers II | Week 21 Topic|1 Quiz
-
Counting in Base Two | Week 34 Topics|1 Quiz
-
Arithmetic Operations | Week 43 Topics|1 Quiz
-
Lowest Common Multiple (LCM) | Week 52 Topics|1 Quiz
-
Highest Common Factor | Week 61 Topic|1 Quiz
-
Fraction | Week 77 Topics|1 Quiz
-
Basic Operations with Fractions I | Week 83 Topics|1 Quiz
-
Basic Operations with Fractions II | Week 91 Topic|1 Quiz
-
Directed Numbers | Week 103 Topics|1 Quiz
-
Estimation and Approximation I | Week 113 Topics|1 Quiz
-
Estimation and Approximation II | Week 126 Topics|1 Quiz
Binary Subtraction
Topic Content:
- Rules of Binary Subtraction
- Worked Examples
Below are rules of binary subtraction:
0 – 0 = 0
1 – 0 = 1
1 – 1 = 0
10 – 1 = 1
11 – 1 = 10
Worked Example 4.2.1:
Subtract
a. 1011two from 10101two
b. 111010two – 11011two
a. 1011two from 10101two
Note: First column by the right 1 – 1 = 0
Second column: 0 – 1 is not possible, so we borrow 1 from the third column to give 10. So, 10 – 1 = 1
Third column: 1 is reduced to 0 because it was lent to the second column. ∴ 0 – 0 = 0
Fourth column: 0 – 1 is not possible, so borrow 1 from the fifth column to give 10. So, 10 – 1 = 1
Fifth column: 1 is reduced to 0 because it was lent to the fourth column.
⇒ 10101two – 1011two = 1010two
b. 111010two – 11011two
First column by the right 0 -1 is not possible so we borrow 1 from the second column to give 10. So, 10 – 1 = 1
Second column: subtract 1 that was borrowed 1 – 1 = 0. What we have left is 0 – 1 which is not possible, so we borrow 1 from the third column to give 10. So, 10 – 1 = 1
Third column: 0 – 1 = -1, -1 is less than 0 so we borrow 1 from the fourth column to give 10 – 1 = 1
Fourth column: subtract 1 that was borrowed 1 – 1 = 0. What we have left is 0 – 1 which is not possible, so we borrow 1 from the fifth column to give 10. So, 10 – 1 = 1
Fifth column: subtract 1 that was borrowed 1 – 1 = 0. What we have left is 0 – 1 which is not possible, so we borrow 1 from the sixth column to give 10. So, 10 – 1 = 1
Sixth Column: subtract 1 that was borrowed 1 – 1 = 0
⇒ 111010two – 11011two = 11111two