The Phi-Function.

Authors Avatar

                                Maths Coursework

     by Yasir Al-Wakeel

        The Phi-Function

        A Function in mathematics is the term used to indicate the

relationship or correspondence between two or more quantities. It was

first used in 1637 by a French mathematician by the name of Rene

Descartes to designate a power xn of a variable x. Later, Gottfried Wilhelm

Leibniz in 1694 applied the term to various aspects of a curve, such as its

slope. The most widely used meaning until quite recently was defined in

1829 by the German mathematician Peter Dirichlet. Dirichlet conceived  a

function as a variable y, called the dependent variable, having its values

fixed or determined in some definite manner by the values assigned to the

independent variable x, or to several independent variables x1, x2, …, xk.

      The Phi-Function is a means of breaking down numbers.  It is

defined as the number of positive integers less than n, where n is a positive

integer, which are co-prime with n.  Zero is neither a positive integer nor a

negative integer, it is on the boundary and so does not come under the

notation of n.  The phi function of a positive inter, n, is expressed as ?(n).  

Two terms are co-prime when they have no factor in common other than

one. For example 3 and 4 are co-prime or 5, 7, and 8 are all co-prime.  

When numbers are co-prime they can be written: (n , m)=1 such as

(5,7)=1.

        Therefore to find the phi-function of a number several steps may be

required.  If we take ?(6) as an example, we can start by listing all the

positive integers that are smaller the than 6; 1, 2, 3,4, and 5.  We may then

list the factors of 6 which are 2 and3.  We also remove any multiples of

the factors of 6 i.e.4.  Therefore 2,3 and 4 cannot be co-prime with 6, by

elimination we are left with 1 and 5 which are thus co-prime with 6.1 and 5

are two numbers, therefore ?(6)=2.

        Other than the process of elimination, one may find the phi function

of a positive integer by seeking the co-primes of n directly.  Taking the

same example, ?(6) we may say from the very beginning, without needing

too many steps, that 1 and 5 are co-prime with 6 therefore ?(6) = 2, taking

another example, we may say that1,2,3,4,5,6 are all co-prime with 7

therefore ?(7)=6.

1a)        I have devised a table to conveniently find out ?(n)        

n                      3        8            11                      24

0 ? integers ? n      1,2   1,2,3,4,  1,2,3,4,5   1,2,3,4,5,6,7,8,9,10,11,12,13,14

            5,6,7     6,7,8,9,10      15,16,17,18,19,20,21,22,23,

 

Factors of n                     2,4                             2,3,4,6,8,12

other than 1              -                      -

0 ? integers ? n                      2,4,6,                       2,3,4,6,8,9,10,12,14

which have a            -                       -              15,16,18,20,21,22,

common factor

with n other than 1

Co-prime with n    1,2   1,3,5,7  1,2,3,4,5     1,5,7,11,13,17,19,23

                         6,7,8,9,10

        ? (n)                 2      4            10                          8

                   

        i.) ?(3)=2  ii.) ?(8)=4   iii.)?(11)=10   iv.)?(24)=8

     

1b)

n (Fibonacci series)    2    3       5        8        13             21                               34

                                                         1,2,3,4,5,6,7,8,9    1,2,3,4,5,6,7,8,9,10,11,12,13,14,

0 ? integers ? n      1   1,2   1,2,3  1,2,3,4,1,2,3,4,5,6,7  10,11,12,13,14,    15,16,17,18,19,20,22,23,24,25,

     4         5, 6,7, 8.9.10.11.12  15,16,17,18,19     26,27,28,29,30,31,32,33

                                                           20

Factors of n            -      -      -        2,4         -               3,7                    2,17

other than 1

0 ? integers ? n                           2,4,                      3,6,7,9,12  

2,4,6,8,10,12,14,16,17,18,20,22,

which have a           -     -       -        6            -            14,15,18            24,26,28,30,32,

common factor

with n other than 1

Co-prime with n     1   1,2  1,2,3  1,3,5,  1,2,3,4,5,6,7  1,2,4,5,8,10,11     1,3,5,7,9,11,13,15,19,,21,23,25,

      4          7     8.9.10.11.12  13,16,17,19,20                27,29,31,33

 ? (n)                     1     2       4        4           12                  12                    16

        

The phi functions for five positive integers are:

        ?(2)= 1    ?(5)=4    ?(13)=12    ?(21)=12    ?(34)=16

2a) i.      We want to show that  ?(7x4) is equal to ?(7) x ?(4)      

n                7            4        28

Co-prime 1,2,3,4,5,6,  1,3  1,3,5,9,11,13,15        

 with n                                   17,19,23,25,27

?(n)                 6           2          12

?(7 X 4) can also be written as ?(28)

From the table, ?(28)=12, ?(7)=6 and ?(4)=2

==> ?(7) x ?(4) = 2 x 6 = 12

        ?   ?(7 x 4) = ?(7) x ?(4)

ii.         We want to show that ?(6x4) is not equal to ?(6) x ?(4)    

?(6x4) can also be written as ?(24)

   n                  6

Co prime        1,5

with n                              

?(n)                   2

From the table we have found that ?(6) = 2, and we also know from questions 1a)iv. and

question 2a)i. that ?(24) = 8 and that ?(4) = 2

==> ?(6) x ?(4) = 2 x 2 =4, but 8 ? 4

        ?  ?(6x4) ? ?(6) x ?(4)

b)         

      Ex1.  When  n = 2 and m = 3, we want to check whether ?(2 x 3) is or is not

equal to ?(2) x (3).  ?(2x3) can also be written as ?(6).  We already know from previous

questions that ?(2) = 1, ?(3) =2 and that ?(6) = 2

==> ?(2) x ?(3) = 1 x 2 = 2

      ?  ?(2x3) = ?(2) x ?(3)    

     Ex2. When  n = 3 and m = 4, we want to check whether ?(3 x 4) is or is not equal

to ?(3) x (4).  ?(3x4) can also be written as ?(12).

n                   12

Co prime    1,5,7,           

with n            11                  

?(n)                 4

       We know from the table that ?(12) = 4, and we already know from previous

questions that ?(3) = 2, ?(4) =2

==>?(3x4) = 2 x 2= 4  

      ?  ?(3x4) = ?(3) x ?(4)    

      Ex3. When  n = 4 and m = 5, we want to check whether ?(4 x 5) is or is not equal

to ?(4) x (5).  ?(4x5) can also be written as ?(20).  

                                                                                        

n                  20

Co prime   1,3,7,9,11           

with n       13,17,19                  

?(n)                  8

       

We know from the table that ?(20) = 8 , and we already know from previous questions that

?(4) = 2, ?(5) =4

Join now!

==> ?(4) x ?(5) = 2 x 4 = 8

      ?  ?(4x5) = ?(4) x ?(5)  

      Ex 4. When  n = 4 and m = 6, we want to check whether ?(4 x 5) is or is not

equal to ?(4) x (6).  ?(4x6) can also be written as ?(24).  We already know from previous

questions that ?(24)= 12,  ?(4) = 2 and ?(6)=2

==> ?(4) x ?(6) = 2 x 2= 4, but 12 ? 4  

      ?  ?(4x6) ? ?(4) x ?(6)    

...

This is a preview of the whole essay