Hi all, I don't know why I need to do a Maths paper when i'm majouring in Computers.. anyway I have 2 induction problems (Proving or disproving propositions)..
1. For any integer n, n^2 - n + 19 is a prime number.
I only know how to do the first part which is subsituting n with 1.
Thus:
1^2 - 1 + 19 = 19 and yes 19 is a prime number so that's a tick.
next is to assume n as k so:
k^2 - k +19
then show:
(k+1)^2 - (k+1)+ 19
Then what?
Next is problem 2
2. For any integer n is lesser than or equal to 1 1 x 1! + 2 x 2! + 3x 3! + ... + n x n! = (n+1)! - 1
So first thing I do as usual is to substitue n with 1 so:
1 x 1! = (1 + 1)! - 1
and both are equal to 1
next is to assume the n is k thus: k x k! = (k+1)! - 1
Then show:
(k+1) x (k+1)! = (k+1+1)! - 1
Am I even on the right track? man am I slow..
So yeah.. please help me understand.. If I don't get this, then there's no way i'm gonna pass the mid-sem exam!
I have more problems than this but I want to focus on induction first before I move on to the next topic!
I don't know how to add symbols so sorry if it's a bit hard to read!!
Thanks!
1. For any integer n, n^2 - n + 19 is a prime number.
I only know how to do the first part which is subsituting n with 1.
Thus:
1^2 - 1 + 19 = 19 and yes 19 is a prime number so that's a tick.
next is to assume n as k so:
k^2 - k +19
then show:
(k+1)^2 - (k+1)+ 19
Then what?
Next is problem 2
2. For any integer n is lesser than or equal to 1 1 x 1! + 2 x 2! + 3x 3! + ... + n x n! = (n+1)! - 1
So first thing I do as usual is to substitue n with 1 so:
1 x 1! = (1 + 1)! - 1
and both are equal to 1
next is to assume the n is k thus: k x k! = (k+1)! - 1
Then show:
(k+1) x (k+1)! = (k+1+1)! - 1
Am I even on the right track? man am I slow..
So yeah.. please help me understand.. If I don't get this, then there's no way i'm gonna pass the mid-sem exam!
I have more problems than this but I want to focus on induction first before I move on to the next topic!
I don't know how to add symbols so sorry if it's a bit hard to read!!
Thanks!