MGU Mathematics Series — Discrete Mathematics
Part I: Logic, Sets, and Mathematical Language
Discrete Structures · Statements · Algorithms · Proof · Networks
Chapter 1 of 14
MGU Mathematics Series  ·  Discrete Mathematics  ·  Library Textbook Edition

Chapter 1:
What Discrete
Mathematics Studies

Discrete structures, mathematical statements, algorithms, finite and infinite sets, and the reasoning foundation that connects logic, proof, counting, graph theory, and computation

■ Math Level: Post–Algebra II ■

■ 14 Sections  •  Part I of 5 ■

Follows Algebra II  ·  Prepares students for Chapters 2–14 and beyond into Computer Science, Cryptography, and Higher Mathematics

Purpose and Overview

This chapter opens the study of discrete mathematics by answering a foundational question: what kind of mathematics is this, and why does it matter? Before counting, proving, or building algorithms, students should understand what discrete mathematics studies, how it differs from the mathematics they have already encountered, and why it serves as the mathematical foundation of computer science, networks, cryptography, logic, and data systems.

No prior experience with formal proof, logic, or algorithms is required for this chapter. Students who have completed Algebra II have all the background they need to begin.

Opening Question

Suppose you are designing a password system. The password must be exactly eight characters long. Each character can be any letter from A to Z or any digit from 0 to 9. How many different passwords are possible? This is not a calculus question. There is no derivative to take, no area to compute, and no limit to evaluate. The answer comes from counting: from organizing choices in a structured way and reasoning about finite possibilities. Questions like this are the territory of discrete mathematics — and this chapter explains what that territory looks like.

14Sections
9Objectives
18Key Terms
5+Worked Examples

Learning Objectives

  1. 1Explain what discrete mathematics studies and how it differs from continuous mathematics.
  2. 2Identify discrete and continuous structures from a list of examples.
  3. 3Recognize what makes a structure "discrete."
  4. 4Describe the role of mathematical statements, definitions, and precision in discrete reasoning.
  5. 5Explain what an algorithm is and identify the components of a step-by-step procedure.
  6. 6Distinguish between finite sets and infinite discrete sets.
  7. 7Give examples of discrete mathematics appearing in computer science, networks, security, and data.
  8. 8Identify common early misunderstandings about discrete mathematics.
  9. 9Explain how algebraic reasoning connects to formal proof.

Sections at a Glance

Sections 1.1 – 1.4
What Discrete Mathematics Is: Objects, Structures, and Examples
What Discrete Mathematics Studies · Discrete vs. Continuous · Countable Structures · Survey of Topics

What Discrete Mathematics Studies

Mathematics is the study of structure. Different branches of mathematics study different kinds of structure. Algebra studies equations, operations, and symbolic patterns. Geometry studies shape, distance, and spatial relationships. Calculus studies rates of change and accumulated quantities. Each branch uses its own objects, its own language, and its own methods.

Discrete mathematics studies structures built from separate, distinct objects. The word "discrete" comes from the Latin discretus, meaning separated or distinguished. In mathematics, discrete means that the objects under study are individually identifiable, countable, and not blended together into a continuous whole.

Consider the counting numbers: 1, 2, 3, 4, 5, and so on. Between any two consecutive counting numbers — say, between 3 and 4 — there is no other counting number. The numbers sit at distinct, separate positions. They do not flow into one another. This is what discrete means.

The topics that grow from this foundation include logic, sets, proof, counting, number theory, graph theory, recursion, algorithms, and Boolean algebra. These topics are not separate islands. They form a connected landscape. Logic is used in proof. Sets are used in counting. Counting is used in algorithms. Algorithms are analyzed using complexity theory. Boolean algebra connects logic to digital circuits. This book will make those connections visible.

Why "Discrete"?

The word "discrete" does not mean "discreet" (meaning careful or subtle). It means separated — individual, countable, distinguishable. Each integer is discrete. Each character in a password is discrete. Each node in a network is discrete. The opposite of discrete is continuous, as in the real number line, where no gaps exist between values.

Discrete Versus Continuous Mathematics

Continuous mathematics studies structures where objects flow without gaps. The central example is the real number line. Between any two distinct real numbers a and b with a < b, there always exists a real number c such that a < c < b. In fact, there are infinitely many such values. This property — called density — is what makes calculus possible: derivatives describe instantaneous rates of change because numbers can be made arbitrarily close together.

Discrete mathematics studies structures where objects sit at separate, countable positions. Between two consecutive integers — say 5 and 6 — there is no integer. Between two adjacent vertices in a network, there is no partial vertex. Between two binary digits, 0 and 1, there is no intermediate value. The objects are distinct. The structures are exact.

QuestionDiscrete or Continuous?
How many ways can five students be arranged in a row?Discrete
What is the area under a curve from x = 1 to x = 3?Continuous
How many edges does a network with ten nodes have?Discrete
What is the velocity of a falling object at t = 2 seconds?Continuous
How many passwords can be formed using exactly six digits?Discrete
What is the distance traveled by a car with a given velocity function?Continuous
Is a given integer divisible by 7?Discrete
What is the slope of a tangent line at a point on a curve?Continuous
Student Note — Do We Use Real Numbers?

Discrete mathematics does occasionally use real numbers and fractions — for example, a probability computed by counting outcomes might be expressed as the fraction 3/8, or an algorithm's running time might be estimated as n² for integer values of n. The point is that the underlying structures being studied are discrete. Real numbers serve as a tool for expressing results, not as the objects of study themselves.

Practice 1.2Classification

Classify each as discrete or continuous. Give a one-sentence justification.

  1. The number of text messages sent in one hour
  2. The temperature of a room throughout the day
  3. The number of paths between two cities on a road network
  4. The weight of water in a container as it evaporates
  5. The number of different binary strings of length 8
  6. The position of a moving object at all moments in time
  7. Whether a given integer is divisible by 3
  8. The loudness of a sound as it gradually fades

Separate Objects, Finite Choices, and Countable Structures

Separate objects are elements that can be individually identified and distinguished. A collection of students in a classroom is a discrete set: each student is a distinct person. The letters in the English alphabet form a discrete set: there are exactly 26 of them, each one different. The integers form a discrete set: each integer sits at a distinct position on the number line, with no integers between consecutive ones.

Finite choices arise whenever a problem involves selecting from a limited number of distinct options. How many choices does a student have for a multiple-choice question with four options? Exactly four. How many ways can a committee of three people be chosen from a group of ten? A specific, countable number. Finite choice problems are solved by organized counting, not by calculus.

Countable structures are collections whose elements can be listed in a sequence — even if the list is infinitely long. The counting numbers 1, 2, 3, 4, 5, … are countable: they can be listed in order. The integers are countable: they can be listed as 0, 1, −1, 2, −2, 3, −3, … . The real numbers, by contrast, cannot be listed in any sequence — there are too many of them. They are uncountable.

Definition 1.3.1 — Countable and Uncountable Sets

A set S is finite if it contains a specific, limited number of elements. A set S is countably infinite if its elements can be placed in a one-to-one correspondence with the counting numbers {1, 2, 3, …}. A set that is either finite or countably infinite is called countable. A set that is not countable is uncountable.

The integers are countably infinite. The set of all possible character strings of any finite length is countably infinite. The real numbers are uncountable. Discrete mathematics concerns itself with countable structures — and this is precisely why it matches the computational world, where computers process information in discrete steps.

Examples of Discrete Structures

This section surveys the main kinds of structures studied in discrete mathematics. Each of these will be developed in detail in later chapters. For now, the goal is recognition and orientation.

Integers and Number Theory

The integers are the most familiar discrete structure. Questions about divisibility, prime numbers, remainders, and patterns in whole numbers belong to a branch called number theory. Discrete mathematics uses number theory in cryptography, hashing, checksums, and modular arithmetic.

Example 1.4.1
A discrete number-theory question
  • ProblemIs 91 a prime number?
  • ThinkA prime is an integer greater than 1 whose only positive divisors are 1 and itself. To check, divide 91 by every integer from 2 up to √91 ≈ 9.5.
  • Solve 91 ÷ 2 = 45.5 (not a whole number) 91 ÷ 3 ≈ 30.3 (not a whole number) 91 ÷ 7 = 13 (whole number — 7 is a divisor)
  • Check7 × 13 = 91. So 91 has divisors 1, 7, 13, and 91. It has more than two positive divisors.
Answer: 91 is not prime. It equals 7 × 13. This is a discrete question — the answer is exactly yes or no.

Sets

A set is a collection of distinct objects, called elements or members. Set notation gives mathematicians a precise language for describing collections and the relationships between them. The set A = {1, 2, 3, 4} contains exactly four elements. The set B = {2, 4} is a subset of A because every element of B is also in A. Sets are studied in Chapter 3.

Logic and Truth Values

Logic studies statements that can be judged true or false. Statements can be combined using logical operations — "and," "or," "not," "if-then" — to form compound claims. Logic appears in proof, in circuit design, in programming conditions, and in database queries. It is developed in Chapter 2.

Graphs and Networks

A graph in discrete mathematics is not a coordinate graph. It is a collection of vertices (also called nodes) connected by edges (also called links). Graphs model relationships: roads between cities, cables between computers, friendships between people, dependencies between tasks. Graph theory is studied in Chapters 10 and 11.

Diagram Instruction — A Simple Graph

Draw five points (vertices) labeled A, B, C, D, and E. Connect A to B, B to C, B to D, and D to E with line segments (edges). This represents a graph where A and C are not directly connected — to travel from A to C, one must pass through B. Notice: this is not a coordinate plane. There are no axes, no slope, and no area under a curve. It is a picture of relationships.

Algorithms, Boolean Values, and Recursion

An algorithm is a precise, finite sequence of instructions for solving a problem. Boolean algebra is the mathematics of binary values — 0 and 1 — that underlies every digital circuit. Recursion is the method of defining something in terms of smaller versions of itself, and it appears in sequences, algorithms, and data structures. These topics occupy Chapters 5, 8, 12, and 13.

Sections 1.5 – 1.9
Mathematical Language: Statements, Notation, Patterns, and Sets
Statements and Precision · Symbols · Patterns · Finite and Infinite Sets

Mathematical Statements and Precision

Mathematics depends on clarity. A mathematical statement is a claim that is either true or false — not ambiguous, not vague, not dependent on opinion. Learning to write and interpret precise mathematical statements is one of the most important skills in discrete mathematics.

Definition 1.5.1 — Mathematical Statement

A mathematical statement (or proposition) is a declarative sentence that is either true or false, but not both.

SentenceStatement?Why
"7 is a prime number."YesIt is either true or false. (It is true.)
"What is 2 + 2?"NoA question has no truth value.
"5 is less than 3."YesIt is false, but it has a definite truth value.
"This sentence is false."NoIt is self-referential and paradoxical.
"Choose a number."NoIt is a command, not a claim.
"Every even integer > 2 is the sum of two primes."YesIt is either true or false (an open problem, but a definite claim).
Definition 1.5.2 — Mathematical Definition

A definition in mathematics is a precise statement that gives the exact meaning of a term. A definition is not a description or an approximation — it specifies exactly what a word means, with no ambiguity.

Precision Matters

In everyday language, we communicate with approximations: "It's a short drive." In mathematics, imprecision causes problems. The statement "all large primes are close together" is meaningless without definitions of "large" and "close." Every term in discrete mathematics has a precise definition. Students should treat definitions as exact specifications, not rough ideas.

Practice 1.5Identifying Statements

Determine whether each sentence is a mathematical statement. If it is, state whether it is true, false, or unknown.

  1. "12 is divisible by 4."
  2. "What is the largest prime number?"
  3. "All integers are even."
  4. "Find a number greater than 10."
  5. "There exists an integer n such that n² = 25."
  6. "This problem is hard."

Symbols, Notation, and Definitions

Mathematics uses symbols because symbols are efficient, unambiguous, and universal. Students who have completed Algebra II already know many mathematical symbols: +, −, ×, ÷, =, <, >, exponents, roots, and function notation such as f(x). Discrete mathematics introduces additional notation. A brief preview appears here. All of these symbols will be formally defined in later chapters.

SymbolMeaningFirst Appears
∧Logical AND ("and")Chapter 2
∨Logical OR ("or")Chapter 2
¬Logical NOT ("not")Chapter 2
→Implies ("if … then")Chapter 2
↔If and only ifChapter 2
∈Is an element ofChapter 3
⊆Is a subset ofChapter 3
∪Set unionChapter 3
∩Set intersectionChapter 3
∅The empty setChapter 3
∀For allChapter 3
∃There existsChapter 3
ℤThe set of all integersChapter 6
a ≡ b (mod n)a is congruent to b modulo nChapter 6
C(n,r)Binomial coefficient ("n choose r")Chapter 8
O(f(n))Big-O notation for growth rateChapter 12
Do Not Try to Memorize These Now

This table gives students a view of the landscape ahead. Each symbol will be introduced carefully, with explanations and examples, in the chapter where it is needed. The goal right now is simple awareness — not memorization.

Patterns, Generalization, and Structure

Mathematics is not about computing answers to individual problems. It is about understanding structure: recognizing patterns that apply in general, not just in specific cases. Consider the following sums of odd integers:

1 = 1 1 + 3 = 4 1 + 3 + 5 = 9 1 + 3 + 5 + 7 = 16 1 + 3 + 5 + 7 + 9 = 25

The pattern appears: the sum of the first n odd integers equals n². But noticing the pattern is not the same as knowing it is always true. Checking individual cases, even millions of them, does not prove a pattern holds in general. Mathematics requires proof — a logical argument that demonstrates the claim is true for every case simultaneously. This is exactly what Chapter 5 develops, using a method called mathematical induction.

Generalization is the act of moving from specific examples to universal statements. To generalize correctly, students must: recognize the pattern in specific cases, state the general claim precisely, and prove the claim using logic and definitions. This sequence — observe, state, prove — is the core activity of mathematics.

Practice 1.7Pattern Recognition

Study the pattern and answer the questions.

  1. The sums 2, 2+4, 2+4+6, and 2+4+6+8 equal 2, 6, 12, and 20 respectively. What is the sum of the first 5 positive even integers? State the pattern you see as a formula.
  2. A list of 1 element has 0 pairs. A list of 2 elements has 1 pair. A list of 3 has 3 pairs. A list of 4 has 6 pairs. How many pairs does a list of 5 elements have? Express the number of pairs in a list of n elements.
  3. Does checking many specific cases of a pattern prove it holds for all values? Explain your reasoning.

Algorithms as Step-by-Step Processes

An algorithm is a finite, unambiguous sequence of instructions that, when followed, solves a problem or produces a result. The word comes from the name of the ninth-century mathematician Muhammad ibn Musa al-Khwarizmi, whose works introduced systematic methods for calculation. Algorithms are central to discrete mathematics and to computing.

Definition 1.8.1 — Algorithm

An algorithm is a well-defined, finite procedure that takes some input, performs a sequence of steps, and produces an output. A good algorithm is: finite (it terminates), definite (each step is unambiguous), effective (each step is achievable), and correct (it produces the intended output for every valid input).

Example 1.8.1
An algorithm for finding the largest value in a list
  • ProblemGiven a list of integers, find the largest value.
  • ThinkScan left to right, keeping track of the largest value seen so far. Compare each new integer to the current largest; if it is larger, update.
  • Algorithm Input: A list L = [a₁, a₂, ..., aₙ] with n ≥ 1 Output: The largest element of L Step 1: Set largest = a₁ Step 2: For each element aᵢ from a₂ to aₙ: If aᵢ > largest, then set largest = aᵢ Step 3: Output largest
  • TraceInput list: [4, 7, 2, 9, 5]. Start: largest = 4. Compare 7: 7 > 4, so largest = 7. Compare 2: no change. Compare 9: 9 > 7, so largest = 9. Compare 5: no change. Output: 9.
  • CheckIs 9 the largest value in [4, 7, 2, 9, 5]? Yes — no element exceeds 9.
Answer: The largest element is 9. The algorithm terminates after exactly n − 1 comparisons.

The study of algorithms includes not just how to write them, but how to analyze their efficiency: how many steps they require, how that number grows as the input grows larger, and whether there are faster ways to solve the same problem. This is the study of algorithmic complexity, which Chapter 12 develops through Big-O notation and growth rates.

Practice 1.8Algorithms
  1. List the five properties a well-defined algorithm must have. For each, give a one-sentence explanation.
  2. Trace the largest-element algorithm from Example 1.8.1 on the input list [12, 3, 19, 7, 19, 4]. Show each comparison and the value of largest after each step.
  3. Could the algorithm in Example 1.8.1 produce an incorrect result if the input list has only one element? Explain.
  4. Describe, in plain English, an algorithm for determining whether a word is a palindrome (a word that reads the same forward and backward, such as "racecar").

Finite Sets and Infinite Discrete Sets

Definition 1.9.1 — Natural Numbers

The natural numbers ℕ are the positive integers: {1, 2, 3, 4, …}. Some textbooks include 0 in the natural numbers; this book will specify when 0 is included.

Definition 1.9.2 — Integers

The integers ℤ are {…, −3, −2, −1, 0, 1, 2, 3, …}. The letter ℤ comes from the German word Zahlen, meaning "numbers."

The integers are countably infinite: they can be listed in the sequence 0, 1, −1, 2, −2, 3, −3, … placing each integer in correspondence with a position number. The real numbers, by contrast, are uncountable — they cannot be listed in any sequence. This was proved by the mathematician Georg Cantor in the nineteenth century and is one of the most surprising results in all of mathematics.

Why does countability matter for computing? A computer can only store and process a finite amount of data at any moment. Programs run step by step through finite sequences of operations. Even algorithms that appear to work with continuous data ultimately operate on finite, discrete approximations. Countable structures match the computational world precisely.

SetFinite or Infinite?Countable?
The letters of the English alphabetFinite (26 elements)Yes
All 8-character passwords over {A–Z, 0–9}Finite (36⁸ elements)Yes
The positive integers ℕCountably infiniteYes
The integers ℤCountably infiniteYes
The real numbers ℝInfiniteNo — uncountable
Practice 1.9Finite and Infinite Sets
  1. The set of all 4-digit PIN codes using digits 0–9
  2. The set of all positive even integers
  3. The set of all real numbers between 0 and 1
  4. The set of all subsets of {a, b, c}
  5. The set of all prime numbers
  6. The set {Monday, Tuesday, Wednesday, Thursday, Friday}

For each, state whether it is finite, countably infinite, or uncountable. Justify your answer in one sentence.

Sections 1.10 – 1.14
Applications, Proof, Misunderstandings, and the Road Ahead
Computer Science · Networks · Security · Algebraic Reasoning to Proof · Preparing for Logic

Discrete Mathematics in Computer Science

Computer science is, in many respects, applied discrete mathematics. The structures that computers operate on — bits, bytes, integers, characters, arrays, linked lists, trees, graphs, databases, networks — are all discrete. The processes that computers execute — sorting, searching, encrypting, routing, querying — are all algorithmic. The logic that controls program flow — if-then conditions, loops, Boolean checks — is formal logic.

Application AreaDiscrete Mathematics TopicChapter
Data representation (bits, binary)Boolean algebra, number bases13
Program conditions (if-then, loops)Logic and truth values2
Data structures (trees, graphs)Graph theory10, 11
Sorting and searchingAlgorithms and complexity12
Encryption (RSA, hashing)Number theory, modular arithmetic6
Database queriesSets, logic, relations3
AI decision trees and logicGraph theory, Boolean logic10, 13

Modern cryptographic systems — such as RSA encryption, used in online banking and secure web browsing — depend on number theory. The security of RSA relies on the fact that multiplying two large prime numbers is computationally easy, but factoring their product is computationally infeasible. This asymmetry is a discrete mathematics result. The mathematics behind it is studied in Chapter 6.

Discrete Mathematics in Networks, Security, and Data

Beyond programming, discrete mathematics appears throughout network design, cybersecurity, and data science. The internet is a network — a graph whose vertices are computers, servers, and routers, and whose edges are physical or wireless connections. Graph theory provides tools for analyzing how information flows, how to find the most efficient route between two points, and how to design systems that remain connected even when some links fail.

Password security involves counting: how many possible passwords are there, and how long would it take an attacker to guess them all? If a password must be exactly six characters drawn from 62 possible characters (26 uppercase letters, 26 lowercase letters, 10 digits), there are 62⁶ = 56,800,235,584 possible passwords. This calculation uses the counting methods developed in Chapters 7 and 8.

When data is transmitted over a network, errors can occur. Error-detecting and error-correcting codes use algebraic and combinatorial techniques to detect and repair these errors automatically. Scheduling problems — assigning workers to shifts, routing delivery trucks, allocating computational resources — are combinatorial optimization problems that graph theory and counting help model and solve.

Practice 1.10–1.11Applications
  1. Name three data structures used in computer science. For each, identify whether the structure is related to sets, graphs, sequences, or another discrete topic.
  2. A company designs a 4-digit security PIN using digits 0–9. Is this a discrete or continuous problem? How many possible PINs exist? Which chapter of this book will teach the method for computing this?
  3. A network engineer needs to connect 6 offices so that any office can communicate with any other office through at most one intermediate office. What mathematical structure models this problem?
  4. Explain in your own words why RSA encryption depends on discrete mathematics rather than calculus.

From Algebraic Reasoning to Proof

Students who have completed Algebra II have already been reasoning mathematically, even if not formally. When a student solves an equation like 3x + 5 = 17, they are applying properties of equality in a logical sequence:

3x + 5 = 17 3x = 12 (subtract 5 from both sides) x = 4 (divide both sides by 3)

This is a form of reasoning: a sequence of steps, each justified by a rule, leading from a given statement to a conclusion. Mathematical proof extends this exactly. A proof is a logically valid argument that demonstrates a claim must be true — not just for one example, but for every case the claim covers.

Example 1.12.1
A first proof — the sum of two even integers
  • ClaimThe sum of any two even integers is even.
  • ThinkAn even integer is one divisible by 2 — that is, it can be written as 2k for some integer k. Let the two even integers be 2m and 2n. Compute their sum and check whether the result has the form 2k for some integer k.
  • ProofLet a = 2m and b = 2n, where m and n are integers. a + b = 2m + 2n = 2(m + n) Since m + n is an integer (the sum of two integers is an integer), we see that a + b = 2(m + n) is divisible by 2.
  • CheckThis argument works for every pair of even integers — not just specific examples. The key step is writing even integers in the form 2k and using algebra.
Conclusion: The sum of any two even integers is even. This is a mathematical proof.
What Proof Adds to Algebra

Algebra teaches students to manipulate expressions according to rules. Proof teaches students to use those manipulations to justify universal claims. The tools are familiar. What is new is the goal: instead of finding x in one equation, students will prove that a property holds for every integer, every set, every graph, or every algorithm input. Chapter 4 develops proof methods in full.

Common Early Discrete Mathematics Misunderstandings

Misunderstanding 1
"Discrete mathematics is just a collection of unrelated topics."

This is understandable — the course covers logic, sets, proof, counting, number theory, graph theory, algorithms, and Boolean algebra. But these topics are deeply connected. Logic appears in proof. Sets appear in counting. Number theory appears in cryptography. Graph theory appears in algorithms. Boolean algebra connects logic to digital systems. This book makes those connections explicit.

Misunderstanding 2
"Discrete mathematics is just computer programming."

Discrete mathematics is the mathematical foundation that underlies programming, but it is not programming itself. Students will not be writing code in this course. They will be proving theorems, counting outcomes, analyzing structures, and building mathematical reasoning skills that apply far beyond any programming language.

Misunderstanding 3
"If I can show something works for enough examples, I have proved it."

This is one of the most important misconceptions to correct. Checking even millions of cases does not constitute a proof. Consider Goldbach's Conjecture: every even integer greater than 2 is the sum of two primes. It has been verified for enormous values — but it has not been proved. Proof requires showing a claim holds for every case, not just many cases.

Misunderstanding 4
"Discrete mathematics requires calculus."

It does not. This course assumes Algebra II. It does not require derivatives, integrals, limits, or any calculus content. Students who have not taken calculus are fully prepared to succeed in this course.

Misunderstanding 5
"Graph theory is about coordinate graphs."

In algebra, a "graph" typically means a picture of a function on an xy-plane. In discrete mathematics, a "graph" is a completely different structure: a collection of vertices connected by edges. There are no axes, no slopes, and no curves. The two uses of the word "graph" are an unfortunate coincidence of terminology. Discrete graphs are introduced clearly in Chapter 10.

Misunderstanding 6
"Precision doesn't matter as long as the idea is right."

Mathematics requires precision. A statement that is "basically right" can be technically wrong in ways that matter enormously. The exact wording of a logical statement determines its truth value. The exact definition of a prime number determines which numbers qualify. This course trains students to work precisely — not pedantically, but carefully.

Preparing for Logic and Sets

Chapter 2 introduces formal logic: the study of statements, truth values, and valid reasoning. Chapter 3 introduces sets: collections of objects described with precision. These two chapters are the language of everything that follows. Logic is how mathematics reasons. Sets are how mathematics describes collections. Without logic, proof is impossible. Without sets, counting, graph theory, and relations have no foundation.

Students do not need any special background beyond what has been covered here. The key preparation is to understand that precision matters — every word in a logical statement has an exact meaning. Be willing to slow down, because discrete mathematics rewards patience. Expect new notation: Chapters 2 and 3 will introduce symbols such as ∧, ∨, ¬, →, ∈, ⊆, ∪, and ∩, each defined carefully before it is used.

Connect logic to experience. Every student already reasons logically in everyday life. If it is raining, and you know that whenever it rains you bring an umbrella, then you bring an umbrella. Chapter 2 makes this kind of reasoning precise, gives it a notation, and shows how to use it to build proofs that work in every case.

Practice 1.14Readiness Check
  1. In two or three sentences, describe what discrete mathematics studies and how it differs from continuous mathematics.
  2. Give one example of a finite set and one example of a countably infinite set. Explain why each qualifies.
  3. State two properties every well-defined algorithm must have, and explain each in your own words.
  4. Explain the difference between checking many examples and proving a mathematical claim. Why is the distinction important?
  5. Name two topics covered in this course that you believe will be most relevant to your intended field of study. Explain the connection.

Chapter Summary

Key Terms Review

algorithm
A finite, unambiguous procedure that takes input and produces output. Must be finite, definite, and effective.
bit
A single binary value: either 0 or 1. The fundamental unit of information in computing.
Boolean algebra
The algebra of binary values (0 and 1), used in digital logic and circuit design.
countable
A set is countable if it is finite or if its elements can be placed in one-to-one correspondence with the natural numbers.
definition
A precise statement giving the exact meaning of a mathematical term. Not a rough idea — an exact specification.
discrete mathematics
The branch of mathematics that studies separate, countable, and structurally definite objects and systems.
finite set
A set containing a specific, limited number of elements.
graph
(Discrete meaning) A collection of vertices connected by edges. Not related to coordinate graphing. Models relationships and networks.
integer
A member of the set ℤ = {…, −2, −1, 0, 1, 2, …}. The primary discrete number system.
mathematical statement
A declarative sentence that is either true or false, but not both. The raw material of logic and proof.
natural numbers
The positive integers {1, 2, 3, …}, sometimes including 0. Denoted ℕ.
network
A system of connected components, modeled mathematically as a graph with vertices and edges.
proof
A logically valid argument that demonstrates a mathematical claim must be true for every case — not just verified examples.
recursion
A method of defining something in terms of smaller versions of itself. Appears in sequences, algorithms, and data structures.
set
A collection of distinct objects, called elements or members. The basic building block of much of discrete mathematics.
theorem
A mathematical statement that has been proved. Distinguished from a conjecture, which is proposed but not yet proved.
uncountable
A set whose elements cannot be listed in any sequence. The real numbers are uncountable.
countably infinite
A set that is infinite but whose elements can be placed in one-to-one correspondence with the natural numbers. The integers are countably infinite.

Concept Review Questions

Answer each question in complete sentences.

  1. What does the word "discrete" mean in the context of discrete mathematics? Give one example of a discrete structure and one example of a continuous structure.
  2. Explain why checking many examples is not sufficient to prove a mathematical claim is true. Provide a real example from this chapter.
  3. What is the difference between a finite set and a countably infinite set? Give one example of each.
  4. Name three topics studied in discrete mathematics. For each, explain in one sentence how it connects to another topic in this course.
  5. Why is mathematical precision important? Give an example where a vague statement would lead to confusion.
  6. What is an algorithm? List its five key properties. For each, explain why that property matters.
  7. Explain how discrete mathematics appears in at least two of the following fields: computer science, cryptography, networking, databases, cybersecurity.
  8. What is the difference between a "graph" in algebra and a "graph" in discrete mathematics?
  9. Why is discrete mathematics the appropriate mathematical foundation for computer science, rather than calculus?
  10. State two common misunderstandings about discrete mathematics. Explain why each misunderstanding is incorrect.

Notation Practice

For each item, state whether it belongs to discrete or continuous mathematics and explain your reasoning.

  1. The set of all integers between 1 and 100
  2. The slope of a tangent line to a curve
  3. The number of ways to arrange five books on a shelf
  4. The area of a circle with radius 5
  5. The number of edges in a complete graph with 7 vertices
  6. The speed of a ball dropped from 50 meters
  7. Whether integer 127 is prime
  8. The velocity of a car at a specific instant in time

Error Analysis

Each statement contains an error in reasoning, terminology, or interpretation. Identify and explain the error.

Problem 1
"I checked 50 different even integers greater than 2, and every one was the sum of two primes. I have proved that every even integer greater than 2 is the sum of two primes."

What is wrong with this reasoning? What would be required to actually prove this claim?

Problem 2
"In discrete mathematics, we study graphs, which means we draw curves on a coordinate plane and find their slopes."

Identify the confusion. How are graphs in discrete mathematics different from graphs in algebra?

Problem 3
"A definition is just a rough idea of what a word means. I know what a prime number is — it's a number that's hard to factor."

What is wrong with this approach to definitions? State the correct definition of a prime number.

Problem 4
"Discrete mathematics is really just for programmers. I'm going into pure mathematics, so this course doesn't apply to me."

Name at least two areas of pure mathematics that depend on discrete mathematics topics covered in this course.

Problem 5
"An infinite set can't be discrete. If there are infinitely many elements, they must blend together somehow."

Explain why this is incorrect. Give an example of a set that is both infinite and discrete.

Chapter 1 Checkpoint

Chapter 1 Checkpoint
Complete without assistance — assesses all key ideas from Chapter 1
Part A — Short Answer
  1. In two or three sentences, explain what discrete mathematics studies and how it differs from continuous mathematics.
  2. State three properties that every well-defined algorithm must have.
  3. Is the set {1, 2, 3, …} finite, countably infinite, or uncountable? Explain.
  4. Give one example of a discrete structure and one example of a continuous structure from everyday life.
Part B — Classification

Classify each as discrete or continuous. Give one sentence of justification.

  1. The number of possible chess moves from a given position.
  2. The height of water in a tank as the tank is slowly filled.
  3. The number of edges in a graph where 6 vertices are each connected to every other vertex.
  4. The position of a moving car measured at every millisecond.
  5. The number of handshakes at a meeting of 12 people where everyone shakes hands with everyone else exactly once.
Part C — Misconceptions

Explain in your own words why each statement is incorrect.

  1. "If I check enough cases, I have proved a claim."
  2. "Discrete mathematics requires calculus."
  3. "Graphs in discrete mathematics are the same as graphs in algebra."
Part D — Application

A school wants to assign lockers to 200 students. Each locker combination is a 3-digit code using digits 0–9.

  1. Is this a discrete or continuous problem?
  2. Is the number of possible combinations finite or infinite?
  3. If each digit can be any value from 0 to 9, how many different 3-digit codes are possible? Show your reasoning.
  4. What branch of discrete mathematics (which chapter of this course) would be used to solve problem 3?
Part E — Reflection
  1. In three to five sentences, describe one topic in this course that you expect to find most useful for your intended future study or career, and explain why.
MGU Library Connection
  • MGU Symbol Reference — Appendix B of this textbook: all notation used in this course, with chapter cross-references
  • MGU Computer Science page — connects discrete mathematics topics to programming, data structures, and algorithmic thinking
  • MGU Proof Guide — developed alongside Chapters 4 and 5 of this textbook
  • MGU Cryptography introduction — connects modular arithmetic (Chapter 6) to real-world RSA encryption systems
  • MGU Dictionary entries: discrete, algorithm, integer, set, proof, graph, countable, Boolean algebra
  • Algebra II, Chapter 14 — Readiness for Discrete Mathematics: functions, sequences, and symbolic notation review
Looking Ahead
Chapter 2: Logic and Truth

Chapter 1 has introduced the landscape of discrete mathematics — its objects, its methods, and its connections to computing, networks, and proof. Beginning in Chapter 2, the work of discrete mathematics begins in earnest.

Chapter 2 studies formal logic: the precise rules for combining statements and evaluating arguments. Students will learn how to form compound statements using "and," "or," and "not"; how to analyze conditional statements and their contrapositives; how to construct truth tables; and how to recognize valid and invalid arguments. Logic is the language that mathematics uses to reason, and it will appear in every chapter that follows. The mathematics of separate things is, it turns out, the mathematics of the connected world.