Docsity

Gunadarma Mathematics Discrete Study Guide, Study Guides, Projects, Research of Mathematics

Partial preview of the text

Download Gunadarma Mathematics Discrete Study Guide and more Study Guides, Projects, Research Mathematics in PDF only on Docsity!

Discrete Mathematics

Mathematics Informatics

Informatics Engineering

Gunadarma University

Overview of Discrete Mathematics Discrete Mathematics deals with mathematical structures that are fundamentally discrete rather than continuous. It includes a wide array of topics such as logic, set theory, graph theory, combinatorics, and algorithms. These topics are foundational for computer science and related fields. Key Concepts in Discrete Mathematics

1. Logic and Propositions - Propositions : Statements that are either true or false. o Example: "It is raining" (can be true or false). - Logical Connectives : Used to form compound propositions. o AND ( ∧ ) : True if both propositions are true. o OR ( ∨ ) : True if at least one proposition is true. o NOT (¬) : True if the proposition is false. o Implication (→) : True if whenever the first proposition is true, the second one is also true. o Biconditional (↔) : True if both propositions are either true or false. - Truth Tables : Used to determine the truth value of compound propositions. 2. Set Theory - Sets : Collections of distinct objects. o Example: A = {1, 2, 3 }

  • Key Concepts : o Degree : Number of edges connected to a vertex. o Path : Sequence of vertices where each adjacent pair is connected by an edge. o Cycle : Path that starts and ends at the same vertex without repeating edges. o Connected Graph : There is a path between any two vertices. o Tree : A connected acyclic graph. 5. Combinatorics
  • Counting Principles : o Addition Rule : If there are nnn ways to do one thing and mmm ways to do another, and they cannot both happen, there are n+mn + mn+m ways to do either. o Multiplication Rule : If there are nnn ways to do one thing and mmm ways to do another, there are n×mn \times mn×m ways to do both.
  • Permutations : Arrangements of objects in a specific order. o Example: The number of ways to arrange 3 objects : 3! = 6.
  • Combinations : Selections of objects without regard to order. o Example: The number of ways to choose 2 objects from 3: (

Example Problems

1. Logic and Propositions Problem : Construct a truth table for p → (q ∧ ¬r). Solution : P Q r ¬r q ∧ ¬r p → (q ∧ ¬r) T T T F F F T T F T T T T F T F F F T F F T F F F T T F F T F T F T T T F F T F F T F F F T F T 2. Set Theory Problem : Given sets A={1, 2, 3} and B = {2, 3, 4}, find A ∪ B, A ∩ B, and A − B. Solution : 1. A ∪ B = {1, 2, 3, 4} 2. A ∩ B = {2, 3} 3. A – B = {1}

Conclusion Discrete Mathematics is essential for computer science and many other fields. By understanding and practicing key concepts like logic, set theory, functions, graph theory, and combinatorics, you will be well-equipped to tackle a variety of problems and applications. Practice Problems

  1. Construct a truth table for (p ∧ q) ∨ ¬r.
  2. Given sets C = {a, b, c} and D = {b, c, d}, find C ∪ D, C ∩ D, and C − D.
  3. Determine if the relation R = {(a, a), (b, b), (c, c), (a, b), (b, a)} on the set {a, b, c} is reflexive, symmetric, or transitive.
  4. Draw a graph with vertices V = {1, 2, 3, 4} and edges E={(1, 2), (1, 3), (2, 4), (3, 4)} and find its degree sequence.
  5. How many ways can you choose 3 students from a group of 10?