A function $f$ is defined on the complex numbers by $$f(z) = (a + bi)z,$$where $a$ and $b$ are positive real numbers. This function has the property that the image of each point in the complex plane is equidistant from that point and the origin. Given that $$|a + bi| = 3,$$find $a$ and $b.$
So I've been trying to solve this and came up with this: The distance between $(a+bi)z$ and $z$ is $|(a+bi)z-z| = |(a+bi-1)z| = |(a+bi-1)|*|z|$. The distance between $(a+bi)z$ and the origin is simply $|(a+bi)z|$, but since $|a+bi| = 3$, $|(a+bi)z| = 3|z| = 3\sqrt{z\overline{z}}$. The function is said to have the property that thre image of each point in the complex plane is equidistant from that point and the origin. Therefore, $3|z| = |(a+bi-1)|*|z|$. Cancelling $|z|$ from both sides, $|a+bi-1| = 3$. Therefore, $a+bi-1 = 3$ or $a+bi-1 = -3$. The first case gives that $(a,b) = (4,0)$ while the latter case gives that $(a,b) = (-2,0)$.
But I realised that a and b must both be positive, rendering both my 'solution points' invalid. Where did I go wrong?