practice problems

 Q1. Second principle of induction:

prove that for all natural numbers n, (3 + sqrt(5))^n + (3 - sqrt(5))^n is divisible by 2^n.

Let S_n = (3 + sqrt(5))^n + (3 - sqrt(5))^n

a = 3 + rt(5)
b = 3 - rt(5)

a+b = 6
ab = 4
a,b are roots of
x^2 - 6x + 4 = 0 => x^2 = 6x - 4
Multiply both sides with x^(n-1) =>
x^(n+1) = 6x^(n) - 4x^(n-1)
replace x with a,b and add them together
S_{n+1} = 6S_{n} - 4S_{n-1}
For n=1,2 Sn = 6,28, i.e. divisible by 2^1,2^2
Using second principle of induction assume it's true till S_{k} including S_{k-1} and below.
Then
S_{k+1} = 6S_{k} - 4S_{k-1}.
So it's divisible by 2^(k+1)
H.P.

Q2.
x + y = a + b
x^2 + y^2 = a^2 + b^2
Prove or disprove that x^n + y^n = a^n + b^n for all n >= 3.
S2.
We can prove it by induction but there is a simpler way.
(x+y)^2 = (a+b)^2 will give us xy = ab.

Let a,b be roots of:
t^2 -(a+b)t + ab = 0

And x,y be roots of:
t^2 -(x+y)t + xy = 0

Both these polynomials have same coefficients and hence they are same by definition.
=> Their roots are also same.
=> (a,b) = (x,y)
So x^n + y^n = a^n + b^n for all n >= 3
H.P.

Q3.
P(x) is a polynomial of degree 'n' s.t. P(x) = 2^x for x = 1,2,3... n+1. Find P(n+2).
S3.
2^x = (1+1)^x = xC0 + xC1 ... xCx
where xCr = x(x-1)(x-2)...(x-r)/r! a 'r' degree polynomial.
And xCr = 0 if x < r.

Now our plan is to construct a polynomial f(x) of degree 'n' s.t. it matches P(x) at n+1 points.
If so, then we will use Polynomial Identity Theorem which says that 2 polynomials of degree 'n' matching at (n+1) points are identical. For e.g. a line (degree 1 polynomial is uniquely defined using 2 points).
If P(x) - Q(x) = 0 at n+1 points even though they are n-degree => it's a zero polynomial hence they are same.

So, let's try to create a n-degree polynomial using
2^x = (1+1)^x = xC0 + xC1 ... xCx
which matches P(x) at n+1 points.
Let 
f(x) = xC0 + xC1 .. xCn
The last xCn is highest degree and its degree is 'n'. Why?
xCn = x(x-1)(x-2)...(x-n+1)/n!

f(1) = 1C0 + 1C1 + 0 + 0... = 2^1
f(2) = 2C0 + 2C1 + 2C2 + 0 + 0... = 2^2 [as soon as x becomes less than 'r', the terms become 0].
...
f(n) = 2^n
So far so good. f(x) and P(x) match at 'n' values.
But they need to match at (n+1) values.
f(n+1) = (n+1)C0 + (n+1)C1 ... + (n+1)Cn which is not equal to 2^(n+1).
So they don't match.

So will create another function g(x) like this:
g(x) = 2[(x-1)C0 + (x-1)C1 ... (x-1)Cn]
g(1) = 2[0C0 + 0 + 0...] = 2[2^0] = 2^1
g(2) = 2[1C0 + 1C1 + 0...] = 2[2^1] = 2^2
g(3) = 2[2C0 + 2C1 +2C2 + 0...] = 2[2^2] = 2^3
.....
g(n)  = 2[(n-1)C0 + (n-1)C1 .. (n-1)C(n-1) + (n-1)C(n)] = 2[2^(n-1)] = 2^n
similarly
g(n+1)  = 2[(n)C0 + (n)C1 .. (n)C(n-1) + (n)C(n)] = 2[2^(n)] = 2^(n+1)

So P(x) and g(x) both are 'n' degree polynomials matching at (n+1) values hence they are same.
So P(n+2) = g(n+2) = 2[(n+1)C0 + (n+1)C1 .. (n+1)C(n)] = 2[2^(n+1) - 1] = 2^(n+2) - 2 = answer
 



Comments

Popular posts from this blog

Simon's factoring trick(complete the rectangle)

IOQM 2023 solutions

IOQM 2024 Paper solutions (Done 1-21, 29)