• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Fun math paradoxes, problems, and stuff

Status
Not open for further replies.
Level 20
Joined
Apr 22, 2007
Messages
1,960
For those of you who love math as much as I do, here are some fun math things. Try to contribute some good problems to the thread and I'll update the OP with them if I like them. Also, post what's wrong with the problems in the OP, if anything, and I'll update it with the correct solutions (mathematical rigour is preferred, but I doubt most of you are literate in the formalities of mathematics)!



It is known that:
ln 2 = 1 - 1/2 + 1/3 - 1/4 + ...

So, consider the following:
ln 2 = 1 - 1/2 + 1/3 - 1/4 + ...

Partition the terms into odd and even parts:
ln 2 = (1 + 1/3 + 1/5 + ...) - (1/2 + 1/4 + 1/6 + ...)
= (1 + 1/3 + 1/5 + ...) + (1/2 + 1/4 + 1/6 + ...) - 2*(1/2 + 1/4 + 1/6 + ...)

Combine the first two terms and distribute the 2 into the third term:
ln 2 = (1 + 1/2 + 1/3 + ...) - (1 + 1/2 + 1/3 + ...) = 0
eln 2 = e0
2 = 1



Consider the expression: the smallest positive integer not representable in under twelve English words.

Does such an integer exist? (this problem is tricky as shit)


Contributed by Zarathustra
Which is greater, the number of natural numbers or the number of squares of natural numbers? Note that for every natural number, there is a corresponding square... but some natural numbers (like 2 or 3 or whatever) are not the squares of natural numbers.
For those of you who are total noobs, the natural numbers is the set of positive integers, sometimes including 0, i.e. {0, 1, 2, 3, 4, ...}

For each natural number n, associate with n the number n2. And for each square n2, associate the natural number n. Since you can associate exactly one square with one natural number, and exactly one natural number with one square, then the set of natural numbers and the set of squares of natural numbers must have the same size.

For all of you noobies, this is called a bijection. A bijection is defined as an injection and a surjection.
An injection is a one-to-one function, that is if f(x) = f(y), then x = y. This means that for every element in the domain, there is exactly one mapped element in the range.
A surjection is an onto function, that is, for any element y in f's range, there exists an element x in f's domain such that f(x) = y.
Here is a more formal solution:
Consider the bijection f: ℕ → {n2 : n ∈ ℕ}, defined as f(n) = n2
f is injective since:
f(n) = f(m) ⇔ n2 = m2 ⇔ n = m, since the natural numbers are positive.
f is surjective since for any square n2, f(n) = n2
So, f is indeed a bijection.
Since f is a bijection, then the size of f's domain and range is the same. (this is an easy result)
 
Last edited:
Level 5
Joined
Aug 12, 2010
Messages
149
Partition the terms into odd and even parts:
ln 2 = (1 + 1/3 + 1/5 + ...) - (1/2 + 1/4 + 1/6 + ...)
= (1 + 1/3 + 1/5 + ...) + (1/2 + 1/4 + 1/6 + ...) - 2*(1/2 + 1/4 + 1/6 + ...)

(1 + 1/3 + 1/5 + ...) + (1/2 + 1/4 + 1/6 + ...) - 2*(1/2 + 1/4 + 1/6 + ...) = (1 + 1/2 + 1/3 + ...) - (1 + 1/2 + 1/3 + ...)

The sum over n of (1/n), from n = 1 to infinity is a divergent series. You can get a paradox when you try to subtract an infinite quantity from an infinite quantity.

Consider the expression: the smallest positive integer not representable in under twelve English words.

How do you define "representable"?

Try to contribute some good problems to the thread and I'll update the OP with them if I like them.

Which is greater? The number of natural numbers, or the number of squares of natural numbers?

For every natural number, there is a corresponding square... but some natural numbers (like 2 or 3 or whatever) are not the squares of natural numbers.
 
Level 22
Joined
Dec 31, 2006
Messages
2,216
Edit: Lol, I should click Refresh when I've had a page open for a long time. Opened this in the beginning of class and responded now when it ended. Anyway, I won't delete my post so you can laugh at it :>
Btw, I was thinking it had something to do with infinite decimals and the fact that the series continues infinitely (the 1/2+1/4+1/6 ...), but I wasn't quite sure.


Not sure what you did wrong with the first one, but somehow you got from ln(2) to ln(1). My calculator doesn't agree on this part:
Partition the terms into odd and even parts:
ln 2 = (1 + 1/3 + 1/5 + ...) - (1/2 + 1/4 + 1/6 + ...)
= (1 + 1/3 + 1/5 + ...) + (1/2 + 1/4 + 1/6 + ...) - 2*(1/2 + 1/4 + 1/6 + ...)
For me it makes sense that "-something = something - 2*something", but my calculator says that this: "- (1/2 + 1/4 + 1/6 + ...) = (1/2 + 1/4 + 1/6 + ...) - 2*(1/2 + 1/4 + 1/6 + ...)" is false.
 
Level 9
Joined
Dec 15, 2009
Messages
625
The simple version of 1=2 is far more appealing.

Heres an easy one.

1$=100 cents
=10 cents x 10 cents
10 cents are 0.1 dollars
therefore
1$ = 0.1$ x 0.1$
1$ =0.01$
 
Level 17
Joined
Nov 11, 2010
Messages
1,974
Very well, you have deciphered my code. You will now be given an even more excruciating task of mathematics.

IF:

5 ^ 2 - x = 13

AND:

7 - (y ^ 3) = -2

THEN WHAT IS:

x + y ^ 4 = z.

Solve for 'z'.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Generate the fourier series with n = 5 of the wave...
5 between 0 and pi/2
3 between pi/2 and pi
1 between pi and 3pi/2
-1 between 3pi/2 and 2pi

The wave is even

Hint
As the wave is even this means there will be no sin terms (as those provide odd components).
The period of the wave is 4pi so omega is 1/2 or 0.5.
 
Level 20
Joined
Apr 22, 2007
Messages
1,960
(1 + 1/3 + 1/5 + ...) + (1/2 + 1/4 + 1/6 + ...) - 2*(1/2 + 1/4 + 1/6 + ...) = (1 + 1/2 + 1/3 + ...) - (1 + 1/2 + 1/3 + ...)

The sum over n of (1/n), from n = 1 to infinity is a divergent series. You can get a paradox when you try to subtract an infinite quantity from an infinite quantity.

There is another mistake in the problem! However, this is also true, but I feel like it's a less fundamental mistake (or at least a less awesome mistake).

How do you define "representable"?
Well I guess I'd have to define a phrase. I guess a finite ordered set of words. Word being defined as a finite ordered set of alphabetic characters. I think that's a reasonable definition of a phrase. So a phrase representation would be a function which maps an integer to a phrase. An integer would be representable if the function is defined at this integer under the function's range constraint (under twelve English words).

Which is greater? The number of natural numbers, or the number of squares of natural numbers?
This is a good one for someone who has only taken high school math. I'll add it to the OP.



Adiktuz said:
-->yeah, its a paradox since that expression is 11 words only...
The solution has greater implications than this. Here is a better formulation for what you've said:
Suppose such an integer exists. Then, 'the smallest positive integer not representable in under twelve English words' is a phrase of eleven words, which is a contradiction.
From this, you know that the integer does not exist. This is not a paradox, and it is not the complete solution!



Nightblade said:
The simple version of 1=2 is far more appealing.
But far more mainstream and obvious.

Heres an easy one.

1$=100 cents
=10 cents x 10 cents
10 cents are 0.1 dollars
therefore
1$ = 0.1$ x 0.1$
1$ =0.01$
Simply a matter of properly converting between units.
100 ¢ = (10 * 10) ¢
100 ¢ * 1 $/100 ¢ = (10 * 10) ¢ * 1 $/100 ¢
1 $ = 100 ¢ $/100 ¢ = 1 $

I don't think this is tricky or mathy enough to include in the OP.



Dr Super Good said:
Generate the fourier series with n = 5 of the wave...
5 between 0 and pi/2
3 between pi/2 and pi
1 between pi and 3pi/2
-1 between 3pi/2 and 2pi
This feels like a purely computational task. Let me know if otherwise, but it certainly doesn't feel mathy.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
This feels like a purely computational task. Let me know if otherwise, but it certainly doesn't feel mathy.
Its a combination. You need to know how to generate the answer but I agree that it is largly brute force (aka just lots of computation at the end).

It is cool though making a sum that as N increases looks more and more like the wave you were asked for. Ofcourse it can never be a perfect representation of the wave due to the undifined differentials of the wave at certain points (something that sin and cos functions can not produce). However when you go to 100 terms it will certainly look like the wave on the display.

Heres an easy one.

1$=100 cents
=10 cents x 10 cents
10 cents are 0.1 dollars
therefore
1$ = 0.1$ x 0.1$
1$ =0.01$
Wrong...
10c * 10c = 100c^2 != 100c
You messed up with the units as c and c^2 are completly different units its like comparing 100m (distance) with 100m^2 (area).
likewise 0.1$ * 0.1$ = 0.01$^2

what you should know though is that 0.01$^2 is the same as 100c^2.

This is why maths at a higher level should be compulsory.
 
Last edited:
Level 20
Joined
Apr 22, 2007
Messages
1,960
Dr Super Good said:
It is cool though making a sum that as N increases looks more and more like the wave you were asked for.
It's cool, but it's not fun or interesting for the layman.

Dr Super Good said:
This is why maths at a higher level should be compulsory.
Unit conversion has nothing to do with higher level mathematics. However, I do believe that lower level math should be more concerned with problem solving (which is actually a useful skill to develop, and happens to be of more importance in higher level math), rather than boring mindless computation.
 
Level 5
Joined
Aug 12, 2010
Messages
149
There is another mistake in the problem! However, this is also true, but I feel like it's a less fundamental mistake (or at least a less awesome mistake).

I guess more generally, addition isn't associative in infinite series where the sum of f(x) doesn't equal the sum of |f(x)|.

You grouped the terms in a way that created infinities. If you group them like (1 - 1/2 - 1/4 + 1/3 - 1/6 ... ) you can also get weird results: (1/2 - 1/4 + 1/6 ...) which converges to (ln2)/2. You could prove 1=2 that way, too.

Well I guess I'd have to define a phrase. I guess a finite ordered set of words. Word being defined as a finite ordered set of alphabetic characters. I think that's a reasonable definition of a phrase. So a phrase representation would be a function which maps an integer to a phrase. An integer would be representable if the function is defined at this integer under the function's range constraint (under twelve English words).

What a train wreck. I think this is a mess as long as you use a "function" that relies on the subjective meanings of English phrases and then try to analyze the function in that same vague context.

Let's say I have two "functions," A and B. Function A is just your interpretation of an English phrase, and B is the number that results when you type the phrase, convert the ASCII to binary, and then convert the binary to base 10. Both map an integer to a phrase, but there isn't as much confusion with function B. I doubt there is a problem with finding "the smallest possible integer not representable in under N English words input into function B".

"Two times six times seven times five"
"Eight hundred forty divided by two"
- Function A gives you 420 for both, but function B gives you two different (incredibly huge) numbers.

"The limit of 1/n as n goes to zero from the right"
"This phrase refers to x unless the number represented by this phrase is x."
"I'm not bipolar, I'm bi-winning."
"This phrase represents an integer."
- Function A doesn't give you a specific integers (or necessarily anything at all), but function B again returns unique numbers.


If I use function B on "the smallest positive integer not representable in under twelve English words", I get a huge number that uniquely describes it.

0111010001101000011001010010000001110011011011010110000101101100011011000110010101110011011101000010000001110000011011110111001101101001011101000110100101110110011001010010000001101001011011100111010001100101011001110110010101110010001000000110111001101111011101000010000001110010011001010111000001110010011001010111001101100101011011100111010001100001011000100110110001100101001000000110100101101110001000000111010101101110011001000110010101110010001000000111010001110111011001010110110001110110011001010010000001000101011011100110011101101100011010010111001101101000001000000111011101101111011100100110010001110011

or about 1.23657203120897 x 10185
 
Level 20
Joined
Apr 22, 2007
Messages
1,960
I guess more generally, addition isn't associative in infinite series where the sum of f(x) doesn't equal the sum of |f(x)|.

You grouped the terms in a way that created infinities. If you group them like (1 - 1/2 - 1/4 + 1/3 - 1/6 ... ) you can also get weird results: (1/2 - 1/4 + 1/6 ...) which converges to (ln2)/2. You could prove 1=2 that way, too.

I'm not sure if associativity is the word you're looking for (rather a transposition of terms which includes associativity and commutativity), but essentially yes this is the problem. Since the series is not absolutely convergent, then for ANY real number α, there exists a rearrangement of terms in the series such that the series converges to α.

What a train wreck.
lol, I know right. D:

If I use function B on "the smallest positive integer not representable in under twelve English words", I get a huge number that uniquely describes it.
Great, but how is this integer the _smallest_ such integer?

Maybe I misunderstood something.
 
Level 5
Joined
Aug 12, 2010
Messages
149
Great, but how is this integer the _smallest_ such integer?

Maybe I misunderstood something.

I was just pointing out the fact that there are a lot of ways an English phrase can represent an integer, and some are more ambiguous than others. I asked you what you meant, and you told me "a phrase representation would be a function which maps an integer to a phrase". Precisely how that mapping is done was never specified, and until it is the statement is too vague to be meaningful.

So let's say it's done by function B from my earlier post: phrase -> string -> binary -> base-10 integer

Following that definition, you could probably write a program to find "the smallest positive integer not representable in under twelve English words".
 
Level 7
Joined
May 13, 2011
Messages
310
Here's a "paradox", if you can call it that. When I was reading some of Zero: The Biography of a Dangerous Idea, it apparently said something along the lines of "any number divided by zero equals any number divided by zero".

So a statement like this would be correct:

Code:
45/0 == 978/0

Therefore, since they are both equal, you can simplify it by crossing out the zeros, since they cancel each other out, and you will get this:

Code:
45 == 978

In this way he demonstrated that, because of zero, all numbers equal all other numbers. He also explained that this also means that, mathematically, anything in the universe is possible. If there are 0 elephants on my head, there are also 200 elephants on my head. If I have 2 arms, I also have 4 arms.

I think you could call that a paradox.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
DSG,you know that the mistake was intentional...
Errors should never be made intentionally.

Anyway, a common one of these "paradoxes" is integer float mathematics on computers. If you trace the modulus opperation that WC3 uses (the GUI one) without taking into account that integers are restricted to a certain domain you end up with a result of the number you put in. Although mathematically correct, one has to remember that integers have a restricted domain.
 
Level 20
Joined
Apr 22, 2007
Messages
1,960
Zarathustra said:
I was just pointing out the fact that there are a lot of ways an English phrase can represent an integer, and some are more ambiguous than others. I asked you what you meant, and you told me "a phrase representation would be a function which maps an integer to a phrase". Precisely how that mapping is done was never specified, and until it is the statement is too vague to be meaningful.
I understand. The fact that this expression is not well-defined probably invalidates the whole problem. I'm not well-versed in this kind of math. :eek:

puggsoy said:
In this way he demonstrated that, because of zero, all numbers equal all other numbers. He also explained that this also means that, mathematically, anything in the universe is possible. If there are 0 elephants on my head, there are also 200 elephants on my head. If I have 2 arms, I also have 4 arms.
Oh god...
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
Here's a "paradox", if you can call it that. When I was reading some of Zero: The Biography of a Dangerous Idea, it apparently said something along the lines of "any number divided by zero equals any number divided by zero".

So a statement like this would be correct:

Code:
45/0 == 978/0

Therefore, since they are both equal, you can simplify it by crossing out the zeros, since they cancel each other out, and you will get this:

Code:
45 == 978

In this way he demonstrated that, because of zero, all numbers equal all other numbers. He also explained that this also means that, mathematically, anything in the universe is possible. If there are 0 elephants on my head, there are also 200 elephants on my head. If I have 2 arms, I also have 4 arms.

I think you could call that a paradox.

In proportions, you can't just "cross out" your denominators...you would need to "cross-multiply" so the answer becomes 45*0 = 978*0

ie 0 = 0
 
actually, I think it should be 0/0 == 0/0 because cross multiplying is actually just multiplying both sides by the number... http://en.wikipedia.org/wiki/Cross-multiplication

so that would be (45/0)*0*0 == (978/0)*0*0 ==> 0/0 == 0/0...

but I think the equation is still invalid as x/0 is indeterminate or sometimes we call it infinity...
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
actually, I think it should be 0/0 == 0/0 because cross multiplying is actually just multiplying both sides by the number... http://en.wikipedia.org/wiki/Cross-multiplication

so that would be (45/0)*0*0 == (978/0)*0*0 ==> 0/0 == 0/0...

but I think the equation is still invalid as x/0 is indeterminate or sometimes we call it infinity...

While you're right in the fact that x/0 is undefined (how could I miss that...) cross multiplication still winds up with 45(0) == (978)(0). Or did you not read the first like 10 lines of the wikipedia article? By multiplying by the denominator you effectively "clear" the denominator. What you're actually doing is multiplying both sides to make up for the initial division.
 
Level 7
Joined
May 13, 2011
Messages
310
Come on. :cute: Anyone that has anything to do with Warcraft 3/Starcraft 2 modding must like maths to some extent.
 
Level 20
Joined
Apr 22, 2007
Messages
1,960
I don't like that explanation. I prefer writing 0.999... as an infinite series, and then the result is immediate:
0.999... = 0.9 + 0.09 + 0.009 + 0.0009 + ...
= 0.9*(0.1 + 0.01 + 0.001 + ...)
= 0.9*1/(1 - 0.1) = 0.9/0.9 = 1

But yeah, the statement 0.999... = 1 is correct.

EDIT:
You can probably do it this way too.
Consider the sequence xn = 1 - 0.99...9, where n is the number of 9's in 0.99...9.
Then xn = 0.00...1, where 1 is at the nth position.
xn = 10-n
So xn → 0, which means that 1 - 0.999... = 0, so 1 = 0.999...

It's pretty clear if you use any sequence or series representation of 0.999...
 
Level 7
Joined
May 13, 2011
Messages
310
Wait... isn't Euler's Formula the thing you use to figure out how many sides/vectors a 3-dimensional polygon has? Or is that something else?
 

fladdermasken

Off-Topic Moderator
Level 39
Joined
Dec 27, 2006
Messages
3,690
Of course, this is silly, since the complex logarithm is multi-valued.
Infinitely so ;)
Wait... isn't Euler's Formula the thing you use to figure out how many sides/vectors a 3-dimensional polygon has? Or is that something else?
You may be refering to his polygon division problem, which is to determine how many possible means there are to partition a plane convex polygon into triangles. Euler has quite the arsenal of formulas.
 
Level 5
Joined
Aug 12, 2010
Messages
149
On an infinite, two-dimensional, rectangular lattice of 1-ohm resistors, what is the resistance between two nodes that are a knight's move away?

- From the amazingly awesome Google Labs Aptitude Test / xkcd nerd sniping strip
 
Level 7
Joined
Apr 27, 2011
Messages
272
What if:
Pi=4.00?
Just came to me because if you try trapping a circle inside a square and continue dividing its corners until you get a circular like polygon then Pi would be fixed. In connection to wc3 since we are not realy making circular circles but rather polygons that were arranged well to be more circular, i think this is applicable. I also tried it on a knockback spell and it makes sense though the units push at a side a little but it really makes sense... (btw, just a theory)
 
what if:
Pi=4.00?

NEVER!
102285d1306693211-fun-math-paradoxes-problems-stuff-pi-3.png
 

Attachments

  • PI=3.png
    PI=3.png
    64.6 KB · Views: 2,080
Level 7
Joined
Apr 27, 2011
Messages
272
StringTheory.jpg


*offtopic

What you said reminds me of the above. Imagine if you have a powerful magnification device (too bad i have non but my imagination) and you magnify a thread you will see > /\/\/\/\/\/\/\/\/\/\/\/\ and for every "/" you see you can zoom in again and see smaller > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ . But is that even possible?
 
But is that even possible?

It depends on your definition of the word "possible" ;)

EDIT:
LOL It reminds me of string theory :D
According to string theory, that's impossible. At one point, you'd have reached the "string" level where you'll
find 1 Dimensional strings forming a 2D and 3D universe =p You can't go further than that .. or can you ;)
 
Status
Not open for further replies.
Top