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 2

Puntuación
5.0
(1)
Vendido
4
Páginas
20
Subido en
10-04-2020
Escrito en
2019/2020

COS ASSIGNMENT 3 SEMESTER 2 FULL MEMO WITH WORKING OUT

Institución
Grado

Vista previa del contenido

, Discussion of assignment 03 semester 2.




Suppose U = {2, 4, 6, a, b, c, {b, c}} is a universal set with the following subsets:
A = {6, b, c, {b, c}} and B = {2, 6, b, c}.

Answer questions 1 and 2 by using the given sets.

Question 1
Which one of the following relations from A to B is functional?
1. {(2, 6), (6, b), (b, c), (c, {b, c}}
2. {(6, 6), (c, c), (b, 2), ({b, c}, 6)}
3. {(6, 2), (b, 6), (c, b), (6, {b, c})}
4. {(b, 2), (b, 6), (b, b), (b, c)}

Answer: Alternative 2

Discussion
First we look at the definition for 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:


1. Let L = {(2, 6), (6, b), (b, c), (c, {b, c}} (say). L is not functional since 2 ∉ A.
Therefore (2, 6) cannot be in L, since L is not defined from A to B.

2. Let M = {(6, 6), (c, c), (b, 2), ({b, c}, 6)} (say). M is functional because each first co-ordinate
is in A, and each first co-ordinate is only used once.

3. Let N = {(6, 2), (b, 6), (c, b), (6, {b, c})} (say). N is a not functional because the element 6
appears twice as first co-ordinate in the relation.

4. Let S = {(b, 2), (b, 6), (b, b), (b, c)} (say). N is a not functional because b appears as first co-
ordinate in every ordered pair in the relation.

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

Refer to study guide, p 98.


3

, Question 2
Let F = {(6, {b, c}), (b, 2), (c, c), ({b, c}, 6)} be a function from A to U. Which one of the following
alternatives is true for function F?

1. F is injective and surjective.
2. F is surjective, but not injective.
3. F is neither injective nor surjective.
4. F is injective, but not surjective.

Answer: Alternative 4

Discussion
First we look at the definition of a function:
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, i.e. dom(R) = B. We also look at the
definition of an injective and surjective function.
Injective function:
A function f: B C is injective iff f has the property that
whenever f(a1) = f(a2) then a1 = a2 (or whenever a1 a2 then f(a1) f(a2)) .
Surjective function:
Given a function f: B C we say that f: B C is surjective iff the range of f is equal to the
codomain of f, ie f(B) = C.

Each first co-ordinate is paired with only one unique second co-ordinate, therefore F is an
injective function. But F is not surjective. Although ran(A) = {2, 6, c, {b, c})} U, it is not true that
ran(A) = U.

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

Refer to study guide, pp 105 - 107.

Question 3
Which one of the following relations is a bijective function on the set B = {t | (−4 t 4, t Z}? Hint:
First list the elements of set B.

1. {(-3, -3), (-1, -1), (1, 1), (3, 3)}
2. {(0, -3), (0, -2), (0, -1), (0, 0), (0, 1), (0, 2), (0, 3)}
3. {(-3, 0), (-2, -1), (-1, -1), (0, 0), (1, -3), (2, -3), (3, 3)}
4. {(-3, 0), (-2, -3), (-1, 3), (0, -1), (1, -2), (2, 2), (3, 1)}

Answer: Alternative 4

Discussion
Let us first look at the definition of a bijective function. A function is bijective iff it is both a
surjective and an injective function. A function f: A → B is injective iff it has the property
that 4

Escuela, estudio y materia

Institución
Grado

Información del documento

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

Temas

$4.89
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


Documento también disponible en un lote

Reseñas de compradores verificados

Se muestran los comentarios
5 año hace

5.0

1 reseñas

5
1
4
0
3
0
2
0
1
0
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