# Finding the domain and range of the a Relation

i have this question

Let $A=\{1,2,3,4\}$, $B=\{1,4,6,8,9\}$ and $aRb \iff b=a^2$. Find the domain, range of the relation $R$.

My answer is Domain=(1,2,3) Range=(1,4,9).Is this correct?

• Yes it is; $Dom(R) = \{ x : \exists y (xRy) \}$ and $Ran(R) = \{ y : \exists x (xRy) \}$. – Mauro ALLEGRANZA Sep 22 '15 at 12:52
• @MauroALLEGRANZA Thanks – techno Sep 22 '15 at 16:19