Discrete Mathematics

Binary Arithmetic

BINARY ARITHMETIC
Binary Addition:
Rules :

0 0 = 0
0 1 = 1
1 0 = 1
1 1 = 0 i.e. take it as 0 with a carry of 1.

Example 1 Add 110101 and 101111

Binary Subtraction
Rules :

0 - 0 = 0
1 - 1 = 0
1 - 0 = 1
0 - 1 = 1 and borrow 1

Multiplication:
Rules : 0 x 0 = 0
0 x 1 = 0
1 x 0 = 0
1 x 1 = 1

Note: Check multiplication by checking their equivalent decimal multiplication.