After spending some mind and time I got the following result:
Given any polynomial f(x) with degree greater than or equal to 2. And you know that if it is divided by x−p the remainder we get is q. And if it is divide by x−q then the remainder is p, then if you divide it by (x−p)(x−q) the remainder you will get will be p+q−x where
x is a variable and p and q are constants and p=q
Proof:
Consider any f(x), and let consider it's division by x−p now it is necessary that degree of f(x) is greater than or equal to 2 (see why?)
From Division algorithm of polynomials:
f(x)=(x−p)g1(x)+q
Where g1(x) is any polynomial
Similarly of we divide it by x−q
f(x)=(x−q)g2(x)+p
Now if we divide it by (x−p)(x−q)
f(x)=(x−p)(x−q)g3(x)+r(x)
From division algorithm of polynomial it follows that degree of r(x) is smaller than (x−p)(x−q) or r(x)=0
As degree of (x−p)(x−q) will be 2 therefore the highest possible degree of r(x) is1. Therefore there exists a and
b such that r(x)=ax+b where it is not necessary that a=0 as r(x) can also be a constant in that case
a=0 and if r(x)=0 then a=0 and b=0.
f(x)=(x−p)(x−q)g3(x)+(ax+b)
f(p)=(p−p)(p−q)g3(p)+(ap+b)=ap+b
and
f(q)=(q−p)(q−q)g3(q)+(aq+b)=aq+b
Also as remainder of division of f(x) and (x−p) is f(p) from remainder theorem. Therefore, f(p)=q because both (i.e f(p) and q) of them are the remainder of the same division, similarly f(q)=p therefore,
q=ap+b ...(1)
and
p=aq+b ...(2)
if we subtract the (1) from (2) we get
p−q=aq−ap
p−q=a(q−p)
a=−1
putting it in the equation (p=aq+b) we get
p=−q+b
b=p+q
Therefore the remainder r(x)=ax+b=−x+p+q=p+q−x
Note:
- It is important to note that if p=q then from the equation (p−q=a(q−p)) we can't get that a=−1 because in that case p−q=q−p=0 and as you can't divide anything by 0, therefore p=q as mentioned in the statement above
#Algebra
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
There are no comments in this discussion.