2018 AIME II 第 10 题

先试着解答 2018 AIME II 第 10 题,然后核对你的答案与精心整理的解答,解答来自 LIVE by Po-Shen Loh。你也可以参加完整限时模拟考试、查看全部 2018 AIME II 解答,或核对答案

所有题目均经美国数学协会(MAA)官方合法授权使用。

10.

求满足以下条件的函数 f(x)f(x) 的个数:f 从 {1,2,3,4,5}\{1, 2, 3, 4, 5\} 映到 {1,2,3,4,5}\{1, 2, 3, 4, 5\},并且对 {1,2,3,4,5}\{1, 2, 3, 4, 5\} 中所有 xx 都有 f(f(x))=f(f(f(x)))f(f(x)) = f(f(f(x)))

Find the number of functions f(x)f(x) from {1,2,3,4,5}\{1, 2, 3, 4, 5\} to {1,2,3,4,5}\{1, 2, 3, 4, 5\} that satisfy f(f(x))=f(f(f(x)))f(f(x)) = f(f(f(x))) for all xx in {1,2,3,4,5}.\{1, 2, 3, 4, 5\}.

答案:756
知识点:函数组合分类讨论
难度评级:3060
解答:

f(f(x))=f(f(f(x)))f(f(x)) = f(f(f(x))) 反复应用 ff 可知,该条件等价于对每个 xxf(f(x))f(f(x)) 都是 ff 的不动点。因此元素分层排列:先是一个非空的 ii 个不动点集合,然后是 jj 个映到不动点、但本身不是不动点的元素,剩下的 5ij5 - i - j 个元素每个都必须映到这 jj 个中间层元素之一。

对给定的 iijj(5i)\binom{5}{i} 种方式选不动点,(5ij)\binom{5-i}{j} 种方式选中间层,iji^j 种方式把中间层映到不动点,剩余元素有 j5ijj^{\,5-i-j} 种映法。对所有有效的 i1i \ge 1j1j \ge 1, 加总,并另加恒等函数情形 i=5i = 5,得 (5i)(5ij)ijj5ij\binom{5}{i}\binom{5-i}{j}\, i^j \, j^{\,5-i-j} 20+120+60+5+60+240+80+60+90+20+1=756. \begin{aligned} &20 + 120 + 60 + 5 \\ &\quad {}+ 60 + 240 + 80 \\ &\quad {}+ 60 + 90 + 20 + 1 = 756. \end{aligned}

Applying ff to f(f(x))=f(f(f(x)))f(f(x)) = f(f(f(x))) repeatedly shows the condition means that f(f(x))f(f(x)) is a fixed point of ff for every x.x. So the elements organize into levels: a nonempty set of ii fixed points, then jj elements whose image is a fixed point (but which are not fixed), and the remaining 5ij5 - i - j elements, each of which must map to one of the jj middle elements.

For given ii and jj there are (5i)\binom{5}{i} choices of fixed points, (5ij)\binom{5-i}{j} choices of the middle level, iji^j maps from the middle level to the fixed points, and j5ijj^{\,5-i-j} maps for the rest. Summing (5i)(5ij)ijj5ij\binom{5}{i}\binom{5-i}{j}\, i^j \, j^{\,5-i-j} over the valid pairs (all i1,i \ge 1, j1,j \ge 1, plus the identity case i=5i = 5) gives 20+120+60+5+60+240+80+60+90+20+1=756. \begin{aligned} &20 + 120 + 60 + 5 \\ &\quad {}+ 60 + 240 + 80 \\ &\quad {}+ 60 + 90 + 20 + 1 = 756. \end{aligned}

← 第 9 题#9
完整试卷

其他年份的第 10 题