Student[LinearAlgebra][GaussJordanEliminationTutor] - interactive and step-by-step Gauss-Jordan elimination
GaussJordanEliminationTutor(M, v, opts)
(optional) equation(s) of the form option=value where equation is output or displaystyle
The GaussJordanEliminationTutor command by default opens a Maplet window which allows you to work interactively through Gauss-Jordan elimination. Options provide other ways to show the step-by-step solutions, as described below.
The GaussJordanEliminationTutor(M) command allows you to interactively reduce the Matrix M to reduced row echelon form using Gauss-Jordan elimination. You can then query for the rank, nullity, and bases for the row, column, and null spaces. It returns the reduced Matrix.
The GaussJordanEliminationTutor(M, v) command allows you to interactively solve the system M·x=v by reducing the augmented Matrix <M | v> to reduced row echelon form using Gauss-Jordan elimination. It returns the solution as a column Vector.
Floating-point numbers in M or v are converted to rationals before computation begins.
The dimensions of the Matrix must be no greater than 5x5.
When the tutor is closed, the solution steps displayed in the tutor are re-displayed in the worksheet, with annotations showing the operations applied. Note that this display only and is not a value which can be further manipulated from within the worksheet. The value returned from the tutor, which can be used (for example, by referencing its equation label), is the state of the problem at the time the tutor was closed.
The following options can be used to control how the problem is displayed and what output is returned, giving the ability to generate step-by-step solutions directly without going through the Maplet tutor interface:
output = steps,canvas,script,record,list,print,printf,typeset,link (default: maplet)
The output options are described in Student:-Basics:-OutputStepsRecord. Use output = steps to get the default settings for displaying ste
displaystyle= columns,compact,linear,brief (default: linear)
The displaystyle options are described in Student:-Basics:-OutputStepsRecord.
M ≔ 1,2,0|2,3,2|0,2,1|3,5,5
v ≔ 5,4,2
Gauss-Jordan Reduce120323250215• Subtract 2 times row 1 from row 2; (R2 = R2-2*R1)12030−12−10215• Multiply row 2 by -1; (R2 = -1*R2)120301−210215• Subtract 2 times row 2 from row 1; (R1 = R1-2*R2)104101−210215• Subtract 2 times row 2 from row 3; (R3 = R3-2*R2)104101−210053• Multiply row 3 by 1/5; (R3 = 1/5*R3)104101−2100135• Subtract 4 times row 3 from row 1; (R1 = R1-4*R3)100−7501−2100135• Add 2 times row 3 to row 2; (R2 = 2*R3+R2)100−7501011500135
Gauss-Jordan Solve120352325402152• Subtract 2 times row 1 from row 2; (R2 = R2-2*R1)120350−12−1−602152• Multiply row 2 by -1; (R2 = -1*R2)1203501−21602152• Subtract 2 times row 2 from row 1; (R1 = R1-2*R2)1041−701−21602152• Subtract 2 times row 2 from row 3; (R3 = R3-2*R2)1041−701−2160053−10• Multiply row 3 by 1/5; (R3 = 1/5*R3)1041−701−21600135−2• Subtract 4 times row 3 from row 1; (R1 = R1-4*R3)100−75101−21600135−2• Add 2 times row 3 to row 2; (R2 = 2*R3+R2)100−751010115200135−2•Extract equations from the matrixx1−7⁢x45=1x2+11⁢x45=2x3+3⁢x45=−2•Introduce free variablesx4=tx1−7⁢t5=1x2+11⁢t5=2x3+3⁢t5=−2•Solutionx1=1+7⁢t5x2=2−11⁢t5x3=−2−3⁢t5x4=t
Student[LinearAlgebra], Student[LinearAlgebra][AddRow], Student[LinearAlgebra][GaussianElimination], Student[LinearAlgebra][GaussianEliminationTutor], Student[LinearAlgebra][LinearSolve], Student[LinearAlgebra][LinearSolveTutor], Student[LinearAlgebra][MultiplyRow], Student[LinearAlgebra][ReducedRowEchelonForm], Student[LinearAlgebra][SwapRow]
The Student[LinearAlgebra][GaussJordanEliminationTutor] command was updated in Maple 2021.
The output and displaystyle options were introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
Download Help Document