So there's this set of polynomial expressions with degree n=3:
{x1+x2+x3=ax21+x22+x23=bx31+x32+x33=c
How to find atleast one set of x1,x2,x3 values, knowing that all variables and constants (a,b,c) are positive integers?
Thank you.
Update:
Alright, with the help in the comments I was able to transform this set into a single polynomial expression that can be solved in various ways.
Using Newton's identities:
x21+x22+x23=(x1+x2+x3)2−2(x1x2+x2x3+x1x3)x31+x32+x33=(x1+x2+x3)3−3(x1x2+x2x3+x1x3)(x1+x2+x3)+3x1x2x3
We can substitute expressions in the set:
{x1+x2+x3=a(x1+x2+x3)2−2(x1x2+x2x3+x1x3)=b(x1+x2+x3)3−3(x1x2+x2x3+x1x3)(x1+x2+x3)+3x1x2x3=c
{x1+x2+x3=ax1x2+x2x3+x1x3=a2−b2(x1+x2+x3)3−3(x1x2+x2x3+x1x3)(x1+x2+x3)+3x1x2x3=c
{x1+x2+x3=ax1x2+x2x3+x1x3=a2−b2x1x2x3=c+3aa2−b2−a33
To simplify, let's assume (since the right halves of the last set are all constants):
p1=ap2=a2−b2p3=c+3aa2−b2−a33
So we get:
{x1+x2+x3=p1x1x2+x2x3+x1x3=p2x1x2x3=p3
Now, using Viete's theorem for general polynomial of degree 3:
P(x)=a3t3+a2t2+a1t+a0
With the following properties:
t1+t2+t3=−a2a3t1t2+t2t3+t1t3=a1a3t1t2t3=−a0a3
Applying to our set:
{p1=−a2a3p2=a1a3p3=−a0a3
And assuming that a3=1, the final polynomial will be the following:
t3−p1t2+p2t−p3=0,
where the three roots of t are variables x1,x2 and x3.
(Using Buchberger's algorithm might be a good way to solve it a well, but I was struggling with it and decided to do it this way for now.)
Answer
Take the resultant of x1+x2+x3−a and x21+x22+x23−b with respect to x3, the resultant of x1+x2+x3−a and x31+x32+x33−c with respect to x3, and the resultant of those two resultants with respect to x2. You get the square of a cubic polynomial in x1 that must be 0:
−6x13+6ax12+(−3a2+3b)x1+a3−3ab+2c
Since it's a cubic with real coefficients, there is at least one real root.
The discriminant is Δ=−216a6+1944a4b−1728a3c−4536a2b2+7776abc+648b3−3888c2
If Δ>0, there are three distinct real roots; if Δ<0, there is only one real root. If Δ=0, there is at least one real root of multiplicity >1. However, even when there is a real root for x1 the solutions for x2 and x3 might not be real. By symmetry, in any solution the values of x2 and x3 are also possible values of x1. Thus if we want real solutions for x1,x2,x3 we need Δ≥0.
No comments:
Post a Comment