DEV Community

Cover image for Bases Explained Part 1 - Introduction
Christian Kaindl
Christian Kaindl

Posted on • Updated on

Bases Explained Part 1 - Introduction

In this series, Bases Explained, I want to dive into the various aspects of bases. At the end of this series, you will be able to know what they are, how to convert between them and why they are awesome.


I suspect all of you have at least once touched upon the mathematical term "base". Things like binary and hexadecimal are probably familiar to most of you, but how good do you really know them? I mean, who can't use a hex color code, right? Well, some time ago I explored bases a bit more and I want to share my learnings with you.

Positional notation

At the heart of the concept of bases is the positional notation. That means, depending on the position of a digit within a number, its value is different. 1 from 100 is different than 1 from 1000. The more a digit is on the left side of a number, the higher its value.

This principle is the same throughout all bases. Base 3, 7, 4, 8, 342. They all share this common theme.


The term base in the context of numerical systems actually means "How many digits are used in this number system?" That is, base 2 has 2 digits, base 16 has 16 digits, base 10 has 10, and so on. The digits always range from 0 to one less than the base (e.g. 0-9 in base 10).

With these two things in mind - positional notation and number of digits - we have the building blocks to find out how bases work. As we'll see later, it is just mind blowing when you try to completely think in a different base system, or to imaging that you always thought in a certain base system. Would you see the world differently?

There are infinitely large amounts of bases out there, so it is definitely time to find out.

Bases are important

There are a number (ʕ•ᴥ•ʔ) of reasons why different bases are used for different jobs. It is very easy to think that bases are something abstract or only math related, but the reality is they are not only pretty damn useful, but they also bring a mental value once understood. In the end, we use numbers all the time, oftentimes without even realizing. So being aware of the power that this fundamental concept of our numerical system has can really step up your life-game.

Some applications of bases:

Electronics
Computers use, at their lowest level, base 2 systems to process data. This is due to a restriction in the hardware, e.g. logic gates are either on or off; nothing in-between. It is downright incredible that with just enough zeros and ones, you can have so much flexibility that all these crazy technologies that we use today can exist.

Storage
Storage devices leverage higher base systems, such as base 16, because it allows them to save much more data at less length. Compare 100000002 to 8016. They represent the same data, the latter one is just much shorter.

It's fun
Simple and plain, it's worth playing around with. And getting your head to think in other base systems is also cool. Finding patterns in conversions to other base systems is even more fun! Take the number 100 for example. You can take this number and interpret it in different base systems. 1002, 1003, 1004, etc.

Each of them translate to a different value (when viewed from base 10). 1002 = 410, 1003 = 910, 1004 = 1610. It is really fascinating to see just how relative our base ten system is.

Cultures
Different cultures have historically counted in different base systems. It is a mere coincident that our western culture uses the base 10 notation (some say we chose base 10 because we have ten fingers). Other cultures have used other systems as well such as base 12. That is most likely where words like "a dozen" (meaning 12) come from. But also, some languages such as english have even unique names for the 11th and 12th digit: eleven and twelve.


I want to dive into the math of bases a bit deeper in Part 2, e.g. how to convert between them.

Fun fact: you can count to 1 thousand using your two hands.

PS: Bonus points for everyone who can decipher the numbers in the header image.

Oldest comments (14)

Collapse
 
aleenajohn01 profile image
Info Comment hidden by post author - thread only accessible via permalink
Aleena John

Bro, thank you so much for making it so simple. I have seen multiple videos on youtube and even tried to memorize my textbook for learning hexadecimal, but I couldn’t. TBH you remind me of the service from which we can buy assignment help online. I mean, you helped me do my IT assignment, and instead of charging money from you just took few minutes. That’s a great deal. ;)

Collapse
 
kayliea26280961 profile image
Kaylie Anderson

Hi, I'm Kaylie Anderson works at Treat Assignment Help UK as a MBA Assignment writing services. We offering this service online for Students. We are recognized as the most trusted homework assignment help UK. If you want any assignment help, please contact Treat Assignment Help UK.

Collapse
 
neerajguptauk profile image
Punjab Assignment Help
Collapse
 
aleenajohn01 profile image
Info Comment hidden by post author - thread only accessible via permalink
Aleena John

Through this post, I realize that your great information in playing with every one of the pieces was extremely useful. I inform that this is the primary spot where I discover issues I've been looking for. toddler white hooded sweatshirt

Collapse
 
matthewkelleys profile image
Info Comment hidden by post author - thread only accessible via permalink
Matthew Kelley

I always think that writing report is the best way to share ideas.
The problem is, you need a platform where people can read your content and enjoy it. You created this website. We wanted to create an educational resource for developers who want to learn how coding works in practice, and you also give a brief note for hexadecimal but also for those who are already experienced with coding and simply want to refresh their knowledge or find new topics of interest.

Collapse
 
avaavaanderson profile image
Info Comment hidden by post author - thread only accessible via permalink
avaavaanderson

This site is very helpful for students specially this article help students to write assignment of hexadecimal they contact writers if they need more assignment help.

Collapse
 
neerajguptauk profile image
Punjab Assignment Help

Tips for Scoring A++ Grade in UCL Assignments in 2023 with HND Assignment Help

Collapse
 
jacknoah631 profile image
Jack Noah

This is the right place to read the blog because here we can get as much as information we want I am pretty sure if anyone read this blog it's great to enhance their knowledge if you want to read more like this blog then [Treat Assignment help in Au*](treatassignmenthelp.com/service/sc...)* is a nice place for you.

Collapse
 
mirza278ahmed profile image
mirza ahmed

Searching for top-notch assignment writing services? Look no further than Spry Publisher! Our platform stands out among the best publishers in Pakistan, offering expert assistance that ensures your academic success. With a team of skilled writers and a commitment to excellence, we take your assignments to the next level. Whether it's essays, research papers, or any academic task, we deliver quality that's unmatched. Trust Spry Publisher for reliable support and witness your grades soar! #SpryPublisher #AcademicExcellence #PublishersinPakistan

Collapse
 
danglin53 profile image
danglin

I am quite grateful to you, bro, for making it so easy to find. Not only have I attempted to study hexadecimal by watching a number of videos on YouTube, but I have also attempted to memorize the information included in my textbook. To tell you the truth, you bring to mind the business that allows us to purchase best assignment writing service online. You assisted me in completing my information technology homework, and rather than charging me money, you merely took a few minutes of my time. This is a very generous offer.

Collapse
 
scarlettchole09 profile image
Scarlett

It's fascinating to delve into the world of bases through your "Bases Explained" series. From understanding binary to exploring hexadecimal, your initiative to explore the depths of these mathematical concepts is commendable. As you share your insights and learnings, many will benefit from gaining a deeper understanding of bases and their applications. If you ever need assistance with your nursing dissertation, consider seeking nursing dissertation help UK for expert guidance and support.

Collapse
 
johnsjimmy016 profile image
johnsjimmy016

Great Post! Thanks for sharing such amazing information with us. Please keep sharing.
real shearling coats on sale

Some comments may only be visible to logged-in visitors. Sign in to view all comments. Some comments have been hidden by the post's author - find out more