Prove that if $A$ is a self adjoint operator in vector space $V$, then $\text{im}(A) = \text{ker}^{\perp}(A)$.
My approach:
By spectral theorem, $A$ is diagonalizable, hence, it's matrix in it's eigenvector basis $\beta$ is going to be $$ \begin{pmatrix} \lambda_1 & 0 & 0 \\ 0 & \ddots & 0 \\ 0 & 0 & \lambda_n \end{pmatrix} $$ and by that matrix we can conclude that the vector $\vec{w} \in V $ such that $w = 0$ is the only vector in $\text{ker}(A)$. $$ \text{ker}(A) = \left\{ \vec{w} \right\} = \left\{ \vec{0} \right\} $$ By our conclusion, we can affirm that for any $\vec{u} \in V$ such that $\vec{u} \neq 0 $ is going to be orthogonal to $\text{ker}(A)$: $$ <\vec{u}, \vec{0}> = 0 $$ Then, we can affirm that all $\vec{z} \in \text{im}(A)$ is going to be represented by some linear combination of the vectors in $\beta$. But we can affirm the same for any vector $\vec{u} \in V$. Since $\vec{u}\perp\text{ker}(A)$ and it's decomposed in the same basis $\beta$, we can conclude that the set of all possible $\vec{u}$'s = $im(A)$
I'm really new into proofs in math, that's why I'm writing more than trying to prove it with math. But I think that my line of thoughts is ok. Can someone please check if that's a valid proof? Thanks.