Discrete Maths
Discrete Maths
Discrete Maths
Internal verification:
Contents
1. Set theory and functions. ...........................................................................................................................5
I. Set theory ...............................................................................................................................................5
1.Definition of sets, basic concepts .......................................................................................................5
2. Operations in sets ..............................................................................................................................5
3. The force of gathering .......................................................................................................................5
4. Theorems of sets................................................................................................................................6
5. Definition of multiset, characteristics, notation, and cardinality of multiset. ....................................6
II. Function theory .....................................................................................................................................6
1. function definition .............................................................................................................................6
2. Definition of single light, double light, full light. .............................................................................6
3. Inverse function. ................................................................................................................................6
2. Graph theory ..............................................................................................................................................6
II. Graph theory. ............................................................................................................................................6
1. Graph definition. ...................................................................................................................................6
2. Types of graphs, how to classify and represent graphs on computers. .................................................6
3. Define binary tree characteristics. .........................................................................................................6
4. Defines the spanning tree of the graph. .................................................................................................7
5. Euler line, Hamilton cycle, 2 isomorphic graphs. .................................................................................7
5.1. Euler's 1-line. ..................................................................................................................................7
5.2. Hamiltonian cycle...........................................................................................................................7
5.3. Two isomorphic graphs. .................................................................................................................7
6. Algorithms: find Dijkstra's shortest path, find Prim's smallest spanning tree. ......................................7
6.1. Dijkstra's algorithm. .......................................................................................................................7
6.2. Prim's smallest frame tree...............................................................................................................8
3. Examine set theory and functions applicable to software engineering .....................................................8
4. Analyse mathematical structures of objects using graph theory ...............................................................8
1. Set theory and functions.
I. Set theory
1.Definition of sets, basic concepts
- A set is a collection of objects, called elements, in which the order is not important and an
object cannot appear twice in the same set
- Example 1.1
Explicit definitions of sets, that is, where each element is listed, are:
A = {a, b, c}
B = {3, 4, 6, 7, 8, 9}
C = {Linda, Raka, Sue, Joe, Nigel, Mary}
a ∈ A means ‘a is an element of A’ or ‘a belongs to A’; therefore in the above examples:
3∈B
Linda ∈ C
- A set is a collection of objects, called elements, in which the order is not important and an
object cannot appear twice in the same set
- The universal set is the set of all objects we are interested in and will depend on the
problem under consideration. It is represented by E.
The empty set (or null set) is the set with no elements. It is represented by ∅ or { }.
- Sets can be represented diagrammatically – generally as circular shapes. The universal set
is represented as a rectangle. These are called Venn diagrams
- Sets can be represented diagrammatically – generally as circular shapes. The universal set
is represented as a rectangle. These are called Venn diagrams
2. Operations in sets
3. The force of gathering
The cardinality of a set is a concept in mathematics expressed by the number of elements in
that set. This is also known as "cardinality" (usually denoted |A|) and is often used to
measure the size or number of elements of a set.
For example, if A is a set of natural numbers from 1 to 5, then the cardinality of A (denoted
|A|) will be 5, because there are 5 elements in that set.
4. Theorems of sets.
1. function definition
- A function is a rule or law that determines the relationship between elements of two
different sets such that each element of the first set is uniquely mapped to an element of the
second set. two. Simply put, a function is a rule that assigns each of its (independent) input
values to a corresponding (dependent) output value.
2. Definition of single light, double light, full light.
3. Inverse function.
2. Graph theory