How Is Math Used in Computer Engineering?

How Is Math Used in Computer Engineering?


All computer programs do some form of counting as a small part of a task. Counting a hundred items does not take a long time, even without a computer. However, some computers may have to count a billion items or more. If the counting is not done efficiently, it may take days for a program to finish a report when it should take only minutes. For example, the counting winning lottery numbers of all lottery tickets should involve stopping a ticket count when the minimum number of correct numbers cannot be reached on that particular ticket. When the lottery numbers on each ticket are presorted, the count can be very quick with a divide and conquer strategy. The branch of mathematics called combinatorics gives students the theory needed to code counting programs that include the short cuts that will reduce the run time of the program.


After a count has been completed, a task to do something with the actual number from the count is needed. The number of steps needed to complete a task should be minimized so the computer can return a result faster for a large number of tasks. Again, if a task needs to be done only 20 times, it will not take long even for the slowest computer. However, if the task needs to be done a billion times, an inefficient algorithm with too many steps could take days instead of hours to be completed, even on a million-dollar computer. For example, there are many ways to sort a list of unsorted numbers from lowest to highest, but some algorithms take too many steps, which could cause the program to run much longer than necessary. Learning the mathematics behind algorithms allows students to create efficient steps in their programs.

Automata Theory

Problems in computers are much bigger than just counting and algorithms. Automata theory studies problems that have a finite or infinite number of potential outcomes of varying probability. For example, computers trying to understand the meaning of word with more than one definition would need to analyze the entire sentence or even a paragraph. After all the counting and algorithms on the sentence or paragraph are done, rules to determine the correct definition are needed. The creation of these rules is part of automata theory. Probabilities are assigned to each definition depending on the results of the algorithm portion for the paragraph. Ideally, the probabilities are just 100 percent and 0 percent, but many real-world problems are complicated with no certain outcome. Computer compiler design, parsing and artificial intelligence make heavy use of automata theory.

Related Articles

What Are the Applications of Discrete Math?
How to Calculate Success Rate
How to Pass a Finite Math Course
Why Is Bioinformatics Important in Genetic Research?
How to Make a Math Puzzle
How to Make Geometry Proofs Easier
How to Learn Math Multiplication and Show Your Work
How to Calculate Discrete Returns
How to Convert Negative Numbers to Binary
How Do You Find Out a Percent of a Number?
The Coming Quantum Computer Revolution
Research-Based Strategies for Teaching Multiplication...
How Many Basic Math Facts Should Students Complete...
How to Understand Mathematical Logic
What Are Math Computation Skills?
What Are the Advantages & Disadvantages of Using Graphs...
How to Teach Math Facts
This Simple Math Concept Shapes the 2020 Census — And...
How to Find Simple Interest
What Are the Types of Technology in a Mathematics Classroom?