DEV Community

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

Posted on • Edited 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.

Latest comments (30)

Collapse
 
domyassignment profile image
Masters Assignment Help

Masters Assignment Help: Your Partner in Academic Success

Struggling to keep up with assignments? Masters Assignment Help is here to make your academic journey stress-free. We specialize in providing personalized, high-quality, and plagiarism-free solutions tailored to your needs.

Whether you’re searching for do my assignment services or need help with nursing, environmental science, business studies, or even complex dissertations, our expert writers ensure your work is delivered on time and meets the highest standards.

With affordable pricing and a focus on student success, Masters Assignment Help is your trusted partner for academic excellence. Let us take the pressure off so you can focus on what matters most. Choose us today for all your Assignment Help UK needs!

Collapse
 
onlineassignmenthelp_2721 profile image
onlineassignmenthelp

Struggling with assignments can be overwhelming, but Online Assignment Help is a real lifesaver! It offers expert assistance, guiding you through complex topics and helping you meet deadlines with ease. Whether you're working on research, essays, or problem-solving, this service makes a huge difference. Definitely a must-try for anyone looking to improve their grades and reduce stress!

Collapse
 
jamesmith30 profile image
James Smith

Get expert assignment help bristol from our skilled team. We create original, customized content for various tasks like homework and programming, all at reasonable rates. Enjoy 24/7 support and unlimited revisions with us!

Collapse
 
sarah_ayla profile image
Sarah Ayla

Great introduction to the topic! This blog provides clear and helpful insights, making it easy to understand the basics. I especially appreciate how you’ve structured the content—it’s very engaging. Looking forward to the next part of the series. By the way, I found the reference to The Leathers Jackets really intriguing; it added a nice touch to the article. Keep up the fantastic work

Collapse
 
emilyjohn profile image
emily • Edited

Same Day Assignments help service leads you towards the success in academics along with the perfect assignments services UK based.
If you need BTEC assignment help or dissertation help services, our team is reliable. You can easily buy assignment UK or get assistance to help write my paper.
our writing services in UK are top-quality, with expert academic paper writers and research paper writers. We also provide excellent dissertation help UK and nursing coursework. help.
their professional assignment help services make your academic journey smooth and stress-free.
samedayassignments.com/

Collapse
 
emilyjohn profile image
emily

Looking for reliable academic support or buy assignments in uk ? is the best option. Each service is provided by expert professionals dedicated to delivering high-quality academic work that meets your deadlines and exceeds your expectations.
Finding a reliable academic help service is crucial, and samedayassignments.com has proven itself as the top platform for students in the UK.
Whether you need assistance with dissertation,research papers,Custom assignment,Assignment writing services,Btec assignment help,essay help,thesis writing,exam help, paper help,or specialized subject. same day assignments delivers high-quality, AI-free, and non-plagiarized content to help you academically.

Collapse
 
isabella_stanton profile image
Isabella Stanton

After reading your precious blog, it remember me of my Physics teacher. He was very kind and supportive, always making lessons enjoyable with his laughter and valuable teaching style. Whenever I faced challenges with online math master assignment, he was always ready to help and explain things in a simple and understandable way, making it smooth for students like me

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