DeterminantSteps - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

DeterminantSteps

  

show steps in finding the determinant of a square matrix

 

Calling Sequence

Parameters

Description

Package Usage

Examples

Compatibility

Calling Sequence

Student[LinearAlgebra][DeterminantSteps](m, opts)

Parameters

m

-

square matrix to find the determinant of

opts

-

options of the form keyword=value

Description

• 

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.

Package Usage

• 

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](..).

Examples

> 

with⁡StudentLinearAlgebra:

> 

P≔Matrix⁡1,3,2,2,3,1,2,2,1

P≔132231221

(1)
> 

DeterminantSteps⁡P

•Let's find the determinant132231221•Use cofactor expansion on the3by3matrix1⋅3121+−1⋅3⋅2121+1⋅2⋅2322•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

(2)
> 

A≔8,4,−1,−5|4,2,−0.5,−2.5|−5,−2,3,−1|−5,−2.5,−4,−9

A≔84−5−542−2−2.5−1−0.53−4−5−2.5−1−9

(3)
> 

DeterminantSteps⁡A

•Let's find the determinant84−5−542−2−2.5−1−0.53−4−5−2.5−1−9•Subtract2times column2from column104−5−502−2−2.50−0.53−40−2.5−1−9•Since there is a zero column0

(4)
> 

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 determinant7523•Find the determinant of the 2 by 2 matrix by multiplying the diagonals7⋅3−2⋅5•Evaluate11

(5)
> 

Compatibility

• 

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