The line through the origin is , containing zero and closed under addition and scalar multiplication, so it is a vector subspace. If , then and for some real . Conversely that equality gives the same set after shifting the line parameter. Thus
Changing representatives to , changes their sum by and a scalar multiple by . The line classes therefore do not change, proving both operations well-defined. Associativity follows from . The zero vector of this quotient vector space is the entire line , because .
For a basis of , every vector is , so . If this combination equals , then ; independence of the three original basis vectors forces . Hence is a basis of the space of parallel lines as a quotient vector space.
For the specified direction, add to to obtain the representative . Thus its coordinates in the two standard line classes are . The two supplied image classes have coordinates and , while their input coordinates are and . If are the matrix columns, then and . Solving gives