I have a set of 3 vectors in $\mathbb{R}^4$
$$v_1 = (1, 0, 1, 0)^T, v_2 = (2, h, 2, h)^T, v_3 = (1, 1+h, 1, 2h)^T$$
and I am to find the basis of the span of $v_1, v_2, v_3$
So far I have set it up in a matrix in the form of
$$\begin{bmatrix} 1 & 2 & 1 \\ 0 & h & 1 + h \\ 1 & 2 & 1 \\ 0 & h & 2h \end{bmatrix} $$
and through Gaussian elimination I have come to the result
$$\begin{bmatrix} 1 & 2 & 1 \\ 0 & h & 1 + h \\ 0 & 0 & h - 1 \\ 0 & 0 & 0 \end{bmatrix} $$
Leading me to think that the Basis for this span is the set of the vectors $v_1$ and $v_2$ because of the linear dependence. Have I made some mistake here or completely misunderstood what the basis is?
You have to consider the following cases