因为方程x2-5x-6=0的根是x1和x2
所以 x1+x2=5 x1*x2=-6
x1²+x2²+x1x2
=(x1+x2)²-x1*x2
=25+6
=31
x1/x2+x2/x1
=(x1²+x2²)/x1*x2
=[(x1+x2)²-2x1*x2]/x1*x2
=[(25+12]/(-6)
=-37/6
因为方程x2-5x-6=0的根是x1和x2
所以 x1+x2=5 x1*x2=-6
x1²+x2²+x1x2
=(x1+x2)²-x1*x2
=25+6
=31
x1/x2+x2/x1
=(x1²+x2²)/x1*x2
=[(x1+x2)²-2x1*x2]/x1*x2
=[(25+12]/(-6)
=-37/6