由x^2-x-1=0得x^2=x+1.故x^4=(x^2)^2=(x+1)^2=x^2+2x+1=3x+2.对分子有x^4+2x+1=3x+2+2x+1=5x+3.分母有x^5=3x^2+2x=5x+3.故原式为1.