Showing posts with label Binary Numbers. Show all posts
Showing posts with label Binary Numbers. Show all posts

Monday, October 22, 2012

Multiplying Binary Numbers

Introduction of Binary Numbers:

Binary numbers said to be the number which operates in base 2 and the digit of the number would be consist of 0 and 1 only. This binary numbers are also termed as binary system. For example: 10, 1010, 112 and 10012

It is a method of writing numbers by using two digits ,0 and 1.The 'binary system' of numeration was used early in the seventeenth century by Thomas Harriot.Each successive bit position in binary number reading from right to left has place value of 1,2,4,8,16 and so on.Binary systems are used in digital electronics. Many electronics instruments are designed using the concept of the binary systems. In this topic we will learn to write the binary numbers and also binary maths like binary addition, binary subtraction, binary multiplication and binary division.

Example:- The numbers 0 to 10 are represented in binary system as:

0  --> 0                       (0x1=0)

1-->01                       (1x1+0x2=1)

2-->10                       (0x1 +1x2=2)

3-->11                       (1x1 +1x2=3)

4-->100                     (0x1 +0x2 +1x4=4)

5-->101                    (1x1 +0x2 +1x4=5 )

6-->110                    (0x1+1x2+1x4= 6  )

7-->111                    (1x1 +1x2 +1x4 =7 )

8-->1000                  (0x1 +0x2 +0x4 +1x8=8 )

9-->1001                   (1x1 +0x2 +0x4+1x8=9  )

10-->1010               (0x1 +1x2 +0x4 +1x8=10  )

One thing we all remind, that Boolean numbers are not the same number as binary numbers. Because of Boolean numbers were represent an entirely different system of math from real numbers, binary numbers is nothing more than that an alternative notation for real numbers. But the both Boolean and binary are often difficult because both Boolean notation and binary notation use the same two numbers: 0 and 1.

The difference is that Boolean quantities are beaked to a single bit (1 or 0), whereas binary numbers may composed of many bits adding up in place-weighted form value of any finite size. The binary number 100102 ("Eighteen") has no more place in the Boolean world than the decimal number 210 ("two").

Negative Number Binary:

By using several ways we can represent negative numbers. The easiest way to solve use the leftmost digit of the number as a special value to represent the sign of the number: 0 represents positive, 1 represents negative. For example, a value of positive 12 (decimal) can be denoted as 01100 in binary, but negative 12 (decimal) can be denoted as 11100.

Binary Addition and Subtraction:

Binary Addition:

Adding binary numbers together by,

0 + 0 = 0

0 + 1 = 1

1 + 0 = 1

1 + 1 = 1

The binary numbers are added as in simple addition.whenever a carry results in addition it is prefixed at the start of the result at its M.S.B. or most significant bit position.

Example:     

01  (1)

10   (2)

101   (5)

011    (3)

Answer:    11   (3)   
Carry bit 1000    (8)

1011     (11)

0100     ( 4)

1100

0111

1111     (15)    carry bit   10011    (19)
Between, if you have problem on these topics Introduction to Statistics, please browse expert math related websites for more help on Relations and Functions.
Binary Subtraction:

The subtraction of binary numbers is done in the 2-complement notation and then adding the numbers in order to reduce complexity. if a carry results in the M.S.B. position, it is ignored.

Process: The first number is left as it is and the second number i.e the subtrahend is represented in the 2-complement notation. Finally, the process of addition  is carried out.

example:    1001

-        0111

0111 is represented as     1000

+      1

Now                            1001               which is the 2- complemented notation of 0111.

+1001

(1)    0010(2)

Hence , 0010 which is in 2 in its binary form is the desired answer.

Binary Multiplication and Division

Practice Problem – Multiplying Binary Numbers:

1.   a)   11100                b)                1011                c)                101                        d)       111 )  111111(  

+  10101                              -    0011                                 x111

--------------------                 ------------------------                ------------------



Answers:   a) 110001             b) 1000                             c)100011                      d) 1001

2. What is the result for multiplying binary numbers 1011 2by 112?

Answer: 1000012

3. What is the result for multiplying binary numbers 112 by 112?

Answer: 10012