Login

Welcome, Guest. Please login or register.

June 21, 2024, 03:53:50 pm

Author Topic: TT's Maths Thread  (Read 119589 times)  Share 

0 Members and 3 Guests are viewing this topic.

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #225 on: November 29, 2009, 03:31:38 pm »
0
yep that's correct. you can use it to prove fermat's little theorem: for prime p and any integer a,
by considering the multinomial expansion of .
Thanks zzdfa!

Haha Fermat's Little Theorem, how cute does that sound lolz
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: TT's Maths Thread
« Reply #226 on: November 29, 2009, 05:04:04 pm »
0
and how sentimental does "last" sound  :'(
« Last Edit: November 29, 2009, 05:16:18 pm by kamil9876 »
Voltaire: "There is an astonishing imagination even in the science of mathematics ... We repeat, there is far more imagination in the head of Archimedes than in that of Homer."

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #227 on: November 29, 2009, 11:38:47 pm »
0
Just a few questions

1. Can someone show me a combinatorial proof of the hockey stick identity? . I've done it for a specific case say when and . But I don't know how to generalise it.

2. How many different ordered triples of non-negative integers are there such that ?

How would you do this question using partitions?

Thanks!
« Last Edit: December 05, 2009, 04:08:48 am by TrueTears »
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Re: TT's Maths Thread
« Reply #228 on: November 30, 2009, 01:13:46 am »
0
Let me address finding the number of triples (a,b,c) of non-negative integers such that a + b + c = 5 instead of 50, as this will simplify my explanation.

This is a well known problem with a well known argument, which involves a little trick which seems somewhat new at least the first time you see it. The underlying principle is: if you're trying to count a set of objects which is hard to count, show that there is a one-to-one correspondence between this set of objects and a simpler set of objects which you can count, as both of the sets have the same number of elements you'll be done if you can count the latter set of objects.

Consider 7 objects in a row, o o o o o o o. Suppose I choose 2 of them in some way, and replace them by the symbol +. For example o + o + o o o. I can interpret this as "1 + 1 + 3" if i replace o by 1, and o o o by 3. This is convenient because 1 + 1 + 3 = 5, is a solution to our equation given by the triple (1,1,3). And a little thought shows that any way I select two objects to be replaced by + signs I get a solution to the equation, provided we interpret something like + + o o o o o as "0 + 0 + 5 = 5" which is the solution (0,0,5). Similarly, any solution to our equation gives rise to exactly one selection of two of the seven objects to be replaced by + signs. Hence we've shown that there is a one-to-one correspondence between solutions of the equation and selections of 2 objects from 7. Which means the number of such solutions is C(7, 2). And the same argument can be used to show the number of solutions to our original problem is C(50 + 2, 2) :)

This solution is slightly tricky to come up with. However there is a method to solve this problem routinely using the concept of generating functions, which I will not show.

« Last Edit: November 30, 2009, 01:17:25 am by Ahmad »
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: TT's Maths Thread
« Reply #229 on: November 30, 2009, 01:29:19 am »
0
1.)

ok so we got a set of f+1 objects and we want to know how many different subsets of these there are that consist of r+1 objects.  We can count these subsets like this: First consider all these subsets that contain the element 'a', now because we have chosen a, there are f objects left to choose from, and we must choose r of them. Hence there are (f,r) different ways of choosing this. Now we move on to the subsets that have b, but do not have a(since we have already counted these previously), We have chosen one object b, hence we are left with r objects left to choose from f-1 objects (since we cannot pick a or b for these remaining objects). This accounts for the the (f-1,r) term.
Now we move on to the subsets that contain c, but do not contain neither a or b. Having already chosen c, we have r objects left to choose from f-2 objects (since we are not choosing a,b or c for our remaining ones) this accounts for the (f-2,r) term.

Now keep applying this d,e,f... etc until you get f-k=r. In that case there would only be one set left, the set with objects z,y,w,x.... etc that you have not chosen.
« Last Edit: November 30, 2009, 01:31:25 am by kamil9876 »
Voltaire: "There is an astonishing imagination even in the science of mathematics ... We repeat, there is far more imagination in the head of Archimedes than in that of Homer."

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #230 on: November 30, 2009, 01:42:15 am »
0
Thanks Ahmad!

I noticed another less elegant way using partitions:

Let

Then the equation becomes

If we let then ...

...

...

.
.
.

...

Let's look at when and specifically.

Once we fix in the value of we need to decide how many different pairs of and we can get to sum up to .

By listing some pairs of we get a feel of how many ordered pairs there are:

there are ways for .

Consider . Again listing pairs of we get:

there are ways for

We see a pattern: the number of ways for each case is just .

Thus if we sum together all the partitions:
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #231 on: November 30, 2009, 02:27:00 am »
0
1.)

ok so we got a set of f+1 objects and we want to know how many different subsets of these there are that consist of r+1 objects.  We can count these subsets like this: First consider all these subsets that contain the element 'a', now because we have chosen a, there are f objects left to choose from, and we must choose r of them. Hence there are (f,r) different ways of choosing this. Now we move on to the subsets that have b, but do not have a(since we have already counted these previously), We have chosen one object b, hence we are left with r objects left to choose from f-1 objects (since we cannot pick a or b for these remaining objects). This accounts for the the (f-1,r) term.
Now we move on to the subsets that contain c, but do not contain neither a or b. Having already chosen c, we have r objects left to choose from f-2 objects (since we are not choosing a,b or c for our remaining ones) this accounts for the (f-2,r) term.

Now keep applying this d,e,f... etc until you get f-k=r. In that case there would only be one set left, the set with objects z,y,w,x.... etc that you have not chosen.
Oh right, thanks kamil, that was exactly the sort of combinatorial argument I was looking for :)

PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Re: TT's Maths Thread
« Reply #232 on: November 30, 2009, 03:46:24 am »
0
I'm going to prove the result using the idea of generating functions. Hopefully this will be clear enough that you'll be able to understand it with very little background knowledge.

I've given some examples of generating functions, even though I've never told you exactly what they are. From the examples you might've picked up that they're some sort of polynomial or involve a polynomial type of expression. And since we're dealing with binomial coefficients it's natural to ask yourself where you've seen polynomials and binomial coefficients, with the obvious answer being in the binomial theorem! C(n, k) is the coefficient of x^k in (1+x)^n, which we write as C(n, k) = [x^k] (1 + x)^n.

Now that we have C(n, k) = [x^k] (1 + x)^n the problem becomes routine. We know that,







which we can easily sum, since it's a geometric sum



we can "absorb" the by increasing the coefficient extraction index from r to r+1





notice the second term here contributes nothing since has no term



which was to be shown.

Why is this solution good?
- If you know anything about generating functions it's very simple to set up the first line of the argument
- Once you've set up the first line the rest is just mindless and simple algebra
- Adapts easily to lots of other identities (in fact there's a powerful algorithm involving generating functions which "simplifies" any combinatorial sum)

Why is this solution bad?
- It's lengthier than kamil's elegant proof
- It proves the correctness of the identity but it gives you no insight, it doesn't tell you "why" the result is true, kamil's solution does

Anyway I really ought to get to bed. Night :)
« Last Edit: November 30, 2009, 03:48:18 am by Ahmad »
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #233 on: November 30, 2009, 03:54:58 am »
0
Wow even though I haven't learn generating functions yet I understood that splendid explanation! I can see why you like generating functions so much now :P
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #234 on: November 30, 2009, 05:05:00 pm »
0
Another combinatorics question:

Do there exist at least 10,000 10 digit numbers divisible by 7, all of which can be obtained from one another by a reordering of the digits?

I'm just not quite sure how to link the divisible by 7 part with the reordering of the digits. I know how to find out how many different permutations exist for each 10 digit number but how to find one that is divisible by 7?
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #235 on: November 30, 2009, 07:49:40 pm »
0
yay thanks kamil for hint I got it ;)

Let the set which contains numbers that can be formed by reordering their digits be called .

So for example, one type of can contain or etc. This contains a total of elements.

Another type of can contain etc which would only have elements.

Therefore to count the number of multiples of between and would be denoted by

Thus using the pigeon hole theorem, if we have many multiples of and groups of set then at least one set will contain

Thus if we can find out how many there are such that then we have answered the question.

Consider using encoding to find out .

Let denote the amount of in a digit number such that

So say for example, the number has , and the rest Now notice how

Now we have created a bijection between and a certain set which means if we can find out how many different solutions there are to then we have found out how many groups of there are (which is equal to )

Now using a similar trick Ahmad used earlier:

Consider 's.

That string above would represent the string such that

Now if we move the sign somewhere say like this:



That string above would represent the string

This means that by rearranging the signs we get a different set of solutions to

So how many ways can we rearrange the signs?

Well there's different 'slots' to place and and we need to pick slots to place a which means the slots fall naturally into place.

Therefore there are ways of rearranging the signs.

And since we created a bijection between the different rearrangement of the strings and



Subbing back in yields:



So yes there do exist at least digit numbers divisible by , all of which can be obtained from one another by a reordering of the digits
« Last Edit: November 30, 2009, 07:59:25 pm by TrueTears »
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #236 on: November 30, 2009, 07:55:51 pm »
0
Actually another way is just to use the balls in urn formula:



Since we have balls and we want to put them into urns labelled



But I still like the 'intuitive' way better :P
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.

zzdfa

  • Victorian
  • Forum Obsessive
  • ***
  • Posts: 328
  • Respect: +4
Re: TT's Maths Thread
« Reply #237 on: November 30, 2009, 08:14:04 pm »
0
Let the set which contains numbers that can be formed by reordering their digits be called .

Just letting you know, you can call them equivalence classes, sounds pr0er: http://en.wikipedia.org/wiki/Equivalence_class

i.e. 'We call 2 numbers equivalent if they can be obtained by one another by reordering digits'
'we are counting the number of equivalence classes'

kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: TT's Maths Thread
« Reply #238 on: November 30, 2009, 09:08:08 pm »
0
yep and more importantly it's a very precise way of describing it.
Voltaire: "There is an astonishing imagination even in the science of mathematics ... We repeat, there is far more imagination in the head of Archimedes than in that of Homer."

Over9000

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1468
  • Loves the banter
  • Respect: +20
Re: TT's Maths Thread
« Reply #239 on: November 30, 2009, 11:41:12 pm »
0
I've unanimously decided to take over this thread for my own personal benefit and facilitate my own self-discovery.
You got a problem with it? Then turn off your station!
Whata bout it?
Whata bout it?

Anyway, my first question is....

The reciprocal of 4 positive integers add up to . Three of these integrers are in ratios 1:2:3. What is the sum of the four integers.
Gundam 00 is SOOOOOOOOHHHHHHHHH GOOOOOOOOOOODDDDDDDDDDDD I cleaned my room

VCE 200n(where n is an element of y): Banter 3/4, Swagger 3/4, Fresh 3/4, Fly 3/4