Discrete math functions. Let A=P({1,2,3,4}). Let h be the following function. h:N rightarrow N defined by h(x)={2,3} cap {x}

Carpanedam7

Carpanedam7

Answered question

2022-07-15

Discrete math functions
Let A = P ( { 1 , 2 , 3 , 4 } ). Let h be the following function.
h : N A
defined by h ( x ) = { 2 , 3 } { x } .
Write down h(1)
I'm a bit puzzled by this question. Does this just mean that x = 1, therefore, there is no intersection or is there an actual answer to this question?

Answer & Explanation

Izabelle Frost

Izabelle Frost

Beginner2022-07-16Added 13 answers

Step 1
X Y means "The set of all elements which are both in X and in Y". In the case of h(1), we have
h ( 1 ) = { 2 , 3 } { 1 }
Step 2
There are no elements which are in both {2,3} and in {1}, so the result of that intersection is = { a }.
And yes, in this case (as in most concrete cases), h(1) does mean "Take any place in the definition of h(x) where x appears, exchange it with a 1, and then calculate."
Francisco Proctor

Francisco Proctor

Beginner2022-07-17Added 6 answers

Step 1
A = P ( { 1 , 2 , 3 , 4 } ) is the power-set of set A,
i.e. the set of subsets of A.
h : N A, defined by h ( x ) = { 2 , 3 } { x }
Step 2
is a function that assign to each natural number n a set: the intersection of the set {2,3} with the singleton set {x}.
Thus, we may perform some simple checks : with x = 2 we have that h ( 2 ) = { 2 , 3 } { 2 } = { 2 }

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?