⎩ ⎪ ⎪ ⎨ ⎪ ⎪ ⎧ x + y = 2 x y = 4 S n = x n + y n The above equations are given, where n is a positive integer . It can be shown that
p S n = S n + 1 + q S n − 1
where p and q are positive integers. Find p q .
Bonus questions:
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.
Nice! When making the bonus questions I was pleasantly surprised to see that the formulae for D n + 1 is the same as the formula in the main question, just replace the letter S s with D s.
Time to get really involved. Let this serve as a warning that it is best to look for mathematical beauty, as opposed to bashing.
We can solve for x and y by substitution:
x = y 4 → x + x 4 = 2
x 2 − 2 x + 4 = 0
Solving the quadratic using the quadratic formula, x = 1 ± i 3 . Now, we can construct the same argument for y, resulting in y = 1 ± i 3 .
From simple observation, it is clear that if x takes one of these values, y must take the other, as if did not occur, the system of two equations would not be solved. As all equations considered in this solution are symmetric with respect to x and y, we can use them interchangeably. Therefore, wlog we let x = 1 + i 3 and y = 1 − i 3 .
Now it is clear that
S n = ( 1 + i 3 ) n + ( 1 − i 3 ) n
To simplify calculation, we switch to polar form,
e 3 i π = 2 1 + 2 i 3
2 e 3 i π = 1 + i 3
Substituting
S n = ⎝ ⎜ ⎛ 2 e 3 i π ⎠ ⎟ ⎞ n + ⎝ ⎜ ⎛ 2 e 3 − i π ⎠ ⎟ ⎞ n
S n = 2 n e 3 i π n + 2 n e 3 − i π n
S n = 2 n ( cos 3 n π + i sin 3 n π + cos 3 n π − i sin 3 n π )
S n = 2 n + 1 cos 3 n π
In the third step, the facts that cos is an even function and sin is an odd function were used.
With this form of S n , we now consider the equation
q S n = S n + 1 + p S n − 1
Substituting S n
q ( 2 n + 1 cos 3 n π ) = 2 n + 2 cos 3 n π + π + p ( 2 n cos 3 n π − π )
Dividing by 2 n
2 q cos 3 n π = 2 2 cos 3 n π + π + p cos 3 n π − π
Using cosine addition formula
2 q cos 3 n π = 4 ⎝ ⎛ 2 cos 3 n π − 2 3 sin 3 n π ⎠ ⎞ + p ⎝ ⎛ 2 cos 3 n π + 2 3 sin 3 n π ⎠ ⎞
For both sides of the equation to be equal, the sines on the right hand side must cancel. Therefore, p = 4 . We now have
2 q cos 3 n π = 4 cos 3 n π
Resulting in q = 2 .
p q = 8
That's the same way I did it... (+1).... Probably the beauty of complex numbers which makes this solution elegant and the roots of the given equation were also perfectly set up to use complex numbers :-)
Log in to reply
This wasn't intended, but I soon found it out and it was part of the inspiration towards my bonus question!
Edit: In fact, it's not even needed for the first bonus question at all. I've added another bonus
To be honest, I consider this solution inferior to those that use the definition of S n to find the identity. It requires so much work that, although not difficult, still makes the solution rather long.
Log in to reply
No solution is inferior ... :-) The bonus-2 is difficult to calculate without complex numbers and hence has its own advantage... Every solution has its own advantage.
We know that { x + y = 2 x y = 4
S 0 = x 0 + y 0 = 2 S 1 = x + y = 2 S 2 = ( x + y ) 2 − 2 x y = 2 S 1 − 4 S 0 S 3 = ( x + y ) ( x 2 + y 2 ) − x y ( x + y ) = 2 S 2 − 4 S 1 S 4 = ( x + y ) ( x 3 + y 3 ) − x y ( x 2 + y 2 ) = 2 S 3 − 4 S 2 S 5 = ( x + y ) ( x 4 + y 4 ) − x y ( x 3 + y 3 ) = 2 S 4 − 4 S 3
Therefore, we can see that
S n = 2 S n − 1 − 4 S n − 2 S n + 1 = 2 S n − 4 S n − 1 2 S n = S n + 1 + 4 S n − 1
⟹ p = 2 , q = 4 , p q = 2 × 4 = 8
Brilliant... (+1)
PS:- Now there is no room for my solution since both techniques have been already posted :-p
2 S n = ( x + y ) ( x n + y n ) = x n + 1 + y n + 1 + y x n + x y n = S n + 1 + x y ( x n − 1 + y n − 1 ) = S n + 1 + 4 S n − 1
⇒ p q = 2 × 4 = 8 .
One more method is to solve 2 variable 2 equations by solving for S (2) and S (3).
You should post the bonus in the question itself... BTW nice question.
Log in to reply
Okay, I'll do that : ) Thanks!
Log in to reply
Great.... :-)
Wow... Interesting bonus questions... I enjoyed solving them.. :-D
The most elegant solution is by factorising. But here's an alternative approach.
x , y are roots of Multiplying by u n − 1 : Substituting u = x , y and adding : Similarly, by substracting: u 2 − 4 u + 2 u n + 1 − 4 u n + 2 u n − 1 4 u n 4 ( x n + y n ) 4 S n p q 4 D n = 0 = 0 = u n + 1 − 2 u n − 1 = ( x n + 1 + y n + 1 ) − 2 ( x n − 1 + y n − 1 ) = S n + 1 − 2 S n − 1 = 2 ⋅ 4 = 8 = D n + 1 − 2 D n − 1
We don't even need to go into calculations if we know NEWTON'S SUMS!!!!!
Problem Loading...
Note Loading...
Set Loading...
S n + 1 = = = x n + 1 + y n + 1 S n ( x n + y n ) 2 ( x + y ) − 4 x y S n − 1 ( x n − 1 + y n − 1 ) 2 S n − 4 S n − 1
⟹ 2 S n = S n + 1 + 4 S n − 1
∴ 2 ⋅ 4 = 8
BONUS-1 D n + 1 = = x n + 1 − y n + 1 D n ( x n − y n ) 2 ( x + y ) − 4 x y D n − 1 ( x n − 1 − y n − 1 )
⟹ D n + 1 = 2 D n − 4 D n − 1
BONUS-2
⎩ ⎪ ⎨ ⎪ ⎧ S n = x n + y n D n = x n − y n
Adding and subtracting we get :-
S n + D n = 2 x n . . . . ( 1 )
S n − D n = 2 y n . . . . ( 2 )
Substituting y = x 4 in x + y = 2 , we get :- x 2 − 2 x = − 4 ⟹ ( x − 1 ) 2 = − 3 ⟹ x = 1 ± 3 i
Neglecting negative sign since I ( x ) > 0 . Hence x = 2 ( 2 1 + 2 3 i ) = 2 e i π / 3 . Hence y = x 4 = 2 e − i π / 3 . Substituting in ( 1 ) and ( 2 ) , we get :
S n + D n = 2 n + 1 e n i π / 3 S n − D n = 2 n + 1 e − n i π / 3