The following URL links to the background of the problem, originally posted by Suzuki Kantaro on his Youtube Channel
In[]:=
SystemOpen["https://youtu.be/tKq3I4IakvA"]
I will present the visual solution (one shot death blow) to the problem first and then explain the observation with some algebra. ComplexPlot was introduced to Mathematica in V12.0 and is updated in V12.1 with a very useful syntax sugar. It is a very powerful tool to understand the topology of holomorphic and meromorphic function over complex plane.
One Line Solution
Just take a look at the equation itself, we can conclude that the norm of the
z
cannot be too large. Otherwise the norm of
3
z
would grow much faster than the linear multiplication of the norm of
z
, which can also be verified with basic calculus. We may roughly guess that a rectangular region with side less than 2 and centered at origin encloses all possible solutions for
The plot on the right hand side in our graphics row is the same as the left one with additional shading. The darker a region is covered, the smaller the norm of the complex number in that particular region.
If you take a look at the plot on the left, there are some tiny dark dots on the plane with which rainbow of colors surrounds. Let’s do a quick count and we shall have 9 such points, as shown below
Notice that points 1, 2 and 5 lie on horizontal line with
Im[z]=0
or on real number line, we have to drop them according to the domain specified in the equation. Thus the number of valid solutions is simply
In[]:=
9-3//Framed
Out[]=
6
To obtain the precise location, symbolically Reduce the equation and overlay the dots onto our previous diagram with ComplexListPlot. These roots perfectly matches our observation in the last plot.
There are many functions you can insert into ComplexPlot. But for function with finite number of zeros or poles, you only need to understand the following five plots and basic modulo arithmetic. Then you can easily generalize the following examples to higher order cases.
. The color at that spot is green. Referring to plot 1, green is close to pointing upward which is 90 degree. This result matches the plot right above. We notice the direction of color sweeping sequence is the same as plot 1 and each color occurs exactly twice. We can easily extend the argument to power of three: