I recently changed mathematics groups and i was told that i would fall behind others and ned private tutoring but after i binged the whole section about this I’m now ahead of my whole class, thank you
Each hex digit represents half of a byte in binary. As a byte is made of of 8 bits, the E7 above can be easily transformed into binary as the first four bits can be represented by the E. And the second four bits are patterned after the 7. That is why Hex is often used in computers as the character representation matches the pattern of bytes exactly in fewer characters.
@@aldante7079 FF Reading left to right. First F is 16^1 Second F is F^0 So, F • 16^1 + F • 16^0 F = 15 16^1 = 16 16^0 = 1 Now to simplify. So, 15 • 16 + 15 • 1 So, 240 + 15 Which comes down to 255
Thank you so much, as I was introduced to this system decades ago. So now I can study your very clear lesson, and help myself understand and actually remember this system. The greatest compliment that I can give you is that you have helped me with something that I could never have grasped before, as did Mr. Tuscher in my 1st year of college
I was about to ask if F shouldn't be 16? But not no, it starts with 0. So does binary etc. So not "computers start counting with 0", every number system does. Now I even figured out why. Because number sign are just placeholders. And the lowest value you have to represent "nothing" in order to express "no times this power of base jump". Only humans start counting with 1. Seems super logic but who's really aware of it? Mindblowing!
Ok cool i understand now Ff= 255 (15×(16^1))+15=255 (15×16)+15=255 (240)+15=255 255=255 Af3=2803 (10×(16^2))+(15×16)+3 (10×(256))+(15×16)+3= (2560)+(240)+3=2803 (2560+240)+3=2803 (2800)+3=2803 2803=2803 I was limited on space for that last one
Que because A is in a higher position the A is in the two-hundred-fifty-six position and F is in the sixteen position meaning A is symbolizing how many two-hundred-fifty-sixs there are, and not how many sixteens
We use your website in math class at school. At first I thought is was just another stupid ass math site, but after watching this, I feel different. I'm aiming for a career in computer science in the future, and knowing this is pretty important. You illustrated the way hexadecimal works very well, and I now understand it.
Only if my Computer Science didn't suck and have such a strong accent, I would understand her but Khan Academy makes everything more understandable. Thank you for saving me, always able to teach well unlike a teacher at my school.
Great explanation! Really helped me out! Up until this point I've been using RGB decimal for defining colors when coding in HTML/CSS, but now I can actually understand what I am doing when I use hexadecimals!
I started texting my friend in hexadecimals just to confuse her. I said, "48 49. 49 55 53 45 48 45 58 41 44 45 43 49 4d 41 4c 53 4e 4f 57 !" which means, "HI. I USE HEXADECIMALS NOW!" It's in all caps because if it weren't, things would get a LOT more complicated.
The way I go from decimal to hexadecimal is by converting the decimal to binary and then binary to hexadecimal. The reason is because every nibble of binary maps directly to one of the 16 hexadecimal digits. Is that the most efficient way of converting?
No, every base is convertable to each other. The only reason we use one over the other is its primary use. Electricity is on or off, so we use binary, binary is commonly used in packets of 8 bits, or 1 byte, so we can represent half of a byte as one digit of hexadecimal. So FF means 1111 1111 in binary, and is used in compacting the information computers use. It is easier to read F2B9 than 1111 0010 1011 1001
If you are representing a RGB color using 8-bits, it's FF0000, where the first, second and third bytes represent the red, green and blue value, respectively
I think the world would be a lot better off if we counted in 12s instead of 10s and our computers used ternary/trinary instead of binary. Base 12 is the best base to use for everyday math in your head. Its a lot easier to learn to multiply base 12 than base 10 which is what we use since 12 is very composite. In base 10, the 1s,2s,5s, 10s, 11s are easy to learn how to multiply since there is a pattern but in base 12, the 1s,2s,3s,4s,6s,8s,9s, As, Bs, 11s (13s in base 10) are all easy to learn because there is a pattern but As and Bs pattern is harder to see. If computers used ternary/ trinary, you could have 0,1, and 2, or -1,0 and 1. The computers would use less energy and be more secure and still use modern coding with some minor adjustments maybe. Every base number system has its own strengths and weaknesses but bases 2, 10 and 12 are super important. base 4, 8 and 16 are good for computers. In Base 6, all the prime numbers greater than the number 6 all end with a 1 or 5 , but not all numbers that end in a 1 or 5 are prime. You can count to 1023 on your fingers in base 2 since your fingers can bend and stand for a 0 or 1 but you can count to 59,048 in base 3 on your fingers if you can make your fingers bend half way or touch a surface to stand for the extra digit.
The problem with that is, transistors are binary, so making processors to use trits instead of bits increases complexity which would reduce the effective transistor count, which may cause us to be back at square one. Additionally, software has been optimized since forever with powers of 2 in mind.
You probabily don't know why computers Count in binary, make them Count in trinary would be a lot harder, in binary is simple, 1= wire with electricity 0 = wire without electricity
That is not why trinary is more difficult. Trinary is just as simple. 0 = wire at ground, 1 = wire at positive voltage, 2 = wire at negative voltage. The problem has to do with the fact that transistors themselves are only 2 state devices. It is a fundamental thing.
Computer calculations are performed in binary, with long strings of binary digits, typically 16 or 32 "bits". That makes it difficult for us humans to work with, since nobody wants to write out that many digits. However, since binary and hexadecimal are both power of 2 based, you can easily convert binary to hexadecimal by grouping 4 binary digits together. 4 binary bits = 1 hex digit. So, instead of writing out 32 binary digits, you can represent the same value with only 8 hex digits.
What is 33.60º? What is 30.82º? Converted to layman sixty degrees mathematics please? Is the 'º' denoting hexadecimal rather than degrees? And if yes. Is reality that 45º is the same in hexadecimal as well as in a sexegisimal degree language system? IE is that just a mathematical coincident? TY.
Because if we go towards the lowest level. i.e. the way the semiconductors in our computers operate there are only two states. High and Low or 1 and 0. So we use binary system in the computer. Over the binary system we can use any nth base system. But when it comes to the lowest level we need to use the binary system only.
At the base level the computer circuits only know on/off, yes/no, etc. They know binary, thus everything is built off binary. It is far more convenient to use hexadecimal (which is mathematically closer to binary than decimal).
Soooo with RGB being measured between 0 -255, im assuming that we use 255 shades of each colour to match the Hexadecimal limit. ie we chose to use hexadecimal first and then decided 255 was adequate rather than a happy coincidence??
Foe the longest time, I wanted to know how base-37 works. This because I figured out that once bases go over 10, it goes into the Latin alphabet, but the Latin alphabet only goes up to 26 digits, so how would base-37 work?
Maybe a dumb question, but could this system be extended out seemingly infinitely, limited only by the number of symbols invented to represent the different integers?
that hexadecimal system is way more complicated than it has to be. I got interested in it from watching the Martian. all you have to do is take the letter F, put the number 10 beside it, and there's your entire alphabet. There would be no need for punctuation or spaces in the message. But I guess it's not unusual for people take something simple and confused themselves with it. I'm still trying to figure how you took "FF" and got the color white.
Just a convention. A programming language once used the 0x to distinguish hexadecimal from normal decimal in the code, though it eventually got pretty popular. Most programming languages use it to denote hexadecimal numbers now.
@@jaswik2023 correct. I can see how its confusing though, the important thing to remember is that although F is the 16th digit, it represents 15, and 16 is not in the digit sequence at all. 16 is only the means for counting how many times we have surpassed 15, or F. That is why we dont have a new symbol for ten in base ten. Ten is a placeholder counting how many times we pass nine. There is no ten, only a combination of two prior numbers, 1 and 0.
Sometimes I wonder how you write so good with a mouse
+wowitsbryce
*Well
Simon H. You know exactly what I meant.
wowitsbryce
it's a meme you dip
Simon H. That's not a meme.
wowitsbryce
knowyourmeme.com/memes/grammar-nazi
you wot m80?
I was super confused til I came here. You never let me down , Sal. Appreciate you!
agreed! First time coming to this channel and the way he teaches is so clear its amazing!
Please stop posting stupidity
I recently changed mathematics groups and i was told that i would fall behind others and ned private tutoring but after i binged the whole section about this I’m now ahead of my whole class, thank you
FF is 255 and AF3 is 2803
yes v
Ye
samething
Is there a FFF? If yes what number is it? TY.
@@MikeGreenwood51 15*256 + 15*16 + 15 = 4095
Each hex digit represents half of a byte in binary.
As a byte is made of of 8 bits, the E7 above can be easily transformed into binary as the first four bits can be represented by the E. And the second four bits are patterned after the 7. That is why Hex is often used in computers as the character representation matches the pattern of bytes exactly in fewer characters.
I just learned this today :)
I thought school was easy, this is a 6th grader talking though.
FF(hex)=255(dec) and AF3(hex)=2803(dec)
Isn’t FF 256 ?
@@aldante7079 FF
Reading left to right.
First F is 16^1 Second F is F^0
So, F • 16^1 + F • 16^0
F = 15
16^1 = 16
16^0 = 1
Now to simplify.
So, 15 • 16 + 15 • 1
So, 240 + 15
Which comes down to 255
The thing that really impresses me is... how somebody can write beatifuly with a *MOUSE*
sorry to break your impression,he is using a drawing/writing pad.
@@Tech360HD that would make sense, but in some videos he drags the cursor to the side to switch colors?
@@Tech360HD I don't think so because you can see a cursor on the screen. So he is using a mouse
@@Sama-tq1nk he shows his setup in a tiktok and he does indeed use a stylus to write
@@Sama-tq1nk he uses a stylus, the tip of the pen is responsive to the screen lol no one can write like that with a mouse
231/16=14.4375
14=E (in hex)
14*16=224
231-244= 7
7=7( in hex)
231=E7(in hex)
+Agis beauty Finally. All I wanted to see.
Thanks for explaining. I was wondering how he got E but now it makes sense.
ah thanks. now i understand that hex color codes are just representations of ther decimal RGB value
So many different paths unlocked in my brain
Thank you so much, as I was introduced to this system decades ago. So now I can study your very clear lesson, and help myself understand and actually remember this system. The greatest compliment that I can give you is that you have helped me with something that I could never have grasped before, as did Mr. Tuscher in my 1st year of college
... even more decades ago. Thank you.
I'm E years old and I already know how to use hexadecimal.
+Real Constant and? i learnt when i was 10
+llamaindustries soz m8
+llamaindustries Lol good for you too kid
same
+llamaindustries apparently you took to much time in math, and not enough in english
the letter B: B
my brain before watching this video: "babababa"
I am here for a refresher of my college days 20 years ago. AF3 = 2803. Blimey that was actually 14 years ago in hex!!!
think it should be 403
Really appreciate these videos. Wish my course materials made it this clear!!
I was about to ask if F shouldn't be 16? But not no, it starts with 0.
So does binary etc. So not "computers start counting with 0", every number system does.
Now I even figured out why. Because number sign are just placeholders. And the lowest value you have to represent "nothing" in order to express "no times this power of base jump".
Only humans start counting with 1.
Seems super logic but who's really aware of it? Mindblowing!
TY.
Thanks, I've got my exam tomorrow and this is somewhere which caught me out in my last mock exam.
are you allowed a calculator in this exam?
4 years ago?
@@hslegolos uhh calculator are using 10 base number, it's not going to help much with base 16 number system
among us
AF3 = (16^2 * A) + (16 * F) + 3 = (16^2 * 10) + (16 * 15) + 3 = 2803
AF3
A=10
We have 16^2=256
256×10= 2560
F=15
16^1=16
16x15= 240
3=3
So
AF3 = 2560+240+3=2803?
And your answer is... correct!
Thank you for showing that!
Thanks, helped with my computing class.
StewartBroadcasting
Ok cool i understand now
Ff= 255
(15×(16^1))+15=255
(15×16)+15=255
(240)+15=255
255=255
Af3=2803
(10×(16^2))+(15×16)+3
(10×(256))+(15×16)+3=
(2560)+(240)+3=2803
(2560+240)+3=2803
(2800)+3=2803
2803=2803
I was limited on space for that last one
Thank you for this informative video. Now I know what the hex my teacher was talking about
Decimal equivalent of "3" = 3 × 16^0 = 3
Decimal equivalent of "F" = (F) 15 × 16^1 = 240
Decimal equivalent of "A" = (A) 10 × 16^2 = 2560
Decimal equivalent of "AF3" = 2560+240+3
AF3 = 2803
Really helpful, cheers
Great video, very clear and easy to understand. Thanks!
That video helped me in like no time.
Amazing job
this is really making me think about life
Thank you so much! So easy to understand!
pronunciation is
A: Able
B: Baker
C: Charlie
D: Dog
E: Easy
F: Fox
No
in our number system FF is 255 (15*16 + 15*1) and AF3 is 2803 (10*256 + 15*16 + 3*1)
I think
Iam JenJen It's what I got. FF would be (First F= 15*16= 240) while (Second F= 15). 240 + 15= 255. :)
So for understanding, why wouldn't it be 10*16 for A? but it is for F?
Que because A is in a higher position
the A is in the two-hundred-fifty-six position and F is in the sixteen position
meaning A is symbolizing how many two-hundred-fifty-sixs there are, and not how many sixteens
TY TY TY TY this helped me a lot more than what was on the CompTIA eBook
very helpful man thanks!
We use your website in math class at school. At first I thought is was just another stupid ass math site, but after watching this, I feel different. I'm aiming for a career in computer science in the future, and knowing this is pretty important. You illustrated the way hexadecimal works very well, and I now understand it.
Only video i found that was explained well!
Thank you for helping me understand this concept, finally.
Thank you will watch right now
You have re-shown me how numbers work at the cost of my newfound discombobulation.
Internet is a good place just because of people's like you 💗
Only if my Computer Science didn't suck and have such a strong accent, I would understand her but Khan Academy makes everything more understandable. Thank you for saving me, always able to teach well unlike a teacher at my school.
Thanks so much was much more clear when you explained it!
your like the cool math teacher everyone wish they had :') lol
Lol
Thank you so much .This topic is more clear when you explained it !
you guys rock
Great explanation! Really helped me out! Up until this point I've been using RGB decimal for defining colors when coding in HTML/CSS, but now I can actually understand what I am doing when I use hexadecimals!
I'm 10 years old in hexadecimal system..... Convert it in decimal
Thank you very much for this video! It is very well done and very educational :)
I started texting my friend in hexadecimals just to confuse her. I said, "48 49. 49 55 53 45 48 45 58 41 44 45 43 49 4d 41 4c 53 4e 4f 57 !" which means, "HI. I USE HEXADECIMALS NOW!" It's in all caps because if it weren't, things would get a LOT more complicated.
The way I go from decimal to hexadecimal is by converting the decimal to binary and then binary to hexadecimal. The reason is because every nibble of binary maps directly to one of the 16 hexadecimal digits. Is that the most efficient way of converting?
No, every base is convertable to each other. The only reason we use one over the other is its primary use. Electricity is on or off, so we use binary, binary is commonly used in packets of 8 bits, or 1 byte, so we can represent half of a byte as one digit of hexadecimal. So FF means 1111 1111 in binary, and is used in compacting the information computers use. It is easier to read F2B9 than 1111 0010 1011 1001
GenOmega2 That's a really interesting comment. Thank you :)
Awesome. Thank you!!!
thanks for the tutorial
what is the application or software or any external device used in this video for writing?
Nicely explained.
Awesome explanation 😭🙌...
It was soo good! I wasn't able to understand anything before !
shut up
Go on double speed to 2:15. Still laughing! But a great video!
Thank you so much for helping me 💖
I understand how you converted the E7 to 231, I just wish you showed us how you converted the 231 to E7 in the first place.
Michael Rogers
Thank you! My point exactly. Lousy job in explaining, nothing makes sense from that point on.
Nice🥰
Great explanation of the hexadecimal numbering system. Thank you !
wow thank you!
FF in hex is converted to 255
AF3 in hex is converted to 2803
Thanx ♥️
lol
This is good. I honestly say this is helpful to me even tho I'm not the best in English.
FF = 15*16 + 15 = 255
AF3 = 10*16^2 + 15*16 + 3 = 2803
Why Base-8 numbers not commonly used in the presence of Hexadecimal number system?
THANK YOU!
still better than my math teacher
thanku so much
How about a base e system? That would be useful for natural log sort calculations. Anybody with me?
Ultra Takes The L base e. is a non repeating decimal number like pi. is.
FF=255. So does that mean Red? I think red is 255,0,0 so does that change anything?
If you are representing a RGB color using 8-bits, it's FF0000, where the first, second and third bytes represent the red, green and blue value, respectively
very valuable. thank you!
I think the world would be a lot better off if we counted in 12s instead of 10s and our computers used ternary/trinary instead of binary. Base 12 is the best base to use for everyday math in your head. Its a lot easier to learn to multiply base 12 than base 10 which is what we use since 12 is very composite. In base 10, the 1s,2s,5s, 10s, 11s are easy to learn how to multiply since there is a pattern but in base 12, the 1s,2s,3s,4s,6s,8s,9s, As, Bs, 11s (13s in base 10) are all easy to learn because there is a pattern but As and Bs pattern is harder to see. If computers used ternary/ trinary, you could have 0,1, and 2, or -1,0 and 1. The computers would use less energy and be more secure and still use modern coding with some minor adjustments maybe. Every base number system has its own strengths and weaknesses but bases 2, 10 and 12 are super important. base 4, 8 and 16 are good for computers. In Base 6, all the prime numbers greater than the number 6 all end with a 1 or 5 , but not all numbers that end in a 1 or 5 are prime. You can count to 1023 on your fingers in base 2 since your fingers can bend and stand for a 0 or 1 but you can count to 59,048 in base 3 on your fingers if you can make your fingers bend half way or touch a surface to stand for the extra digit.
Bro u were in the shower for too long
emaknya pororo underrated comment.
The problem with that is, transistors are binary, so making processors to use trits instead of bits increases complexity which would reduce the effective transistor count, which may cause us to be back at square one.
Additionally, software has been optimized since forever with powers of 2 in mind.
You probabily don't know why computers Count in binary, make them Count in trinary would be a lot harder, in binary is simple, 1= wire with electricity 0 = wire without electricity
That is not why trinary is more difficult. Trinary is just as simple. 0 = wire at ground, 1 = wire at positive voltage, 2 = wire at negative voltage.
The problem has to do with the fact that transistors themselves are only 2 state devices. It is a fundamental thing.
Thanks Hal
very interesting thank you
I would have liked some more elaboration on the actual use cases of hexadecimal numbers.
Computer calculations are performed in binary, with long strings of binary digits, typically 16 or 32 "bits". That makes it difficult for us humans to work with, since nobody wants to write out that many digits. However, since binary and hexadecimal are both power of 2 based, you can easily convert binary to hexadecimal by grouping 4 binary digits together. 4 binary bits = 1 hex digit. So, instead of writing out 32 binary digits, you can represent the same value with only 8 hex digits.
The martian. if all else fails, use hexadecimals
14*16+7 , so number position is just instruction for multiplication
F=225 and AF3=2803
What is 33.60º?
What is 30.82º? Converted to layman sixty degrees mathematics please? Is the 'º' denoting hexadecimal rather than degrees? And if yes. Is reality that 45º is the same in hexadecimal as well as in a sexegisimal degree language system? IE is that just a mathematical coincident? TY.
Great video
Great explanation, had trouble with this on practice exams
what do u use
cocaine marijuanna all of the tings ya get me
So how come computers don't use a 20-bit system or something instead of Binary? Wouldn't it be easier and smaller to transport larger information?
Because if we go towards the lowest level. i.e. the way the semiconductors in our computers operate there are only two states. High and Low or 1 and 0. So we use binary system in the computer. Over the binary system we can use any nth base system. But when it comes to the lowest level we need to use the binary system only.
At the base level the computer circuits only know on/off, yes/no, etc. They know binary, thus everything is built off binary. It is far more convenient to use hexadecimal (which is mathematically closer to binary than decimal).
your so good with a mouse
Thank you so much this really helped :)))))
Soooo with RGB being measured between 0 -255, im assuming that we use 255 shades of each colour to match the Hexadecimal limit. ie we chose to use hexadecimal first and then decided 255 was adequate rather than a happy coincidence??
they should invent 16 new unique symbols for the 16 numbers of hexadecimal that would be totally cool
Foe the longest time, I wanted to know how base-37 works. This because I figured out that once bases go over 10, it goes into the Latin alphabet, but the Latin alphabet only goes up to 26 digits, so how would base-37 work?
FF = 255 AF3= 1843 o/ Thanks for the video!
AF3 is 2803
Goomba1151 *3059
Magic Guy Could Be
that is BF3
GenOmega2 oh... woops
Great video! Helped a lot thank you!
so... base 26 (using the alphabet) A being 0 ...
231=JG in base 26. base 4 (0-3), 231 = 3211
Maybe a dumb question, but could this system be extended out seemingly infinitely, limited only by the number of symbols invented to represent the different integers?
Thank you ;)
that hexadecimal system is way more complicated than it has to be. I got interested in it from watching the Martian. all you have to do is take the letter F, put the number 10 beside it, and there's your entire alphabet. There would be no need for punctuation or spaces in the message. But I guess it's not unusual for people take something simple and confused themselves with it. I'm still trying to figure how you took "FF" and got the color white.
All that is needed from me is a big 👍
So why is Hexidecimal code sometimes written like this example --> 0x64
Just a convention. A programming language once used the 0x to distinguish hexadecimal from normal decimal in the code, though it eventually got pretty popular. Most programming languages use it to denote hexadecimal numbers now.
What kind of input device do you use? Looks too smooth to be a regular mouse :)
I'll be a graphics tablet. Used by digital artist usually. Search it.
Is this type of Math for computer science only?
Why do we put exponents on hexadecimal numbers?
AF3=2802
Ft=255
no AF# equals 10*256=2560+15*16=240 so 240 +2560=2800 now + 3 is 2803
@@jaswik2023 correct. I can see how its confusing though, the important thing to remember is that although F is the 16th digit, it represents 15, and 16 is not in the digit sequence at all. 16 is only the means for counting how many times we have surpassed 15, or F.
That is why we dont have a new symbol for ten in base ten. Ten is a placeholder counting how many times we pass nine. There is no ten, only a combination of two prior numbers, 1 and 0.
Can this system represent all numbers
The number 26, for example, in hexadecimal is 1A right?
Bruno Daniel Rodrigues yes
Yes! Yes! I finally get it. Thank you!!!!