A function \(f : A\rightarrow B\) defined as \( f(x) = 2x\) is both one-one and onto. If \(A=\{1, 2, 3, 4\}.\) then find the set \(B.\)
CBSE Class 12 Maths · Relations and Functions
CBSE Class 12 Maths · Relations and Functions
Imagine a machine that doubles every number you put in. You feed it the numbers 1, 2, 3, and 4 one at a time. Out come 2, 4, 6, and 8. Since every number that comes out must land somewhere, the set \( B \) is exactly those output numbers. Nothing is missing and nothing extra is added. So \( B \) collects all the doubled values.
Answer: \( B = \{2, 4, 6, 8\} \)
A function \( f : A \rightarrow B \) assigns to every element of the domain \( A \) exactly one element of the codomain \( B \). The set of all actual output values is called the range. A function is called one-one (injective) when different inputs give different outputs, and onto (surjective) when every element of \( B \) is an image of some element of \( A \), which means the range equals the codomain \( B \). So when a function is onto, the set \( B \) is exactly the set of all values \( f(x) \) obtained from the elements of \( A \). Here the rule is \( f(x) = 2x \), so we simply substitute each element of \( A \) to build \( B \).
\( f(x) = 2x \), and for an onto function, \( B = \{ f(x) : x \in A \} \) (range = codomain).
\( B = \{2, 4, 6, 8\} \)
A common mistake is to think \( B \) can be any larger set like \( \{2, 4, 6, 8, 10\} \). But if \( B \) contains an element with no pre-image (such as 10), then \( f \) would not be onto. For onto functions, \( B \) must be exactly the range.
\( B = \{2, 4, 6, 8\} \)
One common mistake: Students sometimes try to guess B or leave B as a superset of the range (for example, \( B = \\{1, 2, 3, 4, 6, 8\\} \)) without applying the onto condition, which strictly requires that every element of B is an image of some element in A.
Answer: \( B = \{2, 4, 6, 8\} \)
Question: A function \( f : A \to B \) is defined as \( f(x) = 3x - 1 \). The function is both one-one and onto. If \( A = \{1, 2, 3, 4, 5\} \), find the set \( B \).
Solution: Since f is onto, the codomain B equals the range of f, that is, B = { f(a) : a ∈ A }. We evaluate f at each element of A: For \( x = 1 \): \[ f(1) = 3(1) - 1 = 2 \] For \( x = 2 \): \[ f(2) = 3(2) - 1 = 5 \] For \( x = 3 \): \[ f(3) = 3(3) - 1 = 8 \] For \( x = 4 \): \[ f(4) = 3(4) - 1 = 11 \] For \( x = 5 \): \[ f(5) = 3(5) - 1 = 14 \] All five outputs are distinct, confirming f is one-one. Since f is onto, B must equal the range of f. Therefore: \[ B = \{2, 5, 8, 11, 14\} \]
Answer: \( B = \{2, 5, 8, 11, 14\} \)
Question: A function \( f : A \to B \) defined by \( f(x) = x^2 + 1 \) is both one-one and onto. If \( A = \{-2, 0, 1, 3\} \), find the set \( B \).
Solution: Since f is onto, the codomain B equals the range of f, that is, B = { f(a) : a ∈ A }. We evaluate f at each element of A: For \( x = -2 \): \[ f(-2) = (-2)^2 + 1 = 4 + 1 = 5 \] For \( x = 0 \): \[ f(0) = (0)^2 + 1 = 0 + 1 = 1 \] For \( x = 1 \): \[ f(1) = (1)^2 + 1 = 1 + 1 = 2 \] For \( x = 3 \): \[ f(3) = (3)^2 + 1 = 9 + 1 = 10 \] All four outputs are distinct, confirming f is one-one on this domain. Since f is onto, B must equal the range of f. Therefore: \[ B = \{1, 2, 5, 10\} \]
Answer: \( B = \{1, 2, 5, 10\} \)
Question: A function \( f : A \to B \) defined as \( f(x) = 3x - 1 \) is both one-one and onto. If \( A = \{1, 2, 3, 4\} \), find the set \( B \). Also verify that \( f \) is one-one.
Answer: \( B = \{2, 5, 8, 11\} \)