f(x)=x3−2x2−5x+6
By using Rational Root Theorem, Possible zeros/roots will be of the form pq, where p is a factor of constant term and q is a factor of leading coefficient.
Here, constant term =6 and its factors are ±1,±2,±3,±6.
Leading coefficient=1 and its factors are ±1
∴ possible rational zeros of f(x) are ±1,±2,±3,±6.
on putting x=1,
f(1)=(1)3−2(1)2−5(1)+6=0
∴ (x−1) is a factor of f(x)
⇒x3−2x2−5x+6=(x−1)(x2−x−6)
=(x−1)(x−3)(x+2)
∴ Roots of f(x) are −2,1,3