Question: Determinant of Vandermonde Matrix

Calculate the determinant of the square Vandermonde matrix     (A is alpha)

     1   Α1    A12   A13       

     1   A2    A22   A23 

V= 1   A3    A32   A33  

     1   A4    A42   A43

 

The derterminant of an nxn Vandermonde matrix can be expressed as

 

det(V)=  ∏      (Aj-Ai)

          1≤i<j≤n

 

Write a procedure pdetVandermonde which takes a list A=[A1,A2,A3,...An] and calculates

its determinant using the formula above.  This can be done using a double loop (note i<j).

 

 

I'm not sure exactly what to do for this, I tried to just get the Vandermonde matrix but I did it like

this.

 

>V:=Vector[row]([A1,A2,A3,A4]);

>LinearAlgebra[VandermondeMatrix](V);

 

This got me the matrix in the beginning of the question.  I tried using the formula given but the 1≤i<j≤n

would not work with it in maple.

Please Wait...