Let A={1,2,...,14}. Define R from A to A by R={(x,y): 3x-y=0, x,y in A}. Write down its domain, codomain and range.
Hint. 3x-y=0 means y=3x -- find every x in A for which 3x also lands inside A.
y=3x, and y must also be in A (so y<=14), which restricts x to 1,2,3,4 (since 3x5=15 is already too large). This gives the pairs (1,3),(2,6),(3,9),(4,12).
✦ Working through each part gives: r={(1,3),(2,6),(3,9),(4,12)}. Domain={1,2,3,4}. Codomain=A={1,...,14}. Range={3,6,9,12}.
