r/askmath • • 9d ago

Algebra Idk why I did this

Are vietas formula and newtons sun really the only way to solve these in a realistic way??

3 Upvotes

2 comments sorted by

1

u/AlterEgo5695 9d ago edited 9d ago

Not sure why you would just assume "B = 2" on page-2. And yes, "Newton's Identities" are the way to go.


Consider "P(x) := (x-a) (x-b) (x-c) = x3 - (a+b+c)x2 + (ab+ac+bc)x - abc", and define "sn := an + bn + cn " to be power sums for all "n in N", as well as "s0 := 3". For "n > 3" we notice "sn" follows a recursion:

n > 3:    0  =  a^{n-3}*P(a) + b^{n-3}*P(b) + c^{n-3}*P(c)
             =  sn - (a+b+c)*s_{n-1} + (ab+ac+bc)*s_{n-2} - abc*s_{n-3}

   =>    sn  =  s1*s_{n-1} - (ab+ac+bc)*s_{n-2} + abc*s_{n-3},    n > 3

A quick manual check reveals "s0 = 3" extends the recursion to "n = 3". We get

       s3  =  s1*s2 - (ab+ac+bc)*s1 + abc*s0  =  24 -  4(ab+ac+bc) +  3abc
18  =  s4  =  s1*s3 - (ab+ac+bc)*s2 + abc*s1  =  96 - 22(ab+ac+bc) + 16abc    (1)

Additionally, we note

4^2  =  (a+b+c)^2  =  s2 + 2(ab+ac+bc)  =  6 + 2(ab+ac+bc)    =>    ab+ac+bc  =  5

Insert into (1) to finally obtain

16abc  =  18 - 96 + 22*5  =  32    =>    abc  =  2

With all coefficients at hand, we have fully determined polynomial "P" via

P(x)  =  x^3 - 4x^2 + 5x - 2  =  (x-1)^2 (x-2)  =  (x-a) (x-b) (x-c)

Comparing zeroes, "(a; b; c)" must be permutations of "(1; 1; 2)".

1

u/NotAnEngineer__ 9d ago

Only assumed b=2 because it was an interger upper bound and fairly easily to test