interactive Gaussian elimination - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : Linear Algebra : Interactive : Student/LinearAlgebra/GaussianEliminationTutor

Student[LinearAlgebra][GaussianEliminationTutor] - interactive Gaussian elimination

 Calling Sequence GaussianEliminationTutor(M) GaussianEliminationTutor(M, v)

Parameters

 M - Matrix v - Vector

Description

 • The GaussianEliminationTutor(M) command will call the Matrix Property Analyzer form of the tutor. The tutor allows you to interactively reduce the Matrix M to row echelon form using Gaussian elimination.  You can then query for the rank, nullity, and bases for the row, column, and null spaces. It returns the reduced Matrix.
 • The GaussianEliminationTutor(M, v) command will call the System Solver form of the tutor. The tutor allows you to interactively solve the system $M·x=v$ by reducing the augmented Matrix  to row echelon form using Gaussian elimination followed by backwards substitution. It returns the solution as a column Vector.
 • The above two forms of the tutor are mutually exclusive, and certain commands from one form are not available in the other. To access the other form, close the tutor, and call it again using the appropriate arguments. If no arguments are given, the tutor will start in the System Solver form by default.
 • 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.
 • Note: There are two definitions of row echelon form. This tutor uses this definition, which requires only that pivot elements be nonzero.  (The other definition of row echelon form requires the pivot elements to be equal to 1.)

Examples

 > $\mathrm{with}\left({\mathrm{Student}}_{\mathrm{LinearAlgebra}}\right):$
 > $M≔⟨⟨1,2,0⟩|⟨2,3,2⟩|⟨0,2,1⟩|⟨3,5,5⟩⟩$
 ${M}{≔}\left[\begin{array}{cccc}{1}& {2}& {0}& {3}\\ {2}& {3}& {2}& {5}\\ {0}& {2}& {1}& {5}\end{array}\right]$ (1)
 > $v≔⟨5,4,2⟩$
 ${v}{≔}\left[\begin{array}{c}{5}\\ {4}\\ {2}\end{array}\right]$ (2)
 > $\mathrm{GaussianEliminationTutor}\left(M\right)$
 > $\mathrm{GaussianEliminationTutor}\left(M,v\right)$