Radix Complement

Radix Complement Representation:

In the decimal number system, the radix complement is the 10’s complement. In radix complement representation system, the complement of an n-digit number is obtained by subtracting the number from 10n.

Let us consider some examples of 3-digit numbers and their radix complement in decimal system.

Decimal Number

948

607

155

735

Radix Complement

52

393

845

265


br>From the above discussion we find that a subtraction operation is to be preformed to get the 10’s complement of a number, say, N. This subtraction operation can be avoided by rewriting 10n as (10n - 1) + 1 and 10n - N as {(10n - 1) - N} + 1. The number 10n - 1 is of the form 999...99 consisting of n digits. If the complement of a digit be defined as (9 - the concerned digit), then (10n - 1) - N is obtained by complementing the digits of N.

Therefore, the 10’s complement of the number N is obtained by subtracting each digit of the number from 9 and then adding 1 to the LSD of the number so formed.

For instance, the 10’s complement of 172 is (827 + 1) or 828 and that of 405 is (594 + 1) or 595.

For the binary number system the radix complement is the two’s complement. The 2’s complement of a binary number is obtained by subtracting each bit of the number from the radix diminished by 1 i.e. from (2 - 1) or 1 and adding an 1 to the LSB. The application of this rule is very simple. We have to just change 1 to 0 and 0 to 1 in every bit and then add 1 to the LSB of the number so formed. For example, the 2’s complement of the binary number 11011 is (00100 + 1) or 00101 and that of 10110 is (01001 + 1) or 01010.

If the number be in signed magnitude representation, it is positive if the MSB is 0 and negative if the MSB is 1. The decimal equivalent of a 2’s complement binary number, in the case of signed-magnitude representation, is computed in the same way as for an unsigned number except that the weight of the MSB is -2n-1 instead of +2n-1 for an n-bit binary number.

Let us observe some examples of 8-bit binary numbers and their 2’s complement are shown below:

Binary Number

Sign bit         01101101

Complement:  10010010

                            + 1

                    10010011

Decimal equivalent

+ 109





- 128 + 19 = -109



Binary Numbers

  • Why Binary Numbers are Used
  • Binary to Decimal Conversion
  • Conversion of Numbers
  • Hexa-decimal Number System
  • Conversion of Binary Numbers to Octal or Hexa-decimal Numbers
  • Octal and Hexa-Decimal Numbers
  • Signed-magnitude Representation
  • Radix Complement
  • Diminished Radix Complement
  • Arithmetic Operations of Binary Numbers


From Radix Complement Representation to HOME PAGE




Didn't find what you were looking for? Or want to know more information about Math Only Math. Use this Google Search to find what you need.



Share this page: What’s this?

Recent Articles

  1. Tangrams Math | Traditional Chinese Geometrical Puzzle | Triangles

    Apr 17, 24 01:53 PM

    Tangrams
    Tangram is a traditional Chinese geometrical puzzle with 7 pieces (1 parallelogram, 1 square and 5 triangles) that can be arranged to match any particular design. In the given figure, it consists of o…

    Read More

  2. Time Duration |How to Calculate the Time Duration (in Hours & Minutes)

    Apr 17, 24 01:32 PM

    Duration of Time
    We will learn how to calculate the time duration in minutes and in hours. Time Duration (in minutes) Ron and Clara play badminton every evening. Yesterday, their game started at 5 : 15 p.m.

    Read More

  3. Worksheet on Third Grade Geometrical Shapes | Questions on Geometry

    Apr 16, 24 02:00 AM

    Worksheet on Geometrical Shapes
    Practice the math worksheet on third grade geometrical shapes. The questions will help the students to get prepared for the third grade geometry test. 1. Name the types of surfaces that you know. 2. W…

    Read More

  4. 4th Grade Mental Math on Factors and Multiples |Worksheet with Answers

    Apr 16, 24 01:15 AM

    In 4th grade mental math on factors and multiples students can practice different questions on prime numbers, properties of prime numbers, factors, properties of factors, even numbers, odd numbers, pr…

    Read More

  5. Worksheet on Factors and Multiples | Find the Missing Factors | Answer

    Apr 15, 24 11:30 PM

    Worksheet on Factors and Multiples
    Practice the questions given in the worksheet on factors and multiples. 1. Find out the even numbers. 27, 36, 48, 125, 360, 453, 518, 423, 54, 58, 917, 186, 423, 928, 358 2. Find out the odd numbers.

    Read More