#for making the set of equations a singular system-
var('b')
A=matrix([[2,b],[4,8]])
b=A[0][0]*A[1][1]/A[1,0]
show(b)

#for the system to have solns.
g=16*A[1][0]/A[0][0]
show(g)

#the solns for the infinite case is-
x, y = var('x, y')
solve([2*x+4*y==16, 
       4*x+8*y==32
       ], x, y)

Strang-1.3-3-U (last edited 2010-12-18 12:24:41 by Jrachit)