Literally the first homework question, and I seem to be struggling. There doesn't seem to be any examples in our book, so I'm hoping someone might help walk me through it. I'm guessing it's pretty simple too...
I'm not looking for the answer, I'd just like some pointers on what I need to do, and how I should go about enumerating the elements.
Enumerate the elements of the following relations from the set A of positive integers less than or equal to 10 to the set B of positive integers less than or equal to 30.
An element a of A is related to the element b of B if b = 3 × a
R=(1,3)(2,6)(3,9)(4,12)(5,15)(6,18)7,21)(8,24)(9,27)(10,30)
An element a of A is related to the element b of B if b = 2 × a - 1
R=(1,1)(2,3)(3,5)(4,7)(5,9)(6,11)(7,13)(8,15)(9,17)(10,19)
At first I thought I'd just have the two sets: A = {1,2 3 ,4 5 ... 10 } B = {1, 2, 3, 4, 5 ... 30 }
so would I just take a (lets say 1) and b (1 again) 1 = 3 * 1 (obviously false)? and continue on for each element in both sets? 3 = 3 * 1 (true)
It just seems a little tedious to go through all combinations to test.