It looks like you have three dimensions. x1, x2, and x4. These three vectors form the basis of the solution of this system of equations, thus making the answer dim = 3. The other two are linear combinations of the three vectors you have. And also, I believe this question is more appropriately placed in the "Linear Algebra" section . Hope that helps!