Discrete Mathematics - Midterm - Spring 2024

NAME:
NEPTUN code:
Group number/Class teacher:

  • Duration: 90 minutes.
  • Total score: The maximal total score achievable in the midterm test is 40 points.
  • Success criterion: In order to successfully pass this test, you need to achieve at least 16 points.
  • Equipment: Only blank papers and pen allowed, no calculators.

Instructions

  • Each task must be solved on paper using pen. Please:
    • write your name, Neptun code and the name of your practice class teacher on the top of this exam paper;
    • write your name and Neptun code on the top of each paper you submit;
    • note that in most questions justification is required. Just an answer to these questions without any proof is worth very few marks only. Please do not forget to justify your answers. (Applying and showing the steps of a method learnt in the class — where relevant — is regarded as sufficient justification.)
    • note that a ‘yes’ or ‘no’ answer on its own without any justification is worth 0 marks only;
    • after finishing the test, place all the papers with your solutions behind this exam paper and in order for the papers to stay together please fold them into half (parallel to the longer side);
    • note that the actual test paper will be shared on Canvas, hence you will be able to obtain it.

In Question 6 you have a choice between two questions: You do not need to solve both of them, please choose just one of them.

Thank you and all the best for the test!


Values of some trigonometric functions that may be needed for some questions


Questions

1.

For each of the equalities below decide if it is true for every set , and . Prove your answers.


2.

a)

Consider the binary relation

on set . Decide whether is reflexive, symmetric, transitive and/or antisymmetric. Justify your answers.

b)

Let . Find:

i.

ii.

iii.

c)

On set construct a relation which satisfies all of the following properties: it is anti-symmetric, reflexive, but not transitive.

(10 marks)


3.

a)

Let

and

Find the composition .

b)

Let

and

Find .

(6 marks)


4.

a)

For each of the following examples, decide if the relation is an equivalence relation, justifying your answer.

i.


where .

ii.

iii.

b)

For each equivalence relation in part (a) find the partition determined by the equivalence relation.

(7 marks)


5.

For each of the relations below decide if it is a partial order. Justify your answers.


There are two versions of Question 6, which you can choose from.

Please choose one of the two versions:

Version 1

6.

a)

Decide about each of the relations below if it is a function, justifying your answer.

i.


where .

ii.

iii.

b)

For each of the above relations that is a function, decide if it is injective, surjective and/or bijective. Justify your answers.

(8 marks)


Version 2

6.

a)

Using the polar form of complex numbers, calculate

giving your answer in polar form. Then find all complex numbers such that .

(8 marks)