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

9's Complement Subtraction example ( Enter your problem )
  1. Examples
Other related methods
  1. 1's Complement Subtraction
  2. 2's Complement Subtraction
  3. 7's Complement Subtraction
  4. 8's Complement Subtraction
  5. 9's Complement Subtraction
  6. 10's Complement Subtraction
  7. 15's Complement Subtraction
  8. 16's Complement Subtraction

  1. 1's Complement
  2. 2's Complement
  3. 7's Complement
  4. 8's Complement
  5. 9's Complement
  6. 10's Complement
  7. 15's Complement
  8. 16's Complement

4. 8's Complement Subtraction
(Previous method)
6. 10's Complement Subtraction
(Next method)

1. Examples





Method : 9's complement subtraction steps :
1. At first, find 9'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 9's complement of the sum is the final result and it is negative.


1. Find Subtraction of 470 and 231 using 9's complement method

Here A = 470, B = 231.
Find A - B = ? using 9's complement
First find 9's complement of B = 231

Note : 9's complement of a number is obtained by subtracting all bits from 999.
9's complement of 231 is
999
-231

768


Now Add this 9's complement of B to A

11
470
+768

1238

Hints : (Move mouse over the steps for detail calculation highlight)
Step-1
`=0+8`
`=8`
`:.` Sum`=8`
Step-2
`=7+6`
`=13`
`:.` Sum`=3` and carry`=1`
Step-3
`=1+4+7`
`=12`
`:.` Sum`=2` and carry`=1`


The left most bit of the result is called carry and add it to the rest part of the result 238.
238
+ 1

239

So answer is 239


2. Find Subtraction of 670 and 831 using 9's complement method

Here A = 670, B = 831.
Find A - B = ? using 9's complement
First find 9's complement of B = 831

Note : 9's complement of a number is obtained by subtracting all bits from 999.
9's complement of 831 is
999
-831

168


Now Add this 9's complement of B to A

1
670
+168

838

Hints : (Move mouse over the steps for detail calculation highlight)
Step-1
`=0+8`
`=8`
`:.` Sum`=8`
Step-2
`=7+6`
`=13`
`:.` Sum`=3` and carry`=1`
Step-3
`=1+6+1`
`=8`
`:.` Sum`=8`


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

Note : 9's complement of a number is obtained by subtracting all bits from 999.
9's complement of 838 is
999
-838

161

So answer is -161





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



4. 8's Complement Subtraction
(Previous method)
6. 10's Complement Subtraction
(Next method)






Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.