I'm looking to diagonalize a matrix A seen below. (Find a $P$ and a $D$ such that $AP = PD$). $$ \begin{bmatrix} 1 & 2 & 3 & 4 & 5 & 6 \\ 1 & 2 & 3 & 4 & 5 & 6 \\ 1 & 2 & 3 & 4 & 5 & 6 \\ 1 & 2 & 3 & 4 & 5 & 6 \\ 1 & 2 & 3 & 4 & 5 & 6 \\ 1 & 2 & 3 & 4 & 5 & 6 \\ \end{bmatrix} $$
It doesn't seem practical to use determinants in this matrix to find the eigenvalues. I do realize that with row reduction I can limit to the matrix:
$$ \begin{bmatrix} 1 & 2 & 3 & 4 & 5 & 6 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ \end{bmatrix} $$
And further realize that the following vector is in the column space of A.
$$ \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ \end{bmatrix} $$
By solving $Av_1=λv_1$ I get an eigenvalue of 21. But this is the only eigenvalue that I get and I believe it has a multiplicity of 1. Then is there a $λ=0$ with multiplicity 5? Further, how is it possible to find the matrix $P$ (specifically the eigenvectors that form a basis for the eigenspace associated with $λ=0$)?
We need to find the eigenvectors $\mathbf{x}$ such that: $A\mathbf{x} =\mathbf{0}.$ Because the system is homogeneous, we can use the row echelon form of $A$, thus we need to solve the sytem: $$ \begin{bmatrix} 1 & 2 & 3 & 4 & 5 & 6 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \\ x_3 \\ x_4 \\ x_5 \\x_ 6 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0\end{bmatrix},$$ Thus, we have the equation: $$x_1 + 2x_2 + 3x_3 + 4x_4 + 5x_5 + 6x_6 = 0,$$ which implies that we have $5$ free variables.
So, every eigenvector corresponding to the zero eigenvalue can be written in the form: $$x_2\cdot\begin{bmatrix} -2 \\ 1 \\ 0 \\ 0 \\0 \\0 \end{bmatrix} +x_3 \cdot \begin{bmatrix} -3 \\ 0 \\ 1 \\ 0 \\0 \\0 \end{bmatrix} +x_4\cdot \begin{bmatrix} -4 \\ 0 \\ 0 \\ 1 \\0 \\0 \end{bmatrix}+x_5\cdot\begin{bmatrix} -5 \\ 0 \\ 0 \\ 0 \\1 \\0 \end{bmatrix} +x_6\cdot \begin{bmatrix} -6 \\ 0 \\ 0 \\ 0 \\0 \\1 \end{bmatrix}.$$
The column vectors form an eigenbasis for the eigenspace that corresponds to the zero eigenvalue. So, we have the matrix $$P = \begin{bmatrix} 1 & -2 & -3 & -4 & -5 & -6\\ 1 & 1 & 0 & 0 & 0 & 0 \\ 1 & 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 1 & 0 & 0 \\ 1 & 0 & 0 & 0 & 1 & 0 \\ 1 & 0 & 0 & 0 & 0 & 1 \end{bmatrix}$$ and $D = \operatorname{diag}(21\quad 0\quad 0\quad 0\quad 0\quad 0 ).$
We can notice that matrix $A$ is a rank one matrix, so there is only one non-zero eigenvalue, which can be found by adding the diagonal elements of $A$.