Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Discrete Math Functions help?

I am working a discrete math homework problem involving functions that I am having troubles with. The question I am working on currently is this:

Let A = {1,2,3,4} and B = {x,y,z}

a) List five functions from A to B.

b) How many functions f: A -> B are there?

c) How many functions f: A -> B are one-to-one?

d) How many functions g: B -> A are there?

For part A, is it talking about doing something like, A -> B, A -> A, B ->A, B -> B, and not sure what the fifth function would be. But, would that be the correct way to go abouts it? If it's not, then I am not sure what the question is talking about

1 Answer

Relevance
  • 7 years ago

    No. For your purposes here, use the definition of a function as an ordered pair, such that each first element has a unique second element. So,

    f(A) = (1,x) (2,y) (3,z) (4,x) would be one function from A to B.

    Since there are 4 elements

Still have questions? Get your answers by asking now.