Question about computing the determinant of matrix of indeterminate variables

Hi all, I’ve been struggling with computing the determinant of the matrix of indeterminate variables.
My code is as follows:

using TypedPolynomials
using LinearAlgebra
@polyvar p1 p2 p3 p4 p5 p6
A = [p1 p2 p3]
AT=transpose(A)
det(AT*A)

I don’t know if there’s a way to compute the determinant since the result always shows 0.

You compute the determinant of a rank 1 matrix which is always 0 :slight_smile:

1 Like

Oh! Thanks!!

Welcome to this forum! Also, please quote your code.

Thank you so much for reminding me of quoting the code.

1 Like