Let x1,x2,…,xn be different real numbers. Prove that 1⩽i⩽n∑j=i∏xi−xj1−xixj={0,1, if n is even; if n is odd.
This one wants a proof. Work it on paper, then read the official solution and mark
yourself. Be honest about it: the record is only any use to you if it is.
Official solution
1. Define the function and polynomial: We start by defining the function fn(x1,…,xn) and the polynomial Pn(x1,…,xn) as follows: fn(x1,…,xn):=1≤i≤n∑j=i∏xi−xj1−xixj=:∏i<j(xi−xj)Pn(x1,…,xn). Here, fn is the function in the problem, and Pn is the polynomial obtained by multiplying through by the common denominator ∏i<j(xi−xj).
2. Claim 1: For all 1≤i≤n, we have: xi−1∣Pn(x1,…,xn)−(nmod2)i<j∏(xi−xj). Proof: We will show xn−1∣Pn, which suffices by symmetry. Let g(x1,…,xn)=fn(x1,…,xn)−(nmod2). Then essentially the claim is saying that xi−1∣gn(x1,…,xn). Plugging xn=1, we see: f(x1,…,xn−1,1)=1+1≤i≤n−1∑xi−11−xij=ij=n∏xi−xj1−xixj=1−fn−1(x1,…,xn−1). By induction on the original problem statement, fn−1(x1,…,xn−1)=(n−1mod2). Hence by the above, f(x1,…,xn−1,1)=(nmod2), i.e., g(x1,…,xn−1,1)=0. Treating g(x1,…,xn) as a polynomial in xn, this proves xn−1∣g(x1,…,xn), as needed. ■
3. Claim 2: For all 1≤i<j≤n, we have xi−xj∣Pn(x1,…,xn).
Proof: Fix a<b, and assume xa=xb. We will prove Pn(x1,…,xn)=0. We have: fn(x1,…,xn)=1≤i≤n∑Si(x1,…,xn), where the summand Si is: Si(x1,…,xn)=(xi−x1)⋯(xi−xi−1)(xi−xi+1)⋯(xi−xn)(1−xix1)⋯(1−xixi−1)(1−xixi+1)⋯(1−xixn). For a fixed k, when we multiply Sk through by ∏i<j(xi−xj), we get a product, and this product contains all terms of the form (xi−xj), where i=k. In particular, Sk for k∈/{a,b} is a product which contains xa−xb (or its negative), and hence Sk=0 for k∈/{a,b}. So actually fn=Sa+Sb, so: Pn=Sai<j∏(xi−xj)+Sbi<j∏(xi−xj). We see that: Sai<j∏(xi−xj)=i=a∏(1−xaxi)⋅(−1)a−1i<j,i,j=a∏(xi−xj), Sbi<j∏(xi−xj)=i=b∏(1−xbxi)⋅(−1)b−1i<j,i,j=b∏(xi−xj). where the (−1)a−1 comes due to the fact that when we multiply ∏(xi−xj), the terms xa−x1,…,xa−xa−1 need to be switched in sign.
We claim that on the RHS, the first terms are equal and the second terms are negatives. For the first terms, note that since xa=xb: i=a∏(1−xaxi)=1−xa2∏i(1−xaxi)=1−xb2∏i(1−xbxi)=i=b∏(1−xbxi), as needed. For the second terms, we want to show: (−1)a−1i<j,i,j=a∏(xi−xj)=−(−1)b−1i<j,i,j=b∏(xi−xj). It suffices to show the "complement"; however, we have to remove xa−xb since it is equal to 0. We want to show: (−1)a−1i<ja∈{i,j}(i,j)=(a,b)∏(xi−xj)=−(−1)b−1i<jb∈{i,j}(i,j)=(a,b)∏(xi−xj). Writing out the LHS and RHS above (omitting the (−1) powers): (xa−xa+1)⋯(xa−xb−1)(♠)(xa−xb+1)⋯(xa−xn)(♡)(x1−xa)⋯(xa−1−xa), (♠)(xb−xb+1)⋯(xb−xn)(♡)(x1−xb)⋯(xa−1−xb)(xa+1−xb)⋯(xb−1−xb). The corresponding sets of terms are underlined under common (♡) and (♠) braces. The remaining terms can be paired up in pairs that are negatives of each other. Since there are b−a−1 such pairs, the quotient of the LHS and RHS is (−1)b−a−1. This proves the desired. ■
4. Conclusion: From Claim 2, we know: i<j∏(xi−xj)∣Pn(x1,…,xn). Hence fn(x1,…,xn) is actually a polynomial, not just a rational function. Now, Claim 1 implies that: (x1−1)⋯(xn−1)∣fn(x1,…,xn)−(nmod2). But degfn(x1,…,xn)=n−1. Even with multiple variables, it is impossible for a degree n polynomial to divide a nonzero degree n−1 polynomial. Therefore, fn(x1,…,xn)=(nmod2).
■
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.