Learn Binary Arithmetic: Two's Compliment & Multiplication

  • Context: High School 
  • Thread starter Thread starter tankgrrlz
  • Start date Start date
  • Tags Tags
    Arithmetic Binary
Click For Summary

Discussion Overview

The discussion revolves around understanding binary arithmetic, specifically focusing on two's complement and binary multiplication. Participants share their experiences and seek resources for better comprehension of these topics.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant expresses confusion over the multiplication of binary numbers, specifically questioning the presence of leading zeros in the result.
  • Another participant suggests that leading zeros do not affect the value of the binary number, comparing it to leading zeros in decimal notation.
  • A participant explains the process of binary multiplication, mentioning that multiplying by two in binary involves a left shift and adding a zero.
  • There is a discussion about the grouping of binary digits, with one participant noting that grouping can make it easier to read and understand binary numbers.
  • Another participant elaborates on the advantages of grouping binary digits into sets of four, linking it to hexadecimal notation and its relevance in computing.
  • Historical context is provided regarding the use of octal notation and how it influenced the grouping of binary digits.

Areas of Agreement / Disagreement

Participants generally agree that leading zeros do not change the value of binary numbers and that grouping digits can aid in readability. However, there is no consensus on the necessity or implications of different grouping methods.

Contextual Notes

Some participants mention that they are still learning about binary arithmetic, indicating that their understanding may be incomplete. The discussion includes various perspectives on notation and grouping without resolving the complexities involved.

Who May Find This Useful

This discussion may be useful for individuals learning binary arithmetic, particularly those interested in two's complement and binary multiplication, as well as those exploring different numeral systems and their applications in computing.

tankgrrlz
Messages
2
Reaction score
0
I was wondering if anyone could suggest a resource to help me understand binary math better. Specifically I am having trouble two's compliment problems and binary multiplication.

An example of where my thought process is getting confused:

1110 * 010

The answer given for this example is 00011100

Now when I work it through I end up with 011100 by just following basic multiplication rules and I cannot figure where the extra two zeros are coming from.

Not really looking for an answer for the problem which is why this isn't posted in the homework section. Really interested in some links to some sites that explain this well or even a text that I could study.
 
Mathematics news on Phys.org
The zeros at the beginning don't matter though, do they? It's like sayin 16=016 in decimal-- both are correct.

Note that here you are multiplying the number by two (since two in binary is 10). To do this, you simply shift the number to the left and add a zero.. so 1110*10=11100. (c.f. 17*10=170 in decimal)
 
so basically the zeros in the front mean nothing... which makes more sense to me. Is there a reason you would write it out like that ever? I've noticed that there are groupings of 4 in how things are written out sometimes 0010 1110 etc. I haven't gotten that far into the studies yet to know - perhaps its just leading to something further along?
 
Binary numbers are inconveniently long for human beings to handle (though not as bad as unary ones!) so grouping the digits makes life more comfortable. Visually it's easier to count fewer groups of 4 digits rather than 4 times as many individual digits. It's the same reason that in many parts of the world, decimal numbers are written in 3-digit groups ("12,345,678").

A more compact notation still is hexadecimal, where each digit corresponds exactly to groups of four binary digits (0000=0, 0001=1, ... 1001=9, 1010=A, 1011=B, 1100=C, 1101=D, 1110=E, 1111=F). So another reason for using groups of 4 binary digits is that you can think of each group as a single hexadecimal digit if you prefer.

In computing applications the groups-of-4 notation is also useful because a byte (the currently fashionable standard unit of data storage) is 8 bits, hence two 4-binary-digit groups.

Before hexadecimal came into fashion everyone used octal notation (and often "characters" of 6 bits and "words" of 36 bits). People from that era will tend to group their binary digits in threes rather than fours, thus confusing everyone else and, increasingly, themselves.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 19 ·
Replies
19
Views
6K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K