Understanding Binary Long Division: Finding Zero Quotient Digits

  • Context: MHB 
  • Thread starter Thread starter find_the_fun
  • Start date Start date
  • Tags Tags
    Binary Division
Click For Summary
SUMMARY

The discussion focuses on binary long division, specifically in the context of calculating the Cyclic Redundancy Check (CRC) for messages. It clarifies that a quotient digit is zero when the divisor's length exceeds that of the current dividend segment. The example provided illustrates how binary long division differs from traditional division, emphasizing the use of XOR instead of subtraction. This method is noted for its efficiency in computer processing.

PREREQUISITES
  • Understanding of binary number representation
  • Familiarity with the concept of Cyclic Redundancy Check (CRC)
  • Basic knowledge of XOR operations
  • Experience with binary arithmetic
NEXT STEPS
  • Study the mechanics of Cyclic Redundancy Check (CRC) algorithms
  • Learn about binary arithmetic operations, focusing on XOR
  • Explore practical applications of CRC in data transmission
  • Investigate binary long division techniques and their computational advantages
USEFUL FOR

Mathematicians, computer scientists, software engineers, and anyone involved in data integrity verification or error-checking mechanisms in digital communications.

find_the_fun
Messages
147
Reaction score
0
binary long division - updated with actual example

Basically what I'm asking is when is a digit in the quotient 0?

View attachment 356
This is from an exercise where I'm supposed to fill in the boxes. I don't understand how they completed the parts that are given to me. Why is the first number 1 when 1111>1010
 

Attachments

  • dontunderstand.png
    dontunderstand.png
    2.3 KB · Views: 114
Last edited:
Physics news on Phys.org
You are right; this is strange. I think division should like like this.

Code:
         1011011
    ------------
1111)10101011000
      1111
     -----
       1100
          0
       ----
       11001
        1111
       -----
        10101
         1111
          ---
          1100
             0
          ----
          11000
           1111
          -----
           10010
            1111
            ----
              11
 
I guess it was a mistake. I'll let you know if I find any others like it.
 
Actually this isn't long division in binary, it's a special type of division used to compute the CRC of a message. The divisor goes into the numerator iff they have the same length e.g. 111 divides 101 once but 111 divides 011 zero times (because 011 is 2 digits long which is less than the 3 digits of 111). Instead of subtracting xor is used. So the second digit in the quotient in the above example would be 0. Apparently this is faster for computers to do than real long division.

I'm not sure if this is describing the same concept but here's a >>wikipedia article<< on the math of CRC.

For anyone less mathematically inclined >>this webpage<< does a good job at explaining it.
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
948
  • · Replies 6 ·
Replies
6
Views
13K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
988
Replies
4
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
7K