Half Subtractor in Digital Logic (original) (raw)

Last Updated : 10 Apr, 2025

A **half subtractor is a digital logic circuit that performs the binary subtraction of two single-bit binary numbers. It has two inputs, **A and **B, and two outputs, **Difference and **Borrow. The **Difference output represents the result of subtracting **B from **A, while the **Borrow output indicates whether a borrow is needed when **A is smaller than **B.

The half subtractor can be implemented using basic logic gates such as **XOR, AND, and NOT gates. It is a fundamental building block for more complex arithmetic circuits like **full subtractors and **multi-bit subtractors.

Half Subtractor

**Truth Table of Half Subtractor

Logical Expression of Half Subtractor

For difference,

1

K-Map Diff

The SOP form of the Difference is as follows:

Difference = A'B+AB'

For borrow,

2

K-Map for Borrow

The SOP form of the Borrow is as follows:

Borrow = A'B

Implementation of Half Subtractor

Half Subtractor

Advantages of Half Subtractor

Disadvantages of Half Subtractor

**Application of Half Subtractor in Digital Logic