Processing math: 8%

Wednesday, March 30, 2011

Line Parallel to Two Planes [modified from FM N2005/I/9 part]

The planes  Π1 and Π2  have vector equation
           r=λ1(i+jk)+μ1(2ij+k)
 and     r=λ2(i+2j+k)+μ2(3i+jk)
respectively.  The line  l  passes through the point with position vector 4i+5j+6k  and is parallel to both   Π1 and Π2.  Find a vector equation for  l.

Method 1
First, we find the normal vectors to the planes  Π1 and Π2 respectively.

Taking cross-products yields the direction parallel to both planes
Hence the required line parallel to both planes is


Method 2
Putting the two equations together
Transferring terms to the left side, one obtains the simultaneous system
Solving by Graphing Calculator, one obtains λ1=53t, μ1=23t, λ2=0, μ1=t.  Upon substitution, we find The line of intersection is given by
Hence the required line parallel to both planes is




An ascending, then descending sum (2)

In my inaugural blog post I talked about an epiphany that I had regarding the relation
and a pictorial "proof without words".  The mathematical lesson to learn here is to be mentally flexible and look at things from a variety of ways: vertically, horizontally and diagonally.  After all, that was how Georg Cantor took the bull by the horns by tackling uncountable infinite numbers with his diagonal argument.

Seeing that there is someone with high standards who had done Java applet and even gave an exposition of "proof without words", I decided to step up my game and post an Adobe Flash interactive animation of what I had in mind.  You can even click on the "rotate" button to change your "point of view".



I had some fun learning and doing it in Adobe Flash ActionScript 3. AS3 does things differently but is more consistent that the older versions. However, there are some issues with Flash's timing and updating, which I have not found a work-around. Meanwhile, please be gentle with the applet.

Tuesday, March 29, 2011

Dirichlet convolution is commutative

The Dirichlet convolutions was introduced here.  The following illustrates a proof technique that avoids writing nd over and over again.
Theorem
Proof:-
For any n we have
   (f*g)(n) 
= n=cdf(c)g(d)
= n=cdf(d)g(c)  [ as d runs through all divisors of  n, so does c=nd ]
= n=cdg(c)f(d)
= (g*f)(n) 
(proven) 

The proof technique can be extended to prove the associativity law.

Dirchlet Convolution is Distributive over Addition


The Dirichlet Convolution has the following property:-

The proof is a straightforward exercise.


Proof:-

For any n we have
   [f*(g+h)](n) 
= d|nf(d)(g+h)(nd)
= d|n{f(d)g(nd)+f(d)h(nd)}
= d|nf(d)g(nd)+d|nf(d)h(nd)
= (f*g)(n)+(f*h)(n) 
= (f*g+f*h)(n) 

(proven)

Monday, March 28, 2011

Möbius Inversion Formula

Möbius Inversion Formula (by August Ferdinand Möbius) states that if Df the summatory function of f
then
where f is an arithmetic function.  This is more like a "formula machine", which, when given an input f, gives you a version of formula as an output (Well, as long as you know what Df is).  μ is the Möbius function.  [ By the way, Möbius was also famous for his Möbius strip. ]  Using Dirichlet Convolutions (* operation), the formula just says that
and since the *-inverse of the 1(n) function is the Möbius function μ(n)
the formula can be proven succinctly as follows.
Proof:     μ*Df
= μ*(1*f)= (μ*1)*f  = δ1*f  =   f 
(proven)

Example
For f(n)=φ(n) the Euler totient function, we know that
Hence applying Möbius Inversion we have

i.e.                                     
since φ(n)=(μDφ)(n) =d|nμ(d)Dφ(nd) =d|nμ(d)I(nd)=d|nμ(d)nd

Dirchlet Convolution is Associative

The following is one of the properties of Dirichlet convolutions. The commutative law was proven by writing  n as a product of two factors i.e. n=cd, and writing c instead of the more cumbersome nd.  We extend this technique to three factors here.  By a summation over n=uvw, I mean: take all possible combinations of u, v and w as long as n=uvw.


Theorem
Proof:-
For any n we have
   [(f*g)*h](n) 
= d|n(f*g)(d) h(nd)
= n=dw(f*g)(d) h(w)
= n=dw{d=uvf(u) g(v)} h(w)
= n=uvwf(u) g(v) h(w)
= n=ucf(u)  {c=vwg(v) h(w)}
= n=ucf(u)  (g*h)(c)
= [f*(g*h)](n) 
(proven)

Arithmetic Functions

An arithmetic function is a function +S where S.  They try to capture the essence of various properties of positive whole numbers.

Examples
The constant 1 function maps every  n  to the number 1.
The identity function I maps every  n  to itself.
Möbius function μ
The unit function δ1 (or ε function)
Euler's totient function φ
Number of divisors τ
Sum of divisors τ

Dirchlet Convolution

The Dirichlet convolution of arithmetic functions ƒ and g, is the arithmetic function ƒ * g  defined by
where d runs over all positive divisors of n.  This allows us to express certain sums over divisors more concisely and let us see their more elegant structure.

Properties
The Dirichlet convolution has some nice properties.  It is commutative
and associative
 and distributive over addition
 In fact, arithmetic functions together with * and + operations form a ring.


Dirichlet convolution's Identity Function
The unit function (or ε function)
works like the Kronecker delta or the Dirac delta.  Think of it as a light bulb that switches on (gives a '1') when given n=1 as an input and turns off when n is given any other value as input.  Under the operation of Dirichlet convolution (* operation), this function plays the role of the *-identity.  In other words, for all arithmetic functions f,

The constant 1 function and the function identity I do not play the same role, unlike what we would expect for ordinary multiplication and function composition.  However, they are related by the formula
which is described here and proven here.

Divisor Sums and the inverse of the '1' function
The divisor sum Df of  f is
Thus we can think of the D... operator as formally the same as 1*...  The Inverse of 1 function under Dirichlet convolution turns out to be the Möbius function μ as
This leads to the celebrated Möbius Inversion Formula.


Euler Totient Function Sum (Dirchlet Convolution Form)

Using Dirchlet Convolution, the totient sum formula
 
can be re-written more concisely as
in which φ, 1  and  I  are arithmetic functions.  This theorem was proven here.

You see, mathematicians like to disguise complicated formulas with simpler-looking ones and they do that by inventing more arcane short-cuts.  Once the formulas have been simplified, they get bored and push the game further by deriving deeper results from these.  So the game seems to be: explore/gather compress/simplify explore/gather compress/simplify, ... and so on and on and on.

Euler Totient Function (Example 2)

... answers to question posed here.

Example 2

For n=12, each of the numbers in {1,2,...,12} belongs to exactly one of the subsets
     S1 ={1,5,7,11}
     S2 ={2,10}
     S3 ={3,9}
     S4 ={4,8}
     S6 ={6}
     S12={12}
 Each subset is in fact an equivalence class of the relation ~ (where a~b
gcd(a,12)=gcd(b,12)).  Sh means the equivalence class (or subset) of all the numbers whose highest common factor with 12 is  h.  Now observe
     S1 ={1,5,7,11},   ÷ 1, get {1,5,7,11} {1,...,12}  #=φ(12)
     S2 ={2,10},   ÷ 2, get {1,5}               {1,...,6}   #=φ(6)
     S3 ={3,9},   ÷ 3, get {1,3}                 {1,...,4}    #=φ(4)
     S4 ={4,8},   ÷ 4, get {1,2}                {1,...,3}   #=φ(3)
     S6 ={6},               ÷ 6, get {1}              {1,...,2}   #=φ(2)
     S12={12},            ÷12, get {1}            {1}          #=φ(1)
Hence
     #S1+#S2+#S3+#S4+#S6+#S12
=   φ(12)+φ(6)+φ(4)+φ(3)+φ(2)+φ(1)
=   4+2+2+2+1+1
=   12

Euler Totient Function

The Euler Totient Function is an arithmetic function defined as

i.e. the number of elements k{1,...,n}  that are coprime with n.

Theorem
    
Proof:- Note that each  kS={1,...,n}  has a highest common factor h=gcd(k,n) with n and of course this is a factor of n.  So each k belongs to a unique subset Sh, and these subsets have no overlapping elements.  In other words S={1,...,n} can be partitioned into a disjoint union
     S=h Sh
Counting the elements, we have
#S    =  h|n#Sh
n    =  h|n#{k:gcd(k,n)=h}
        =  h|n#{k:gcd(k,nh)=1}
        =  h|nφ(nh)
        =  d|nφ(d)
[as h runs through all the divisors of n, d=nh will also run through all the divisors of n]
(proven)
Here is another way to express the formula.

Example 1
For n=10, each of the numbers in {1,2,...,10} belongs to exactly one of the subsets
     S1 ={1,3,7,9}
     S2 ={2,4,6,8}
     S5 ={5}
     S10={10}
 Each subset Sh  is an equivalence class of the relation ~ (where a~ba and b share the same the highest common factor h with 10).  Now observe
     S1 ={1,3,7,9},   ÷ 1, get {1,3,7,9} {1,...,10}  #=φ(10)
     S2 ={2,4,6,8},   ÷ 2, get {1,2,3,4} {1,...,5}   #=φ(5)
     S5 ={5}            ,   ÷ 5, get {1}            {1,...,2}    #=φ(2)
     S10={10}        ,    ÷10, get {1}          {1}              #=φ(1)
Hence
     #S1+#S2+#S5+#S10
=   φ(10)+φ(5)+φ(2)+φ(1)
=   4+4+1+1
=   10

Example 2
Try to work out the example for n=12, and check your work here.

Friday, March 25, 2011

An ascending, then descending sum

While tutoring lower secondary olympiad maths, my student and I encountered an interesting sum


The numbers start from 1 and go up to a maximum value k, and then go down back to 1. If one knows summation formulas, there is no problem with evaluating this sum.  The answer is k2.

Using 1+2+...+k=k(k+1)2 (provable using Gauss' trick), we can proceed as follows:-
   1+2+...+(k-1)+k+(k-1)+...+2+1
= [1+2+...+k]+[(k-1)+ ...+2+1]
= (k-1)k2+k(k+1)2  = (k-1+k+1)k2
= (2k)k2  = k2

Straightforward exercise for the left-brain, especially for older kids in Junior College.  But ... where is the insight?  Thanks to Descartes, Mathematics is as much a right-brained activity as a left-brained one.


Then my right brain had an epiphany ("ting!" with flashing lightbulbs).  I realised that there is a way to visualise this fact and got the "Hey!  I never looked at it this way" kind of feeling.


Challenge to the reader: Is there a way to visualise this sum?  Can you do a "Proof without words"?

Think.  Then refer to here.