I've got the following exercise: $A \in M(2 \times 2; \mathbb{R})$. Show that $$\text{rank}(A)= \begin{cases} 2, \ \ \ \ \ \ \text{if det(A) ≠ 0} \\ \leq 1, \ \ \text{if det(A) = 0} \end{cases}$$
I am not sure how to start this. I am grateful for every hint.
only just an HINT
rank(A) = #numer of linearly independent columns
thus
NOTE take a look at a good book on linear algebra