Given,
x−1x+xx−1=221⇒x(x−1)x×x+(x−1)(x−1)=221⇒x2+x2−x−x+1=25x(x−1)⇒2x2−2x+1=25x2−5x⇒2(2x2−2x+1)=5x2−5x⇒4x2−4x+2=5x2−5x⇒4x2−5x2−4x+5x+2=0⇒−x2+x+2=0 (Writing as ax2+bx+c=0)⇒x2−x−2=0 (Multiplying the equation by -1) ⇒x2−2x+x−2=0⇒x(x−2)+1(x−2)=0⇒(x+1)(x−2) (Factorising left side) ⇒x+1=0 or x−2=0 (Zero-product rule) x=−1 or x=2
Hence, the roots of given equation are -1, 2.