| For All Solvers
OMC211 (for beginners)

OMC211(F) - 因数分解の別の方法

ユーザー解説 by karinohito

 f(f(x))xf(f(x))-x を因数分解するパートの想定解とは異なる方法です.
一般に, h(x)=x2+ax+bh(x)=x^2+ax+b に対し, h(x)h(y)=(xy)(x+y+a)h(x)-h(y)=(x-y)(x+y+a) となる事を利用します.

h(x)=f(x)+xh(x)=f(x)+x とします. この時, h(x)h(x)xx の係数は 44 であるので,

f(f(x))x=f(f(x))+f(x)f(x)x=h(f(x))h(x)=(f(x)x)(f(x)+x+4)\begin{aligned} f(f(x))-x&=f(f(x))+f(x)-f(x)-x\\ &=h(f(x))-h(x)\\ &=(f(x)-x)(f(x)+x+4) \end{aligned}

と因数分解できます.