I know for norm one vector $x$ should be a basis vector. Where one is in the column of matrix $A$.
and for infinity norm $x$ should have elements $-1$ for negative values of the maximum row and $+1$ for positive values of matrix $A$.
Now I am trying to figure out how can I maximize it for norm 2. I think it is related to the eigenvalues of (AT.A), however, I don't know where to start.
An (apparently) different approach using Lagrange multipliers:
To maximize $\|Ax\|^2=\sum_j\left(\sum_i a_{ij}x_i\right)^2$ subject to the constraint $\sum_jx_j^2=1$, one can introduce a Lagrange multiplier $\lambda$ and differentiate:
$$\frac{\partial}{\partial x_k}\sum_j\left(\sum_i a_{ij}x_i\right)^2=\lambda\frac{\partial}{\partial x_k}\sum_jx_j^2$$
$$\sum_ja_{kj}\sum_ia_{ij}x_i = \lambda x_k$$ which is the same as $A^TAx=\lambda x$. So $x$ needs to be an eigenvector of $A^TA$; since $\sum_j(\sum_ia_{ij}x_i)^2=\|Ax\|^2=\lambda^2\|x\|^2=\lambda^2$ we need to pick that eigenvector with largest eigenvalue.