Beruflich Dokumente
Kultur Dokumente
Investigating divisibility
P(n) = n2 – n
= n(n-1)
By substituting some values into this equation, we can see if the result is divisible
by 2, the corresponding x.
For n=2
P(n) = n2 – n
P(2) = 22– 2
P(2) = 4–2 = 2
For n=13
P(n) = n2 – n
P(13) = 132 – 13
P(13) = 169-13=156
For n=15
P(n) = n2 – n
P(15) = 152 – 15
P(15) = 225-15= 210
The result is divisible by 2 for all the above cases, by factorizing the equation, we
get:
P (n) = n2 − n
= n(n-1)
Since n and n-1 will always be consecutive numbers for when n is an integer, one
will always be an even number. and any number that has an even number as one
of it’s factor will always be even, and thus divisible by 2.
1
John Ching- 12D-Mathamatics HL IA 1
Using mathematical induction to find P(k+1) - P(k), and prove divisibility true for
all n for x=2:
P(n) = n2 − n
for n = 1 ,
P (1) = 12 − 1 = 0
for n = k ,
P(k) = k2 − k
for n = k + 1 ,
P(k +1) = (k +1)2 − (k +1)
P (k +1) = k2 + 2k + 1 − k − 1
P (k +1) = k2 + k
P(n) = n3-n
= n (n2-1)
= n (n+1) (n-1)
By substituting some values into this equation, we can see if the result is divisible
by 3, the corresponding x.
For n=2
P(n) = n3-n
P(2) = 23-2
P(2) = 8-2= 6
For n=13
P(n) = n3-n
P(13) = 133-13
P(13) = 2197-13 =2184
2184/3 =728
2
John Ching- 12D-Mathamatics HL IA 1
For n=-2
P(n) = n3-n
P(-2) = -23-(-2)
P(n) = -8+2= -6
-6/3 =-2
The result of the equation is divisible by 3 in all the above cases, by factorizing
the equation, we get:
P(n) = n3-n
= n (n2-1)
= n (n+1) (n-1)
Since n, n+1, and n-1 Will always be three consecutive integers, one of them will
always be a multiple of 3, and any number that has a multiple of 3 as it’s factor
will always be a multiple of 3, and thus, will always be divisible by 3.
Using mathematical induction to find P(k+1) - P(k), and prove divisibility true for
all n for x=3:
P(n) = n3 − n
for n = 1 ,
P (1) = 13 − 1 = 0
for n = k ,
P (k) = k3 − k
for n = k + 1 ,
P ( k + 1) = ( k + 1)3 − ( k + 1)
P ( k + 1) = k3 + 3k2 + 3k + 1 − k − 1
P ( k + 1) = k3 + 3k2 + 2k
P ( k + 1) − P ( k ) = k3 + 3k2 + 2k − (k3 − k)
P ( k + 1) − P ( k ) = 3k2 + 3k
P ( k + 1) − P ( k ) = 3(k2 + k)
3
John Ching- 12D-Mathamatics HL IA 1
P(n) = n4-n
By substituting some values into this equation, we can see if the result is divisible
by 4, the corresponding x.
For n=2
P(n) = n4-n
P(2) = 24-2
P(2) = 16-2= 14
14/4=3.5
Since in the above case, the result of the equation is not divisible by 4, it is NOT
TRUE that the result is always divisible by the corresponding x.
P(n) = n5-n
By substituting some values into this equation, we can see if the result is divisible
by 5, the corresponding x.
For n=2
P(n) = n5-n
P(2) = 25-2
P(2) = 32-2= 30
30/5=6
For n=13
P(n) = n5-n
P(13) = 135-13
P(13) = 371293-13 =371280
371280/5 =74256
For n=-2
P(n) = n5-n
P(-2) = -25-(-2)
P(n) = -32+2= -30
-30/5 =-6
4
John Ching- 12D-Mathamatics HL IA 1
The result of the equation is divisible by 5 in all the above cases, by factorizing
the equation, we get:
P(n) = n5-n
= n(n4-1)
= n (n2-1) (n2+1)
=n (n-1) (n+1) (n2 +1)
Assuming n to be 5m (a multiple of 5), 5m+1, 5m+2, 5m+3, or 5m+4, that is, any
integer expressed in terms of 5m+a, (where a is 1,2,3 or 4, since if a=5, 5m+5 is
still a multiple of 5):
5m:
P(n) =n (n-1) (n+1) (n2 +1)
P(5m) = 5m (5m-1) (5m+1) (5m2 +1)
5m+1:
P(n) =n (n-1) (n+1) (n2 +1)
P(5m+1) = 5m+1 (5m+1-1) (5m+1 +1) (5m+1 2 +1)
= 5m+1 (5m) (5m+2) ((5m+1 )2 +1)
= 5m+1 5(m) (5m+2) ((5m+1 )2 +1)
5m+2
P(n) =n (n-1) (n+1) (n2 +1)
P(5m+2) = 5m+2 (5m+2-1) (5m+2 +1) ((5m+2 )2 +1)
= 5m+2 (5m+1) (5m+3) ((25m2 +20m+4)+1)
= 5m+2 (5m+1) (5m+3) (25m2 +20m+5)
= 5m+2 (5m+1) (5m+3) 5(5m2 +4m+1)
5m+3
P(n) =n (n-1) (n+1) (n2 +1)
P(5m+3) = 5m+3 (5m+3-1) (5m+3 +1) ((5m+3 )2 +1)
= 5m+3 (5m+2) (5m+4) (25m2+30m+10)
= 5m+3 (5m+2) (5m+4) 5 (5m2+6m+2)
5m+4:
P(n) =n (n-1) (n+1) (n2 +1)
P(5m+4) = 5m+4 (5m+4-1) (5m+4 +1) ((5m+4 )2 +1)
= 5m+4 (5m+3) (5m+5) ((5m+4 )2 +1)
= 5m+4 (5m+3) 5(m+1) ((5m+4 )2 +1)
5
John Ching- 12D-Mathamatics HL IA 1
In all of the above cases, at least one of the factors will be a multiple of 5, thus,
the product of the equation (that which a multiple of 5 is a factor) will always be a
multiple of 5, and thus, divisible by 5.
Using mathematical induction to find P(k+1) - P(k), and prove divisibility true for
all n for x=5:
P (n) = n5 − n
for n = 1 ,
P (1) = 15 − 1 = 0
for n = k ,
P(k)=k5−k
for n = k + 1 ,
P ( k + 1) = ( k + 1)5 − ( k + 1)
P ( k + 1) = k5 + 5k4 + 10k3 + 10k2 + 5k + 1 − k − 1
P ( k + 1) = k5 + 5k4 + 10k3 + 10k2 + 4k
6
John Ching- 12D-Mathamatics HL IA 1
Using a spreadsheet program, different values of n were inputted along the top
row, and various values of X were inserted into the left column, the table then
generates the result of (nx-n)/ x in the table, and integer results are highlighted
automatically. the value of 2, 3, 4, and 5 were chosen to to tepresent the number
groups of odd, even, prime and non prime numbers, 1 is not chosen as it will
always generate a result of 0.
From the table, we can see that the value will be an always be an integer when the
x value is a prime number, and when the n value is an whole integer, as 7, 11, and
101 have all generated integer results from (nx-n)/ x
Negative, irrational, and rational non integers were also tested as X values, but
(nx-n)/ x was not an integer (i.e P(n) is not divisible by x)
7
John Ching- 12D-Mathamatics HL IA 1
For when x = 7
P (n) = n7 − n
= n (n6 − 1)
for n = 1 ,
P (1) = 17 − 1 = 0
for n = k ,
P ( k ) = k 7− k
for n = k + 1 ,
P ( k + 1) = ( k + 1) 7− ( k + 1)
P ( k + 1) = k 7 + 7k 6 + 21k 5 + 35k 4 + 35k 3 + 21k 2 + 7k + 1 − k − 1
P ( k + 1) = k 7 + 7k 6 + 21k 5 + 35k 4 + 35k 3 + 21k 2 + 6k
P ( n ) = n 7 − n is always divisible by 7
8
John Ching- 12D-Mathamatics HL IA 1
For when x = 11
P ( n ) = n11 − n
= n (n10 − 1)
for n = 1 ,
P (1) = 111 − 1 = 0
for n = k ,
P ( k ) = k 11 − k
for n = k + 1 ,
P ( k + 1) = ( k + 1) 11− ( k + 1)
9
John Ching- 12D-Mathamatics HL IA 1
2. a)Explain how to obtain the entries in Pascal’s Triangle, and using appropriate
technology, (b)generate the first 15 rows. (c)State the relationship between the
expression P(k+1)-P(k) and Pascal’s triangle. Reconsider your conjecture and revise if
necessary.
(d) Write an expression for the xth row of the Pascal’s triangle. You will have noticed that :
a) Pascal’s triangle starts with the number 1 in row 0 (the first row)
In row 1, the entries are generated by adding the numbers in the row above to it’s
direct left and right, since there is only one entry in the first row, the values for the
numbers next to the number 1 are taken to be 0, as are all values outside the
triangle. Here, a= 0+1, b=0+1
0 1 0
0 a b 0
In row 2, the numbers are generated in the same way, by adding the two terms
above it to the left and right. here, a=0+1, b=1+1, c=0+1, giving us:
0 1 0
0 1 1 0
0 1 2 1 0
The rows afterwards are also generated in the same manner, Using the 5th and 6th
row as an example:
a b c d e
f g h i j k
where:
f=a+0=a , g=a+b, h=b+c, i=c+d, j=d+e, k=e+0=e
10
John Ching- 12D-Mathamatics HL IA 1
Notice that the first and the last term of each row will always be 1, as there is only
the number 1 above them, and 1+0 will always by 1.
The terms in the triangle can also be expressed as combinations, using the nCr
function, where the nth term (starting from the left) in the row x is xCr , otherwise
expressed as :
The function of nCr is available in the spreadsheet software that i am using. Thus,
using this function, i can generate the entries in the program.
the column on the left is the row number of pascal’s triangle (x) and the top row
the entry number (n).
11
John Ching- 12D-Mathamatics HL IA 1
7,21,35,35, 21, 7
1,7,21,35,35, 21, 7, 1
we can see that the terms are the same, with the exception of the terminal 1s. This
is due to the fact that both use of nCr in generating the expansion of P(k+1) with
the binomial theorem , and the generation of the entries in the triangle.
Terms in pascal’s triangle, for row x: xC0 ,xC1, xC2, .........., xCx
Hence, for any value of x and n, the coefficient of the k terms in P(k+1)- P(k) and
the corresponding row of x (excluding the first and last terms), will always match
each other.
12
John Ching- 12D-Mathamatics HL IA 1
(d)the terms in the xth row of Pascal’s triangle can be expressed with the equation:
xCr
With x being the row number and r being the position of the term in that row, this
can also be written as
thus,
(e) k is not necessarily a multiple of x, for instance, when x=4 and r=2, 4C2
becomes 6, and 6 is not a multiple of 4.
13
John Ching- 12D-Mathamatics HL IA 1
The triangle in the spread sheet above is generated from the combination function,
thus, by dividing the values in the triangle by it’s corresponding row number, we
can see when x will be an integer, that is, multiple of k.
In this table, the integers are highlighted when the whole row is integers, with the
exception of the first and last term, since they will never be integers as it is the
inverse of x.
As these values are all prime numbers, we can assume that k is a multiple of x
when x is a prime number.
3. Make conclusions regarding the last result in part 2, and the form of proof by
induction used in this assingment. Refine your conjecture if necessary, and prove it
We can use the long form of the combination function to explain the conjecture
from section 2.
14
John Ching- 12D-Mathamatics HL IA 1
In the expanded equation, we can see that r ≠ 0, as the denominator will become 0
and we cannot divide by zero; and r≠ x, since (x-r) will become 0, making the
denominator 0, and we cannot divide by 0. Thus, only when x>r will there be a
result to this equation.
To prove when xCr will be a multiple of x, we must first prove when x will be a
factor of xCr .
If
where m is an integer.
15
John Ching- 12D-Mathamatics HL IA 1
that is:
Meaning that if :
if all terms in the denominator can be cancelled out by the numerator, it will be an
integer. That is, if all the terms in the numerator has a factor of itself in the
numerator.
16
John Ching- 12D-Mathamatics HL IA 1
This leaves r to be cancelled out from the denominator, although is not a multiple
of r (x is a prime number), there must be at least one of the terms from (x-1) to (x-
r+1) that which is a multiple of r, thus, the term r in the denominator can be
cancelled out as well, leaving us with an integer.
The form of proof by induction in this assignment, that is P(k+1) – P(k), will
always give us coefficients of k that correspond to the terms of the Pascal’s
triangle for that x value for any value of x and r.
17
John Ching- 12D-Mathamatics HL IA 1
For r=y
As explained at the start of this section, this will always be divisible by x when x
is a prime number.
For r=y+1
18
John Ching- 12D-Mathamatics HL IA 1
4. State the converse of your conjecture. describe how you would prove
whether or not the converse holds
My conjecture is:
If x is a prime number, then xCr for positive integers x and r will be a
Divisible by x.
By finding a number that which xCr for positive integers x and r are Divisible
by x, and x is not a prime number, I can disprove the statement.
8C3=56
56/8=7
Thus, the converse of my conjecture is disproved with this exception. Thus,
the conjecture:
If xCr for positive integers x and r are Divisible by x, and x is not a
prime number
is not valid.
19