Well I came across a problem to find a generalized version ($n+1$ nodes) of first and second order derivatives for Lagrange interpolation polynomial. In some former post, I found an expression for deriving $L_j(x)$, where $L_j$ stands for Lagrange basis polynomial. The expression is as follows:
\begin{align} L_j'(x) = \sum_{l\not = j} \frac{1}{x_j-x_l}\prod_{m\not = (j,l)} \frac{x-x_m}{x_j-x_m} \end{align}
Now, what I wanted to do naturally was to find second order derivative for $L_j(x)$, and as each element in main sum has only an expression
\begin{align} \prod_{m\not = (j,l)} {x-x_m} \end{align}
which contains $X$, and the other expressions are constants, I need to find derivative of the above expression, but how do I do this?