x = 1, 2, 3
(2−1)(3−1)(3−2)
2.
The Vandermonde determinant of the numbers is . It is non-zero exactly when the numbers are all different.
This page is easier if you are comfortable with:
The matrix has rows . For two numbers it is , and for three it is , which you can confirm by expanding the 3 × 3 determinant.
If two of the numbers are equal, two rows are the same and the determinant is zero. This is why a polynomial can be fitted through points with different -values: the matrix is invertible, so the system can be solved by an inverse or by LU factorisation.
The result is a standard example of factorising a determinant, and it links with the factor theorem: the determinant vanishes when , so is a factor.
The Vandermonde determinant has a neat closed form, the product of all differences between the numbers. It proves that polynomial interpolation always works.
Because the nodes 1, 2, 3 are all different, the Vandermonde determinant is 2, not zero, and one quadratic passes through all three points.
These examples are worked by hand, step by step, so you can compare your own working.
Find the Vandermonde determinant for .
Find the determinant for .
Find the determinant for .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
(2−1)(3−1)(3−2)
2.
(3−1)(4−1)(4−3)
6.
repeated value
0.
1 − 0
1.
The Vandermonde determinant of x₁, …, xₙ is Π_{i<j}(xⱼ − xᵢ). It is non-zero exactly when the xᵢ are all different.
Three differences.
Differences 2, 3, 1.
x₁ = x₂.
x₂ − x₁.
sum ✗
product ✓
Π.
xᵢ − xⱼ ✗
xⱼ − xᵢ for i < j ✓
Sign.
zero ✗
non-zero ✓
Interpolation works.
two differences ✗
all n(n − 1)/2 pairs ✓
Count pairs.
Try each one on paper, then open the answer. Use the solver above to see the full working.
2
6
20
6
12
0
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Π_{i<j}(xⱼ − xᵢ).
When two of the xᵢ are equal.
n(n − 1)/2.
It shows polynomial interpolation through distinct points is unique.
determinant of a 3 × 3 matrix.
LU factorisation.
More in Vectors and matrices and the formula sheets.