Derivation: Lagrange basis functions
How the requirement to equal 1 at one node and 0 at the others forces the product form of the functions.
From the cardinal property to the formula
We want to vanish at every node except . To vanish at () it suffices to include the factor for each one:
That product has some value (not 1) at . To normalize it to 1 we divide by its value at , i.e. the same product evaluated there:
Thus and . The combination reproduces each datum, hence interpolates.