cs302

Upload: mm8871

Post on 08-Aug-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/22/2019 CS302

    1/29

    a.k.a.

    Discrete Mathematics

    Discrete mathematical Structures

  • 8/22/2019 CS302

    2/29

    WHY STUDY DISCRETE

    MATHEMATICS? Excellent tool for improving reasoning and problem solving skills. Modern mathematics deals with sets and not simple numbers. Information is stored and manipulated by computing machines in

    discrete fashion.

    Even real numbers are covered in DM as they are represented asfloating point numbers.

    Knowledge of DM is integral for efficiently understanding and usingconcepts like Data Structures Database Theory Automata Theory Compiler Design Operating Systems .. And many more!

  • 8/22/2019 CS302

    3/29

    COMPONENTS

    MATHEMATICALLOGIC SET THEORY BOOLEANALGEBRA MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

  • 8/22/2019 CS302

    4/29

    COMPONENTS

    MATHEMATICALLOGIC SET THEORY BOOLEANALGEBRA MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    The science dealing with the methods of reasoning.All methods of verification of algorithms use notations and methods of logic.Mathematical logic is the foundation on which Artificial Intelligence is built.Crucial for studying behavior of gates and circuits in hardware design.

  • 8/22/2019 CS302

    5/29

    COMPONENTS

    MATHEMATICALLOGIC SET THEORY BOOLEANALGEBRA MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    A set is a collection of well defined objects.The language of set theory is used in every mathematical subject.Programmers use sets of different objects & ways of manipulatingthemThe foundation behind the field of Fuzzy Logic.

  • 8/22/2019 CS302

    6/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    Binary logic deals with variables that take on two variables 0and 1 and with operations that assume logical meaning.The foundation behind design of digital circuits.Crucial for understanding and efficiently designing computersystems.

  • 8/22/2019 CS302

    7/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    Data is arranged in sets whose elements are indexed by one or moresubscripts.Matrices provide a means of storing large amounts of data such that the datacan be handled element wise and as a whole.Extensively used in AI fields like robotics.

  • 8/22/2019 CS302

    8/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    The part of Mathematics that seeks to investigate the properties ofintegers.Has applications in transmission, coding and manipulation of data.Extensively used in Cryptography.

  • 8/22/2019 CS302

    9/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    The part of mathematics that deals with objects and theircomparisons.While executing programs, comparisons are made and different tasksare performed based on results.Relational databases stores information in the form of relationsbetween objects and their attributes.

  • 8/22/2019 CS302

    10/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    Functions describe connections between two different sets.Foundation for the field of mathematical modeling.Extensively used in domain of recursive function theory.

  • 8/22/2019 CS302

    11/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    A POSET is a special type of a set and a Lattice is a special type of anOrdered set.Used in PERT and CPM techniques crucial for Software ProjectManagement.

  • 8/22/2019 CS302

    12/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    The mathematics of Counting, Selecting and Arranging objects.It includes the theory of Permutations and Combinations.Application of combinatronics play important role in Algorithmic Analysis.

  • 8/22/2019 CS302

    13/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    Algebra uses different mathematical structures and theirmanipulations. Important structures are Groups, Rings andFields.Groups are used in Automata theory and Formal languages.Very important in developing techniques that help in transmissionof data that help in detecting and correcting errors.

  • 8/22/2019 CS302

    14/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    A Graph is a set of points that are interconnected by a set oflines.Applications include syntactic analysis, fault detection and diagnosisin computers and minimal path problems.A very useful practical problem-solving tool in a variety of fields.

  • 8/22/2019 CS302

    15/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    A tree represents hierarchical relations between data items.A binary search tree is a very important search structure in many applications.Trees are used to organize information in database systems and to represent thesyntactic structure of source programs in compilers.Used to analyze electrical circuits and represent structure of mathematicalformulas.

  • 8/22/2019 CS302

    16/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    Branch of mathematics which deals with phenomena whoseoutcomes involve uncertainity.Probability is measured on a scale from 0 to 1.Has applications in coding theory and data transmission and errordetection / correction.

  • 8/22/2019 CS302

    17/29

    COMPONENTS

    MATHEMATICALLOGIC

    SET THEORY BOOLEANALGEBRA

    MATRICES

    NUMBER THEORY RELATIONS FUNCTIONS POSETS ANDLATTICES

    COMBINATRONICS ABSTRACT AND LINEAR ALGEBRA GRAPH THEORY

    TREES PROBABILITY LANGUAGE, GRAMMAR ANDAUTOMATA

    Defines structure to a language over a specified set of symbols.Used for developing and analyzing programming languages.Has applications in robotics, AI, Compiler construction andknowledge engineering.

  • 8/22/2019 CS302

    18/29

    Syllabus in Brief UNIT 1

    SET THEORY COMBINATIONS

    OPERATIONS RELATIONS

    TYPES AND PRPERTIES

    REPRESENTATION

    LATTICES FUNCTIONS

    CLASSIFICATION

    OPERATIONS

  • 8/22/2019 CS302

    19/29

    Syllabus in Brief UNIT 2

    RECURRENCE RELATIONS AND ALGORITHMS

    METHODS OF SOLVING

    COUNTING TECHNIQUES

    PIGEONHOLE PRINCIPLE

    PERMUTATION AND COMBINATION

    MATHEMATICAL INDUCTION

    VARIANTS

  • 8/22/2019 CS302

    20/29

    Syllabus in Brief UNIT 3

    ALGEBRIC STRUCTURES

    GROUPS

    TYPES AND PROPERTIES

    ORDERS

    OPERAIONS

    RINGS

    PROPERTIES FIELDS

    PROPERTIES

  • 8/22/2019 CS302

    21/29

    Syllabus in Brief UNIT 4

    LOGIC

    BOOLEAN ALGEBRA

    AXIOMS AND THEOREMS

    BOOLEAN EXPRESSION SIMPLIFICATION

    ALGEBRIC

    KARNAUGH MAP

    DIGITAL CIRCITS PROPOSITIONAL LOGIC

    PREDICATE LOGIC

  • 8/22/2019 CS302

    22/29

    Syllabus in Brief UNIT 5

    GRAPHS

    REPRESENTATION

    TYPES

    PATHS

    TREES

    BINARY TREE

    TRAVERSAL

    SPANNING TREES

  • 8/22/2019 CS302

    23/29

    A B

    C

  • 8/22/2019 CS302

    24/29

    Basics Definition

    Elements

    Membership

    Representation

    Tabular or Roster (Listing) Method

    Set Builder or Rule Method

    Bit String Method Special Sets

    R , Z , Z+ , N , C , Q

  • 8/22/2019 CS302

    25/29

    Types of SetsFinite Sets

    Infinite Sets

    Null SetSingleton Set

    Subset

    SupersetProper Subset

    Equal Sets

    Universal Set

    Comparable Set Disjoint Set

    Power Set

  • 8/22/2019 CS302

    26/29

    Operations on Sets

    Union

    Intersection

    Complement Difference

    Symmetric Difference

    Cardinality

    Venn Diagrams

  • 8/22/2019 CS302

    27/29

    Multisets Representation

    Cardinality

    Operations

  • 8/22/2019 CS302

    28/29

    )()()(

    Laws)()()((5)

    )()(Laws)()((4)

    Laws(3)

    Laws'(2)

    ofLaw)1(

    CABACBA

    veDistributiCABACBA

    CBACBAeAssociativCBACBA

    ABBA

    eCommutativABBABABA

    sDemorganBABA

    ComplementDoubleAA

    Set Identities

  • 8/22/2019 CS302

    29/29

    A)BA(A

    LawsAbsorptionA)BA(A(10)

    LawsDomination=A,UUA(9)

    LawsInverseAA,UAA(8)

    LawsIdentityAUA,AA(7)

    LawsIdempotentAAA,AAA(6)

    Set Identities