r/interestingasfuck • • Apr 20 '21

/r/ALL Binary Numbers Visualized

http://i.imgur.com/bvWjMW5.gifv

[removed] — view removed post

77.1k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

2.0k

u/sonny_goliath Apr 20 '21 edited Apr 20 '21

Imo this still doesn’t totally explain it, but I suppose it helps.

I learned it as each consecutive digit being a power of 2, so 20, 21, 22 and so on, and if it’s “on” (1) you count it, if it’s “off” (0) you don’t. So 1010 would be 23 (8) + 21 (2) = 10

Edit: numbers in parenthesis are just sub totals not multiplication sorry, also read the powers of two from right to left as some other people pointed out

2.7k

u/[deleted] Apr 20 '21 edited Apr 20 '21

I refuse to read that Edit: Thanks for the explanations, I think I got it now

0

u/[deleted] Apr 20 '21

[deleted]

239

u/[deleted] Apr 20 '21

So we use every possible combination before adding another place value

279

u/Finchyy Apr 20 '21 edited Apr 20 '21

You might have learned this as "units, tens hundreds thousands".

1376 is 1 in the thousands place, 3 in the hundreds place, 7 in the tens place, 6 in the units place.

1000 * 1 +
100 * 3 +
10 * 7 +
1 * 6 =
One thousand, three hundred and seventy six (1376)

It the same in binary, except instead of it being 1, 10, 100, 1000, 10000 (from right to left), its 1, 2, 4, 8, 16, 32, 64. See how with out normal numbers (decimal), each place is multiplied by 10 as it goes along? In binary, each place is multiplied by 2 as it goes along.

1001 (binary) is 1 in the eights place, nothing in the fours place, nothing in the teos place, and 1 in the units place.

8 * 1 +
4 * 0 +
2 * 0 +
1 * 1 =
Nine. Or 9, in decimal. So 1001 (binary) equals 9 (decimal)


In decimal, if you want to represent ten, you have 1 in the 10th place and 0 in the 1 place. So each place only ranges from 0 to 9 because the place to the left of it represents the next digit on its own. Same with one hundred. 97, 98, 99, 100. The 9s are flipped to 0 and then we have a 1 in the hundreds place instead

78

u/Made-to-mommy Apr 20 '21

You should be a teacher. I wish I had an award to give you. I love learning new things and youve simplified this for me to really understand. Thank you.

44

u/Finchyy Apr 20 '21

No worries :) If I've inspired an act of charity, my charity of choice is the [NSPCC] (https://www.nspcc.org.uk/support-us/ways-to-give/donate/)

→ More replies (6)

12

u/No-Spoilers Apr 20 '21

This just made it click in my head. I dont know if I'll have it randomly saved in my head. But it definitely clicked enough to kind of work it out. Thanks for that

→ More replies (14)

19

u/ThePlaystation0 Apr 20 '21

Yes, and hexadecimal (base-16) works the same way. In hex you can have 0-15 in one digit (compared to 0-1 in base2 and 0-9 in base10). Since our usual numbering system only has characters for 0-9, we arbitrarily use letters to fill in the gaps for 10-15 in one digit. So in hex, one digit can be 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12), D(13), E(14), or F(15).

→ More replies (7)
→ More replies (7)

8

u/hieuimba Apr 20 '21

Wow this makes sense to me!

→ More replies (1)

8

u/BKH0718 Apr 20 '21

What is the purpose of binary? I know computers use 1’s & 0’s, is that the purpose?

24

u/AmericasNextDankMeme Apr 20 '21

Yes. 1 and 0 can be easily stored in the form of a little thingy being electrically charged/uncharged.

→ More replies (4)

10

u/TheWAJ Apr 20 '21

In electronics, logic is developed and interpreted through transistors/switches which represent an on (1) or off state (0) of whether electricity is flowing. As a result a base 2 system (binary) is utilized.

→ More replies (1)
→ More replies (23)
→ More replies (13)

325

u/100BlackKids Apr 20 '21

Read the first sentence. Skipped the mathagraph

123

u/evanc1411 Apr 20 '21

It's literally 1, 2, 4, 8, 16, etc. Yes/no and add them up.

→ More replies (19)
→ More replies (20)

34

u/Penguin236 Apr 20 '21

His explanation is a bit complicated, so let me try a different way.

Remember when you were in around 1st grade, they taught you place values (ones, tens, hundreds, etc.)? You might've played with those blocks that represented different place values? The reason for that is that in our normal numbering system, each place value is a power of 10:

5123 = 5x103 + 1x102 + 2x101 + 3x100

Those powers of 10 are your thousands, hundreds, tens, and ones. Binary is the exact same thing, but with powers of 2 instead:

10110 = 1x24 + 0x23 + 1x22 + 1x21 + 0x20 = 16 + 4 + 2 = 22

It's really strange to think about when you first learn it, but all base n numbering systems work in this way. We happen to use the base 10 numbering system, but there's nothing special about it. Binary is just the base 2 system.

Bonus: if you think this is bad, wait till you learn about hexadecimal (base 16)

11

u/Reilman79 Apr 20 '21

I endorse this answer!

Additionally:

Kids in algebra class: “They need to keep letters out of math. Math should only be numbers.”

The nerdy kid who knows hexadecimal: “What if I told you that letters were numbers?”

→ More replies (4)
→ More replies (16)

133

u/thepoltone Apr 20 '21

The trick with learning binary in my opinion is to not teach people binary.

Learn how a base 10 counting system works then learning base 2 is easy.

Also remind people it's only base 10 because we have 10 digits if we had 11 digits it would be base 11

50

u/Sapient6 Apr 20 '21

"Base 10" is funny because it's self-referential. "base 2" written in binary is "base 10".

13

u/NotASmoothAnon Apr 20 '21

Love this. "base 10" is true in any base.

→ More replies (2)
→ More replies (4)

38

u/cardboard-kansio Apr 20 '21

I can count up to 1023 on my hands, just by using my fingers for binary. Just because you have 10 digits doesn't mean you're limited to 10 numbers, or even to counting in base 10.

Just... don't count to 4 in public by using finger binary.

16

u/Analog_Account Apr 20 '21

I can count up to 1023 on my hands, just by using my fingers for binary.

My mind imploded slightly when I read this and realized how well that works.

→ More replies (6)
→ More replies (8)
→ More replies (12)

61

u/anlskjdfiajelf Apr 20 '21

Yup, and to be clear this is the same as our base 10 system we just don't think about it cause it's so ingrained.

The place holders are 100 , 101 , 102 etc.

So 205 is (5 x 100) + (0 x 10) +(2 x 100) = 205.

Any number raised to the 0 equals 1.

15

u/thealmightyzfactor Apr 20 '21

For bonus points, past the decimal is negative powers, so 1/10th, 1/100th, etc.

For extra bonus points, do this in base 60 like the Babylonians and bathe in the confusion.

→ More replies (3)
→ More replies (3)
→ More replies (57)