[SOLVED] COMP9020 Week 3- Functions and Relations

30.00 $

Category: Tags: , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

pdf file icon Set-3-Solution-ca6bfw.pdf (151.4 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (4 votes)
  1. (Functions)

Let     . Consider the functions  given by

Compute the following function values:

  1. (Properties of functions)

Which of the three functions ,  and  in Exercise 1 is onto? Which are 1-1?

COMP9020 20T1 – Week 3 Problem Set https://cgi.cse.unsw.edu.au/~cs9020/20T1/probs/prob3/index.php
COMP9020 20T1 Week 3 Problem Set Foundations of ComputerScience Functions and Relations
  1. (Matrix functions)

Prove each of the following statements.

  1. (AT)T = A for any matrix A.
  2. If two matrices A and B are of the same size, then (A + B)T = AT + BT.
  3. A(B + C) = AB + AC for any matrix A of size m × n and matrices B, C of size n × p.
  4. (Boolean functions)
    1. Give all elements of BOOL(2), that is, all functions over two Boolean variables.
    2. Show that there are elements in BOOL(n) for
  5. (Properties of binary relations)

Reflexivity

Antireflexivity

Symmetry

Antisymmetry

Transitivity

  1. For each of the following statements, give a valid proof if it is true for all relations and  over arbitrary sets . If the statement is not always true,

provide a counterexample.

If        and          are symmetric, then                    is symmetric.

If        and          are antisymmetric, then                     is antisymmetric.

  1. Challenge Exercise

Consider a set         and the binary relation                     defined by .

Prove that       is transitive if and only if

 

  • Set-3-Solution-ca6bfw.pdf