Question: how to determine if a vector is a linear combination of other vectors?
Answer: Set up the augmented matrix. [→v1→v2⋯→vp→u] and row reduce it. Use the reduced form of the matrix to determine if the augmented matrix represents a consistent system of equations. If so, then →u is a linear combination of the others. Otherwise, it is not.