# Problem 31

• Jul 17th 2007, 06:43 PM
ThePerfectHacker
Problem 31
1)Let $\displaystyle f(x),g(x),h(x),r(x)$ be polynomials such that:
$\displaystyle f(x^5)+xg(x^5)+x^2h(x^5)=(x^4+x^3+x^2+x+1)r(x)$.
Show that $\displaystyle x-1$ divides $\displaystyle f(x)$.

2)Below is a unit circle with 7 equally spaced points. Find the product of all the line segments shown.
• Jul 18th 2007, 10:40 AM
mathisfun1
1) We'll show that f(1)=0; the result follows. Write $\displaystyle f(x^5) = (x^4+x^3+x^2+x+1)r(x)-xg(x^5)-x^2h(x^5) \ \ (*)$. Note that the RHS can only have powers of x that are multiples of 5. $\displaystyle xg(x^5)$ and $\displaystyle x^2h(x^5)$ have only powers of x congruent to 2 and 3 mod 5, respectively. Choose coefficients for the RHS of (*) such that the terms with powers of x congruent to 3 and 4 (mod 5) vanish. Write $\displaystyle r(x)=a_0+a_1x+a_2x^2+...+a_nx^n$. The first term of the RHS of (1) is $\displaystyle a_0$. Write the highest power of x that is a mulitple of 5 as $\displaystyle 5k$. Consider when k=1. Now, the $\displaystyle x^4$ term has coefficient $\displaystyle \Sigma_{i=0}^m a_i=0$. If m<4 then the coefficient for $\displaystyle x^5$ is $\displaystyle \Sigma_{i=1}^m a_i = -a_0$, in which case x=1 is a root for f(x). If m=4 then there are there are two possibilities. If $\displaystyle x^5$ has coefficient $\displaystyle \Sigma_{i=1}^4 a_i = -a_0$ then we're done. If instead the coefficient is $\displaystyle \Sigma_{i=1}^{5} a_i = a_5-a_0$, then $\displaystyle f(1)$ (the sum of the coefficients of $\displaystyle x^0$ and $\displaystyle x^5$) equals $\displaystyle a_5$, in which case we're done since $\displaystyle a_5=0$ (being the coefficient of $\displaystyle x^9$. Induct on k.
• Jul 18th 2007, 10:33 PM
malaygoel
2) I got the answer $\displaystyle 12(sinx + sin2x + sin3x)$
where $\displaystyle x=\frac{\pi}{7}$
• Jul 19th 2007, 05:23 AM
ThePerfectHacker
Quote:

Originally Posted by malaygoel
2) I got the answer $\displaystyle 12(sinx + sin2x + sin3x)$
where $\displaystyle x=\frac{\pi}{7}$

Sorry, :(, you made a mistake.
• Jul 19th 2007, 06:36 AM
mathisfun1
From law of cosines, each segment connecting two adjacent points on the perimeter have length $\displaystyle 2\sin{\frac{\pi}{7}}$. Each of the next-longest segments has length $\displaystyle 2\sin{\frac{2\pi}{7}}$, and a longest segment has length $\displaystyle 2\sin{\frac{3\pi}{7}}$. There are seven segments of each length, so the product is $\displaystyle (8\sin{\frac{\pi}{7}}\sin{\frac{2\pi}{7}}\sin{\fra c{3\pi}{7}})^7$. Using the well-known fact that $\displaystyle \sin{\frac{\pi}{7}}\sin{\frac{2\pi}{7}}\sin{\frac{ 3\pi}{7}}=\frac{\sqrt 7}{8}$ Trigonometry Angles--Pi/7 -- from Wolfram MathWorld, our answer is $\displaystyle 243\sqrt{7}$.
• Jul 19th 2007, 07:41 AM
ThePerfectHacker
Quote:

Originally Posted by mathisfun1
our answer is $\displaystyle 243\sqrt{7}$.

Good job! See if you can generalize this. Given a $\displaystyle n\geq 2$ points on a unit circle find the product of all $\displaystyle n(n-1)/2$ segments.
• Jul 19th 2007, 07:15 PM
malaygoel
if n is odd
it is$\displaystyle x^n$
where x is
$\displaystyle 2^{\frac{n-1}{2}}sin\frac{2\pi}{n}sin\frac{4\pi}{n}...sin\fra c{(n-1)\pi}{n}$
• Jul 19th 2007, 07:23 PM
ThePerfectHacker
Quote:

Originally Posted by malaygoel
if n is odd
it is$\displaystyle x^n$
where x is
$\displaystyle 2^{\frac{n-1}{2}}sin\frac{2\pi}{n}sin\frac{4\pi}{n}...sin\fra c{(n-1)\pi}{n}$

I am not saying that the answer is wrong because I have not checked it but it can be greatley simplified.
• Jul 22nd 2007, 05:22 PM
ThePerfectHacker
Both of the problems I posted require the nice application of Complex Numbers.

The first problem was from the United States national competition. My solution differs slightly from the offical solution which is a little bit more elementary.

We will use something called the roots of unity. Given the equation $\displaystyle z^n=1$ there are exactly $\displaystyle n$ complex solution given by:
$\displaystyle \left\{ \cos \frac{2\pi 0}{n}+i\sin \frac{2\pi 0}{n} , \cos \frac{2\pi}{n} + i \sin \frac{2\pi}{n}, ... , \cos \frac{2\pi (n-1)}{n}+i\sin \frac{2\pi (n-1)}{n} \right\}$
Hence,
$\displaystyle \left\{ \cos \frac{2\pi k}{n} + i\sin \frac{2\pi k}{n} \right\} \mbox{ for }0\leq k\leq n-1$
Is a complete set of solutions.
Now if $\displaystyle k\geq 1$ and $\displaystyle \gcd(k,n)=1$ then if $\displaystyle \zeta = \cos \frac{2\pi k}{n}+i\sin \frac{2\pi k}{n}$ then $\displaystyle \{\zeta , \zeta^2 ,...,\zeta^n\}$ is a complete set of solution. So that is basically what you need to know. I write them here as a chance to learn if you never did.

Now returning to the problem. We want to show $\displaystyle x-1$ divides $\displaystyle f(x)$ which is equivalent to saying $\displaystyle 1$ is a zero of $\displaystyle f(x)$, i.e. $\displaystyle f(1)=0$.

Before doing the problem there is one thing you need to know about roots of unity. The sum of the roots of unities is zero!

We know that,
$\displaystyle f(x^5)+xg(x^5)+x^2h(x^5)=(x^4+x^3+x^2+x+1)r(x)$
Let $\displaystyle \zeta = \cos \frac{2\pi}{5}+i\sin \frac{2\pi}{5}$.
Substitute that to get,
$\displaystyle f(1)+\zeta g(1) + \zeta^2 h(1) = 0$
Now $\displaystyle \zeta^2$ generates the set of roots of unity because $\displaystyle \gcd(2,5)=1$.
Thus,
$\displaystyle f(1)+\zeta^2 g(1)+\zeta^4 h(1) = 0$.
Now $\displaystyle \zeta^4$ also generates the set of roots of unitys because $\displaystyle \gcd(4,5)=1$.
Thus,
$\displaystyle f(1)+\zeta^4g(1)+\zeta^3h(1)=0$.

Note, we wrote $\displaystyle \zeta^3$ since $\displaystyle \zeta^8 = \zeta^5 \zeta^3=\zeta^3$.

What he have above is a homogenous system of linear equations. Note the determinant,
$\displaystyle \left| \begin{array}{ccc}1&\zeta&\zeta^2\\1&\zeta^2&\zeta ^4 \\ 1&\zeta^4&\zeta^3 \end{array} \right| \not = 0$.
Which means there are only trivial solution.
Hence,
$\displaystyle f(1)=0$.
Q.E.D.
• Jul 23rd 2007, 01:34 PM
ThePerfectHacker
The second problem is an extremely nice and difficult problem I found in a math book. I had to spend several hours on it. One thing that makes it difficult is the familarity with a beautiful identity:
$\displaystyle \sin \frac{\pi}{n} \sin \frac{2\pi}{n} ... \sin \frac{(n-1)\pi}{n} = \frac{n}{2^{n-1}}$
Which can be found here.

But I will give the derivation of that identity here because there I did it a little messy.

Given the polynomial,
$\displaystyle \Phi(z) = 1+z+z^2+...+z^n$
It is a known result (see "roots of unity" above) that we can factor it as,
$\displaystyle \Phi(z)=(z - \zeta)(z-\zeta^2)...(z-\zeta^{n-1})$ where $\displaystyle \zeta = \cos \frac{2\pi}{n}+i\sin\frac{2\pi}{n}$ (since $\displaystyle (z-1)\Phi(z) = z^n-1$).
Thus,
$\displaystyle |\Phi(z)| = |z-\zeta||z-\zeta^2|...|z-\zeta^{n-1}|$ (where $\displaystyle |x+iy|=\sqrt{x^2+y^2}$, called the "absolute value" of complex number).
Thus,
$\displaystyle n=|\Phi(1)| = |1-\zeta|...|1-\zeta^{n-1}|$.
But (details can be found in link),
$\displaystyle |1-\zeta^k| = 2\sin \frac{\pi k}{n} \mbox{ for }1\leq k\leq n$.
Thus,
$\displaystyle \sin \frac{\pi}{n} \sin \frac{2\pi}{ n}...\sin \frac{(n-1)\pi}{ n} = \frac{n}{2^{n-1}}$.

Now we can return to the problem. Eventhough it was posed with 7 points, it works in general with $\displaystyle n$ points with a simple formula. Note, instead of doing this in general, I will do it specifically for $\displaystyle n=7$ and $\displaystyle n=8$. Because there are minor changes in the proof depending whether $\displaystyle n$ is even or odd. And once that is done you can easily generalize this in general by following similar reasoning. I just do not want to do the general case at once because it is a little longer to type and it might be more difficult to follow.

Seven Points: Using the Roots of Unity approach again we can think of these points in the complex plane without lose of generality we can say those are $\displaystyle 1,\zeta,\zeta^2,...,\zeta^6$ with $\displaystyle \zeta = \cos \frac{2\pi}{n}+i\sin \frac{2\pi}{n}$.
Given two points $\displaystyle z_1 \mbox{ and }z_2$ their distance is $\displaystyle |z_1-z_2|$ where $\displaystyle | \ |$ means "absolute value" and was defined above.
Thus, we all the segments we get for $\displaystyle 7$ points are:
$\displaystyle |\zeta - 1|, |\zeta^2 - 1|, ... , |\zeta^6 - 1|$
$\displaystyle |\zeta^2 - \zeta|, |\zeta^3 - \zeta| , ... , |\zeta^5 - \zeta|$
$\displaystyle |\zeta^3 - \zeta^2|, |\zeta^4 - \zeta^2|,...,|\zeta^6 - \zeta^2|$
$\displaystyle |\zeta^4-\zeta^3|, |\zeta^5-\zeta^3| , |\zeta^6 - \zeta^4|$
$\displaystyle |\zeta^5 - \zeta^4| , |\zeta^6 - \zeta^4|$
$\displaystyle |\zeta^6-\zeta^5|$
We just wrote them out conviently in rows, we will see why that is convient soon.

But notice that, $\displaystyle |\zeta^2 - \zeta| = |\zeta||\zeta - 1|= |\zeta - 1|$. And $\displaystyle |\zeta^4 - \zeta^2| = |\zeta^2||\zeta^2 - 1|$ and so one.... Using this simplification trick we find:
$\displaystyle |\zeta - 1|, ... ,|\zeta^6 - 1|$
$\displaystyle |\zeta - 1|, ... , |\zeta^5 - 1|$
$\displaystyle |\zeta - 1|, ... , |\zeta^4 - 1|$
$\displaystyle |\zeta - 1|, ... , |\zeta^3 - 1|$
$\displaystyle |\zeta - 1||\zeta^2 - 1|$
$\displaystyle |\zeta - 1|$
Again we keep them conviently in those rows.

Now let us write them out using the fact that $\displaystyle |\zeta^k - 1| = 2\sin \frac{\pi k}{7}$ (details omiited, but this is basic trigonometry).

Thus, keeping them in convient rows,
$\displaystyle 2\sin \frac{\pi}{7}, 2\sin \frac{2\pi }{7} , ... , 2\sin \frac{6\pi }{7}$
$\displaystyle 2\sin \frac{\pi}{7} , 2\sin \frac{2\pi}{7}, ... , 2\sin \frac{5\pi}{7}$
$\displaystyle 2\sin \frac{\pi}{7}, 2\sin \frac{2\pi}{7}, ... , 2\sin \frac{4\pi}{7}$
$\displaystyle 2\sin \frac{\pi}{7}, 2\sin \frac{2\pi}{7} , 2\sin \frac{3\pi}{7}$
$\displaystyle 2\sin \frac{\pi}{7}, 2\sin \frac{2\pi}{7}$
$\displaystyle 2\sin \frac{\pi}{7}$

Now we need to multiply those numbers out :eek:. But do not worry it is not that bad, we still have that identity above sines above which we never used.

Do the following steps:
-------------------------
1)Multiply all elements in Row 1. That is simply the identity above and we get $\displaystyle 7$.

2)Multiply all the elements in Row 2 with Row 6 and use the fact that $\displaystyle \sin \frac{\pi}{7} = \sin \left(\pi - \frac{\pi}{7} \right) = \sin \frac{6\pi}{7}$. So we get the identity again! (Sneaky ... I know). Thus we get $\displaystyle 7$ again.

3)Multiply all the elements in Row 3 with Row 5 and use the fact that $\displaystyle \sin \frac{\pi}{7} = \sin \frac{6\pi}{7}$ and $\displaystyle \sin \frac{2\pi}{7} = \sin \frac{5\pi}{7}$. So we get the identity again! (Even more sneaky). Thus we get $\displaystyle 7$ again.

4)We are left with Row 4. What do we pair it with we exhausted all the cases? We can pair it with itself. Meaning, let $\displaystyle X = 2\sin \frac{\pi}{7} \cdot 2\sin \frac{2\pi}{7} \cdot 2\sin \frac{3\pi}{7}$.
Thus,
$\displaystyle X^2 = 2^6 \sin \frac{\pi}{7} \sin \frac{2\pi}{7} \sin \frac{3\pi}{7}\sin \frac{3\pi}{7}\sin \frac{2\pi}{7} \sin \frac{\pi}{7}$
Thus,
$\displaystyle X^2 = 2^6 \sin \frac{\pi}{7}\sin \frac{2\pi}{7}\sin \frac{3\pi}{7}\sin \frac{4\pi}{7}\sin \frac{5\pi}{7} \sin \frac{6\pi}{7}=7$
Thus,
$\displaystyle X=\sqrt{7}$.

So in total when we multiply Steps 1 through 4 we get:
$\displaystyle \boxed{7^3\sqrt{7}}$.

Eight Points: Follow the exact same idea as above. But here the problem gets a little easier. Because we do not need to pair the middle row to itself and take square roots. We can in fact pair everything together using the Sine Reduction trick since there is an even number of terms. The answer you should get is $\displaystyle 8^4$.

In General: By succesfully doing 7 and 8 points you should get the general idea. Which is the,
$\displaystyle \boxed{n^{n/2}}$.

Q.E.D.