This course introduces fundamental mathematical structures essential for computer science and information technology. It covers topics such as set theory, propositional logic, relations, functions, graph theory, number theory, combinatorics, and proof techniques. The course emphasizes both theoretical foundations and practical applications, including algorithms for graph traversal, shortest paths, minimum spanning trees, and combinatorial problem-solving.
Course Description
Browse the Discrete Structure syllabus
Discrete Structure
10 units
1 Set Theory and Propositional Logic (8 hrs)
- Set TheorySets and Subsets
- Power set and its properties
- Set operations
- Principle of Inclusion and Exclusion
- Computer Representation of sets
- Fuzzy sets and Membership Function
- Fuzzy Set Operations
- LogicIntroduction
- Propositional Equivalences
- Predicates and Quantifiers
- Negation of Quantified Statements
- Nested Quantifiers
- Rules of Inference and related Problems
- Connectives
- Well-formed formula (WFF)
- Quantification
- Examples and properties of WFF into causal form
- Resolution and refutation
- Answer extraction and simple examples
2 Relation and Function (6 hrs)
- RelationsRelations and their Properties
- N-ary Relations with Applications
- Representing Relations
- Closure of Relations
- Equivalence Relations
- Partial Ordering
- Hasse diagram
- Lattice
- FunctionsBasic Concepts
- Injective and Bijective Functions
- Inverse and Composite Functions
- Graph of Functions
- Functions for computer Science (Ceiling Function, Floor Function, Boolean Function, Exponential function, logarithmic Function)
3 Mathematical Induction and Proof Techniques (8 hrs)
- InductionIntroduction to Mathematical Induction
- Strong Induction
- Well ordering
- Recursive Definition and structural Induction
- Recursively Defined Functions Recursive Algorithms
- Proving Correctness of Recursive Algorithms
- Proof TechniquesBasic Terminologies
- Different Method: Direct Proof, Indirect Proof, Proof by Contradiction, Proof by contraposition, Proof of Equivalence
- Vacuous and Trivial Proof
- Exhaustive Proof and Proof by cases
- Mistakes in Proof
4 Number Theory and Counting (12 hrs)
- Introduction to Integers and Number TheoryIntegers and Division
- Primes and Greatest Common Divisor
- Euclidean and Extended Euclidean Algorithm
- Integers and Algorithms
- Applications of Number Theory (Linear Congruencies, Quadratic Congruencies, Chinese Remainder Theorem, Computer Arithmetic with Large Integers, one-one Matrices, Boolean Matrix Operations)
- CountingElementary configuration: Permutations and Combinations
- Generating functions
- Counting Subsets of Set
- Binomial Coefficients
- Generalized Permutations and Combinations
- Basics
- Pigeonhole Principle
- Generalized Pigeonhole Principle
- Lexicographical and Fike’s ordering of Permutations
- Algorithms for Lexicographical, Reverse Lexicographical and Fike’s ordering of Permutation
- Advances in CountingRecurrence Relations
- Solving Recurrence Relations (Homogeneous and NonHomogeneous Equations)
- Introduction to Divide and Conquer Relations
6 Graph Theory, Trees and Network Flows (8 hrs)
- Graph TheoryGraph, Definitions and examples
- Graphs diagraphs
- Walk
- Path cycle
- Sub graph
- Complements, and graph isomorphism
- Vertex degree
- Representation of graphs
- Euler Trails and circuits
- Connectivity in Graphs
- Euler and Hamiltonian Paths and Circuits
- Matching Theory
- Shortest Path Algorithm (Dijkstra’s Algorithm)
- Travelling Salesman Problem
- Graph Coloring
- TreesDefinition
- Properties and examples
- Rooted trees
- Tress and sorting
- Weighted trees
- Cycle connectedness tree
- Computer representation of relations
- Relation diagraph and graphs
- Transitive closer and Warshall’s Algorithm
- Spanning Trees
- Minimum Spanning Trees (Kruskal’s Algorithm)
- Network FlowsGraph as Models of Flow of Commodities
- Flows
- Maximal Flows and Minimal Cuts
- The Max Flow-Min Cut Theorem
7 Practical Works
- Implement union, intersection, difference, power set, and Cartesian product
- Create and evaluate fuzzy set membership using triangular or trapezoidal functions
- Evaluate compound propositions and generate truth tables using user-defined input
- Check equivalence of two logical expressions using truth tables
- Analyze binary relations for reflexive, symmetric, and transitive properties
- Check if a given function is injective, surjective, or bijective
- Implement recursive functions (e.g., Fibonacci) and trace them to demonstrate induction
- Compute GCD and modular inverses
- Efficiently compute ab mod m using recursion or iterative methods
- Generate all permutations of a set and sort them lexicographically
- Compute C(n,k) using recursion and Pascal’s triangle
- Find the shortest path from a source node to all others
- Generate MST from a weighted graph using Kruskal's algorithm
- Compute transitive closure of a directed graph
8 Course Description
9 Course Objectives
- Analyze sets, relations, and functions using principles like inclusion-exclusion, equivalence relations, and closure properties.
- Apply propositional/predicate logic to evaluate truth values, construct proofs, and resolve quantified statements.
- Model problems using graph theory, including shortest-path algorithms (Dijkstra), spanning trees (Kruskal), and Euler/Hamiltonian paths.
- Solve number-theoretic problems (GCD, modular arithmetic) and combinatorial challenges (permutations, binomial coefficients).
- Construct proofs using induction, contradiction, and contraposition, ensuring logical rigor.
- Design solutions for optimization problems, such as network flows, graph isomorphism, and the Travelling Salesman Problem.
- Integrate discrete mathematics with programming to simulate real-world scenarios in lab projects.
10 Reference Books
- K. H. Rosen, Discrete Mathematics and Its Applications, 7th ed. Chennai: McGraw Hill Education Pvt. Ltd.
- J.-P. Tremblay and R. Manohar, Discrete Mathematical Structures with Applications to Computer Science. New York: McGraw Hill.
- C. L. Liu, Elements of Discrete Mathematics, International ed.
- N. S. Deo, Graph Theory with Applications to Computer Science. New Delhi: PHI.
- B. Kolman, R. C. Busby, and S. Ross, Discrete Mathematical Structures. New Delhi: Pearson.
- E. S. Page and L. B. Wilson, An Introduction to Computational. Cambridge: Cambridge University Press.
- R. P. Grimaldi, Discrete and Combinatorial Mathematics, 5th ed. New Delhi: Pearson Education.
In the syllabus
Unit 8: Course Description