The determinant of Vandermonde matrix $$V=\left[\begin{matrix} 1 & x_1 & x_1^2 & \cdots & x_1^{n-1} \\ 1 & x_2 & x_2^2 & \cdots & x_2^{n-1} \\ 1 & x_3 & x_3^2 & \cdots & x_3^{n-1} \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 1 & x_n & x_n^2 & \cdots & x_n^{n-1} \\ \end{matrix}\right]$$ can be represented as a product of pairwise differences between $x_i$s: $$\det(V)=\prod_{i<j}x_j-x_i.$$ Is there an algorithm that computes this determinant more quickly than by trivially multiplying those $O(n^2)$ differences?
2026-04-05 12:05:32.1775390732
Efficient algorithm for computing Vandermonde determinant
181 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in MATRICES
- How to prove the following equality with matrix norm?
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Powers of a simple matrix and Catalan numbers
- Gradient of Cost Function To Find Matrix Factorization
- Particular commutator matrix is strictly lower triangular, or at least annihilates last base vector
- Inverse of a triangular-by-block $3 \times 3$ matrix
- Form square matrix out of a non square matrix to calculate determinant
- Extending a linear action to monomials of higher degree
- Eiegenspectrum on subtracting a diagonal matrix
- For a $G$ a finite subgroup of $\mathbb{GL}_2(\mathbb{R})$ of rank $3$, show that $f^2 = \textrm{Id}$ for all $f \in G$
Related Questions in ALGORITHMS
- Least Absolute Deviation (LAD) Line Fitting / Regression
- Do these special substring sets form a matroid?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Correct way to prove Big O statement
- Product of sums of all subsets mod $k$?
- (logn)^(logn) = n^(log10+logn). WHY?
- Clarificaiton on barycentric coordinates
- Minimum number of moves to make all elements of the sequence zero.
- Translation of the work of Gauss where the fast Fourier transform algorithm first appeared
- sources about SVD complexity
Related Questions in DETERMINANT
- Form square matrix out of a non square matrix to calculate determinant
- Let $T:V\to W$ on finite dimensional vector spaces, is it possible to use the determinant to determine that $T$ is invertible.
- Optimization over images of column-orthogonal matrices through rotations and reflections
- Effect of adding a zero row and column on the eigenvalues of a matrix
- Geometric intuition behind determinant properties
- Help with proof or counterexample: $A^3=0 \implies I_n+A$ is invertible
- Prove that every matrix $\in\mathbb{R}^{3\times3}$ with determinant equal 6 can be written as $AB$, when $|B|=1$ and $A$ is the given matrix.
- Properties of determinant exponent
- How to determine the characteristic polynomial of the $4\times4$ real matrix of ones?
- The determinant of the sum of a positive definite matrix with a symmetric singular matrix
Related Questions in NUMERICAL-LINEAR-ALGEBRA
- sources about SVD complexity
- Finding $Ax=b$ iteratively using residuum vectors
- Pack two fractional values into a single integer while preserving a total order
- Use Gershgorin's theorem to show that a matrix is nonsingular
- Rate of convergence of Newton's method near a double root.
- Linear Algebra - Linear Combinations Question
- Proof of an error estimation/inequality for a linear $Ax=b$.
- How to find a set of $2k-1$ vectors such that each element of set is an element of $\mathcal{R}$ and any $k$ elements of set are linearly independent?
- Understanding iterative methods for solving $Ax=b$ and why they are iterative
- Formula for eigenvector corresponding to a simple eigenvalue
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
In this answer, I will provide a sub-quadratic algorithm.
Assumptions & Definitions
We will define $\Phi(x_1,\dots,x_n)$ as the determinant of the Vandermonde matrix $V:$ $$ V=\begin{pmatrix} 1 & x_1 & \dots & x_1^{n-1} \\ 1 & x_2 & \dots & x_2^{n-1} \\ \vdots & \vdots& \ddots &\vdots \\ 1& x_{n} & \dots & x_{n}^{n-1} \end{pmatrix} $$
Algorithm
Let $n\in\mathbb{N},$ and let $m=\lfloor \tfrac{n}{2} \rfloor$
Let $\boldsymbol{x}\in \mathbb{F}^n.$
We will assume that $x_1,\dots,x_n$ are pairwise distinct as otherwise, $\Phi(\boldsymbol{x})=0.$
1. Recursion
We have the following: $$ \begin{align*} \Phi(\boldsymbol{x}) &= \prod_{1\le i<j \le n} x_j-x_i \\ &= \Phi(x_1,\dots,x_m) \times \Phi(x_{m+1},\dots,x_n) \times \prod_{i=1}^{m}\prod_{j=m+1}^{n}x_j-x_i \\ &=\Phi(\boldsymbol{x}') \times \Phi(\boldsymbol{x''}) \times \chi(\boldsymbol{x}',\boldsymbol{x''}) \end{align*} $$ Where $\boldsymbol{x}'=(x_1,\dots,x_m)$ and $\boldsymbol{x}''=(x_{m+1},\dots,x_n)$
2. Calculating $\chi$
Now we arrived to two recursive calculations of $\Phi$ plus one evaluation of the term: $$ \chi(\boldsymbol{x}',\boldsymbol{x}'')=\prod_{i=1}^{m}\prod_{j=m+1}^{n}x_j-x_i $$ This term has to be efficiently calculated to get a sub-quadratic complexity. Fortunately, This is in fact possible
To demonstrate this, We will define the polynomial $H$ as follows: $$ H(t)=\chi(\boldsymbol{x}',t)=\prod_{i=1}^{m}t-x_i $$ Now it is very clear that $\chi(\boldsymbol{x}',\boldsymbol{x}'') = \prod_{j=m+1}^{n} H(x_j).$ And with that, we only have to evaluate the polynomial $H$ at the $n-m$ points. This can be done in $\mathcal{O}(M(n) \log n)$ using fast multi-point evaluation
3. Complexity
Now, let $T_n$ the cost of Algorithm 1 at the worst-case scenario: $$ T_n = T_{m} + T_{n-m} + \mathcal{O}(M(n) \log n) $$
With that, we can easily deduce that: $$ T_n = \mathcal{O}\left(M(n)\cdot (\log n)^2\right) $$
If $\mathbb{F}$ allows a $\mathcal{O}(n \log n)$ polynomial multiplication algorithm (FFT-based), we get: $$ T_n= \mathcal{O}(n (\log n)^3) $$