Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

COS ASSIGNMENT 3 SEMESTER 1

Puntuación
2.0
(2)
Vendido
6
Páginas
19
Subido en
10-04-2020
Escrito en
2019/2020

COS ASSIGNMENT 3 SEMESTER 1 FULL MEMO

Institución
Grado

Vista previa del contenido

, Discussion of assignment 03 semester 1.



Suppose U = {1, 2, 3, 4, 5, a, b, c} is a universal set with the subset A = {a, b, c, 1, 2, 3, 4}.
Answer questions 1 and 2 by using the given sets U and A.

Question 1
Which one of the following relations on A is NOT functional?

1. {(1, 3), (b, 3), (1, 4), (b, 2), (c, 2)}
2. {(a, c), (b, c), (c, b), (1, 3), (2, 3), (3, a)}
3. {(a, a), (c, c), (2, 2), (3, 3), (4, 4)}
4. {(a, c), (b, c), (1, 3), (3, 3)}

Answer: Alternative 1

Discussion
First we look at the definition of functionality:
Suppose R B × C is a binary relation from a set B to a set C. We may call R functional if the
elements of B that appear as first co-ordinates of ordered pairs in R do not appear in more than
one ordered pair of R.

We consider the relations provided in the different alternatives:
2

, 1. Let L = {(1, 3), (b, 3), (1, 4), (b, 2), (c, 2)} (say). L is not functional since the
elements 1 and b appear more than once as first co-ordinates in ordered pairs of L.

2. Let M = {(a, c), (b, c), (c, b), (1, 3), (2, 3), (3, a)} (say).
M is a relation on A = {a, b, c, 1, 2, 3, 4}: {a, b, c, 1, 2, 3} = dom(M) A and
ran(M) = {a, b, c, 3} A. Each first co-ordinate appears only once as first co-ordinate thus M is
functional.

3. Let N = {(a, a), (c, c), (2, 2), (3, 3), (4, 4)} (say).
N is a relation on A = {a, b, c, 1, 2, 3, 4}: {a, c, 2, 3, 4} = dom(N) A and
ran(N) = {a, c, 2, 3, 4} A. Each first co-ordinate appears only once as first co-ordinate thus N
is functional.

4. Let S = {(a, c), (b, c), (1, 3), (3, 3)} (say).
S is a relation on A = {a, b, c, 1, 2, 3, 4}: {a, b, 1, 3} = dom(S) A and
ran(S) = {c, 3} A. Each first co-ordinate appears only once as first co-ordinate thus S is
functional.

From the arguments provided we can deduce that alternative 1 should be selected.

Refer to study guide, p 98.

Question 2
Which one of the following alternatives represents a surjective function from U to A?

1. {(1, 4), (2, b), (3, 3), (4, 3), (5, a), (a, c), (b, 1), (c, b)}
2. {(a, 1), (b, 2), (c, a), (1, 4), (2, b), (3, 3), (4, c)}
3. {(1, a), (2, c), (3, b), (4, 1), (a, c), (b, 2), (c, 3)}
4. {(1, a), (2, b), (3, 4), (4, 3), (5, c), (a, a), (b, 1), (c, 2)}

Answer: Alternative 4

Discussion
We look at the definitions of a function and of surjectivity:
Suppose R B × C is a binary relation from a set B to a set C. We may call R a function from B
to C if every element of B appears exactly once as the first co-ordinate of an ordered pair in R
(i.e. f is functional), and the domain of R is exactly the set B, ie dom(R) = B. A function R from
B to C is surjective iff ran(R) = C.

We have U = {1, 2, 3, 4, 5, a, b, c} and A = {a, b, c, 1, 2, 3, 4}.

We consider the relations provided in the different alternatives:


3

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
10 de abril de 2020
Número de páginas
19
Escrito en
2019/2020
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$3.01
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Reseñas de compradores verificados

Se muestran los 2 comentarios
4 año hace

5 año hace

5 año hace

Hello is there anything wrong with the assignment

2.0

2 reseñas

5
0
4
0
3
1
2
0
1
1
Reseñas confiables sobre Stuvia

Todas las reseñas las realizan usuarios reales de Stuvia después de compras verificadas.

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
bob_ross Wethinkcode
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
58
Miembro desde
6 año
Número de seguidores
54
Documentos
12
Última venta
3 año hace

3.6

17 reseñas

5
7
4
3
3
3
2
1
1
3

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes