0% found this document useful (0 votes)
40 views6 pages

Discrete Math Notes Overview

The document provides concise notes on various topics in discrete mathematics, including logic and proofs, recurrence relations, counting principles, graph theory, and number theory. Key concepts covered include propositional logic, recurrence relations, inclusion-exclusion, graph connectivity, and modular arithmetic. Each unit outlines essential definitions, theorems, and methods relevant to the field.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views6 pages

Discrete Math Notes Overview

The document provides concise notes on various topics in discrete mathematics, including logic and proofs, recurrence relations, counting principles, graph theory, and number theory. Key concepts covered include propositional logic, recurrence relations, inclusion-exclusion, graph connectivity, and modular arithmetic. Each unit outlines essential definitions, theorems, and methods relevant to the field.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Discrete Mathematics - Formula & Short Notes

Unit I: Logic and Proofs

Propositional Logic: Deals with statements that are either true or false.
Logical Connectives: (and), (or), (not), (implies), (if and only if)
Truth Tables: Used to determine equivalences and validity.
Propositional Equivalences: Laws like De Morgan's, Double Negation, Contrapositive.
Quantifiers: (for all), (there exists)
Direct Proof: Use known facts and logical steps.
Contrapositive Proof: Prove Q P instead of P Q.
Vacuous Proof: If P is false, P Q is true.
Trivial Proof: If Q is true, P Q is true.
Proof by Contradiction: Assume negation of statement and derive contradiction.
Counterexample: One case where the statement fails.
Common Mistakes: Misuse of logical laws, assuming what you want to prove.
Discrete Mathematics - Formula & Short Notes

Unit II: Recurrence Relations

Recurrence Relation: Equation that defines sequence recursively.


Linear Homogeneous Recurrence: a_n = c1*a_{n-1} + c2*a_{n-2} + ... + ck*a_{n-k}
Non-Homogeneous: Has additional term like f(n).
Inverse Operator Method: Solve recurrence using operator algebra.
Generating Functions: G(x) = a0 + a1*x + a2*x^2 + ...
Solving using Generating Functions: Multiply both sides by x^n, sum, and simplify.
Discrete Mathematics - Formula & Short Notes

Unit III: Counting Principles and Relations

Inclusion-Exclusion: |A B| = |A| + |B| - |A B|


Pigeonhole Principle: If n+1 items in n boxes, at least one box has 2 items.
Generalized Pigeonhole: If N items in k boxes, one box has at least N/k items.
Relations: Set of ordered pairs.
Matrix Representation: 1 if (a,b) R, else 0.
Graph Representation: Nodes and edges.
Equivalence Relation: Reflexive, Symmetric, Transitive.
Partial Order: Reflexive, Antisymmetric, Transitive.
Lattice: Every pair has a lub and glb.
Hasse Diagram: Visual representation of poset.
Discrete Mathematics - Formula & Short Notes

Unit IV: Graph Theory I

Terminologies: Vertex, edge, degree, path, cycle.


Special Graphs: Complete (K_n), Cycle (C_n), Wheel (W_n), Cube, Bipartite, K_{m,n}
Representation: Adjacency matrix, incidence matrix.
Isomorphism: Graphs with same structure.
Connectivity: Path between nodes.
Dijkstras Algorithm: Greedy approach to find shortest path.
Discrete Mathematics - Formula & Short Notes

Unit V: Graph Theory II

Planar Graph: Can be drawn without edge crossings.


Euler Formula: V - E + F = 2 (for connected planar graph)
Coloring: Assign colors such that adjacent vertices differ.
Chromatic Number: Minimum number of colors.
Tree: Acyclic connected graph.
Rooted Tree: Tree with a designated root node.
Spanning Tree: Subgraph that is a tree including all vertices.
Minimum Spanning Tree: Tree with minimum total edge weight.
Traversals: Infix, Prefix, Postfix.
Discrete Mathematics - Formula & Short Notes

Unit VI: Number Theory & Cryptography

Divisibility: a divides b if b = ka.


Modular Arithmetic: a b (mod m)
GCD, LCM: Greatest and Least common multiple.
Euclidean Algorithm: Iterative method for GCD.
Bezout's Lemma: ax + by = gcd(a, b)
Linear Congruence: ax b (mod m)
Inverse Modulo: Find x such that ax 1 (mod m)
Chinese Remainder Theorem: Solve system of congruences.
Ciphers: Caesar (shift), Affine (ax + b mod m)
Fermats Little Theorem: a^(p1) 1 mod p, p is prime.

Common questions

Powered by AI

Fermat’s Little Theorem is crucial in cryptography for its utility in simplifying the calculations of powers mod p, where p is a prime. This property is exploited in algorithms like RSA encryption, where predicting the power of a number modulo a prime is essential. By reducing computational complexity, it allows for efficient encryption and decryption processes .

Divisibility rules simplify checking conditions for linear congruence solutions, while the Euclidean algorithm extends this by efficiently computing the greatest common divisor (GCD). This is critical in determining solvability and simplifying the terms of congruences, thereby streamlining the process to find integers satisfying ax ≡ b (mod m).

The generating function method is significant as it transforms a recurrence relation into an algebraic equation in terms of the generating function. This allows for the application of algebraic techniques to solve the recurrence. By using generating functions, complex recurrence equations can be systematically converted and solved, assisting in the identification of closed-form solutions .

Dijkstra's algorithm, which finds the shortest path between nodes, and graphical isomorphism, determining structural equivalence of graphs, may seem unrelated. However, understanding isomorphisms can simplify the analysis of graphs before applying Dijkstra's algorithm, as recognizing structurally identical graphs can reduce computational effort. Conversely, determining shortest paths via Dijkstra can assist in identifying isomorphisms by checking consistency across paths .

The contrapositive proof offers insights by allowing indirect argumentation, focusing on the implications' inversion (proving ¬Q → ¬P instead of P → Q). This can simplify proofs where a direct approach is cumbersome or non-intuitive, highlighting relational dependencies rather than affirmative instances .

The generalized pigeonhole principle is particularly useful when partitioning a large number of items into finite resources to ensure capacity limits are understood quantitatively. It allows for precise calculations of overloads by considering N items distributed in k boxes, quickly identifying situations where more precise resource allocation is necessary .

In a proof by contradiction, logical equivalence is crucial because the method relies on showing that the negation of the statement to be proven leads to a contradiction with known truths or axioms. The validity of such a contradiction hinges on the logical equivalence between the negation and its resulting implication. If the negation is logically equivalent to an impossible situation (contradiction), the original statement must be true .

Planarizing a graph involves rewriting the graph in such a manner as to reduce edge crossings. Euler's formula (V - E + F = 2) assists by providing a test for validity of a planar graph based on vertex, edge, and face counts. Challenges include ensuring this condition is met while rearranging without adding unnecessary complexity. Euler's formula acts as a checkpoint to validate efforts toward planarization .

The pigeonhole principle can be used to determine the minimum resources needed to distribute network resources optimally. For instance, if n+1 messages need to be distributed through n channels, the principle ensures at least one channel will carry more than one message. This can help inform the design of networks to prevent bottlenecks by calculating necessary resource allocation .

Lattices and Hasse diagrams help visualize and interpret partial orders, where each pair within a set has a greatest lower bound and least upper bound. Hasse diagrams provide a graphical representation omitting redundant connections, thus clarifying the structure's hierarchy and relationships, which facilitates the deeper analysis of ordered sets .

You might also like