v1=vector([1, 1, 3,-1])
v2=vector([0, 2, 1,1 ])
v3=vector([0, -1, 0, 1])
v4=vector([1,2,-1,-2])
A=column_matrix([v1, v2, v3,v4]) # Generating the matrix with
# v1, v2, v3, v4 as its columns in that order
print A.det()
print
V=RR^4
S=[v1, v2, v3,v4]
V.linear_dependence(S) # Check if they are independent