306,552 views
6 votes
6 votes
{Alex. Bobby. Catlıy. Dave. Emy. Frank. George, Homa. lan. Jim).Let S be the set of all possible ways to line up the kids. For example, one order might be:( Frank. George. Homa, Jim. Alex. Dave. Cathy. Emy. Ian. Bobby)The names are listed in order from left to right. so Frank is at the front of the line and Bobby is at the end of the line.Let T be the set of all possible ways to line up the kids in which George Is ahead of Dave in the line. Note that George doesn’t have to be immediately ahead of Dave. For example, the ordering shown above is an element in T.Now define a function f whose domain is S and whose target is T. Let x be an element of S, so x is one possible way to order the kids. If George is ahead of Dave in the ordering x, then f(x)=x. If Dave is ahead of George in x, then f(x) is the ordering that is the same as x, except that Dave and George have swapped places.(A) What is the output of f on the following input? (Frank, George, Homs, Jim, Alex, Dave, Cathy, Emy, Ian, Bobby)(B) What is the output of f on the following input? (Emy, Ian, Dave, Homa, Jim, Alex, Bobby, Frank, George, Cathy)(C) Is the function f a k-to-1 correspondence for some positive integer k? If so, for what value of k? Justify your answer.(D) There are 3628800 ways to line up the kids with no restrictions on who comes before whom. That is, |S|=3628800. Use this fact and the answer to the previous question to determine |T|.

User Walker Rowe
by
2.3k points

1 Answer

24 votes
24 votes

Answer:(A) f(x) = x

(B) F(x) = x

(C) K= 2

(D) |T |= 1814400

GIVEN :

• 10 kids named (Frank. George. Homa, Jim. Alex. Dave. Cathy. Emy. Ian. Bobby)

,

• The names are listed in order from left to right.

,

• Let T be the set of all possible ways to line up the kids

(A) The output of f on the following input (Frank, George, Homs, Jim, Alex, Dave, Cathy, Emy, Ian, Bobby):

F(x)=x

• {,This is because the order of the names are still the same as given original order ,}

(B) The output of f on the following input (Emy, Ian, Dave, Homa, Jim, Alex, Bobby, Frank, George, Cathy):

• {,take note that ,Dave ,and ,George, interchanges position,,,}

,

• F(x) = x

• This becomes : ( ,Emy, Ian, ,George, ,Homa, Jim,Alex,Bobby,Frank, ,Dave , ,Cathy,)

(C) This function is a 2 is to 1 , as two values will give same output ,

Meaning that K = 2

(D) Given |S| = 3628800


\begin{gathered} \lvert T\rvert\text{ = }\frac{\lvert S\rvert}{2\text{ }} \\ \text{ = }(3628800)/(2) \\ \text{ = 1814400} \end{gathered}

Therefore; |T |= 1814400

User Niltoid
by
3.0k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.