Binary Addition & Subtraction with Examples (Especially for GATE-Geospatial 2022)

Get top class preparation for competitive exams right from your home: get questions, notes, tests, video lectures and more- for all subjects of your exam.

Examrace Books on Mapping, GIS, and Remote Sensing prepares you throughly for a wide range of practical applications.

Introduction

We know that with the help of four basic arithmetic operations, namely, addition, subtraction, multiplication, and division, any mathematical operation can be performed. We know that multiplication is nothing but repeated addition and division is repeated subtraction. Subtraction can be performed by complementary addition. Hence, addition is the basic arithmetic operation.

Binary Addition

The binary addition follows the same principle as in decimal addition, in the sense that when the sum of augend bit and addend bit is equal to the binary base value, then a carry is generated and the sum is zero.

Simple, using a form of carrying:

Addition of Binay, Decimal and Hexadecimal Numbers

The results of sum operation on two 1-bit numbers are shown in the following example.

Example: Results of Addition of Two 1-Bit Numbers

Addition of Two 1 Digit Numbers
Number-ANumber-BSumCarry
0000
0110
1010
1101

Example: Results of Addition of Two Multiple-Bit Numbers at I-Bit Position

Addition of Two Multiple Bit Numbers
SumCarry
00000
00110
01010
01101
10010
10101
11001
11111

Binary Subtraction

In case of binary subtraction, if the effective subtrahend at any bit position is greater than minuend at that bit position and 1 is added with the subtrahend bit of the next higher bit position.

Subtraction works in much the same way:

Subtraction of Binay, Decimal and Hexadecimal Numbe …

Example: Subtract 9 Decimal from 22 Decimal in Binary

In binary,

Developed by: