SOLUTION: for the relations: A x B, such that: A = {-7,-6,..., -4} and B = {42,43,...,45} count how many possible ways N1 to have functions p = A --> B N1 = count how many possibl

Algebra.Com
Question 1205232: for the relations: A x B, such that:
A = {-7,-6,..., -4} and B = {42,43,...,45}
count how many possible ways N1 to have functions p = A --> B
N1 =
count how many possible ways N2 to have p as one to one function.
N2=
count how many possible ways N3 to have p NOT onto.
N3 =

Answer by math_tutor2020(3817)   (Show Source): You can put this solution on YOUR website!

A = {-7, -6, -5, -4}
B = {42, 43, 44, 45}
Each set has 4 elements.
It's not clear why your teacher used the triple dot notation when it's not needed.

For the input x = -7, from set A, there are 4 choices it could map to in set B. Same with x = -6 and so on.
There are 4*4*4*4 = 4^4 = 256 different functions possible.
A function is a collection of (x,y) points where x doesn't repeat itself.
The y values can repeat, but the function wouldn't be one-to-one.
Often the (x,y) points are connected with some kind of line or curve to form a graph; however, in this case, the points will be separate disconnected islands.

A function is considered one-to-one (aka injective) when we don't have repeated outputs. This is when each input is assigned a unique output.
You can think of it like pairing up dance partners.
The input x = -7 has 4 choices to pick from.
After we pick something from B, there are 4-1 = 3 choices left for the next input. Then 3-1 = 2 choices for the third input, and finally 1 choice for the last input.
There are 4*3*2*1 = 24 one-to-one functions possible.

n(A) = number of values in set A
Because n(A) = n(B), a function that is onto is automatically one-to-one, and vice versa.
The proof is left as an exercise for the student.

"Onto" is the same as "surjective". They both refer to the idea that every item in set B is targeted.

Here's an example of a surjective function
{(-7,42),(-6,43),(-5,44),(-4,45)}
and here's something that isn't surjective.
{(-7,42),(-6,42),(-5,44),(-4,45)}
in the 2nd example, the output y = 43 isn't targeted in set B.
Therefore, the 2nd example isn't surjective. Notice how the 2nd example isn't injective either since we have a repeated y value.

The term bijective means "both injective and surjective".

Here's an article that talks about the terms mentioned
https://www.mathsisfun.com/sets/injective-surjective-bijective.html

We found there are 24 bijective functions and 256 functions possible.
That must mean there are 256-24 = 232 functions that are not surjective.

Answers:
N1 = 256
N2 = 24
N3 = 232

RELATED QUESTIONS

How many ways can the value 13 be expressed as the sum of exactly 3 different positive... (answered by jim_thompson5910)
Determine whether or not each of the following relations represents y as a function of x. (answered by josgarithmetic)
7. Which of the following is a characteristic of a binomial probability experiment? A.... (answered by stanbon)
3. A division has 12 employees, 8 males and 4 females. (a) (3 points) In how many ways... (answered by jim_thompson5910)
A number cube rolled and a number card is drawn from cards numbered 1-14. Find the number (answered by ewatrrr)
1. Which of the following values is NOT equal to 34(58+9)? A. 34 x 67 B. 58(34+9) C.... (answered by Fombitz)
Suppose that A and B are two events such that P(A) + P(B) > 1. a. What is the... (answered by greenestamps)
In an election with three candidates for mayor (A, B, and C), the initial vote count gave (answered by Boreal)
Which of the following are functions? The last two problems, i.e., b & c, are multi part (answered by solver91311)