Discrete Mathematics Exam Paper 2024
Discrete Mathematics Exam Paper 2024
The number of edges in a complete bipartite graph Km,n is calculated as m*n. A complete bipartite graph is a graph that divides its vertices into two disjoint sets, such that there are no edges within each set, and every possible edge that could connect a vertex from one set to a vertex from the other set is present .
The sum (n choose 0) + (n choose 1) + (n choose 2) + ... + (n choose n) equals 2^n. This is because each term (n choose k) represents the number of ways to choose k elements from a set of n elements, and the sum of these terms represents the number of subsets of a set with n elements, which is 2^n .
A tautology is a statement in propositional logic that is always true, regardless of the truth values of the individual propositions involved. It is a formula that evaluates to true under every possible valuation of its propositional variables .
An equivalence relation is a binary relation that is reflexive, symmetric, and transitive. This means that for any elements a, b, and c in a set, a relation R on set A satisfies: 1) Reflexive: aRa, 2) Symmetric: if aRb then bRa, and 3) Transitive: if aRb and bRc then aRc .
The pigeonhole principle states that if n items are put into m containers, with n > m, then at least one container must contain more than one item. An example is if you have 10 pigeons and 9 pigeonholes, at least one pigeonhole must contain more than one pigeon .
A bijective function is a relation with both injective and surjective properties. It means that every element of the function's codomain is mapped by exactly one element of its domain. In other words, the function is both one-to-one (injective) and onto (surjective).
The degree of a vertex in a graph is defined as the number of edges that are incident to that vertex. In an undirected graph, this is simply the count of edges connected to the vertex .
The multinomial theorem is a generalization of the binomial theorem for more than two variables. It states that any power of a sum of variables can be expanded into a sum of terms, each of which is a product of a multinomial coefficient and integer powers of the variables. To find the coefficient of x^2y^3z^4w^5 in (x+5y-2z-6w)^14, you would use the formula for the multinomial coefficient which encompasses all permutations of these variables fitting the expansion pattern, specifically calculating individual contributions by each variable's raised power from the total .
Kruskal's algorithm finds a minimum spanning tree for a connected weighted graph. Its real-world applications include designing an efficient layout for electrical networks, water supply networks, and computer networks. The algorithm sorts all the edges of the graph in increasing order by cost, and then connects nodes without forming any cycle to construct the minimum spanning tree .
The statement 'No bird can fly' can be represented using quantifiers as: ∀x (Bird(x) → ¬Fly(x)). This means for all objects x, if x is a bird, then x cannot fly .