Student[LinearAlgebra]
DeterminantSteps
show steps in finding the determinant of a square matrix
Calling Sequence
Parameters
Description
Package Usage
Examples
Compatibility
Student[LinearAlgebra][DeterminantSteps](m, opts)
m
-
square matrix to find the determinant of
opts
options of the form keyword=value
The DeterminantSteps command is used to show the steps of finding the determinant of a square matrix.
The DeterminantSteps supports square matrices up to 5 by 5 in size.
The displaystyle and output options can be used to change the output format. See OutputStepsRecord for details.
This function is part of the Student[LinearAlgebra] package, so it can be used in the short form DeterminantSteps(..) only after executing the command with(Student[LinearAlgebra]). However, it can always be accessed through the long form of the command by using Student[LinearAlgebra][DeterminantSteps](..).
with⁡StudentLinearAlgebra:
P≔Matrix⁡1,3,2,2,3,1,2,2,1
P≔
DeterminantSteps⁡P
•Let's find the determinant•Use cofactor expansion on the3by3matrix1⋅+−1⋅3⋅+1⋅2⋅•Find the determinant of the 2 by 2 matrices by multiplying the diagonals1⋅3⋅1−2⋅1+−1⋅3⋅2⋅1−2⋅1+1⋅2⋅2⋅2−2⋅3•Evaluate inside the brackets1⋅1+−1⋅3⋅0+1⋅2⋅−2•Multiply1+0−4•Evaluate−3
A≔8,4,−1,−5|4,2,−0.5,−2.5|−5,−2,3,−1|−5,−2.5,−4,−9
A≔
DeterminantSteps⁡A
•Let's find the determinant?•Subtract2times column2from column1?•Since there is a zero column0
DeterminantSteps⁡Matrix⁡7,5,2,3,output=printf
• Let's find the determinant Matrix(2, 2, [[7,5],[2,3]]) • Find the determinant of the 2 by 2 matrix by multiplying the diagonals -2*5+3*7 • Evaluate 11
DeterminantSteps⁡Matrix⁡7,5,2,3
•Let's find the determinant•Find the determinant of the 2 by 2 matrix by multiplying the diagonals7⋅3−2⋅5•Evaluate11
The Student[LinearAlgebra][DeterminantSteps] command was introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
Student:-Basics:-OutputStepsRecord
Student:-Calculus1:-ShowSolution
Student:-Calculus1:-ShowSteps
Student:-LinearAlgebra
Download Help Document