First time here? Check out the FAQ!
answered 2 years ago
Determinant of the matrix formed by the given vectors must be zero, which gives an algebraic equation for a:
a
R.<a> = PolynomialRing(QQ) v1=[1,1,3] v2=[1,0,-2] v3=[a,3,3] eq = Matrix([v1,v2,v3]).det() print(eq.roots(multiplicities=False))