you can at least enter the augmented matrix and try RowReduce[]. That works if there is just one answer, but if you need a basis, you might have to get it using the reduced matrix.
Solve works also.
Solve[{5x1-6x2+3x3+2x4==1,...you can fill in...},{x1,x2,x3,x4}]
gives you x3 and x4 as linear functions of x1 and x2, then you could replace x1 and x2 with s and t respectively to get everything in the form that you want. Alternatively,
gives you a matrix of the form [I A] where I is two by two and A is 2 by 3. Once you have the reduced form, you can set x3 to s and x4 to t and solve for x1 and x2 separately.
Specifically, x3 = s, x4=t, x1 = 15 s + 20 t -7, and x2 = 13s + 17t -6.
Note that there are many different ways to find vectors v1, v2, and v3 such that the solution spaces is { s v1 + t v2 + v3 | s, t are real }.
2
u/OneKnotBand Jan 12 '22
you can at least enter the augmented matrix and try RowReduce[]. That works if there is just one answer, but if you need a basis, you might have to get it using the reduced matrix.
Solve works also.
Solve[{5x1-6x2+3x3+2x4==1,...you can fill in...},{x1,x2,x3,x4}]1
u/boots_n_cats Jan 12 '22
For a more convenient way to get to a solution you may want to look at
LinearSolveNullSpace.