Discrete Math functions and sets. Let A and B be subsets of Z, and let F={f:A rightarrow B}. Define a relation R on F by: for any f,g in F, fRg if and only if f-g is a constant function; that is, there is a constant c so that f(x)-g(x)=c for all x in A.

ymochelows

ymochelows

Answered question

2022-09-04

Discrete Math functions and sets
1. Let A and B be subsets of Z, and let F = { f : A B }. Define a relation R on F by: for any f , g F, fRg if and only if f g is a constant function; that is, there is a constant c so that f ( x ) g ( x ) = c for all x A.
Assume that A = { 1 , 2 , 3 } and B = { 1 , 2 , , n } where n 2 is a fixed integer
(a) Let f 1 F be defined by: f 1 ( 1 ) = 2, f 1 ( 2 ) = n, f 1 ( 3 ) = 1. (As a set of ordered pairs, f 1 = { ( 1 , 2 ) , ( 2 , n ) , ( 3 , 1 ) }). Suppose that g F is arbitrary so that g R f 1 . Prove that g = f 1 , and thus the equivalence class [ f 1 ] is just { f 1 }.
(b) Find the number of functions f F so that [ f ] = { f }
(c) Prove that for all f F, there exists g [ f ] so that 1 is in the range of g.
(d) Prove that for all g , h F with gRh, if there exists a , b A such that g ( a ) = 1 and h ( b ) = 1, then g = h
(e) Find the number of distinct equivalence classes [f] of R

Answer & Explanation

Giancarlo Callahan

Giancarlo Callahan

Beginner2022-09-05Added 12 answers

Step 1
(a) Suppose that g R f 1 . Then there is a constant k such that g ( n ) f 1 ( n ) = k for each n A. In particular,
g ( 1 ) f 1 ( 1 ) = g ( 1 ) 2 = k , g ( 2 ) f 1 ( 2 ) = g ( 2 ) n = k ,  and  g ( 3 ) f 1 ( 3 ) = g ( 3 ) 1 = k ,
or
(1) g ( 1 ) = k + 2 , g ( 2 ) = k + n ,  and  g ( 3 ) = k + 1 .
Now recall that B = { 1 , 2 , , n }, so that n is the largest element of B, and that g is a function from A to B; from this and the appropriate part of (1) you can determine exactly what k is and hence what g is.
Step 2
(b) Once you understand what it is about the function f 1 in part (a) that ensures that [ f 1 ] = { f 1 }, you have only to count the functions from A to B that have that same characteristic. The crucial step is identifying the characteristic; part (a) is there to help you do so. If you successfully identify it and then find that you have trouble counting the functions that have it, you should probably ask that as a separate question.
Step 3
(c) If 1 is in the range of f, you can take g = f, so suppose that 1 is not in the range of f. Let r be the smallest number in the range of f. What happens if you shift the graph of f down by r 1 units?
Step 4
(d) There really isn’t much point worrying about this one until you’ve worked your way through the first three parts; it depends on the same ideas, but in a slightly more complicated way. Once you’ve done the first three parts, if you still can’t solve this one, make it a new question.
Step 5
(e) And this is the culmination of the work done in the first four parts; the advice that I gave for (d) applies here at least as strongly.

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?