# Thread: trying to take determinant of matrix using Maple

1. ## trying to take determinant of matrix using Maple

In Maple I'm trying to take the determinant of a matrix and nothing happens
Code:
> A := matrix([[lambda+1, -2, -3], [-2, lambda+1, -2], [-2, -2, lambda+1]]);

> detA := det(A);
det(A)

> B := matrix([[2, 1], [-4, 10]]);
print(output redirected...); # input placeholder

> det(B);
det(B)

> ans := det(B);
det(B)

2. Originally Posted by Jskid
In Maple I'm trying to take the determinant of a matrix and nothing happens
Code:
> A := matrix([[lambda+1, -2, -3], [-2, lambda+1, -2], [-2, -2, lambda+1]]);

> detA := det(A);
det(A)

> B := matrix([[2, 1], [-4, 10]]);
print(output redirected...); # input placeholder

> det(B);
det(B)

> ans := det(B);
det(B)
First you need to load the linear algebra package

with(LinearAlgebra):

The Function Is Determinant(A) not det(A).