Skip to main content

Number System


           In our everyday lives, we use the decimal numbering system. These are digits 0 through 9. Every number expressed in the decimal system is a combination of these ten digits i.e. 360, 418, 086 etc. These numbers uses only digits 0 through 9. However, there is another system which is used in computers, called binary system.


                The binary system works in essentially the same way, with the only difference being that it only has two digits. These are visually expressed by the digits 0 and 1, and every number expressed in the binary system is a combination of 0 and 1.

                These numbers (0 and 1) are actually a representation of signals. In modern electronic technology, computer circuit has only two states, on or off. 0 represent off while 1 represent on. There are many other Number Systems i.e. Octal Number System, Decimal Number System, Hexadecimal Number System etc.

Decimal Number System – In above discussion, we saw that it uses numbers through 0 to 9, let’s understand with an example.

Ex – Suppose a number is 7549, this number can be represent as 7 thousand 5 hundred forty nine or can be written as

7000 + 500 + 40 + 9 or

(7*103) + (5*102) + (4*101) + (9*100)

In this sequence, we can easily see that there is an increasing power of 10 with corresponding digit from right to left. Remember this I’m focusing from right to left. The decimal number system is said to be of base, or radix, 10 because it uses 10 digits. Similarly Binary Number system has only two digits, so the base or radix of binary number system is 2. Let us take an example of binary number.

Ex – 110010

This number can be written as above example only change is that 10 is replace by 2 because the base of this system is 2.

(1*25) + (1*24) + (0*23)  + ( 0*22) + (1*21) + (0 *20)

 

Note: We can write our custom number system with required base. Let’s take some examples of different bases.

Ex 1.Number = 432 and base = 5

Sol. (4*52) + (3*51) + (2*50)

Ex 2. Number = 542 and base = 6

Sol. (5*62) + (4*61) + (2*60)

 

Note: Suppose a number system of base n than it consists only n-1 digits because every number system starts with 0. In above Ex 1. Here is a base 5 and use only 0 to 4 digits (432) not more than or equal to 5, In Ex 2. Here is a base 6 and use only 0 to 5 digits (542) not more than or equal to 6

In our next article , we will discuss some important number system.




Comments

Popular posts from this blog

Complement of a Number

Subtraction of Binary Numbers  ;  Octal and Hexadecimal Number  ;  Convert Decimal to Binary Complements Complements are used in digital computers for simplifying the subtraction operation and for logical manipulations. There are two types of complements for each base-r system: (1) the r’s complement and (2) the (r-1)’s complement. When the value of the base is substituted, the two types receive the names 2’s and 1’s complement for binary numbers,  10’s and 9’s complement for decimal numbers. The r’s Complement Given a positive number N in base r with an integer part of n digits, the r’s complement of N is defined as r n   - N for N is not equal to 0 and 0 for N = 0. The following numerical example will help clarify the definition. The 10’s complement of (52520) 10 is 10 5 – 52520 = 47480 The number of digits in the number is n= 5 The 10’s complement of (0.3267) 10 is 1 – 0.3267 = 0.6733 No integer part, so 10 n = 10 0 = 1 The 10’s...

Rules of divisibility part -1

Rules of divisibility In Vedic mathematics, it can be determined whether any part of any other number can be given completely without dividing it by several methods. These methods are based on the law of divisibility. By using these rules, calculations related to factors, parts etc. are simplified. Law of divisibility by number 2 :- If unit digit of given number is divisible by 2 then the given number is divisible by 2 also.                                                                 or  If unit digit of given number is 0,2,4,6 or 8 , then given number is divisible by 2. Example :- 10 ,32 ,74 ,108 ,2058 etc. Law of divisibility by number 3 :- If the sum of digits of given number is divisible by 3, then the number is divisible by 3 also. Illustration 1:-  In 546532 sum of digits=5+4+6+5+3+2=25 25 is not divisible...

Subtraction of Numbers

Complement of a Number    Octal and Hexadecimal Number    Convert Decimal to Binary Subtraction of numbers by using complement Subtraction with r’s Complements The direct method of subtraction taught in elementary schools uses the borrow concept. In this method, we borrow a 1 from a higher significant position when the minuend digit is smaller than the corresponding subtrahend digit. This seems to be easiest when people perform subtraction with paper and pencil. When subtraction is implemented by means of digital components, this method is found to be less efficient than the method that uses complements and addition as stated below.      The subtraction of two positive numbers (M - N), both of base r, may be done as follows: 1.        Add the minuend M to r’s complement of the subtrahend N. 2.        Inspect the result obtained in step 1 for an end carry: a.  ...