The roots of the cubic equation
x 3 − 4 x 2 + 6 x − 5 = 0
are p , q , r . If
q 4 + r 4 p 3 + p 4 + r 4 q 3 + p 4 + q 4 r 3 = − b a
for coprime positive integers a , b . What is the value of a − 2 b ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This is how I did it.
Define P n = p n + q n + r n , S n = ( p q ) n + ( q r ) n + ( r p ) n and Z n = ( p q r ) n for n ≥ 0 . Then we have P 0 = 3 , P 1 = 4 , S 1 = 6 , Z 1 = 5 . P 2 = P 1 2 − 2 S 1 = 4 .
Using the recursive relation P n + 3 = 4 P n + 2 − 6 P n + 1 + 5 P n for n ≥ 0 , it's easy to find P 3 = 7 , P 4 = 2 4 , P 1 1 = 1 2 2 1 4 .
We also have S 2 = S 1 2 − 2 Z 1 P 1 = − 4 and S 4 = S 2 2 − 2 Z 2 P 2 = − 1 8 4 .
The numerator of that monster is P 1 1 + S 4 P 3 = 1 0 9 2 6 , and the denominator is S 4 P 4 − Z 4 = − 5 0 4 1 .
What monstrosity is this?
Was what I thought after seeing your solution lol.
Interesting way to get the value of the denominator.
Log in to reply
Yes, that is call transforming roots of polynomial .
You might also enjoy my solution here .
Glad that you enjoyed this sadistic question!
Log in to reply
What a coincidence, I have a solution there too
just Great ! Thanks for nice question and awesome solution.
can u plz help me with questions "fine with five" and "abcdefg" ?
Nice method! I used the basic method: found out the roots and substituted it
Relevant wiki: Vieta's Formula Problem Solving - Advanced
This is really, really sadistic. I simply must give this problem a solution.
From Vieta's formula, we know that:
p + q + r = 4 p q + p r + q r = 6 p q r = 5
Using Newton's sums, we have
p 2 + q 2 + r 2 = ( p + q + r ) 2 − 2 ( p q + p r + q r ) = 4 2 − 2 ( 6 ) = 4 p 3 + q 3 + r 3 = ( p + q + r ) ( p 2 + q 2 + r 2 ) − ( p q + p r + q r ) ( p + q + r ) + 3 ( p q r ) = ( 4 ) ( 4 ) − ( 6 ) ( 4 ) + 3 ( 5 ) = 7 p 4 + q 4 + r 4 = ( p + q + r ) ( p 3 + q 3 + r 3 ) − ( p q + p r + q r ) ( p 2 + q 2 + r 2 ) + ( p q r ) ( p + q + r ) = ( 4 ) ( 7 ) − ( 6 ) ( 4 ) + ( 5 ) ( 4 ) = 2 4
The sum we're looking for is
q 4 + r 4 p 3 + p 4 + r 4 q 3 + p 4 + q 4 r 3 = 2 4 − p 4 p 3 + 2 4 − q 4 q 3 + 2 4 − r 4 r 3 = ( 2 4 − p 4 ) ( 2 4 − q 4 ) ( 2 4 − r 4 ) p 3 ( 2 4 − q 4 ) ( 2 4 − r 4 ) + q 3 ( 2 4 − p 4 ) ( 2 4 − r 4 ) + r 3 ( 2 4 − p 4 ) ( 2 4 − q 4 ) = 2 4 3 − 2 4 2 ( p 4 + q 4 + r 4 ) + 2 4 ( p 4 q 4 + p 4 r 4 + q 4 r 4 ) − p 4 q 4 r 4 p 3 ( 2 4 2 − 2 4 ( q 4 + r 4 ) + q 4 r 4 ) + q 3 ( 2 4 2 − 2 4 ( p 4 + r 4 ) + p 4 r 4 ) + r 3 ( 2 4 2 − 2 4 ( p 4 + q 4 ) + p 4 q 4 ) = 2 4 3 − 2 4 2 ( 2 4 ) + 2 4 ( p 4 q 4 + p 4 r 4 + q 4 r 4 ) − ( p q r ) 4 p 3 ( 2 4 2 − 2 4 ( 2 4 − p 4 ) + q 4 r 4 ) + q 3 ( 2 4 2 − 2 4 ( 2 4 − q 4 ) + p 4 r 4 ) + r 3 ( 2 4 2 − 2 4 ( 2 4 − r 4 ) + p 4 q 4 ) = 2 4 ( p 4 q 4 + p 4 r 4 + q 4 r 4 ) − ( p q r ) 4 2 4 ( p 7 + q 7 + r 7 ) + p 3 q 3 r 3 ( p q + p r + q r )
Now, we extend Newton's sums to the 7 th power:
p 5 + q 5 + r 5 = ( p + q + r ) ( p 4 + q 4 + r 4 ) − ( p q + p r + q r ) ( p 3 + q 3 + r 3 ) + ( p q r ) ( p 2 + q 2 + r 2 ) = ( 4 ) ( 2 4 ) − ( 6 ) ( 7 ) + ( 5 ) ( 4 ) = 7 4 p 6 + q 6 + r 6 = ( p + q + r ) ( p 5 + q 5 + r 5 ) − ( p q + p r + q r ) ( p 4 + q 4 + r 4 ) + ( p q r ) ( p 3 + q 3 + r 3 ) = ( 4 ) ( 7 4 ) − ( 6 ) ( 2 4 ) + ( 5 ) ( 7 ) = 1 8 7 p 7 + q 7 + r 7 = ( p + q + r ) ( p 6 + q 6 + r 6 ) − ( p q + p r + q r ) ( p 5 + q 5 + r 5 ) + ( p q r ) ( p 4 + q 4 + r 4 ) = ( 4 ) ( 1 8 7 ) − ( 6 ) ( 7 4 ) + ( 5 ) ( 2 4 ) = 4 2 4
And now, we arrive at the tricky part: p 4 q 4 + p 4 r 4 + q 4 r 4
( p q + p r + q r ) 2 = p 2 q 2 + p 2 r 2 + q 2 r 2 + 2 ( p 2 q r + p q 2 r + p q r 2 ) p 2 q 2 + p 2 r 2 + q 2 r 2 = ( p q + p r + q r ) 2 − 2 p q r ( p + q + r ) = ( 6 ) 2 − 2 ( 5 ) ( 4 ) = − 4 ( p 2 q 2 + p 2 r 2 + q 2 r 2 ) 2 = p 4 q 4 + p 4 r 4 + q 4 r 4 + 2 ( p 4 q 2 r 2 + p 2 q 4 r 2 + p 2 q 2 r 4 ) p 4 q 4 + p 4 r 4 + q 4 r 4 = ( p 2 q 2 + p 2 r 2 + q 2 r 2 ) 2 − 2 ( p q r ) 2 ( p 2 + q 2 + r 2 ) = ( − 4 ) 2 − 2 ( 5 ) 2 ( 4 ) = − 1 8 4
With everything prepared, we can now substitute in the values (finally!):
= 2 4 ( p 4 q 4 + p 4 r 4 + q 4 r 4 ) − ( p q r ) 4 2 4 ( p 7 + q 7 + r 7 ) + ( p q r ) 3 ( p q + p r + q r ) = 2 4 ( − 1 8 4 ) − ( 5 ) 4 2 4 ( 4 2 4 ) + ( 5 ) 3 ( 6 ) = − 4 4 1 6 − 6 2 5 1 0 1 7 6 + 7 5 0 = − 5 0 4 1 1 0 9 2 6
(Use your calculator, WolframAlpha or whatever to verify that this is the simplest form of the fraction. Don't lie, you're probably already using your calculator at this point)
Therefore, a = 1 0 9 2 6 , b = 5 0 4 1 , a − 2 b = 1 0 9 2 6 − 2 ( 5 0 4 1 ) = 1 0 9 2 6 − 1 0 0 8 2 = 8 4 4
MOST COLORFUL SOLUTION EVER!!!! +1
Log in to reply
Thanks! I almost ran out of colors to use!!!!!!!!! Hopefully, the colors help to make this solution easier to read
Log in to reply
Are you on Slack?
Log in to reply
@Pi Han Goh – Nope, I'm driving
Log in to reply
@Hung Woei Neoh – You typed a colorful solution while driving? WOAHHHHHHH
Log in to reply
@Pi Han Goh – =.= The idea of typing this solution while driving sounds so ridiculous and insane... even with a laptop, this solution took me 45 minutes to type out (surprisingly, it took less time than the solution to your Newton's sums problem a few weeks ago)
Nope, I typed this solution a few hours ago. I am using my phone now, and I don't type solutions with my phone
Log in to reply
@Hung Woei Neoh – Haha I was being sarcastic!!
By the way, I really appreciate your write up and I'm glad you enjoyed this question! =D =D =D =D
Lol!!! The colours!! A bright solution!
Log in to reply
Colors!!!!!!!!!!
Log in to reply
Dont you ever get tired of plugging in so many many many colours together? :P
Log in to reply
@Ashish Menon – Not at all. This question was especially thrilling, I had fun solving this problem and writing this colorful solution
Log in to reply
@Hung Woei Neoh – Genius in disguise :P
Log in to reply
@Ashish Menon – Not really a genius. Just a guy who loves math and has the free time to type colorful solutions
Log in to reply
@Hung Woei Neoh – Nice, I have no free time niw :( So much homeworks
Log in to reply
@Ashish Menon – It's okay, you can spend more time here during the holidays
A very cleanly presented and colourful solution!!!
Log in to reply
Thanks ⌣ ¨
Log in to reply
Same way,the only thing I did different was strategically not substituting 2 4 − p ⁴ for q 4 + r 4 (and similar terms) in the numerator and so on.Therefore I didnot get that nasty p 7 + q 7 + r 7 term.
Log in to reply
@Abdur Rehman Zahid – Google "LaTeX color list". The first result will show a list of basic, predefined LaTeX colors. I don't recommend yellow or pink, too bright.
Ehh? Then how did you calculate p 3 q 4 + p 3 r 4 + … ???
Log in to reply
@Hung Woei Neoh – Thanks :)
I currently don't remember what I did :P I solved this problem about more than a week ago.I'll get back to you soon.
Also,how do you know so many colours? Do you know a specific page of a list of colours for that?
Thanks :) I currently don't remember what I did :P I solved this problem about more than a week ago.I'll get back to you soon.
Loved this!!..I seriously wants to know how much time you spend on this problem to get it correct?
Log in to reply
Mmmm...I don't remember....about 20-30 minutes? Maybe?
L e t P k = p k + q k + r k , a n d Q k = ( p ∗ q ∗ r ) k q 4 + r 4 p 3 + q 4 + r 4 p 3 + q 4 + r 4 p 3 = ( p 4 + q 4 ) ( q 4 + r 4 ) ( r 4 + p 4 ) p 3 ( p 4 + q 4 ) ( p 4 + r 4 ) + q 3 ( q 4 + r 4 ) ( q 4 + p 4 ) + r 3 ( r 4 + p 4 ) ( r 4 + q 4 ) B u t p 3 ( p 4 + q 4 ) ( p 4 + r 4 ) = p 3 ( P 4 − r 4 ) ( P 4 − q 4 ) = p 3 ∗ ( P 4 2 − P 4 ( q 4 + r 4 ) + q 4 ∗ r 4 ) = p 3 ∗ ( P 4 2 − P 4 ( P 4 − p 4 ) + Q 4 / p 4 ) = p 3 ( P 4 2 − P 4 2 + P 4 ∗ p 4 + Q 4 / p 4 ) ∴ p 3 ( p 4 + q 4 ) ( p 4 + r 4 ) = P 4 ∗ p 7 + Q 4 / p . . . . . . . . . . . . . . . ( 1 ) t e a l a q u a o l i v e v i o l e t ( p 4 + q 4 ) ( q 4 + r 4 ) ( r 4 + p 4 ) = ( P 4 − r 4 ) ( P 4 − p 4 ) ( P 4 − q 4 ) = P 4 3 − P 4 2 ( p 4 + q 4 + r 4 ) + P 4 ( p 4 ∗ q 4 + q 4 ∗ r 4 + r 4 ∗ p 4 ) − p 4 ∗ q 4 ∗ r 4 = P 4 3 − P 4 2 ( P 4 ) + P 4 ∗ Q 4 ∗ ( 1 / p 4 + 1 / q 4 + 1 / r 4 ) − Q 4 = 0 − P 4 ∗ Q 4 ∗ P − 4 − Q 4 . ∴ ( p 4 + q 4 ) ( q 4 + r 4 ) ( r 4 + p 4 ) = − P 4 ∗ Q 4 ∗ P − 4 − Q 4 . . . . . . . . . . . . . ( 2 ) ( A ) X 3 − 4 X 2 + 6 X − 5 = 0 , d i v i d i n g b y − 5 ∗ X 3 w e g e t ( B ) X − 3 − 5 6 X − 2 + 5 4 X − 5 1 = 0 W e u s e N e w t o n S u m f o r e q u a t i o n . a 3 ∗ X 3 + a 2 X 2 + a 1 ∗ X + a o P 1 = − a 2 / a 3 , . . . . . . . . . P 2 = − a 2 / a 3 ∗ P 1 − 2 ∗ a 1 / a 3 . . . . . . . . . P 3 = − a 2 / a 3 ∗ P 2 − a 1 / a 3 ∗ P 1 − 3 ∗ a 0 / a 3 ( A ) ∴ P 1 = 4 , . . . . . . . . . . . . . . . . . . . . P 2 = 4 ∗ 4 − 2 ∗ 6 = 4 , . . . . . . . . . . . . . . . . . . . . P 3 = 4 ∗ 4 − 6 ∗ 4 + 3 ∗ 5 = 7 ( B ) P − 1 = 6 / 5 , . . . . . . . . . P − 2 = 6 / 5 ∗ 6 / 5 − 2 ∗ 4 / 5 = − 4 / 2 5 . . . . . . . . . P − 3 = 6 / 5 ∗ ( − 4 / 2 5 ) − 4 / 5 ∗ 6 / 5 + 3 ∗ 5 = − 6 9 / 1 2 5 U s i n g R e c u r s i v e R e l a t i o n f o r b o t h A a n d B : − ( A ) P k = 4 P k − 1 − 6 P k − 2 + 5 P k − 3 P 4 = 4 P 3 − 6 P 2 + 5 P 1 = 4 ∗ 7 − 6 ∗ 4 + 5 ∗ 4 = 2 4 . P 5 = 4 P 4 − 6 P 3 + 5 P 2 = 4 ∗ 2 4 − 6 ∗ 7 + 5 ∗ 4 = 7 4 . P 6 = 4 P 5 − 6 P 4 + 5 P 3 = 4 ∗ 7 4 − 6 ∗ 2 4 + 5 ∗ 7 = 1 8 7 . P 7 = 4 P 6 − 6 P 5 + 5 P 4 = 4 ∗ 1 8 7 − 6 ∗ 7 4 + 5 ∗ 2 4 = 4 2 4 . ( B ) P − 4 = 5 6 ∗ P − 3 + 5 4 ∗ P − 2 − 5 1 ∗ P − 1 = 5 6 ∗ ( − 6 9 ) / 1 2 5 − 5 4 ∗ ( − 4 / 2 5 ) + 5 1 ∗ 5 6 = 1 8 4 / 6 2 5 F r o m ( 1 ) a n d ( 2 ) : − q 4 + r 4 p 3 + r 4 + p 4 q 3 + p 4 + q 4 r 3 = − P 4 ∗ Q 4 ∗ P − 4 − Q 4 ∑ c y c P 4 ∗ p 7 + Q 4 / p . = − P 4 ∗ Q 4 ∗ P − 4 − Q 4 P 4 ∗ ( p 7 + q 7 + r 7 ) + Q 4 ∗ ( p − 1 + q − 1 + r − 1 ) = − P 4 ∗ Q 4 ∗ P − 4 − Q 4 P 4 ∗ P 7 + Q 4 ∗ P − 1 = − 2 4 ∗ 6 2 5 ∗ 1 8 4 / 6 2 5 − 6 2 5 2 4 ∗ 4 2 4 + 6 2 5 ∗ 6 / 5 = − 5 0 4 1 1 0 9 2 6 = − b a . ∴ a − 2 b = 1 0 9 2 6 − 2 ∗ 5 0 4 1 = 8 4 4 .
Are you sure P(k) = x^k +y^k + z^k also works for negative integer k?
Note that Newton's sum only applies for positive powers. But why does it appear to work for negative integers k too?
Log in to reply
I think this is only a representation. It is not doing any calculation. That is what I think.
Log in to reply
You are doing a lot of calculations, I don't know what you meant by "representation"...
Log in to reply
@Pi Han Goh – representation was not a correct word. My second comment explanations my thinking.
I am an engineer. I love maths. We often use math without knowing the theory.
I used Newton's Sum, but do not know the theory. For polynomial with + powers, if we know
P
n
for lower powers, we can calculate for higher ones. My logic. For - Powers, if we know
P
n
for higher powers, we can calculate for lower ones. If we know for n=-1,-2, -3,-4, we can calculate for -5,-6 ... .
Log in to reply
That's a hasty generalization. Math is not "oh, because it works for higher ones, so I can reverse it and go the other way too!"
Otherwise, mathematical induction will not make sense.
Log in to reply
@Pi Han Goh – I agree. What I meant to say is how I got it and what I got was correct. A request. What I got was a coincident? Or there is a theoretical explanation?
Log in to reply
@Niranjan Khanderia – Hint: If P(x) is a polynomial with non-zero roots a,b,c, then what are the roots of x^3 ( P(1/x) ) ?
Problem Loading...
Note Loading...
Set Loading...
By Vieta's formula, we have p + q + r = 4 , p q + p r + q r = 6 , p q r = 5
The combination of the 3 fractions give
q 4 + r 4 p 3 + p 4 + r 4 q 3 + p 4 + q 4 r 3
= ( p 4 + q 4 ) ( p 4 + r 4 ) ( q 4 + r 4 ) ( p 1 1 + q 1 1 + r 1 1 ) + p 4 q 4 ( p 3 + q 3 ) + p 4 r 4 ( p 3 + r 3 ) + q 4 r 4 ( q 3 + r 3 ) + ( p q r ) 3 ( p + q + r )
Because there's sum of powers of roots ( 1 1 , 4 , and 3 ), this motivates us to use Newton's Sum
However before that, we prefer to find the cubic equation with roots p 4 , q 4 , r 4
Let f ( x ) = x 3 − 4 x 2 + 6 x − 5 = 0 , then f ( x ) = 0 has roots p 2 , q 2 , r 2
( x ) 3 − 4 ( x ) 2 + 6 ( x ) − 5 x x − 4 x + 6 x − 5 x ( x + 6 ) x ( x + 6 ) 2 x 3 − 4 x 2 − 4 x − 2 5 = = = = = 0 0 4 x + 5 ( 4 x + 5 ) 2 0
Similar, let g ( x ) = x 3 − 4 x 2 − 4 x − 2 5 , then g ( x ) = 0 has roots p 4 , q 4 , r 4
( x ) 3 − 4 ( x ) 2 − 4 ( x ) − 2 5 x x − 4 x − 4 x − 2 5 x ( x − 4 ) x ( x − 4 ) 2 x 3 − 2 4 x 2 − 1 8 4 x − 6 2 5 = = = = = 0 0 4 x + 2 5 ( 4 x + 2 5 ) 2 0
Then by Vieta's formula, p 4 + q 4 + r 4 = 2 4 , p 4 q 4 + p 4 r 4 + q 4 r 4 = − 1 8 4 , p 4 q 4 r 4 = 6 2 5
Now we apply Newton's Sum
P 1 − 4 = 0 ⇒ P 1 = 4
P 2 − 4 P 1 + 2 ⋅ 6 = 0 ⇒ P 2 = 4
P 3 − 4 P 2 + 6 P 1 + 3 ⋅ ( − 5 ) = 0 ⇒ P 3 = 7
From above, P 4 = 2 4
P 5 − 4 P 4 + 6 P 3 − 5 P 2 = 0 ⇒ P 5 = 7 4
Apply Recursive Relation
P n = 4 P n − 1 − 6 P n − 2 + 5 P n − 3
⇒ P 6 = 1 8 7 , P 7 = 4 2 4 , P 8 = 9 4 4 , P 9 = 2 1 6 7 , P 1 0 = 5 1 2 4 , P 1 1 = 1 2 2 1 4
So the large fraction simplifies to
( 2 4 − r 4 ) ( 2 4 − q 4 ) ( 2 4 − p 4 ) 1 2 2 1 4 + p 4 q 4 ( 7 − r 3 ) + p 4 r 4 ( 7 − q 3 ) + q 4 r 4 ( 7 − p 3 ) + 5 3 ( 4 )
= − ( p 4 − 2 4 ) ( q 4 − 2 4 ) ( r 4 − 2 4 ) 1 2 7 1 4 + 7 ( p 4 q 4 + p 4 r 4 + q 4 r 4 ) − ( p q r ) 3 ( p + q + r )
= − ( p 4 − 2 4 ) ( q 4 − 2 4 ) ( r 4 − 2 4 ) 1 2 7 1 4 + 7 ( − 1 8 4 ) − ( 5 ) 3 ( 4 )
= − ( p 4 − 2 4 ) ( q 4 − 2 4 ) ( r 4 − 2 4 ) 1 0 9 2 6
To evaluate the denominator, we consider h ( x ) = x 3 − 2 4 x 2 − 1 8 4 x − 6 2 5 = 0 , then h ( x + 2 4 ) = 0 has roots ( p 4 − 2 4 ) , ( q 4 − 2 4 ) , ( r 4 − 2 4 )
( x + 2 4 ) 3 − 2 4 ( x + 2 4 ) 2 − 1 8 4 ( x + 2 4 ) − 6 2 5 = 0 , the constant term of the equation is the negative of the product of roots, which yields 2 4 3 − 2 4 ( 2 4 2 ) − 1 8 4 ( 2 4 ) − 6 2 5 = − 5 0 4 1 , so ( p 4 − 2 4 ) ( q 4 − 2 4 ) ( r 4 − 2 4 ) = 5 0 4 1
Hence, the fraction equals to − 5 0 4 1 1 0 9 2 6 , and because 5 0 4 1 = 7 1 2 with 7 1 ∤ 1 0 9 2 6 , then the fraction is in its simplest form. So a = 1 0 9 2 6 , b = 5 0 4 1 ⇒ a − 2 b = 8 4 4