Let S = {0,1,2,3,4} Let R be the binary relation on S such that aRb if and only if a+b=3 and a ≤ 3.

(a) Write this relation down as a subset of the Cartesian product S x S.

The answer to this was :

R = {0,3}{1,2}{2,1}{3,0}

.....0..1..2..3

0...0..0..0..1

1...0..0..1..0

2...0..1..0..0

3..1...0..0..0

This adjacency Matrix is correct ?