Programming career (in general) is gaining the love and choice of many young people who are passionate about technology.

From software programming, Front End Programming, Back End Programmingprogramming phone applications….. until embedded programmingor most recently AI (artificial intelligence) is extremely growing, with a lot of courses from online to offline training centers.

There is a question that many young people always ask, which is,** Do you need to be good at math to learn programming?** Well, if you are also looking for the answer, here we are, today we will do it together 🙂

**#first. What is the algorithm? **

Something related to the phrase Math

One of the most common terms and concepts when it comes to programming is the algorithm.

At first it sounds like it will have a lot to do with Mathematics. But this is only partly true, because in fact an algorithm (also known as an algorithm) is a way to solve a problem posed by a programming method.

In other words, it’s simpler An algorithm is a sequence of steps to solve a problem.

An example for you to understand, let’s take an example of an algorithm in real life. When you cook rice for example, the step-by-step process will be: Take the rice => put it in the pot => wash the rice => plug in the power => cook the rice.

=> Yes, that’s the algorithm, nothing too complicated to understand 🙂

Another example: How does a device perceive black and red?

At this time, the algorithm is given that the X (red) value will include the red physical characteristics that the sensor receives, the Y (black) value will determine when X does not satisfy any of the characteristics. what color (red)?

When finished, we will have a system that identifies only 2 red/black colors as follows: The sensor collects colors, analyzes and compares them with existing conditions, if not the same => the system will renders the object in front of the sensor as black.

**#2. Applying Mathematics in programming**

We need to understand that the computer does not automatically determine anything, what it displays (shows us) is from what we have programmed for it, it just follow functions, commands and formulas… Sounds a bit confusing right 🙂

When you move the mouse pointer on the computer screen, the computer itself does not know where the mouse pointer is on the screen to display. So programmers have to use formulas and coordinates to determine the position => for the computer to understand and show us => that is math.

Or simply the ability count characters in word, the computer has no way of knowing how many characters there are and how the next character is calculated. Programmers have assigned values, functions and character calculations for the computer to understand and show us => that is math.

Another example is software windows, when minimized or maximized, why do they shrink to the right place and enlarge to fit the screen like that? Have you ever wondered like that?

Well, the programmers have designed a formula for the computer to understand and know the resolution and size of the screen to achieve the desired result => that’s math.

…………

**#3. Math is a necessary condition for learning programming**

As in the examples above, we can see, almost the simplest tasks also need Math.

From maximizing / minimizing application windows => must have a clear formula to determine the screen size, to the simplest things like hovering => also need formulas or math to The computer knows where the mouse pointer is, what coordinates and displays it on the screen …….

These operations all involve mathematical formulas, geometryspatial geometry, or ordinary algebraic operations to give a certain value.

So it is difficult, even very difficult to do without knowing these mathematical formulas or calculations. It is not natural that Mathematics is always considered a basic subject in all fields.

**#4. So in short, do you need to be good at math to learn programming?**

Through what I have just analyzed above, it is clear that mathematics is very necessary in programming.

However, you don’t have to be very good at Math to learn programming, knowing the basics is fine. Being good at math may not be necessary, but make sure you know the basics of Mathematics and understand the most basic things.

High school math program is an example !

From there you can find out specific methods and ways to apply to programming => thus achieving the requirements set forth by the software.

After reading this far, many of you will think, so I can’t learn to program, because I’m not very good at Math (something that many of you encounter). However, there is one thing that is passion, passion strong enough to change the way you approach Mathematics.

Maybe you did not like Math before, even afraid of Math, you think you are not suitable for Math => maybe it is, but have you ever tried to change your approach?

Sometimes it’s because you study in the wrong way, or because of a certain factor, for example, a teacher who is bored to death, you have not found interest in Math. So change the way you study!

I take for example History, it’s not because History is not good, so why are students so indifferent and sleepy during History class?

It is only due to the way teachers transmit, but in fact, you can go to Youtube to watch, videos about Vietnam’s history are of great interest to many young people. Million-view videos are normal, so it proves that History is not so boring!

Programming and math are the same, not too much of a difference.

Programming has never been a lack of math, because from the earliest days, the beginning of computers was the binary sequences 0 and 1 already.

So if you intend to pursue a career in programming, try to have a good grasp of general math knowledge, you may not need to be good, but you must have mastered the most basic knowledge.

Information technology is the future of the world and programming will remain the king of all professions for at least a few decades, so prepare now while still in school.

Don’t forget to share this article if you found it useful, good luck!

Read more:

**CTV: Le Dinh Hoang Vu** – Blogchiasekienthuc.com

**Note: **Was this article helpful to you? Don’t forget to rate the article, like and share it with your friends and family!