分离变量啊,y=(x²-x+2)/(x+1)=(x+1)^2-3(x+1)+4/(x+1)=x+1+4/(x+1)-3,可以用勾函数的性质,知x+1+4/(x+1)>=4或<=-4,故值域为y>=1,y<=-7
yx+y=x²-x+2x²-(y+1)x+(2-y)=0x是实数则△>=0y²+2y+1-8+4y>=0y²+6y-7=(y+7)(y-1)>=0所以值域是(-∞,-7]∪[1,+∞)