Login

Welcome, Guest. Please login or register.

December 25, 2025, 01:27:31 am

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

0 Members and 2 Guests are viewing this topic.

zzdfa

  • Victorian
  • Forum Obsessive
  • ***
  • Posts: 328
  • Respect: +4
Re: TT's Maths Thread
« Reply #330 on: December 06, 2009, 10:55:47 pm »
0

and just to put your mind at ease about your little question, you can construct a set for any given x as follows:
find the greatest n such that sum 1 to n is less than x. add n+1. the sum of this set is, at most, n more than x. thus the element corresponding to the difference between the current sum and x can be removed from your set. done

edit add some clarifying examplezz

so for example {1,2,3,4,5,6,7,8} and we want to get 23.

go 1,2,3,4,5,6 sum =21

add the next number, 7 to make it go over 23

1,2,3,4,5,6,7   sum = 28

then remove the 5 to make the sum exactly 23:

1,2,3,4,6,7 sum=23
« Last Edit: December 06, 2009, 11:37:34 pm by zzdfa »

kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: TT's Maths Thread
« Reply #331 on: December 06, 2009, 11:00:26 pm »
0
ok I will try prove out of interest your question about whethr for all there exists some set such that .

I will try a proof by induction:

Base case: obviously b=1 has a solution A={1}

Inductive hypothesis: suppose b has a solution A, we will now try a solution B for b+1 (provided )

If A was to have a "gap" like: {.... a,a+k...} where k>1 then we can merely delete a and introduce a+1 and we are done. Likewise, if say you have the set {...a} where a is the largest element and not 30, then just swap a with a+1.

Now if A did not have a gap or largest element less than 30 then it must not contain 1, (otherwise it is the WHOLE set and b=465 and there is no solution for b+1). Therefore in this case, just introduce 1 and you're done.

edit: beaten by zzdfa :P
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."

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Re: TT's Maths Thread
« Reply #332 on: December 06, 2009, 11:31:20 pm »
0
I'll show an alternative induction, because it illustrates an important idea in induction. Which is that it's often simpler to prove a more general statement. Another useful thing to think about when trying a solution by induction is that it's often helpful to prove a stronger statement, since it gives you more power in the inductive step.

Let be the statement: for all natural numbers n, there exists a subset of with element sum any given number in .

The base case is trivial, do it for n = 1 and n = 2. So suppose is true, so that from we can form the element sum of any given number in . Now consider the subsets of which don't contain k+1, this is just the set of subsets of A_k, from which we can form , by adding the element k+1 to each of these subsets we can form , so we can form all numbers from to , as required. :)
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 #333 on: December 06, 2009, 11:39:15 pm »
0
Yeah when i went to take a leak I thought of about 10 other proofs by induction, and this one is still a new one :P
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."

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Re: TT's Maths Thread
« Reply #334 on: December 06, 2009, 11:42:35 pm »
0
You think of maths while taking a leak. Nice. :P
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 #335 on: December 06, 2009, 11:52:35 pm »
0
Yeah when i went to take a leak I thought of about 10 other proofs by induction, and this one is still a new one :P
LOL
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 #336 on: December 07, 2009, 12:03:44 am »
0
You think of maths while taking a leak. Nice. :P

sometimes I deliberately go without the need to, just purely as a source of inspiration.



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."

kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: TT's Maths Thread
« Reply #337 on: December 07, 2009, 12:27:39 am »
0
Quote
3. Let be a set with elements. In how many different ways can one select two not necessarily distinct or disjoint subsets of so that the union of the two subsets is ? The order of selection does not matter. For example, the pair of subsets represents the same selection as the pair

Suppose we have

Each element of S must have one of these three muttually exclusive properties:

1.) it is in only
2.) it is in only
3.) it is in

(you may already tell that this is similair to your previous ice cream problem)

hence we have choices for each element of S. Hence different combinations of choices.

(note though that my solution regards and as two different things. )
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."

/0

  • Victorian
  • ATAR Notes Legend
  • *******
  • Posts: 4124
  • Respect: +45
Re: TT's Maths Thread
« Reply #338 on: December 07, 2009, 12:47:16 am »
0
Let be the statement: for all natural numbers n, there exists a subset of with element sum any given number in .

Why do mathematicians insist on proving things like this? :/

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
Re: TT's Maths Thread
« Reply #339 on: December 07, 2009, 12:52:03 am »
0
Let be the statement: for all natural numbers n, there exists a subset of with element sum any given number in .

Why do mathematicians insist on proving things like this? :/
Once you understand why, you will become a true mathematician.

jk jk :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 #340 on: December 07, 2009, 03:40:47 am »
0
Quote
3. Let be a set with elements. In how many different ways can one select two not necessarily distinct or disjoint subsets of so that the union of the two subsets is ? The order of selection does not matter. For example, the pair of subsets represents the same selection as the pair

Suppose we have

Each element of S must have one of these three muttually exclusive properties:

1.) it is in only
2.) it is in only
3.) it is in

(you may already tell that this is similair to your previous ice cream problem)

hence we have choices for each element of S. Hence different combinations of choices.

(note though that my solution regards and as two different things. )
But doesn't the question say and are the same?
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 #341 on: December 07, 2009, 12:20:52 pm »
0
probably. Fix it. gogogo
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 #342 on: December 07, 2009, 04:18:29 pm »
0
probably. Fix it. gogogo
Oh wait I got it.

Let

So each element can either be in or in or in .

So we can have something like:

and

and

Which is an overcount since we don't care about order.

This means each pair is counted twice rather than once.

But there is one exception: If we picked all the elements in to be in then we have only counted that once.

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 #343 on: December 07, 2009, 06:24:43 pm »
0
Just another Q, I can do it algebraically but what about a combinatorial argument method?

Find a formula for

Since

Let and









So yeah what is a combinatorial way? Nvm I got it.

Notice how can be rewritten into

So just imagine objects gets split into piles containing objects each.

If you pick objects from the first pile then you must pick objects in the second pile.

This means you are basically picking objects out of objects.

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 #344 on: December 07, 2009, 08:04:50 pm »
0
Let be the statement: for all natural numbers n, there exists a subset of with element sum any given number in .


Why do mathematicians insist on proving things like this? :/
Once you understand why, you will become a true mathematician.

jk jk :P


It's an interesting phenomena: is claiming something to be trivial a sign of genius, or a sign of ignorance? :P
« Last Edit: December 07, 2009, 08:17:26 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."