Let the relation $R$ be defined on the set
Question:

Let the relation $R$ be defined on the set $A=\{1,2,3,4,5\}$ by $R=\left\{(a, b):\left|a^{2}-b^{2}\right|<8\right\}$.Write as a set of ordered pairs.

Solution:

As, $R=\left\{(a, b):\left|a^{2}-b^{2}\right|<8\right\}$

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