3x2-x-1=0的两个根是x1,x2
根据韦达定理:
x1+x2=1/3,x1x2=-1/3
∴x1/(x2+1)+x2/(x1+1) (觉得第一个分母应该为x2+1)
=[x1(x1+1)+x2(x2+1)]/[(x1+1)(x2+1)]
=[x²1+x1+1+x²2+x2+1]/(x1x2+x1+x2+1)
=[(x²1+x²2)+(x1+x2)+2]/[x1x2+(x1+x2)+1]
=[(x1+x2)²+(x1+x2)-2x1x2+2]/[x1x2+(x1+x2)+1]
=[1/9+1/3+2/3+2]/(-1/3+1/3+1]
=3又1/9