wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> medium >> Sum of fourth powers
(Message started by: pcbouhid on Nov 26th, 2005, 5:17am)

Title: Sum of fourth powers
Post by pcbouhid on Nov 26th, 2005, 5:17am
Given:

a + b + c = 6
a^2 + b^2 + c^2 = 8
a^3 + b^3 + c^3 = 5

What is the value of a^4 + b^4 + c^4?

Title: Re: Sum of fourth powers
Post by JocK on Nov 26th, 2005, 8:27am

on 11/26/05 at 05:17:15, pcbouhid wrote:
Given:

a + b + c = 6
a^2 + b^2 + c^2 = 8
a^3 + b^3 + c^3 = 5

What is the value of a^4 + b^4 + c^4?


I don't think the plane

a + b + c = 6

has an intersection with the sphere

a2 + b2 + c2 = r2

for r2 < 12 ...  ???



Title: Re: Sum of fourth powers
Post by Icarus on Nov 26th, 2005, 9:03am
I get [hide]
a4 + b4 + c4 = 0
a5 + b5 + c5 = 118/3
a6 + b6 + c6 = 913/3
[/hide]

or more generally
[hide] If An = an + bn + cn,
then An = 6An-1 - 14An-2 + (41/3)An-3.

This is the first time I can recall starting with the general term, and figuring out the recursion.[/hide]

Title: Re: Sum of fourth powers
Post by Icarus on Nov 26th, 2005, 9:04am

on 11/26/05 at 08:27:41, JocK wrote:
I don't think the plane

a + b + c = 6

has an intersection with the sphere

a2 + b2 + c2 = r2

for r2 < 12 ...  ???




Who says a, b, c have to be real?

Title: Re: Sum of fourth powers
Post by Grimbal on Nov 26th, 2005, 11:39am
I can just confirm Icarus's answer.

But it would be too long to generalize.

[hide]
S1 = (a+b+c) = 6
S2 = (a2+b2+c2) = 8
S3 = (a3+b3+c3) = 5
S4 = (a4+b4+c4) = ?

S1·S1 = (a+b+c)(a+b+c) = (a2+b2+c2) + 2(ab+ac+bc) = S2 + S11
S11 = 2(ab+ac+bc) = S1·S1 - S2

S2·S1 = (a2+b2+c2)(a+b+c) = (a3+b3+c3) + (a2b+a2c +b2a+b2c +c2a+c2b) = S3 + S21
S21 = (a2b+a2c +b2a+b2c+c2a +c2b) = S2·S1 - S3

S11·S1 = 2(ab+ac+bc)(a+b+c) = 6abc + 2(a2b+a2c+b2a +b2c+c2a +c2b) = S111 + 2·S21
S111 = 6abc = S11·S1 - 2·S21
S111 = S1·S1·S1 - 3·S2·S1 + 2·S3

S111·S1 = 6(abc)(a+b+c) = 6(a2bc+b2ac+c2ab) = 3·S211
S211 = 2(a2bc+b2ac+c2ab) = S111·S1/3
S211 = S1·S1·S1·S1/3 - S2·S1·S1 + 2/3·S3·S1

S2·S11 = 2(a2+b2+c2)(ab+ac+bc) = 2(a3b+a3c +ab3+b3c +ac3+bc3) + 2(a2bc+ab2c+abc2) =  2·S31 + S211
S31 = (a3b+a3c +b3a+b3c+c3a +c3b) = (S2·S11-S211)/2
S31 = S2·S1·S1 - S2·S2/2 - S1·S1·S1·S1/6 - S3·S1/3

S3·S1 = (a3+b3+c3)(a+b+c) = (a4+b4+c4) + (a3b+a3c+b3a +b3c +c3a+c3b) = S4 + S31
S4 = (a4+b4+c4) = S3·S1 - S31
S4 = S1·S1·S1·S1/6 + 4/3·S3·S1 + S2·S2/2 - S2·S1·S1

S4 = 64/6 + 4/3·5·6 + 82/2 - 8·62 = 0
[/hide]

Title: Re: Sum of fourth powers
Post by Icarus on Nov 26th, 2005, 11:57am
Not that long. The recursion formula I offered is just

An = S1An-1 - (S11/2)An-2 + (S111/6)An-3,

using your notation. Once you have those three values (one of which is given), you can find all the powers by induction.

Title: Re: Sum of fourth powers
Post by pcbouhid on Nov 26th, 2005, 1:04pm
Great work. The solution I have:

a + b + c = 6
a^2 + b^2 + c^2 = 8
a^3 + b^3 + c^3 = 5

[hide]If cubic equation x^3 - Ax^2 + Bx - C = 0 has roots a, b, c, then, expanding
(x - a)(x - b)(x - c), we find:

A = a + b + c

B = ab + bc + ca

C = abc

Then:

B = ab + bc + ca = 1/2[(a + b + c)^2 - (a^2 + b^2 + c^2)] = 14.

Hence a, b, c are roots of x^3 - 6x^2 + 14x - C = 0, and we have:

a^3 - 6a^2 + 14a - C = 0

b^3 - 6b^2 + 14b - C = 0

c^3 - 6c^2 + 14c - C = 0

Adding, we have:

(a^3 + b^3 + c^3) - 6(a^2 + b^2 + c^2) + 14(a + b + c) - 3C = 5 - 6×8 + 14×6 - 3C = 0.

Hence C = 41/3, and

x^3 - 6x^2 + 14x - 41/3 = 0.

Multiplying the polynomial by x, we have:

x^4 - 6x^3 + 14x^2 - 41x/3 = 0.

Then:

a^4 - 6a^3 + 14a^2 - 41a/3 = 0

b^4 - 6b^3 + 14b^2 - 41b/3 = 0

c^4 - 6c^3 + 14c^2 - 41c/3 = 0

Adding, we have:

(a^4 + b^4 + c^4) - 6(a^3 + b^3 + c^3) + 14(a^2 + b^2 + c^2) - 41(a + b + c)/3 = 0.

Hence:

a^4 + b^4 + c^4 = 6×5 - 14×8 + (41/3)×6 = 0.[/hide]

Title: Re: Sum of fourth powers
Post by JocK on Nov 27th, 2005, 3:51am
It is a nice problem. Just wonder how many people came up with the requested answer without realising they are dealing not just with ordinary numbers, but with elements of a more generic division ring...  :o

Anyone dare to represent a, b and c as complex numbers, quaternions or octonions?


Title: Re: Sum of fourth powers
Post by Barukh on Nov 27th, 2005, 4:17am
You may want also to visit the following thread (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_easy;action=display;num=1078518934) with exactly the same name.

Title: Re: Sum of fourth powers
Post by Icarus on Nov 27th, 2005, 9:08am
My approach was slightly different. I recalled the result that a linear recursion with constant coefficients

An+k+1 = akAn+k + ak-1An+k-1 + ... + a0An

has general term of the form

An = p0(n)r0n + ... + pm(n)rmn,

where the ri are the distinct roots of the characteristic polynomial xk+1 - akxk - ... - a0, and for all i, pi is a polynomial whose degree is 1 less than the multiplicity of ri as a root.

In particular, if the characteristic polynomial does not have any multiple roots, the general term is given by

An = b0r0n + ... + bkrkn.

---------

Looking at the given information, I saw that it was, assuming that a, b, c were distinct, the first 3 terms of a 3rd-order recursion, so all I needed to do was to find the recursion relation. The characteristic polynomial is (x-a)(x-b)(x-c) = x3 - (a+b+c)x2 + (ab+ac+bc)x - abc.

A calculation similar to Grimbal's showed this to be x3 - 6x2[/sub] + 14x[sup]3 - 41/3. So the recursion formula is An = 6An-1 - 14An-2 + (41/3)An-3.

Applying the recursion for n=4 gives A4 = 0. And once you have the recursion, calculating sums of higher powers is almost gratis.

Title: Re: Sum of fourth powers
Post by Icarus on Nov 27th, 2005, 9:14am

on 11/27/05 at 03:51:55, JocK wrote:
It is a nice problem. Just wonder how many people came up with the requested answer without realising they are dealing not just with ordinary numbers, but with elements of a more generic division ring...  :o

Anyone dare to represent a, b and c as complex numbers, quaternions or octonions?


Nothing more than complex numbers is needed. Any consistent system of polynomial equations with real or complex coefficients will be completely solvable within the complex numbers.

As for representing a, b, c, just find the roots of x3 - 6x2 + 14x - 41/3. Cartan will oblige.
______________________________________

Barukh's link to NickH's previous posting of this riddle makes me curious if NickH is not the originator, at least of the form given here. Since in the previous version, Nick originally had different values, but then changed them so the answer would be 0.



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board