Skip to content
Worked Examples · Example 7

Q.Let A={1,2,3,4,5,6}A = \{1, 2, 3, 4, 5, 6\}. Define a relation RR from AA to AA by R={(x,y):y=x+1}R = \{(x, y) : y = x + 1\}.

(i) Depict this relation using an arrow diagram.
(ii) Write down the domain, codomain and range of RR.
Puducherry CbseNCERTSubjective· 3mImportance★★★★★est
26% · 26/100 Questions
✓ Free question

The relation RR pairs each element xx in AA with y=x+1y = x+1, so only pairs where both numbers are in AA are included. The arrow diagram shows arrows from 1→21\to2, 2→32\to3, 3→43\to4, 4→54\to5, 5→65\to6; domain = {1,2,3,4,5}\{1,2,3,4,5\}, codomain = AA, range = {2,3,4,5,6}\{2,3,4,5,6\}.


Why an arrow diagram? The core idea

A relation from set AA to set AA is just a collection of ordered pairs (x,y)(x, y). The rule here is y=x+1y = x + 1. That means: take any xx from AA, add 1, and if the result is also in AA, then that pair belongs to RR. If the result falls outside AA, we simply skip it — the relation only contains pairs that actually exist.

An arrow diagram is the most visual way to show this: draw two copies of AA (left side for inputs, right side for outputs), and draw an arrow from each xx to its corresponding yy. It makes the domain, codomain, and range instantly clear.


Step-by-step solution

1. List all possible pairs from the rule

Take each x∈A={1,2,3,4,5,6}x \in A = \{1,2,3,4,5,6\} and compute y=x+1y = x+1:

  • x=1⇒y=2x = 1 \Rightarrow y = 2 → (1,2)(1,2) is in RR
  • x=2⇒y=3x = 2 \Rightarrow y = 3 → (2,3)(2,3)
  • x=3⇒y=4x = 3 \Rightarrow y = 4 → (3,4)(3,4)
  • x=4⇒y=5x = 4 \Rightarrow y = 5 → (4,5)(4,5)
  • x=5⇒y=6x = 5 \Rightarrow y = 6 → (5,6)(5,6)
  • x=6⇒y=7x = 6 \Rightarrow y = 7 → 7∉A7 \notin A, so this pair is not in RR

So R={(1,2),(2,3),(3,4),(4,5),(5,6)}R = \{(1,2), (2,3), (3,4), (4,5), (5,6)\}.

Watch out

A common mistake is to include (6,7)(6,7) because the rule says y=x+1y = x+1. But a relation from AA to AA requires both coordinates to belong to AA. Since 7∉A7 \notin A, (6,7)(6,7) is not part of RR.

2. Draw the arrow diagram

Place the elements of AA in two vertical (or horizontal) lists. Draw an arrow from each xx on the left to its yy on the right:

Arrow diagram of the relation R (y = x + 1) from A = {1,2,3,4,5,6} to A: arrows 1→2, 2→3, 3→4, 4→5, 5→6, with element 6 on the left having no outgoing arrow and element 1 on the right having no incoming arrow.
Arrow diagram of the relation R (y = x + 1) from A = {1,2,3,4,5,6} to A: arrows 1→2, 2→3, 3→4, 4→5, 5→6, with element 6 on the left having no outgoing arrow and element 1 on the right having no incoming arrow.

Notice that 66 on the left has no outgoing arrow, and 11 on the right has no incoming arrow. This is perfectly fine — not every element of the domain needs to be used, and not every element of the codomain needs to be hit.

3. Identify domain, codomain, and range

  • Domain: the set of all first coordinates (inputs that actually appear in RR).

    From the pairs: {1,2,3,4,5}\{1,2,3,4,5\}.

    (Note: 66 is in AA but never appears as a first coordinate in RR, so it is not in the domain.)

  • Codomain: the set AA itself — it is given as the target set in the definition “relation from AA to AA”. So codomain = {1,2,3,4,5,6}\{1,2,3,4,5,6\}.

  • Range: the set of all second coordinates (outputs that actually appear in RR).

    From the pairs: {2,3,4,5,6}\{2,3,4,5,6\}.

    (Note: 11 is in the codomain but never appears as a second coordinate, so it is not in the range.)

Tip

Domain and range are actual sets of elements that occur in the relation. Codomain is the promised set of possible outputs — it can be larger than the range. Here, codomain has 6 elements, range has 5.


✓Final answer

The arrow diagram shows arrows from 1→21\to2, 2→32\to3, 3→43\to4, 4→54\to5, 5→65\to6; domain = {1,2,3,4,5}\{1,2,3,4,5\}, codomain = {1,2,3,4,5,6}\{1,2,3,4,5,6\}, range = {2,3,4,5,6}\{2,3,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.