om1429888's blog

By om1429888, history, 2 years ago, In English

Given a polynomial p(x) If degree is A.P(1)=P(2)=P(3).....=P(A)=1. Also P(A+1)=B Tell P(A+C).

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

We know that $$$deg P = A$$$. Let $$$W(x)$$$ be $$$W(x) = P(x)-1$$$. Since $$$P(1) = P(2) = ... = P(A) = 1$$$, then $$$W(1) = W(2) = ... = W(A) = 0$$$. Let's observe that $$$deg W = deg P$$$, which means that numbers $$$1, 2, ..., A$$$ are all roots of polynomial $$$W(x)$$$. Thus,

$$$W(x) = a(x-1)(x-2)...(x-A),$$$

for some real number a. Now, we know that $P(A+1) = B$ , so $$$W(A+1) = B-1 = a(A+1-1)(A+1-2)...(A+1-A) = a \times A! \implies a = (B-1)/A!$$$. So we know $$$W(x)$$$ polynomial formula — and thus, the formula for $$$P(x)$$$ (it's enough to add one). Hope I haven't made any mistake :)