Olympiad Maths Prep

Track / Stage 6 / 1 of 400 #1001 of 2000

Problem 1001

National olympiad, first round
Algebra Difficulty 6.0 Prove it

8. There is a damaged calculator that only retains the original data c, 1, and -1. Each operation can only compute uv+vuv + v for uu and vv, and display the result. In the first operation, uu and vv can only take the original data c,1c, 1, or -1. For subsequent operations, uu and vv can only take c,1,1c, 1, -1, or the result of the previous calculation. It is required to show that for any given polynomial with integer coefficients
Pn(x)=a0x0+a1xn1++a0 P_{n}(x)=a_{0} x^{0}+a_{1} x^{n-1}+\cdots+a_{0}

it is still possible to use this calculator to compute PD(c)P_{D}(c) (i.e., after a finite number of operations, the display will show Pn(c)P_{n}(c)).

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Proof: First, we prove that if aa can be computed, then a±1a \pm 1 can also be computed. In fact, let x=a,y=1\boldsymbol{x}=a, \boldsymbol{y}=1, then we can compute a+1a+1. Let u=a,y=1u=a, y=-1, then we can compute a1-a-1, thus we can compute a-a. Then, let u=au=-a and y=1y=-1, we can compute a1a-1.

We use induction to prove the proposition. Clearly, let u=v=1u=v=1, and we know that 1 can be computed, so by the proven result, for any integer a0,aa_{0}, a, they can be computed, i.e., the conclusion holds for n=0n=0. Assume the conclusion holds for x=kx=k. When k=k+1k=k+1, for any k+1-k+1-degree polynomial with integer coefficients
Pk+1(x)=a0xk+1+a1x2++akx+ak+1 \begin{aligned} P_{k+1}(x) & =a_{0} x^{k+1}+a_{1} x^{2}+\cdots+a_{k} x \\ & +a_{k+1} \end{aligned}

Let Qk(x)=a0xk+a1x21++ak1x+ak1Q_{k}(x)=a_{0} x^{k}+a_{1} x^{2-1}+\cdots+a_{k-1} x + a_{k}-1.

By the assumption, Qk(c)Q_{k}(c) can be computed. Let u=Qk(c)u=Q_{k}(c), y=c\boldsymbol{y}=c, we get
Qk(c)c+c=a0ck+1+a1ck++akc \begin{aligned} Q_{k}(c) \cdot c + c & =a_{0} \cdot c^{k+1}+a_{1} \cdot c^{k}+\cdots \\ & +a_{k} \cdot c \end{aligned}

which can be computed. By the proven result, we have
Pk+1(c)=[Qk(c)c+c]+ak+1 P_{k+1}(c)=\left[Q_{k}(c) \cdot c + c\right] + a_{k+1}

which can also be computed. This proves that the conclusion holds for n=k+1n=k+1. Therefore, for any nn-degree polynomial with integer coefficients Pn(x)P_{n}(x), Pn(c)P_{n}(c) can be computed.
(Supplied by the Nankai University Mathematical Olympiad Research Group)

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.