Binary Addition: 11 + 11 - What's the Rule?

  • Thread starter kolleamm
  • Start date
  • Tags
    Binary
In summary, the conversation discusses addition in binary and how it is similar to addition in decimal. It explains the rule for carrying the one and provides examples for both bases. The conversation also mentions the use of algorithms and converting to and from base 10 to check answers. It concludes by mentioning the simplicity of addition in binary due to only having two digits.
  • #1
kolleamm
477
44
This one confused me a little bit. You have to carry the one and put it into the next 1 + 1, what would be the rule in this situation?

Not sure if this ever happens in decimal addition.
 
Technology news on Phys.org
  • #2
Yes, it happens all the time. You carry the 1 to the higher position as you say and then you have 1+1+1 = 11b in that position. So the result is 11b+11b=110b.
 
  • #3
In decimal, what's 55+55? 5+5=10, so write zero and carry the one. 5+5+1=11, so write one and carry the 1.

Same in binary, except 1+1=10. So to do 11+11 note that 1+1=10 so write zero and carry the one. 1+1+1=11, so write one and carry the one.

I find it helpful when working with bases other than ten to explicitly write out long addition/multiplication/division like I'm back in primary school. The same mindless drills work (we call them algorithms because it sounds better), just with different representations of the numbers.
 
  • Like
Likes FactChecker
  • #4
And, of course, you can always convert to and from base 10 to check your answer!
 
  • #5
The addition "facts" in binary addition are pretty simple, as there are only two digits.
0 + 0 = 0 - no carry
0 + 1 = 1 - no carry
1 + 0 = 1 - no carry
1 + 1 = 10 - carry to the next position on the left
(All numbers shown are binary (base-2) numbers.)
 
  • #6
Also 11b+11b=11b⋅2D=11b⋅10b=11b shift left 1.
 
  • Like
Likes FactChecker

Related to Binary Addition: 11 + 11 - What's the Rule?

1. What is binary addition?

Binary addition is a mathematical operation where two binary numbers, represented by 0s and 1s, are added together to get a sum. This is similar to adding two decimal numbers, but the rules and values are different.

2. What are the rules for binary addition?

The rules for binary addition are as follows:

  • 0 + 0 = 0
  • 0 + 1 = 1
  • 1 + 0 = 1
  • 1 + 1 = 10 (carryover 1 to the next place value)

3. How do you add 11 + 11 in binary?

To add 11 + 11 in binary, you would follow the rules of binary addition. Starting from the right, 1 + 1 = 10 (carryover 1). Then, 1 + 1 + 1 = 11 (carryover 1 again). The final sum would be 110, which is equivalent to the decimal number 6.

4. Can you add binary numbers of different lengths?

Yes, you can add binary numbers of different lengths. You would simply add the corresponding digits from right to left, following the rules of binary addition. If one number is longer than the other, you can assume that the missing digits are 0s.

5. Why is binary addition important?

Binary addition is important because it is the basis of all digital computing. All data and instructions in a computer are represented in binary form, and binary addition is used to perform calculations and process information. Without binary addition, modern technology and digital devices would not be possible.

Similar threads

  • Programming and Computer Science
Replies
3
Views
982
  • Programming and Computer Science
Replies
7
Views
2K
Replies
13
Views
2K
  • Programming and Computer Science
Replies
1
Views
1K
Replies
4
Views
1K
  • Programming and Computer Science
Replies
3
Views
1K
  • Introductory Physics Homework Help
Replies
8
Views
774
Replies
1
Views
2K
  • Programming and Computer Science
Replies
17
Views
1K
  • Astronomy and Astrophysics
Replies
2
Views
277
Back
Top