Let A = {1,2,3,4,5,6,7,8,9}. How many functions f:A rightarrow A are there so that f(1)=2?

tamola7f

tamola7f

Answered question

2022-09-04

Let A = { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 }
How many functions f : A A are there so that f ( 1 ) = 2?
I believe the best way to solve this problem is to find the total number of functions ( 9 9 ) and subtract the number of functions such that f(1) does not equal 2. But I am not sure how to find that value. Any help would be appreciated.

Answer & Explanation

detegerex

detegerex

Beginner2022-09-05Added 16 answers

Step 1
Simply map one of the 9 values in {1,…,9} to each one of the 8 values in {2,…,9}:
- f ( 1 ) = 2
- f ( 2 ) [ 1 , 9 ]
- f ( 3 ) [ 1 , 9 ]
- f ( 4 ) [ 1 , 9 ]
- f ( 5 ) [ 1 , 9 ]
- f ( 6 ) [ 1 , 9 ]
- f ( 7 ) [ 1 , 9 ]
- f ( 8 ) [ 1 , 9 ]
- f ( 9 ) [ 1 , 9 ]
Step 2
This yields a total of 9 8 functions.

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?