Skip to content
Worked Examples · Example 1

Q.Given A={1,2,3}A=\{1,2,3\} and B={4,5,6}B=\{4,5,6\}, and the relation R={(1,4),(2,5),(3,6)}R=\{(1,4),(2,5),(3,6)\} from AA to BB, show that RR is a function and state its domain, codomain and range.

ChseodishaTextbookSubjectiveImportance★★★★★est
38% · 8/21 Questions
✓ Free question

R={(1,4),(2,5),(3,6)}R=\{(1,4),(2,5),(3,6)\} is a relation from A={1,2,3}A=\{1,2,3\} to B={4,5,6}B=\{4,5,6\}, since R⊆A×BR \subseteq A \times B.

To check whether RR is a function, we verify that every element of AA is paired with exactly one element of BB:

  • 11 is paired with 44 only.
  • 22 is paired with 55 only.
  • 33 is paired with 66 only.

Every element of AA appears exactly once as a first component of an ordered pair in RR — no element of AA is missing, and no element of AA is repeated with two different images. This satisfies the definition of a function, so RR is indeed a function from AA to BB, and we may write f:A→Bf: A \to B with f(1)=4, f(2)=5, f(3)=6f(1)=4,\ f(2)=5,\ f(3)=6.

  • Domain =A={1,2,3}= A = \{1,2,3\}, since every element of AA has an image.
  • Codomain =B={4,5,6}= B = \{4,5,6\}, the set the images are drawn from.
  • Range ={f(1),f(2),f(3)}={4,5,6}= \{f(1),f(2),f(3)\} = \{4,5,6\} — here the range happens to equal the codomain, so this particular function is also onto.
✓Final answer

RR is a function since each element of AA has exactly one image in BB; domain ={1,2,3}=\{1,2,3\}, codomain ={4,5,6}=\{4,5,6\}, range ={4,5,6}=\{4,5,6\}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.