For $a_1,a_2,\cdots,a_n$, let $f_i(x)$ be $$f_i(x)=\frac{\prod_{j\neq i}(x-a_j)}{\prod_{j\neq i}(a_i-a_j)}.$$
For $b_1,b_2,\cdots,b_n$, let $g_i(x)$ be $$g_i(x)=\frac{\prod_{j\neq i}(x-b_j)}{\prod_{j\neq i}(b_i-b_j)}.$$
Can we prove such an equality: $$\sum_{i=1}^n f_j(-b_i)g_i(-a_j)=1?$$
I need this in the calculation of the detrminant of $$\left(\frac{1}{a_i+b_j}\right)_{1\leq i,j\leq n}$$ by induction on $n$.