How can I prove the following :
1) Let C be a binary linear code in a binary vector space V. Let v be a vector not in C and consider the coset v+C. Show v+C is not a linear code.
2) suppose C is a linear code and that v+C is a coset of C. Suppose a and b are members of v+C. Prove a-b is a member of C.
What I know :
1) A coset of C is x + C = {x + y | y ∈ C}.
2) A linear code is a subspace of V(n, q) which is a union of disjoint cosets of C;
3) A linear code C is a code for which whenever x,y is in C then ax+by is in C for all a,b in Fq , that is C is a linear subspace of (Fq)^n
I understand that I would have to piece together the above three statements to prove both questions.
Any help or guidance is much appreciated.
For 1, ask yourself: can $0$ be in $v + V$, if $v \notin V$?
For 2, write $a = v + v_1$ for some $v_1 \in V$. Also $b = v + v_2$ for some $v_2 \in V$. Now what is $a - b$?