CREATE OWN LIBRARY

Number System Subtraction

 

Binary Number Subtraction

Rules for subtracting 2 Binary numbers:

 

A – B

Diff

Borrow

0

1

0

1

0

0

1

1

0

1

1

0

0

0

1

0

 

Rule:

Whenever a higher bit is to be subtracted from a lower bit, we have to borrow i.e. we have to add (+2) the base (2) of the number system with the lower bit and then perform the subtraction. The impact of borrowing will select in the preceding operation as we move from right to left.

 

Do it by yourself first, and then check the solution.

 

Also verify,

And 

And answer is 

 

Octal Number Subtraction

The rule will be the same as binary subtraction only, instead of borrowing (+2), we will add 8 as the base of the octal system is 8.

 

 

 

 

Hexadecimal Subtraction

The rule is the same as that of binary and octal subtraction, only add 16 (+ 16) while borrowing,

e.g.