I am trying to self learn the Power Iteration algorithm for computing the largest eigen vector and eigen value.
I understood that the algorithm works as follows. Assume we are trying to find the largest eigen vector of matrix $A$ of dimention $M\times M$. Then
1- We pick any initial vector ${\bf u^{(0)}}$ of dimension $M\times 1$ then
for $ 1 \leq s \leq N$
2- Find the vector which is the product of ${\bf z}^{(s)}= A {\bf u}^{(s-1)}$
3- extract the element of ${\bf z}$ having the largest amplitude --> $$m^{(s)}= argmax \,\, |z_i^{(s)}|$$
4- then we have that $u^{(s)}=\frac{{\bf z^{(s)}}}{m^{s}}$
I am having hard time understanding why step 3 is needed. Any general intuition on this method will help.
Thanks