Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Exam (elaborations)

MAT3707 Assignment 2 Solutions |Discrete Mathematics| Due 28 July 2026

Rating
-
Sold
-
Pages
20
Grade
A+
Uploaded on
18-07-2026
Written in
2025/2026

Comprehensive Study Material; Expert Verified & Exam-Ready This assignment package has been carefully developed to support serious academic preparation. Each solution is thoroughly researched, clearly explained, and backed by credible references giving you not just the answers, but a genuine understanding of the underlying concepts. The material is structured for clarity, making even complex topics approachable without sacrificing depth or accuracy. Whether you're consolidating your knowledge or preparing under time pressure, these resources are designed to help you walk into any exam with confidence.

Show more Read less

Content preview

UNIVERSITY OF SOUTH AFRICA
College of Science, Engineering and Technology


⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄⋄

MAT3707: Discrete Math-
ematics: Combinatorics
Assignment 2 | 2026

⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄⋄




MAT3707
Module Code:
Discrete Mathematics: Combinatorics
Module Name:
Sets, Functions, Graphs, Probability, Recur-
Assignment Topic:
rence Relations and Counting
Assignment 2
Assignment Number:
28 July 2026, 20:00
Due Date:
100
Total Marks:




Submitted in partial fulfilment of the requirements for MAT3707, UNISA 2026

,UNISA | MAT3707 Discrete Mathematics: Combinatorics



Question 1

If A is a set of m elements and B is a set of n elements then:

(i) Find the number of elements in the set (A × {A}) ∪ (B × {B}); how different is it from the set
A ∪ B? Explain with examples.

(ii) Find the number of elements that the set A × B = {(x, y) : x ∈ A and y ∈ B} has.

(iii) Find the number of elements that the set 2A of all subsets of A has.

(iv) Find the number of elements that the set B A = {f : A → B} of all functions from A to B
has.

(v) Find the number of k-element subsets of B. In particular, prove that

n  
X n
= 2n .
k
k=0



(i)


The set A × {A} contains one ordered pair for each element of A. Since A has m elements,


|A × {A}| = m × 1 = m.


Similarly,
|B × {B}| = n × 1 = n.

Every pair in A × {A} has second coordinate A, every pair in B × {B} has second coordinate B,
so the two sets are distinct.


|(A × {A}) ∪ (B × {B})| = m + n.


Difference from A ∪ B. A ∪ B contains elements. (A × {A}) ∪ (B × {B}) contains ordered pairs.
The two sets are different because one contains elements while the other contains ordered pairs.

Example. Let A = {1, 2}, B = {3, 4}. Then A ∪ B = {1, 2, 3, 4}, and


(A × {A}) ∪ (B × {B}) = {(1, A), (2, A), (3, B), (4, B)}.


The first set contains numbers. The second set contains ordered pairs.




Page 2 of 20

,UNISA | MAT3707 Discrete Mathematics: Combinatorics



(ii)


Each element of A can be paired with every element of B. There are m choices for the first coor-
dinate, n choices for the second coordinate.


|A × B| = m × n.


|A × B| = mn.


(iii)


Each element of A has two choices: belong to a subset, or not. Since there are m elements,


2 × 2 × · · · × 2 (m times) = 2m .


|2A | = 2m .


(iv)


Each element of A can be assigned to any one of the n elements of B. There are m independent
choices.
n × n × · · · × n (m times) = nm .

|B A | = nm .


(v)


Choosing k elements from n elements gives
 
n n!
= .
k k!(n − k)!

Pn n
= 2n . Each element of B has two choices: included, or excluded. Since

Proof that k=0 k
there are n elements,
2 × 2 × · · · × 2 (n times) = 2n .

n n
 
The subsets can also be grouped by size. There are 0 subsets with 0 elements, 1 subsets with




Page 3 of 20

, UNISA | MAT3707 Discrete Mathematics: Combinatorics


n

1 element, and so on until n . Adding all these subsets gives

n  
X n
= 2n .
k
k=0




Page 4 of 20

Document information

Uploaded on
July 18, 2026
Number of pages
20
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
R277,98
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BeeNotes teachmetutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
323
Member since
1 year
Number of followers
0
Documents
923
Last sold
1 day ago
BeeNotes

BeeNotes: Buzzing Brilliance for Your Studies Discover BeeNotes, where hard-working lecture notes fuel your academic success. Our clear, concise study materials simplify complex topics and help you ace exams. Join the hive and unlock your potential with BeeNotes today!

4,1

40 reviews

5
24
4
4
3
8
2
1
1
3

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions