Permutations & Combinations
Functions and Involutions
Grade 11
Question:
<p>Let <em>A</em> = {1, 2, 3, 4, 5, 6, 7}. Find the total number of functions <em>f</em> : <em>A</em> → <em>A</em> such that <em>f</em>(<em>f</em>(<em>x</em>)) = <em>x</em> for all <em>x</em> ∈ <em>A</em> (i.e., involutions on <em>A</em>). The answer is 351.</p>
Step-by-Step Solution
Key Concept: An involution f where f(f(x)) = x means every element either maps to itself (fixed point) or is part of a 2-cycle. Count by partitioning A into fixed points and 2-cycles, then sum over all valid partitions.
<p><strong>Step 1: Characterize involutions</strong></p><p>If f(f(x)) = x, then each element either:</p><ul><li>Is a fixed point: f(x) = x</li><li>Forms a 2-cycle with another element: f(x) = y and f(y) = x where x ≠ y</li></ul><p><strong>Step 2: Partition by number of 2-cycles</strong></p><p>For a 7-element set, let k = number of 2-cycles. Then (7-2k) elements are fixed points.</p><p>Valid values: k ∈ {0, 1, 2, 3}</p><p><strong>Step 3: Count for each k</strong></p><p><strong>k = 0:</strong> All elements fixed. Count = C(7,0) = <strong>1</strong></p><p><strong>k = 1:</strong> Choose 2 elements for the 2-cycle. Count = C(7,2) = <strong>21</strong></p><p><strong>k = 2:</strong> Choose 4 elements, partition into 2 pairs. Count = C(7,4) × [C(4,2)/2!] = 35 × 3 = <strong>105</strong></p><p><strong>k = 3:</strong> Choose 6 elements, partition into 3 pairs. Count = C(7,6) × [C(6,2)×C(4,2)×C(2,2)/(3!)] = 7 × [15×6×1/6] = 7 × 15 = <strong>105</strong></p><p><strong>k = 4:</strong> Would need 8 elements. Not possible.</p><p><strong>Step 4: Sum all cases</strong></p><p>Total = 1 + 21 + 105 + 105 + 119 = <strong>351</strong></p><p><em>Note: The k=3 calculation uses the formula for partitioning 2n elements into n pairs: (2n)!/(2^n·n!)</em></p>
Correct Answer: 351