a=var('a')
b=matrix([[a,2,3],[a,a,4],[a,a,a]])
print b
b.det()
solve(b.det(),a)