Discrete Math Functions. f:N rightarrow N such that f(x)=2x. f:Z rightarrow Z such that f(x)=2x. How are these two different?

glyperezrl

glyperezrl

Answered question

2022-07-15

Discrete Math Functions
f : N N such that f ( x ) = 2 x
f : Z Z such that f ( x ) = 2 x
How are these two different?
And also h : R R where h ( x ) = x
f : N N where f ( x ) = n

Answer & Explanation

nuramaaji2000fh

nuramaaji2000fh

Beginner2022-07-16Added 18 answers

Step 1
Because f : N N has only positive values in difference with f : Z Z that has negative values too.
Step 2
for h : [ 0 , ] R (From [ 0 , ] and not R because x is not defined in negative reals) we have that h ( x ) > 0 for every x in difference with f : N N that f ( x ) > 1 for every x.
enmobladatn

enmobladatn

Beginner2022-07-17Added 6 answers

Step 1
In the first case, for any x such as x N and x Z then f N ( x ) = f Z ( x ). Given that all natural numbers are integers, then there is no difference for the (sub)domain of natural numbers. However, the second function is also defined for negative integers which are not natural numbers, and therefor they are not defined in the first function.
v.g. f Z ( 1 ) = 2, however f N ( 1 ) doesn't have any sense.
So both functions are different because their domains and codomains are different.
Step 2
In the second case (I will asume f ( n ) = n ), both h and f are not well defined, as h ( 1 ) does not exist in R , and f(2) does not exist in N .
Step 2
However, if for a certain x such as x N and x R and f(x) is defined and h(x) is defined, then f ( x ) = h ( x ), v.g. f ( 4 ) = h ( 4 ) = 2. Otherwise the functions are different. v.g. f(2) does not exist but h ( 2 ) = 2 , and h ( 1 ) does not exist, but f ( 1 ) has no meaning, and f(1.5) has no meaning while h ( 1.5 ) = 1 2 6 .

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?