Home > College Algebra > Number Complement Subtraction > 2's Complement Subtraction example

1's Complement Subtraction example ( Enter your problem )
  1. Example 110 - 101
  2. Example 10110 - 11101
  3. Example 11010 - 10101
  4. Example 10100 - 11010
  5. Example 1101110 - 1010101

2. Example 10110 - 11101





2. Find Subtraction of 10110 and 11101 using 1's complement

Solution:
1's complement subtraction steps :
1. At first, find 1's complement of the B(subtrahend).
2. Then add it to the A(minuend).
3. If the final carry over of the sum is 1, then it is dropped and 1 is added to the result.
4. If there is no carry over, then 1's complement of the sum is the final result and it is negative.

Here A = 10110, B = 11101.
Find A - B = ? using 1's complement
First find 1's complement of B = 11101

Note : 1's complement of a number is obtained by subtracting all bits from 11111

Step-1: 1's complement of 11101 is obtained by subtracting each digit from 11111
11111
-11101

00010



Step-2: Now Add this 00010 to 10110

11
10110
+00010

11000


Step by step solution of 10110 + 00010 = 11000

Write the numbers, so that each digit lines up vertically

10110
+00010


Step-1 :
`=0_2+0_2`
`=0_10+0_10`
`=0_10`
`=0_2`
Write the 0 in the sum place

10110
+00010

0

Step-2 :
`=1_2+1_2`
`=1_10+1_10`
`=2_10`
`=2xx1+0`
`=10_2`
Write the 0 in the sum place and carry the 1 to the next carry place

1
10110
+00010

00

Step-3 :
`=1+1_2+0_2`
`=1+1_10+0_10`
`=2_10`
`=2xx1+0`
`=10_2`
Write the 0 in the sum place and carry the 1 to the next carry place

11
10110
+00010

000

Step-4 :
`=1+0_2+0_2`
`=1+0_10+0_10`
`=1_10`
`=1_2`
Write the 1 in the sum place

11
10110
+00010

1000

Step-5 :
`=1_2+0_2`
`=1_10+0_10`
`=1_10`
`=1_2`
Write the 1 in the sum place

11
10110
+00010

11000



Here there is no carry, answer is - (1's complement of the sum obtained 11000)

Note : 1's complement of a number is obtained by subtracting all bits from 11111

Step-1: 1's complement of 11000 is obtained by subtracting each digit from 11111
11111
-11000

00111



So answer is -00111




This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here






Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.