Discrete Mathematics: Logic, Predicates, and Inference, Lecture notes of Discrete Mathematics

An overview of discrete mathematics, focusing on logic, predicates, and quantifiers. It covers topics such as propositions, logical connectives, truth tables, logical equivalences, predicates, quantifiers, and rules of inference. Definitions, examples, and symbolic representations to illustrate key concepts. It is suitable for students studying discrete mathematics or computer science, offering a structured introduction to the fundamental principles of mathematical logic and reasoning. This resource is designed to enhance understanding and application of discrete mathematical concepts in various fields. The document also includes exercises and examples to reinforce learning and comprehension. It is a valuable resource for students seeking to grasp the basics of discrete mathematics and its applications.

Typology: Lecture notes

2023/2024

Available from 06/20/2025

maithreyan-2
maithreyan-2 🇮🇳

49 documents

1 / 103

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Discrete Mathematics: Logic, Predicates, and Inference and more Lecture notes Discrete Mathematics in PDF only on Docsity!

A set is called countable , if it is finite or countably infinite. A set that is not countable is uncountable

A set S is countable if there is a bijection

The sets in the discrete mathematics are often finite or countable, whereas those in continuous mathematics are often uncountable. 8/19/ Indian Institute of Information Technology, Kottayam 2

What is

Discrete Mathematics is the study of discrete objects and the relationships that bind them. Importance of discrete mathematics is that information is stored and manipulated by computing machines in a discrete fashion. Discrete Mathematics provides the mathematical foundation for many computer science courses. Data structures Algorithms Data base Theory Automata Theory^ Compiler Theory Computer Security Operating Systems 8/19/ Indian Institute of Information Technology, Kottayam 4

Discrete Mathematics

Basic Concepts

Digital and Analog Computer

In computing, there are two primary types of computers: digital and analog. Digital computers process information in binary digits or bits, while analog computers process information in continuously varying physical quantities such as voltage or current. Digital computers process the discrete object 0 and 1, whereas analog computers process continuous data(data obtained through measurement). 8/20/2024 Indian Institute of Information Technology, Kottayam 3

What is Discrete Mathematics?

Discrete Mathematics is the study of discrete objects and the relationships that bind them. Importance of discrete mathematics is that information is stored and manipulated by computing machines in a discrete fashion. Discrete Mathematics provides the mathematical foundation for many computer science courses. Data structures Algorithms Data base Theory Automata Theory Compiler Theory Computer Security Operating Systems 8/20/2024 Indian Institute of Information Technology, Kottayam 4

Proposition

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

  1. Delhi is the capital of India [True]
  2. 3+5=8 [True]
  3. Kottayam is in Karnataka [False] Note The area of logic that deals with propositions is called propositional calculus. Notation P,q,r,s,t are used to denote propositions, T and F are used to denote true and false proposition. 8/20/2024 Indian Institute of Information Technology, Kottayam 6

Atomic Statement Declarative sentences which cannot be further split into simpler sentences are called atomic statements. Example: Rana is a boy Note: Atomic statements do not contain connectives. Five basic connectives 8/20/2024 Indian Institute of Information Technology, Kottayam 7 S.N English Language Logical connectives Type of operator Symbols 1 and Conjuction binary ⋀ 2 or Disjunction binary ⋁ 3 not Negation Unary ¬ 4 If then Implication or conditional binary → 5 If and only if Biconditional binary (^) ⟷

Conjunction(And)

The conjuction of two statement p and q is the statement p⋀q which is read as ‘p and q’. The statement p⋀q has the truth value (T) whenever both p and q have truth value (T) otherwise it has the truth value (F). Truth table Translate the statement ‘Guru and Roy went up the hill’ into symbolic form. Solution: Let p: Guru went up the hill q: Roy went up the hill Then the statement can be written in symbolic form as p⋀q. 8/20/2024 Indian Institute of Information Technology, Kottayam 9 p q pq T T T T F F F T F F F F

Disjunction(Or) The disjuction of two statement p and q is the statement p⋁q which is read as ‘p or q’. The statement p⋁q has the truth value (F)only when both p and q have truth value (F) otherwise it has the truth value (T). Truth table Translate the statement ‘There is something wrong with the bulb or with the wiring’ into symbolic form. Solution: Let p: There is something wrong with the bulb q: Wrong with the wiring Then the statement can be written in symbolic form as p⋁q. 8/20/2024 Indian Institute of Information Technology, Kottayam 10 p q pq T T T T F T F T T F F F

Negation

The negation of a statement is generally formed by introducing the word ‘not’ at a proper place in the statement. If p denotes a statement, then the negation of p is written as

¬p read as ‘not p’

Truth table p: Mumbai is a city ¬p : Mumbai is not a city 8/20/2024 Indian Institute of Information Technology, Kottayam 12 p ¬p T F F T

Implication(Conditional statements)

Two propositions p and q can be combined to form statements of the form: If p, then q, such a statement is an implication, denoted by p →q. The component p is the hypothesis of the implication and q the conclusion. The statement p →q has a truth value F when q has the truth value F and p has truth value T, otherwise it has truth value T. p q pq T T T T F F F T T F F T 8/20/2024 Indian Institute of Information Technology, Kottayam 13