Since
x−yxk−yk=xk−1y0+xk−2y1+xk−3y2+...+x1yk−2+yk−1
xk−yk=(x−y)(xk−1y0+xk−2y1+xk−3y2+...+x1yk−2+yk−1)
hence
xk−yk=(x−y)qk(x)
As usual, we write our polynomial
p as
p(x)=anxn+an−1xn−1+...+a1x+a0
p(x)−p(y)=
anxn+an−1xn−1+...+a1x+a0
−(anyn+an−1yn−1+...+a1y+a0)
=an(xn−yn)+an−1(xn−1−yn−1)+...+a1(x−y) [I fixed this for you]
The terms have the form
ak(xk−yk). But
xk−yk=(x−y)qk(x), and if we substitute this in we get:
p(x)−p(y)=
an(x−y)qn(x)+an−1(x−y)qn−1(x)+...+a1(x−y)
(x−y)(anqn(x)+an−1qn−1(x)+...a1)
=(x−y)q(x) where
q(x)=anqn(x)+an−1qn−1(x)+...a1
If
p(a)=0 where
y=a then
p(x)−p(a)=(x−a)q(x)
Q.E.D
My question is why we don't write
p(x)−p(y) as
an(x−y)qn(x)+an−1(x−y)qn−1(x)+...+a1(x−y)q1(x)
(x−y)(anqn(x)+an−1qn−1(x)+...a1q1(x)).
Can anyone please explain this to me thanks!
Interesting proof; now at last I can see why you previously perceived circularity in the use of the fact it starts with.
By the way, before showing a proof, you should always show the statement of the theorem, even if you think everyone knows what the theorem name refers to; it may not always use the same names.
Clearly they think that q
1(x) = 1, so that they didn't need to write q
1(x) there. So your task in reading this is to check that implicit claim. (If the proof was intended for beginners, it would be kind to state this explicitly, and perhaps even prove it, but proofs commonly assume that the reader can fill in gaps up to some size.)
So let's look. What would q
1 be? They didn't explicitly define q
k(x), but implicitly give it as
qk(x)=xk−1y0+xk−2y1+xk−3y2+...+x1yk−2+yk−1
Therefore, letting k = 1,
q1(x)=x1−1y0=x0y0=1
So they are right. Rather than write q
1(x), they can just drop it.
Similarly, they could have written
qk(x)=xk−1y0+xk−2y1+xk−3y2+...+x1yk−2+x0yk−1
but didn't happen to show x
0, though they did show y
0. That's just a little inconsistency in their choices.
Got it?