We start with a course on the Binary System. Understanding the binary system is fundamental to understanding modern computing, as almost all * our computers operate internally on a binary system*.

Although as programmers we will most of the time not have to deal with it directly, on many occasions **we will need to have some notions about what it is and how to use it.** *(besides it being general knowledge, and… well, you should know it)*.

In summary, **the binary system is a numerical base that uses only two digits**, `0`

and `1`

. Unlike the decimal system that we use in our daily lives, based on 10 digits (`0`

to `9`

), binary consists exclusively of these two basic digits.

But before we start, let’s explore what the binary system is, learn a bit about its history, and why it is so relevant today 👇.

## A little history of the binary system

The earliest references we find to the binary system date back to very ancient times. The Chinese mathematician Pingala, around the 3rd century BC, in his treatise on Sanskrit poetry. In this treatise, Pingala used the binary system to describe the metric structure of verses and patterns of accentuation.

Much later, the binary system was also used by the German philosopher and mathematician Gottfried Leibniz in the 17th century. Leibniz realized that, on some occasions, the binary system could be used to perform **arithmetic and logical calculations more efficiently than the decimal system**.

Boolean algebra, developed by George Boole in the 19th century, is a mathematical system that allows expressing **logical operations in terms of variables and operators such as AND, OR, and NOT**. This way of representing logic became the foundation for the design of digital circuits and the functioning of the binary system in modern computing.

However, its application in modern computing **is mainly due to the work of Claude Shannon**, an American mathematician and computer scientist considered the “father of information theory”.

Shannon introduced the concept of binary logic in 1937. His work, “A Symbolic Analysis of Relay and Switching Circuits,” laid the groundwork for **the design of digital circuits using Boolean logic**, which operates with true or false values, represented respectively by the digits `1`

and `0`

.

## The use of the binary system in computing

The binary system * is essential for digital electronics and modern computing*, as electronic devices can be in two states, on or off. This can easily be represented by the digits

`0`

and `1`

.Most electronic circuits used in computer systems are based on binary logic, meaning that calculations and operations are performed using only two possible values.

Come on, the binary system is everywhere 🍲. Basically, a lot of objects in your daily life are using binary numbers abundantly, as if there were no tomorrow.

Do you want to know more about What is the binary system? Why is it so important? And learn how to handle it and perform operations? Keep reading the rest of the course, and I hope you enjoy it.enjoy it.