Is there some function in maxima for evaluating if two bases span the same subspace.
For example, I ask my student to calculate a basis of the null space of a given matrix. In my solution, I have a specific basis. But I want to make sure that if the student uses a different but correct calculation for determining the basis, that the answer will still be graded as correct.
(%i1) sol: nullspace(matrix([1,0,0],[0,0,0],[0,0,0]));
[ 0 ] [ 0 ]
[ ] [ ]
(%o1) span([ 0 ], [ 1 ])
[ ] [ ]
[ 1 ] [ 0 ]
(%i2) answer_student: span(matrix([0],[0],[2]),matrix([0],[2],[0]));
[ 0 ] [ 0 ]
[ ] [ ]
(%o2) span([ 0 ], [ 2 ])
[ ] [ ]
[ 2 ] [ 0 ]
(%i3) is(sol = answer_student);
(%o3) false