var('y')
A= matrix([[3,-2],[6,-4]])
#B= matrix([[b1],[b2]])
B= det(A)
if B==0 :
    print "ratio equivalence of b1/b2 with A[0][0]/A[1][0] == A[0][1]/A[1][1] will ensure that the system will have equations and in this case we can have only one possibility of having infinite solutions."
    
    

Strang-1.3-7-U (last edited 2010-12-18 11:02:00 by AmitTewari)