In my maths classes in school we have said that if a matrix has two equal rows then it has no inverse.
I can see this by calculating that the determinant of any $3 \times 3$ matrix with two equal rows is always $0$.
I would like to know how if you have some $3 \times 3$ matrix with two equal rows, you can prove that the columns are linearly dependent, and that the matrix therefore has no inverse. I am going off the definition of linear independence being that you cannot have a linear combination that equals the zero vector.
PS. I am a total beginner to linear algebra so I may have completely messed up some simple stuff in the question.
So if a function is not injective it is not invertible. Create the function $f(x)=Ax$ with $A$ and $n \times n$ matrix and $x$ a vector in $\mathbb{R}^n$. By the definition of linear dependence we know that there exists some vectors $x_0 \neq 0$ so that $Ax_0=0$ since one row is a linear combination of the other. However $A0=0$ as well so we have $f(x_0)=f(0)$ and since $x_0 \neq 0$ we know $f(x)$ cannot be injective, and so is not invertible.