Relations & Functions
Functions
Grade 12
Question:
<p>Let <span style='font-style:italic;'>A</span> = {<span style='font-style:italic;'>a, b, c</span>} and <span style='font-style:italic;'>B</span> = {1, 2, 3, 4}. Then the number of elements in the set <span style='font-style:italic;'>C</span> = {<span style='font-style:italic;'>f</span> : <span style='font-style:italic;'>A</span> → <span style='font-style:italic;'>B</span> | 2 ∈ <span style='font-style:italic;'>f</span>(<span style='font-style:italic;'>A</span>) and <span style='font-style:italic;'>f</span> is not one-one}</p>
Step-by-Step Solution
Key Concept: We need to count functions f: A → B where 2 must be in the range f(A) AND f is not injective (not one-one). Use complementary counting: Total functions with 2 in range minus injective functions with 2 in range.
<p><strong>Step 1: Find total functions f: A → B with 2 ∈ f(A).</strong></p><p>Total functions from A to B = 4³ = 64.</p><p>Functions where 2 is NOT in the range = functions from A to {1,3,4} = 3³ = 27.</p><p>Functions where 2 IS in the range = 64 - 27 = 37.</p><p><strong>Step 2: Find injective (one-one) functions f: A → B with 2 ∈ f(A).</strong></p><p>Since |A| = 3 and |B| = 4, injective functions exist. Total injective functions = P(4,3) = 4!/(4-3)! = 4 × 3 × 2 = 24.</p><p>For injective functions with 2 ∈ f(A): 2 must be the image of exactly one element from A (say a₁), and the remaining 2 elements map injectively to 2 elements from {1,3,4}.</p><p>Choose which element of A maps to 2: 3 ways.</p><p>Choose 2 elements from {1,3,4} for remaining images: C(3,2) = 3 ways.</p><p>Arrange these 2 elements among remaining 2 elements of A: 2! = 2 ways.</p><p>Injective functions with 2 ∈ f(A) = 3 × 3 × 2 = 18.</p><p><strong>Step 3: Apply complementary counting for non-injective functions.</strong></p><p>Non-injective functions with 2 ∈ f(A) = (Functions with 2 ∈ f(A)) - (Injective functions with 2 ∈ f(A))</p><p>= 37 - 18 = 19.</p><p><strong>∴ Answer: 19</strong></p>
Correct Answer: 19