here is what i want to do.
I have 4 vectors (in $\mathbb{Z}^{12}_{2}$), lets say
$v_1 = (1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0)$
$v_2 = (1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0)$
$v_3 = (1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0)$
$v_4 = (1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)$
These vectors are supposed to build a 4-dimensional vector subspace of $\mathbb{Z}^{12}_{2}$. For that to be the case they have to be linearly independent.
Now i want to check if they are. I could do that with a system of linear equations but accordung to my script i should: "[...] compute all 16 linear combinations in $\mathbb{Z}_{2}$ and check if any of them occur twice. If so, $v_1,v_2,v_3,v_4$" are not linearly independent."
I thought about that for over an hour now and i dont really get what i am supposed to do and whyit is correct. Would really appreciate some help.
Compute all the $16$ possibilities, if two of them happen to be equal, then you can set them equal, subtract one from the other one and find a new linear combination that has a non-zero coefficient.
In other words, write all linear combinations of the form
$$f(\alpha_1,\alpha_2,\alpha_3,\alpha_4)= \alpha_1 v_1 + \alpha_2 v_2 + \alpha_3 v_3 + \alpha_4 v_4$$
You have $2^4$ inputs.
If $v_1,v_2,v_3,v_4$are linearly independent, then each of the vectors $f(\alpha_1,\alpha_2,\alpha_3,\alpha_4)$ must be different, because if not, we find two different representations for the same vector in the space which violates linear independence. (Remember: Linear independence gives you the ability to write vectors in its span "uniquely").