a) Let P(x)=ax3+bx2+cx+d be the polynomial. We need to show that if P(x) is divisible by 5 for any integer x, then a,b,c, and d are all divisible by 5.
1. **Evaluate P(x) at x=0:**
P(0)=d
Since P(x) is divisible by 5 for any x, it must be that:
d≡0(mod5)
2. **Evaluate P(x) at x=1 and x=−1:**
P(1)=a+b+c+d
P(−1)=−a+b−c+d
Since P(x) is divisible by 5:
P(1)≡0(mod5)
P(−1)≡0(mod5)
3. **Add P(1) and P(−1):**
P(1)+P(−1)=(a+b+c+d)+(−a+b−c+d)=2b+2d
Since d≡0(mod5):
2b≡0(mod5)⟹b≡0(mod5)
4. **Subtract P(−1) from P(1):**
P(1)−P(−1)=(a+b+c+d)−(−a+b−c+d)=2a+2c
Since d≡0(mod5):
2a+2c≡0(mod5)⟹a+c≡0(mod5)
5. **Evaluate P(x) at x=2:**
P(2)=8a+4b+2c+d
Since P(x) is divisible by 5:
8a+4b+2c+d≡0(mod5)
Given b≡0(mod5) and d≡0(mod5):
8a+2c≡0(mod5)⟹3a+c≡0(mod5)
6. Combine the results:
From a+c≡0(mod5) and 3a+c≡0(mod5):
a+c≡0(mod5)
3a+c≡0(mod5)
Subtract the first equation from the second:
3a+c−(a+c)≡0(mod5)⟹2a≡0(mod5)⟹a≡0(mod5)
Since a≡0(mod5), it follows that c≡0(mod5).
Thus, a,b,c, and d are all divisible by 5.
■
b) Let Q(x)=ax4+bx3+cx2+dx+e be the polynomial. We need to show that if Q(x) is divisible by 7 for any integer x, then a,b,c,d, and e are all divisible by 7.
1. **Evaluate Q(x) at x=0:**
Q(0)=e
Since Q(x) is divisible by 7 for any x, it must be that:
e≡0(mod7)
2. **Evaluate Q(x) at x=1 and x=−1:**
Q(1)=a+b+c+d+e
Q(−1)=a−b+c−d+e
Since Q(x) is divisible by 7:
Q(1)≡0(mod7)
Q(−1)≡0(mod7)
3. **Add Q(1) and Q(−1):**
Q(1)+Q(−1)=(a+b+c+d+e)+(a−b+c−d+e)=2a+2c+2e
Since e≡0(mod7):
2a+2c≡0(mod7)⟹a+c≡0(mod7)
4. **Subtract Q(−1) from Q(1):**
Q(1)−Q(−1)=(a+b+c+d+e)−(a−b+c−d+e)=2b+2d
Since e≡0(mod7):
2b+2d≡0(mod7)⟹b+d≡0(mod7)
5. **Evaluate Q(x) at x=2:**
Q(2)=16a+8b+4c+2d+e
Since Q(x) is divisible by 7:
16a+8b+4c+2d+e≡0(mod7)
Given e≡0(mod7):
16a+8b+4c+2d≡0(mod7)⟹2a+b+4c+d≡0(mod7)
6. **Evaluate Q(x) at x=3:**
Q(3)=81a+27b+9c+3d+e
Since Q(x) is divisible by 7:
81a+27b+9c+3d+e≡0(mod7)
Given e≡0(mod7):
81a+27b+9c+3d≡0(mod7)⟹4a+6b+2c+3d≡0(mod7)
7. Combine the results:
From a+c≡0(mod7), b+d≡0(mod7), 2a+b+4c+d≡0(mod7), and 4a+6b+2c+3d≡0(mod7):
a+c≡0(mod7)
b+d≡0(mod7)
2a+b+4c+d≡0(mod7)
4a+6b+2c+3d≡0(mod7)
Solving these congruences, we find that a,b,c,d, and e must all be divisible by 7.
Thus, a,b,c,d, and e are all divisible by 7.
■