When should we *not* use Gaussian elimination to find Eigen vectors?

This is a matrix, A, I came across while studying eigenvectors from here.

\begin{bmatrix} 1 & 2 \\ 2 & 4 \\ \end{bmatrix}

where $AX=0$

I tried solving by using Gaussian elimination as suggested here. But I kept getting $y = 0, z = 0$. So then I solved it by just finding the ratio as shown here. Which gave me the correct answer of $y = 2 , z = -1$.

I understood that Gaussian failed because row transformations do not preserve Eigen values/vectors. But I'm confused as to when we can apply it and when we can't.

I'm a newbie to linear algebra, so it is possible my understanding is wrong.

Edit : This(image) is where I actually got confused. When I tried to find the Eigen vectors using Gaussian elimination, I kept getting $y = 0, z = 0$. Whereas by the ratio method I got the correct values.

And that's why I was wondering why Gaussian elimination didn't work here and how to know when to not apply it.

• Gaussian elimination can find solutions to linear systems, but by itself it doesn't find eigenvectors. The closest we can come is when a matrix is singular (like yours), and a nonzero solution to the homogeneous linear system for that matrix is an eigenvector corresponding to the zero eigenvalue. Your matrix has eigenvalues $0$ and $5$. May 13, 2018 at 19:35
• Solutions to linear equations is rarely the same as solving polynomials such as the characteristic equation. This may merely be coincidence caused by the law of small numbers. en.wikipedia.org/wiki/Strong_Law_of_Small_Numbers May 13, 2018 at 19:39
• @CyclotomicField The OP was to find eigenvectors, not eigenvalues. May 13, 2018 at 19:42
• @hardmath 's answer can be generalised to any eigenvalue, other than that I can see no way to use Gaussian elimination in this context. May 13, 2018 at 20:30
• Guassian elimination should not leave you only with the solution 0,0. If you post your elimination work/thoughts someone might be able to explain what you were doing/thinking wrong. It seems like your issue may be with Gaussian elimination on underdetermined systems, which is broader than finding eigenvectors. May 14, 2018 at 14:02

If you know what the eigenvalues are, for instance by finding the roots of the characteristic polynomial, then you can apply Gaussian elimination to find solutions to the system $$(M-\lambda \operatorname{Id})X=0$$ where $\lambda$ is one of your eigenvalues and $X$ is an unknown eigenvector associated with it.
• I suspect the OP made a mistake in applying Gaussian elimination to the system $Ax = 0$ mentioned in the Question, or did not appreciate the outcome in providing nontrivial solutions to that homogeneous problem. So it's a bit hard to know what advice is needed, with no evidence of what mistake or what misunderstanding occurred. May 13, 2018 at 21:07