SOLVER7 Study. Nothing Else.
2023 Board Paper Q21(a)

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

Solution

👶 Simple Explanation

Simple Explanation

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\} \)

📖 Finding Set B for an Onto Function

Detailed Explanation

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 \).

Formula Used

\( f(x) = 2x \), and for an onto function, \( B = \{ f(x) : x \in A \} \) (range = codomain).

Solution

  1. Step 1: Write down the domain. We are given \( A = \{1, 2, 3, 4\} \) and the rule \( f(x) = 2x \).
  2. Step 2: Compute the image of each element of \( A \) using \( f(x) = 2x \). \[ f(1) = 2(1) = 2 \] \[ f(2) = 2(2) = 4 \] \[ f(3) = 2(3) = 6 \] \[ f(4) = 2(4) = 8 \]
  3. Step 3: Collect all the images to form the range of the function. The range is \( \{2, 4, 6, 8\} \).
  4. Step 4: Use the onto property. Since \( f \) is onto, every element of \( B \) must be an image, so the codomain equals the range. Also since \( f \) is one-one, all four images are distinct, which is consistent here. Therefore \( B = \{2, 4, 6, 8\} \).

Final Answer

\( B = \{2, 4, 6, 8\} \)

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the domain and the function rule. We are given \( A = \\{1, 2, 3, 4\\} \) and \( f(x) = 2x \). — Reason: Before computing any outputs, we must clearly know which inputs we are working with and what operation is being applied.
  2. Step 2: Compute the image of \( x = 1 \): \[ f(1) = 2 \times 1 = 2 \] — Reason: We substitute each element of A one at a time into f(x) = 2x to find the corresponding output.
  3. Step 3: Compute the images of the remaining elements of A one by one. For \( x = 2 \): \[ f(2) = 2 \times 2 = 4 \] For \( x = 3 \): \[ f(3) = 2 \times 3 = 6 \] For \( x = 4 \): \[ f(4) = 2 \times 4 = 8 \] — Reason: Every element of the domain must be accounted for so that no output value is missed.
  4. Step 4: Collect all computed outputs to form the range of f. The range is \( \\{2, 4, 6, 8\\} \). Notice all four values are distinct, confirming f is also one-one. — Reason: Listing all outputs together gives us the set of values that f actually produces.
  5. Step 5: Apply the onto (surjective) condition. Since f is onto, no element of B can be left without a pre-image in A. This means the codomain B cannot contain any extra elements beyond what the function produces. Therefore B must equal the range exactly, giving \( B = \\{2, 4, 6, 8\\} \). — Reason: The definition of an onto function forces range = codomain, so we set B equal to the range we just computed.

Final Answer

\( B = \{2, 4, 6, 8\} \)

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \( A = \{1, 2, 3, 4\} \), \( f(x) = 2x \), \( f \) is one-one and onto.
  2. Step 2: Compute images: \( f(1) = 2 \), \( f(2) = 4 \), \( f(3) = 6 \), \( f(4) = 8 \).
  3. Step 3: Since \( f \) is onto, range \( = B \), so \( B = \{2, 4, 6, 8\} \).

Answer: \( B = \{2, 4, 6, 8\} \)

➕ More Examples

More Examples

Example 1

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\} \)

Example 2

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\} \)

🎯 Try a Similar Question

Try a Similar Question

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.

Solution

  1. Step 1: Understand the condition for an onto function: Since \( f \) is onto (surjective), every element of \( B \) must be the image of some element in \( A \). This means \( B \) is exactly the range of \( f \), i.e., \( B = \{ f(x) : x \in A \} \).
  2. Step 2: Apply f to each element of A: Compute \( f(x) = 3x - 1 \) for each \( x \in A = \{1, 2, 3, 4\} \). 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 \]
  3. Step 3: Write the set B: Since \( f \) is onto, \( B \) equals the range of \( f \). Therefore: \[ B = \{2, 5, 8, 11\} \]
  4. Step 4: Verify f is one-one (injective): A function is one-one if \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \). Suppose \( f(x_1) = f(x_2) \) for \( x_1, x_2 \in A \). Then: \[ 3x_1 - 1 = 3x_2 - 1 \] which gives \[ 3x_1 = 3x_2 \] and hence \[ x_1 = x_2 \] Since all four images \( \{2, 5, 8, 11\} \) are distinct, \( f \) is indeed one-one.

Answer: \( B = \{2, 5, 8, 11\} \)

Everything you get with Solver7

More questions in Relations and Functions