Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 25 26 [27] 28 29 ... 47  All

Author Topic: Maths thread.  (Read 308744 times)

0 Members and 2 Guests are viewing this topic.

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9411
    • View Profile
Re: Maths thread.
« Reply #650 on: April 05, 2016, 05:27:18 pm »
0

Came across this after some related Quora discussion:

http://www.maa.org/external_archive/devlin/devlin_06_08.html

I have big issues with this rant.... The basic claim is that multiplication is not defined through addition.

Someone call up all the computer engineers out there and tell them they've been building circuit chips wrong all this time.
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

Tables

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2816
  • Build more Bridges in the King's Court!
  • Respect: +3349
    • View Profile
Re: Maths thread.
« Reply #651 on: April 05, 2016, 05:27:33 pm »
+5

It shocks the hell out of me that you can use the prime numbers to calculate pi.  How the hell can those possibly be related!?!?

You can also use, say, the odd numbers (ok, also 4)

In the list of all numbers of the form 2n+1 and also 4, I would say that 4 already is an odd number.
Logged
...spin-offs are still better for all of the previously cited reasons.
But not strictly better, because the spinoff can have a different cost than the expansion.

Cuzz

  • Minion
  • *****
  • Offline Offline
  • Posts: 624
  • Shuffle iT Username: Cuzz
  • Respect: +1020
    • View Profile
Re: Maths thread.
« Reply #652 on: April 05, 2016, 05:42:40 pm »
+4

It shocks the hell out of me that you can use the prime numbers to calculate pi.  How the hell can those possibly be related!?!?

You can also use, say, the odd numbers (ok, also 4)

In the list of all numbers of the form 2n+1 and also 4, I would say that 4 already is an odd number.

That is interesting, but then again, so are all natural numbers.
Logged

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7866
    • View Profile
Re: Maths thread.
« Reply #653 on: April 05, 2016, 05:50:18 pm »
+5

It shocks the hell out of me that you can use the prime numbers to calculate pi.  How the hell can those possibly be related!?!?

You can also use, say, the odd numbers (ok, also 4)

Maybe we can use the odd numbers to calculate 4.
Logged

Cuzz

  • Minion
  • *****
  • Offline Offline
  • Posts: 624
  • Shuffle iT Username: Cuzz
  • Respect: +1020
    • View Profile
Re: Maths thread.
« Reply #654 on: April 05, 2016, 05:54:03 pm »
0

It shocks the hell out of me that you can use the prime numbers to calculate pi.  How the hell can those possibly be related!?!?

You can also use, say, the odd numbers (ok, also 4)

Maybe we can use the odd numbers to calculate 4.

What sorcery.....?
Logged

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7866
    • View Profile
Re: Maths thread.
« Reply #655 on: April 05, 2016, 05:57:56 pm »
0

It shocks the hell out of me that you can use the prime numbers to calculate pi.  How the hell can those possibly be related!?!?

You can also use, say, the odd numbers (ok, also 4)

Maybe we can use the odd numbers to calculate 4.

What sorcery.....?

Logged

qmech

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1918
  • Shuffle iT Username: qmech
  • What year is it?
  • Respect: +2320
    • View Profile
Re: Maths thread.
« Reply #656 on: April 05, 2016, 06:02:10 pm »
+3

Came across this after some related Quora discussion:

http://www.maa.org/external_archive/devlin/devlin_06_08.html

I have big issues with this rant.... The basic claim is that multiplication is not defined through addition.

Someone call up all the computer engineers out there and tell them they've been building circuit chips wrong all this time.

I think that's a slight mischaracterisation of Devlin's position.  He's saying that, however it's defined, repeated addition is not what multiplication is.  This is an incredibly common pattern in mathematics.  You can define the natural numbers as {}, {{}}, {{},{{}}}, ... and the ordered pair (a,b) is {{a},{a,b}} and an integer as an equivalence class of ordered pairs of naturals, and a rational as an equivalence class of ordered pairs of integers, and a real as an equivalence class of Cauchy sequences (whatever they are) of rationals ... but that's not what a real number is.

A function from X to Y "is" a set of ordered pairs such that every x in X appears in exactly one pair (x,y) with y in Y.  But that's not how you think about a function, or how you interpret an occurrence of f(x).  A graph "is" a pair (V,E) where V is a set of vertices and E a set of 2-subsets of V, but you're not going to think in those terms if I ask you to draw a K_4 in the plane.  Mathematical objects have their own existence, and when we think about them we think about them in terms of properties they have.  The concrete definitions can convince somebody that a structure exists, but when you get to work with it you can throw away the scaffolding.  For multiplication the rules are that 0.x = 0, 1.x = x, x.y = y.x and (x+y).z = x.y + x.z.  These contain the inductive definition of multiplication on the naturals, but once you've checked that everything makes sense those particular cases are no longer all that special.
Logged

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7866
    • View Profile
Re: Maths thread.
« Reply #657 on: April 05, 2016, 06:10:39 pm »
0

Came across this after some related Quora discussion:

http://www.maa.org/external_archive/devlin/devlin_06_08.html

I have big issues with this rant.... The basic claim is that multiplication is not defined through addition.

Someone call up all the computer engineers out there and tell them they've been building circuit chips wrong all this time.

I think that's a slight mischaracterisation of Devlin's position.  He's saying that, however it's defined, repeated addition is not what multiplication is.  This is an incredibly common pattern in mathematics.  You can define the natural numbers as {}, {{}}, {{},{{}}}, ... and the ordered pair (a,b) is {{a},{a,b}} and an integer as an equivalence class of ordered pairs of naturals, and a rational as an equivalence class of ordered pairs of integers, and a real as an equivalence class of Cauchy sequences (whatever they are) of rationals ... but that's not what a real number is.

A function from X to Y "is" a set of ordered pairs such that every x in X appears in exactly one pair (x,y) with y in Y.  But that's not how you think about a function, or how you interpret an occurrence of f(x).  A graph "is" a pair (V,E) where V is a set of vertices and E a set of 2-subsets of V, but you're not going to think in those terms if I ask you to draw a K_4 in the plane.  Mathematical objects have their own existence, and when we think about them we think about them in terms of properties they have.  The concrete definitions can convince somebody that a structure exists, but when you get to work with it you can throw away the scaffolding.  For multiplication the rules are that 0.x = 0, 1.x = x, x.y = y.x and (x+y).z = x.y + x.z.  These contain the inductive definition of multiplication on the naturals, but once you've checked that everything makes sense those particular cases are no longer all that special.

Okay, I can get behind this a little more.. but, still, "is" is a bit subjective.  Sure, the set of natural numbers is something, but to get any handle on it we need to define it.  It, in a sense, "is" as much {}, {{}}, {{}, {{}}},  as it "is" anything else. 

But, also, 'multiplication' is not really anything.  Only multiplication together with sets A, B, C is a thing.   
Logged

Cuzz

  • Minion
  • *****
  • Offline Offline
  • Posts: 624
  • Shuffle iT Username: Cuzz
  • Respect: +1020
    • View Profile
Re: Maths thread.
« Reply #658 on: April 05, 2016, 06:17:00 pm »
0

Came across this after some related Quora discussion:

http://www.maa.org/external_archive/devlin/devlin_06_08.html

I have big issues with this rant.... The basic claim is that multiplication is not defined through addition.

Someone call up all the computer engineers out there and tell them they've been building circuit chips wrong all this time.

I think that's a slight mischaracterisation of Devlin's position.  He's saying that, however it's defined, repeated addition is not what multiplication is.  This is an incredibly common pattern in mathematics.  You can define the natural numbers as {}, {{}}, {{},{{}}}, ... and the ordered pair (a,b) is {{a},{a,b}} and an integer as an equivalence class of ordered pairs of naturals, and a rational as an equivalence class of ordered pairs of integers, and a real as an equivalence class of Cauchy sequences (whatever they are) of rationals ... but that's not what a real number is.

A function from X to Y "is" a set of ordered pairs such that every x in X appears in exactly one pair (x,y) with y in Y.  But that's not how you think about a function, or how you interpret an occurrence of f(x).  A graph "is" a pair (V,E) where V is a set of vertices and E a set of 2-subsets of V, but you're not going to think in those terms if I ask you to draw a K_4 in the plane.  Mathematical objects have their own existence, and when we think about them we think about them in terms of properties they have.  The concrete definitions can convince somebody that a structure exists, but when you get to work with it you can throw away the scaffolding.  For multiplication the rules are that 0.x = 0, 1.x = x, x.y = y.x and (x+y).z = x.y + x.z.  These contain the inductive definition of multiplication on the naturals, but once you've checked that everything makes sense those particular cases are no longer all that special.

Okay, I can get behind this a little more.. but, still, "is" is a bit subjective.  Sure, the set of natural numbers is something, but to get any handle on it we need to define it.  It, in a sense, "is" as much {}, {{}}, {{}, {{}}},  as it "is" anything else. 

But, also, 'multiplication' is not really anything.  Only multiplication together with sets A, B, C is a thing.

This reminds me of a discussion I recently had with a colleague. I remarked that my students were having a hard time understanding that a function as a concept is distinct from its graph, and he reminded me that, being a special type of relation, that is in fact exactly what a function is.
Logged

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9411
    • View Profile
Re: Maths thread.
« Reply #659 on: April 05, 2016, 06:50:46 pm »
+2

Okay, I can get behind this a little more.. but, still, "is" is a bit subjective.

I'm guessing you did not have sex with that woman?
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7866
    • View Profile
Re: Maths thread.
« Reply #660 on: April 05, 2016, 06:53:09 pm »
0

Okay, I can get behind this a little more.. but, still, "is" is a bit subjective.

I'm guessing you did not have sex with that woman?

"woman" is a bit a subjective.  Oh, wait, that's not right... hold on...
Logged

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9411
    • View Profile
Re: Maths thread.
« Reply #661 on: April 05, 2016, 07:08:14 pm »
+1

I just realized that joke makes almost no sense to non-Americans or people born before 1990-ish.
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

Watno

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2745
  • Shuffle iT Username: Watno
  • Respect: +2983
    • View Profile
Re: Maths thread.
« Reply #662 on: April 05, 2016, 08:04:14 pm »
+1

I'm European and born after 1990, and I think I understand what it refers too, and I don't believe this to be very unusual
Logged

Tables

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2816
  • Build more Bridges in the King's Court!
  • Respect: +3349
    • View Profile
Re: Maths thread.
« Reply #663 on: April 06, 2016, 06:07:55 am »
+7

I'm European and born after 1990, and I think I understand what it refers too, and I don't believe this to be very unusual

This. I can't quite remember if it was Clinton or Nixon, but I know it was definitely something to do with receiving Heads of State.
Logged
...spin-offs are still better for all of the previously cited reasons.
But not strictly better, because the spinoff can have a different cost than the expansion.

Tables

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2816
  • Build more Bridges in the King's Court!
  • Respect: +3349
    • View Profile
Re: Maths thread.
« Reply #664 on: April 15, 2016, 04:06:11 pm »
+3

Fun thing I worked out today: Take a times table grid, any size. Draw a rectangle on it*. The average of all of the numbers in the rectangle is equal to the average of the four corner squares of the rectangle.

Equally fun thing: Take a times table grid, any size. The sum of all the numbers in this times table grid is equal to the average of the four corner squares, multiplied by the bottom right square.

I leave the proof of these statements for your own pleasure.

Hint: Doing it purely algebraically is doing it in hard mode. Use properties of the times table grid to cut the work you need to do significantly.

*A rectangle orthogonal to the grid and covering whole squares, for the pedants among you**

**Yes this definition is still probably too vague. Shut up.
Logged
...spin-offs are still better for all of the previously cited reasons.
But not strictly better, because the spinoff can have a different cost than the expansion.

Polk5440

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1708
  • Respect: +1788
    • View Profile
Re: Maths thread.
« Reply #665 on: April 15, 2016, 05:35:58 pm »
+1

Fun thing I worked out today: Take a times table grid, any size. Draw a rectangle on it. The average of all of the numbers in the rectangle is equal to the average of the four corner squares of the rectangle.

Equally fun thing: Take a times table grid, any size. The sum of all the numbers in this times table grid is equal to the average of the four corner squares, multiplied by the bottom right square.

I leave the proof of these statements for your own pleasure.

These are fun exercises to show. The second one is easy to show algebraically:

Using the formula 1 + 2 + ... + n =n(n+1)/2 (by induction or the brilliancy of Gauss), the sum of the elements in a multiplication table of size n is n(n+1)/2 + 2*n(n+1)/2 + ... + n*n(n+1)/2 = n(n+1)/2*n(n+1)/2 = n^2*(1 + n + n + n^2)/4. Noting the corner elements of a multiplication table are 1, n, n, and n^2, we are done.

For the first one, this can be brute forced in a similar fashion.

Intuitively, think about one row of the rectangle at a time. Because each row of the rectangle is an arithmetic sequence, the middle element (or average of the middle two elements) will be the average. This is the same as the average of the two end points. To visualize this, think about Gauss's intuitive proof for 1 + 2 + ... + n = n(n+1)/2. You've collapsed the rectangle to one column which is also an arithmetic sequence. The middle element (or average of the middle two elements) will be the average. This is the same as the average of the two end points. Therefore, all you need to do is take the average of the four corners of the rectangle.

Corollary: If your rectangle has odd numbers of rows and columns, you can also just pick the middle element. That's your average.
« Last Edit: April 15, 2016, 05:39:12 pm by Polk5440 »
Logged

Tables

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2816
  • Build more Bridges in the King's Court!
  • Respect: +3349
    • View Profile
Re: Maths thread.
« Reply #666 on: April 15, 2016, 05:52:02 pm »
+1

Yeah, that's more or less how I worked them out. I actually did the second one first, just like you. It came about from working out how you can add up all the squares on a multiplication grid. I'm not sure how I came up with thinking about the corners though.

I wouldn't consider your explanation for the first one there to be brute forcing it. Brute forcing it would be just setting it up as an algebra problem and then checking two equations match up - in particular this:

(n - m + 1)(p - q + 1)( nq + mq + np + mp ) / 4 = ( nq(n+1)(q+1) - mq(m-1)(q+1) - np(n+1)(p-1) + mp(m-1)(p-1) ) / 4

Left hand side is the number of boxes in your grid, multiplied by the average of the four corners (for a grid from m to n by p to q). Right hand side is the total of all the boxes using arithmetic series. These equations do indeed balance, but yeah that's just ugly and inelegant.


Logged
...spin-offs are still better for all of the previously cited reasons.
But not strictly better, because the spinoff can have a different cost than the expansion.

liopoil

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2587
  • Respect: +2479
    • View Profile
Re: Maths thread.
« Reply #667 on: April 15, 2016, 05:57:02 pm »
+2

Proof without hint:

Note that in each column c, the average value is c * m, where m is the mean value over all row numbers, or equivalently the average of the first and last row numbers. The average value of c is similarly the average of the first and last columns. Thus the average value of the whole table is the product of these two averages, which can be seen to be the average of the products (simply by exansion), or the average of the corners.

The equally fun thing follows from the the above proof and the fact that the bottom right corner represents the number of cells in the whole table.


PPE: Two posts I haven't read
« Last Edit: April 15, 2016, 06:00:01 pm by liopoil »
Logged

Polk5440

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1708
  • Respect: +1788
    • View Profile
Re: Maths thread.
« Reply #668 on: April 15, 2016, 06:27:30 pm »
0

Yeah, that's more or less how I worked them out. I actually did the second one first, just like you. It came about from working out how you can add up all the squares on a multiplication grid. I'm not sure how I came up with thinking about the corners though.

I wouldn't consider your explanation for the first one there to be brute forcing it.

Right. I didn't type my brute forced algebra for 1. I tried to outline how I was thinking about why it works.
Logged

ehunt

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1528
  • Shuffle iT Username: ehunt
  • Respect: +1856
    • View Profile
Re: Maths thread.
« Reply #669 on: April 17, 2016, 06:00:56 pm »
0

Kirian is probably referring to the result from https://en.wikipedia.org/wiki/Euler_product#Notable_constants



Edit: Looks like an explanation that generalizes requires more math than I know. An easier justification is at http://www.cut-the-knot.org/proofs/AfterEulerProduct.shtml. The idea is that you start with the Leibniz formula, and note that every odd number equal to 1 mod 4 must be the product of an even number of (not necessarily distinct) primes that are 3 mod 4.

If you're already happy with the Leibniz formula, then it follows formally from the following two observations:

1. 1 - 1/3 + 1/5 - 1/7 + 1/9 - ... is the value at s = 1 of the function sum_{n=0}^infinity f(n) n^{-s}, where f(n) is the function that 0 if n is even, 1 if n is in the set {1, 5, 9, ...} (i.e. is 1 mod 4), and -1 if n is in the sequence {3, 7, 11, ...} (i.e. is 3 mod 4).

2. If f is a multiplicative function (meaning f(xy) = f(x)f(y), as is satisfied for our f above), then

sum f(n) n^(-s) is the product over all primes p of (1-f(p)p^(-s))^(-1)

To prove this, first apply the geometric series formula from high school to every single term on the right hand side, then use the fact that every natural number factors uniquely into a product of primes.
Logged

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9411
    • View Profile
Re: Maths thread.
« Reply #670 on: June 01, 2016, 01:58:38 am »
+12

I was going to make a joke about abstract algebra, but I couldn't come up with one that had the right ring to it.
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

scott_pilgrim

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1102
  • Respect: +2145
    • View Profile
Re: Maths thread.
« Reply #671 on: June 01, 2016, 02:34:02 am »
+17

It's important to make sure you're audience is in the right field; when you factor in the group you're telling it to, you can generate an ideal response.  I don't think a normal group would get an abstract algebra joke, but if you distribute it to people in the domain of math, they will associate certain words with their identity in algebra (and by extension, they will find your joke clever).
Logged

pacovf

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3500
  • Multiediting poster
  • Respect: +3838
    • View Profile
Re: Maths thread.
« Reply #672 on: June 01, 2016, 08:19:48 am »
+1

I saw more fees (m).

...am I doing this right?
Logged
pacovf has a neopets account.  It has 999 hours logged.  All his neopets are named "Jessica".  I guess that must be his ex.

Limetime

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1237
  • Shuffle iT Username: limetime
  • Respect: +1179
    • View Profile
Re: Maths thread.
« Reply #673 on: June 09, 2016, 02:13:16 pm »
0

Dominion opening probability question:
What is the probabilities of hitting 5 first shuffle if you open silver/wedding and wedding/(pay off debt)
Logged

sudgy

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3431
  • Shuffle iT Username: sudgy
  • It's pronounced "SOO-jee"
  • Respect: +2706
    • View Profile
Re: Maths thread.
« Reply #674 on: August 03, 2016, 01:28:29 am »
0

So, I saw this equation as (I think) a joke somewhere online:

y'' = y'^(y'*sin(x*y)) + (e^x)*tan(1/x)

It's way too advanced for me, and I can tell the solution is probably really nasty.  Can any of you solve it?  Wolframalpha wasn't giving it.
Logged
If you're wondering what my avatar is, watch this.

Check out my logic puzzle blog!

   Quote from: sudgy on June 31, 2011, 11:47:46 pm
Pages: 1 ... 25 26 [27] 28 29 ... 47  All
 

Page created in 0.06 seconds with 21 queries.