Let the given polynomial be p(x)=x3−2x2−5x+6.
We will now substitute various values of x until we get p(x)=0 as follows:
Forx=0p(0)=(0)3−2(0)2−(5×0)+6=0−0−0+6=6≠0∴p(0)≠0
Forx=1p(1)=(1)3−2(1)2−(5×1)+6=1−2−5+6=7−7=0∴p(1)=0
Thus, (x−1) is a factor of p(x).
Now,
p(x)=(x−1)⋅g(x).....(1)⇒g(x)=p(x)(x−1)
Therefore, g(x) is obtained by after dividing p(x) by (x−1) as shown in the above image:
From the division, we get the quotient g(x)=x2−x−6 and now we factorize it as follows:
x2−x−6=x2−3x+2x−6=x(x−3)+2(x−3)=(x+2)(x−3)
From equation 1, we get p(x)=(x−1)(x+2)(x−3).
Hence, x3−2x2−5x+6=(x−1)(x+2)(x−3).