Transpose(a)*(b-xa) is a dot product because well you can clearly see Transpose(a) is a vector but what about this expression (b-xa)?! well (b-xa) is a vector because we know that (b) is the vector we also know (a) is vector and (x) is a scalar hence vector-scalar*vector=vector####[]