Introduction to Discrete Mathematics for the student of Computer Science

Ron McFarland PhD
6 min readJan 1, 2023
Discrete Mathematics directly relates to Computer Science and Information Technology

Introduction to Discrete Mathematics for the student of Computer Science

Video: Discrete Mathematics — An Introduction

One of the foundational courses for any Computer Science or Information Technology student is Discrete Math. Each aspect of Discrete Math is represented in some facet of CS/IT. For example, the Computer Science/Information Technology learner will explore different programming languages. Each language will have some aspect of number theory, algorithms, and data structures embedded in the context of the language. Databases will also apply set theory, number theory, Boolean algebra, and other aspects in the context of databases. Likewise, Networks will also apply items, including graph theory, combinatorics, Boolean algebra, etc., into networking design and protocols. Given all the mathematics courses available to the CS/IT learner, Discrete Mathematics may be the cornerstone that provides the foundation to understand the essential technology that Computer Scientists and Information Technologists use daily.

What is Discrete Math?

Discrete mathematics is a branch of mathematics that deals with discrete or distinct objects rather than continuous objects. Discrete mathematics is concerned with the study of structures and algorithms used to represent and manipulate discrete objects. It has many applications in computer science and other fields. There are several focus areas within Discrete Mathematics, which include the following items:

· Graph Theory: One of the main areas of study in discrete mathematics is graph theory, which studies graphs and their properties. A graph is a collection of vertices (also called nodes) and edges that connect them. Graph theory is used to model and analyze networks, such as social networks, transportation networks, and communication networks.

· Set Theory: Another important area of study in discrete mathematics is set theory, which studies sets and their properties. A set is a collection of distinct objects, and set theory is used to study the properties of sets, such as unions, intersections, and complements. Set theory is also used to define mathematical concepts, such as functions and relations.

· Combinatorics: Combinatorics is another area of study in discrete mathematics, which deals with counting and combination. Combinatorics is used to study permutations, combinations, and the pigeonhole principle, which states that if n objects are placed into m containers with n > m, then at least one container must contain more than one object.

· Number Theory: Number theory studies the properties of integers, another important area of study in discrete mathematics. Number theory is used to study prime numbers, divisibility, and modular arithmetic.

· Boolean Algebra: Boolean algebra studies logical operations, such as AND, OR, and NOT, and their application in computer circuits. Boolean algebra is used to design and analyze digital circuits and is an important foundation for studying computer science.

· Algorithms: Algorithms are another important area of study in discrete mathematics and are methods for solving problems. Algorithms can be used for tasks such as sorting, searching, and optimization, and they are an important tool for computer scientists.

Discrete mathematics is a fascinating and important field of study with many applications in computer science and other fields. It is a broad field that encompasses many different areas of study, and it is an important foundation for the study of computer science.

How is Discrete Math related to Computer Science and Information Technology?

In computer science, discrete mathematics is used to study the complexity of algorithms, which are methods for solving problems. Algorithms are a fundamental concept in computer science and perform tasks such as sorting, searching, and optimization. Discrete mathematics is used to study the complexity of algorithms, which measures how long an algorithm takes to run as a function of the input size. This is important because algorithms with good complexity are more efficient and can run faster on larger inputs.

Discrete mathematics is also used in the design and analysis of data structures, which are ways of organizing and storing data in a computer. Data structures are used to store and manipulate data in a way that is efficient and effective, and they are an important aspect of computer science. Discrete mathematics is used to design and analyze data structures and to study the complexity of algorithms that manipulate data structures.

In addition to its applications in studying algorithms and data structures, discrete mathematics is also used in studying formal languages and automata. A formal language is a set of strings (sequences of symbols) generated by a set of rules, and an automaton is a machine that can be in one of a finite number of states, and that can transition between states according to a set of rules. Discrete mathematics is used to study formal languages and automata, and it is an important foundation for studying computer science and information technology.

Discrete mathematics is also used in designing and analyzing digital circuits, which are used to build computers and other electronic devices. Digital circuits are built using logic gates, which perform logical operations such as AND, OR, and NOT. Discrete mathematics is used to design and analyze digital circuits, and it is an important foundation for the study of computer engineering.

In addition to its applications in computer science and computer engineering, discrete mathematics is also used to study computer networks and security. Computer networks are collections of computers and other devices that are connected and that can communicate with each other, and discrete mathematics is used to study the properties of networks and to design and analyze algorithms for tasks such as routing and congestion control. Computer security studies measures taken to protect computers and computer systems from unauthorized access. Discrete mathematics is used to design and analyze algorithms for tasks such as encryption and authentication.

Discrete mathematics is a valuable tool for researchers and professionals in computer science, information technology, and related fields. It is an important foundation for studying these fields.

Summary

We can summarize a short list that demonstrates the importance of Discrete mathematics in the field of computer science and information technology as the following:

1. Discrete mathematics provides the mathematical foundations for computer science. Many concepts and techniques used in computer science, such as algorithms, data structures, and automata, are based on ideas from discrete mathematics.

2. Discrete mathematics is essential for the design and analysis of efficient algorithms. Algorithms are used to solve problems and perform tasks in computer science, and discrete mathematics provides the tools to analyze their complexity and optimize their performance.

3. Discrete mathematics is used in designing and analyzing communication networks, such as the internet. Graph theory, a subfield of discrete mathematics, is used to model and analyze the structure and behavior of networks.

4. Discrete mathematics is used in cryptography, the science of encoding and decoding messages to ensure their security. Discrete mathematics provides the mathematical foundations for the design of cryptographic algorithms and protocols.

5. Discrete mathematics is used in the study of computer hardware and software. Computer systems design and implementation involve logic, combinatorics, and other areas of discrete mathematics.

In summary, discrete mathematics is an important field of study in information technology and computer science because it provides the mathematical foundations for many concepts and techniques used in computer science and other areas of information technology.

As a note

During the next few months, I’ll cover additional areas of Discrete Mathematics that will provide context for the Computer Science and Information Technology learner. Please feel free to drop me a note if you do have any specific questions.

About the Author

Ron McFarland, PhD, CISSP is a Senior Cybersecurity Consultant at CMTC (California Manufacturing Technology Consulting) in Torrance, CA. He received his doctorate from NSU’s School of Engineering and Computer Science, MSc in Computer Science from Arizona State University, and a Post-Doc graduate research program in Cyber Security Technologies from the University of Maryland. He taught Cisco CCNA (Cisco Certified Network Associate), CCNP (Cisco Certified Network Professional), CCDA (Design), CCNA-Security and other Cisco courses and was honored with the Cisco Academy Instructor (CAI) Excellence Award in 2010, 2011, and 2012 for excellence in teaching. He also holds multiple security certifications including the prestigious Certified Information Systems Security Professional (CISSP) certification and several Cisco certifications.

CONTACT Dr. Ron McFarland, PhD, MSc, CDNA, CISSP

· CMTC Email: rmcfarland@cmtc.com

· Email: highervista@gmail.com

· LinkedIn: https://www.linkedin.com/in/highervista/

· Website: https://www.highervista.com

· YouTube Channel: https://www.youtube.com/@RonMcFarland/featured

--

--

Ron McFarland PhD

Cybersecurity Consultant, Educator, State-Certified Digital Forensics and Expert Witness (California, Arizona, New Mexico)