3. Let yi=xi2xi+1xi+2(i=1,2,⋯,n,xn+1=x1,xn+2=x2), then the original inequality is equivalent to
1+y11+1+y21+⋯+1+yn1⩽n−1
From the definition of yi, we know that y1y2⋯yn=1.
If there are two terms in (1) ⩽21, since 1+yi1<1, the conclusion is already established.
If only 1+y11⩽21, i.e., y1⩾1,y2⩽1,y3⩽1,⋯,yn⩽1, then
1+y11+1+y21⩽1+y11+1+y2y3⋯yn1=1+y11+1+y111=1
Thus, the sum of the first two terms on the left side of (1) ⩽1, and the remaining n−2 terms are all <1, so (1) holds.