The rank of a matrix A is the dimension of the vector space generated by its columns. It shows the dependent and independent column of matrix A.
Suppose I have a nxn matrix A with rank n/2. As a specific example, let A =[3 1 3 1;1 4 1 4;3 1 3 1;1 4 1 4] with the two eigenvalues 4.7639, 9.23361 and the other two zero. Matrix A is 4x4 but its rank is 2. In other words, matrix A is actually 2D but it is represented in 4D.
My question is how to get actual 2D representation of matrix A (Eigenvalue in 2D and 4D should be same)? Since matrix A consist of four similar 2x2 matrices, can I take the 2x2 matrix as its representation in 2D(This matrix has eigenvalue half that of matrix A)? Or I have to do projection or something? Please help!
The columns of the matrix in your example (because 2 eigenvalues are zero) form a 2 dimensional subspace of $\mathbb{R}^4$. This does not have anything to do with $\mathbb{R}^2$.
Consider e.g.
$$A = \begin{bmatrix}1&0&0&0\\2&1&0&0\\4&5&0&0\\5&6&0&0\end{bmatrix}$$
Then $rank\, A = 2$. The columns of $A$ form a 2 dimensional subspace of $\mathbb{R}^4$, that is $$U = span\,\{\begin{bmatrix}1\\2\\4\\5\end{bmatrix},\begin{bmatrix}0\\1\\5\\6\end{bmatrix}\} \subset \mathbb{R}^4$$
However, this has no direct connection to $\mathbb{R}^2$ (you can imagine $U$ as a plane in 4-dimensional space).
However in your case, If the matrix you call "2D representation of $A$" should just have the same eigenvalues as $A$, you can just take $$\begin{bmatrix}\lambda_1&0\\0&\lambda_2\end{bmatrix}$$ where $\lambda_1,\lambda_2$ are the eigenvalues of A