Question
Let $A$ and $B$ be affine subspaces of a Euclidean vector space $E$. The intersection of two affine subspaces is an affine subspace. But, how do I calculate the affine subspace $A\cap B$?
What I got so far
As far as I understand I can say that an affine space is the image of the function
$$f(x) = M \cdot (x - v)$$
for all $x\in E$ with $v\in E$ and $M$ being a matrix of size $(m\ \times\ n)$, where $m$ is the dimension of the affine space and $n$ the dimension of $E$.
So I was thinking, that I could write
$$ M_A \cdot (x - v_A) \overset!= M_B \cdot (x - v_B) \\ M_A \cdot x - M_A \cdot v_A = M_B \cdot x - M_B \cdot v_B \\ (M_A - M_B) \cdot x = M_A \cdot v_A - M_B \cdot v_B \\ (M_A - M_B)^T \cdot (M_A - M_B) \cdot x = (M_A - M_B)^T \cdot (M_A \cdot v_A - M_B \cdot v_B) \\ x = ((M_A - M_B)^T \cdot (M_A - M_B) )^{-1} \cdot (M_A - M_B)^T \cdot (M_A \cdot v_A - M_B \cdot v_B) \\ $$
and this would give me all (?) the elements in $E$ that belong to $A\cap B$. But wouldn't that be only one element? How do I calculate the other ones? Where did my train of thought go wrong?