x^2-3x+1=0,x-3+1/x=0 (因为x不等于0,两边同时除以x)
x+1/x=3
(x+1/x)^2=9
x^2+1/x^2+2=9
x^2+1/x^2=7
(x^2+1/x^2)=49
x^4+1/x^4+2=49
x^4+1/x^4=47
综上x^2+1/x^2=7,x^4+1/x^4=47
x^2-3x+1=0,x-3+1/x=0 (因为x不等于0,两边同时除以x)
x+1/x=3
(x+1/x)^2=9
x^2+1/x^2+2=9
x^2+1/x^2=7
(x^2+1/x^2)=49
x^4+1/x^4+2=49
x^4+1/x^4=47
综上x^2+1/x^2=7,x^4+1/x^4=47