The following matrix is formed by polynomiais of degree $n-2$ or smaller and $a_1,\cdots,a_n$ belong to $\mathbb{R}$. How can I prove that it’s determinant is zero? I thought about using the fact that it is a matrix of even degree $n$.
Would really appreciate any help.
\begin{vmatrix}p_1(a_1) & p_1(a_2) & \cdots& p_1(a_n) \\ p_2(a_1) & p_2(a_2) & \cdots &p_2(a_n) \\ \vdots & \vdots & \ddots & \ \vdots \\ p_n(a_1) & p_n(a_2) & \cdots &p_n(a_n) \\ \end{vmatrix}
Hints: The space of polynomials of degree $n-2$ or less is a vector space of dimension $n-1$. Therefore, any set of $n$ polynomials from this space is linearly dependent. Hence there exist scalars $c_{1}, \ldots, c_{n}$, not all zero, such that $c_{1}p_{1} + \cdots + c_{n}p_{n} = 0$ (the zero polynomial).
So $c_{1}p_{1}(x) + \cdots + c_{n}p_{n}(x) = 0$ for all $x\in \Bbb{R}$. Thus $$c_{1} p_{1}(a_i) + \cdots + c_{n}p_{n}(a_{i}) = 0$$
for all $i = 1,\ldots,n$.
Can you take it from here? (Try writing the above $n$ equations in matrix form.)