LinearSolveTutor - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Student[LinearAlgebra][LinearSolveTutor] - interactive solution of linear systems

 Calling Sequence LinearSolveTutor(M) LinearSolveTutor(M, v)

Parameters

 M - Matrix v - Vector

Description

 • The LinearSolveTutor(M) command allows you to interactively solve the system of equations represented by the Matrix M. The Matrix is interpreted as an augmented matrix whose last column specifies the right-hand side. It returns the solution as a column Vector.
 • The LinearSolveTutor(M, v) command allows you to interactively solve the system $M·x=v$. It returns the solution as a column Vector.
 • For both calling sequences, you must choose whether to use Gaussian elimination (producing the row echelon form of the Matrix) or Gauss-Jordan elimination (producing the reduced row echelon form of the Matrix).  To make a selection, click the corresponding button on the initially displayed Maplet application.
 • 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.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{LinearAlgebra}\right]\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{LinearSolveTutor}\left(M\right)$
 > $\mathrm{LinearSolveTutor}\left(M,v\right)$