Inverse Tangent Sums, Polynomial Roots and Complex Numbers
Recently, I have noticed a lot of problems posted on Brilliant that look a lot like this:
199x5+800x4+750x3+18x2−83x−12
Let x1,x2,x3,x4,x5 be the roots of the equation above.
If the value of tan(m=1∑5tan−1(xm)) can be written as ba where a and b are coprime integers, what is a−b?
I greatly encourage that you try out this problem for yourself before reading how to find the solution below, the link for which can be found here.
I'll be honest, when I first saw this problem I had no idea what to do. I tried derivatives. I tried polar graphing. It took me a while to realize that there must be a formula for the sum of at least the sum of two inverse tangent functions, and this formula is pretty easy to derive. We start with the formula for tan(A+B) and let A=tan−1(a) and B=tan−1(b):
Okay, step one complete. Only problem is that this is for only two variables. And I don't know the roots of the equation. So I'm pretty far off. Let's at least work on the first part, generalizing it to n variables. Let's get up to 3 variables and see if we can start seeing some patterns.
Now this is interesting! When I saw this I suddenly realized why there are so many problems like this. Take a look: Vieta's formulas for a 3 degree monic polynomial are right there in the equation! And looking back at the equation for 2 variables we can see Vieta's formulas for a 2nd degree monic polynomial. For those of you who are unfamiliar with Vieta's formulas, these are equations that relate the roots of a polynomial to it's coefficients. For example, if we have the polynomial A0x3+A1x2+A2x+A3=0 and the roots to this equation are a, b and c, Vieta's formulas give us the following equations:
A0−A1=a+b+c
A0A2=ab+ac+bc
A0−A3=abc
These formulas look familiar? We can replace our values of a, b and c in our tangential sum formula with the coefficients A0, A1, A2 and A3 like so:
We can do the same thing with the 1 and 2 variable formulas. Here are the first 4 formulas (as calculated by hand by me), substituting the coefficients of a polynomial expressing in for the roots of our equation:
tan(m=1∑1tan−1(xm))=A0−A1
tan(m=1∑2tan−1(xm))=A0−A2−A1
tan(m=1∑3tan−1(xm))=A0−A2−A1+A3
tan(m=1∑4tan−1(xm))=A0−A2+A4−A1+A3
It's clear that there's a pattern here, but what is it? It looks like the numerator of the fraction is the alternating sum of the even coefficients (negated) and the denominator is the alternating sum of the odd coefficients. Here it is, written in closed form:
This is great!! We now have a formula that will help us solve this type of problem for any degree polynomial, but how do we really know that it works for any degree? We know that it works for the first 4 cases, but we need to prove it for the case of n roots. To do this, I provide a proof by induction.
For those of you unfamiliar with this method of proof, here's the general idea. We'll call the left-hand side (LHS for short) of our formula f(n). We want to prove that for all n, f(n) equals the right-hand side (RHS) of the equation, which we'll denote by g(n), for a given n. First, we prove what is known as a "base case". Usually this means that proving that f(1)=g(1). Then, we ask the question, if f(n)=g(n) is true, is f(n+1)=g(n+1) true? Since we proved that n=1 is true, this would prove that n=2 is true, then 3 and so on for all n!
We've already proved the base case (we proved the first 4 in fact). We now assume that our formula is true for n, and using this information, we must prove that it's true for n+1 as well. That proof is as follows:
This may look a bit confusing, but it's exactly what we need. We need to turn this result, which is in terms of the coefficients Ak of the nth degree equation, into an expression in terms of the coefficients (which we'll denote as Bk) of the (n+1)th degree equation. If our nth degree polynomial is of the form A0xn+A1xn−1+A2xn−2+..., then our (n+1)th degree polynomial, which contains all the same roots as the nth degree plus the extra root xn+1, must be just the nth degree polynomial times the factor (x−xn+1). We can use this fact to create a formula for Bk
(A0xn+A1xn−1+A2xn−2+...)(x−xn+1)
=A0xn+1+(A1−A0xn+1)xn+(A2−A1xn+1)xn−1+...
=B0xn+1+B1xn+B2xn−1+...
This gives us the formula for Bk that we desire:
Bk=Ak−Ak−1xn+1, where B0=A0
Finally, let's replace our values of Ak with with Bk using our formula:
As you can see, the form of g(n+1) is the same as the form of g(n). And that's it! We have proven that if f(n)=g(n), then f(n+1)=g(n+1), meaning that this formula is true for all values of n!
Perfect, we have a formula that can answer this type of question for any polynomial! But can we improve it? Let's say instead of being given a polynomial, we were just given the values of the roots? One way to solve this would be to create a polynomial by multiplying the factors (x−xm) together and using the coefficients. While calculating the coefficients of a polynomial for 3 or 4 roots wouldn't be too difficult, but what if you were given 10? I knew that this might be a tough problem to solve, so I recently posted this.
Is there a way to calculate the alternating sums in the numerator and denominator without actually calculating the coefficients? For this I would like to draw your attention to the wonderful world of complex numbers. Where the imaginary number i=−1:
i0=1
i1=i
i2=−1
i3=−i
i4=1
Now what would happen if we had the desired polynomial and plugged in i for x?
Well doesn't this look familiar! Ignoring the in on the outside for now, it seems that on the inside we have a complex number where the real part is our denominator and the imaginary part is our denominator! All we have to do is find this complex number and we're set, but how do we find it?
Let's return to the idea of multiplying factors together to get a polynomial. In this case we are multiplying the factors (x−xm) together. But didn't we plug in i for x? Multiplying these factors of the form (i−xm) together gave us our result above, but we don't want the result with the in in front. There are n factors, so if we divide each factor by i we should get the result we desire:
And we're done. Multiplying 10 complex numbers together of this form is a lot easier than finding a 10th degree polynomial. As far as I know there's no simpler way to do this kind of problem, but if there is PLEASE let me know!
I feel that these two formulas will definitely help people to solve a number of very difficult problems like the ones mentioned above. Let me tell you that working through all of this math has been a real journey for me, and I believe that the mathematics behind this is incredibly beautiful. If you feel that there is something else to be said about these problems, my formulas or possibly your own, please leave a comment, I would be honored to discuss this topic with you.
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:
Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.
Markdown
Appears as
*italics* or _italics_
italics
**bold** or __bold__
bold
- bulleted - list
bulleted
list
1. numbered 2. list
numbered
list
Note: you must add a full line of space before and after lists for them to show up correctly
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
One could simply argue that multiplication of complex numbers result in addition of their argument, hence ;
Arg(m=1∏n(1+xim))=m=1∑nArg(1+xim)
Taking tan both sides we have :
tan(Arg(m=1∏n(1+xim)))=tan(m=1∑nArg(1+xim))
Thus proving the result.
Log in to reply
Yes! A beautiful connection.
Arg(a+bi)=tan−1(ab)⟹Arg(1+xmi)=tan−1(xm)
The result is the same, therefore the statement is proved. I love it! Thanks for adding it!
This looks really interesting! I'll save it for later when I get the time to pursue it properly.
Mesmerizing! :)
I knew the formula and was looking for a proof. Really thanks for it!
Log in to reply
No problem, glad to supply it!