||'''Book'''|| Linear Algebra || ||'''Author'''|| Gilbert Strang || ||'''Edition'''|| || /* code_begins */ {{{ x1=matrix([[1],[0]]) print "Given matrix x1=\n",x1 x2=matrix([[0],[1]]) print "Given matrix x2=\n",x2 var('a,b,c,d,e,f') A=matrix([[a,b],[c,d],[e,f]]) print "Let us assume matrix A be A=\n",A print "Given the value of matrix A*x1.Let R1=A*x1" R1=A*x1 print "R1=\n",R1 R1=matrix([[2],[3],[4]]) print "But given R1 as \n",R1 a=R1[0] c=R1[1] e=R1[2] print "Thus we can obtain values of a,c,e as" print "a=",a print "c=",c print "e=",e print "Given the value of matrix A*x2.Let R2=A*x2" R2=A*x2 print "R2=\n",R2 R2=matrix([[4],[6],[8]]) print "But given R2 as \n",R2 b=R2[0] d=R2[1] f=R2[2] print "Thus we can obtain values of b,d,f as" print "b=",b print "d=",d print "f=",f Result: Given matrix x1= [1] [0] Given matrix x2= [0] [1] Let us assume matrix A be A= [a b] [c d] [e f] Given the value of matrix A*x1.Let R1=A*x1 R1= [a] [c] [e] But given R1 as [2] [3] [4] Thus we can obtain values of a,c,e as a= (2) c= (3) e= (4) Given the value of matrix A*x2.Let R2=A*x2 R2= [b] [d] [f] But given R2 as [4] [6] [8] Thus we can obtain values of b,d,f as b= (4) d= (6) f= (8) }}} /* code_ends */ * '''Solution by''': * , ,