Let $f: \mathbb{Q} \to \mathbb{Q}$ be defined by $f(x) = 3x - 1$.
(a) Find a binary operation $\ast$ on $\mathbb{Q}$ such that $f:(\mathbb{Q},+) \to (\mathbb{Q},\ast)$ is an isomorphism.
Here's my work. Is it correct?
Since $f(x)$ is bijective, we just need to find a binary operation $\ast$ such that $f: (\mathbb{Q},+) \to (\mathbb{Q},\ast)$ is a homomorphism.
Define $\ast:\mathbb{Q} \times \mathbb{Q} \to \mathbb{Q}$ as $(a,b) \mapsto a + b + 1$. Then $$ \begin{align} f(a + b) = 3(a+b)-1 &= 3a + 3b - 1 \\&=3a + 3b -2 + 1\\&=(3a-1)+(3b-1) + 1\\&=(3a-1) \ast (3b -1)\\&=f(a) \ast f(b). \end{align}$$ Since $f: (\mathbb{Q},+) \to (\mathbb{Q},\ast)$ satisfies $f(a + b) = f(a) \ast f(b)$ for all $a,b \in \mathbb{Q}$ we have $(\mathbb{Q},+) \cong (\mathbb{Q},\ast)$ on $\ast$.
(b) Find a binary operation $\ast$ such that $f:(\mathbb{Q},\ast) \to (\mathbb{Q},+)$ is an isomorphism.
Define $\ast$ by $(a,b) \mapsto a + b - \frac{1}{3}$. Then $$\begin{align} f(a \ast b) = 3(a + b - \frac{1}{3}) - 1 &= 3a + 3b - 2 \\&= (3a - 1) + (3b - 1) \\&=f(a)+f(b). \end{align}$$ Since for $f:(\mathbb{Q},\ast) \to (\mathbb{Q},+)$ we have $f(a \ast b) = f(a) + f(b)$ for all $a,b \in \mathbb{Q}$ it follows that $(\mathbb{Q}, \ast) \cong (\mathbb{Q},+)$ on $\ast$.