# Let's discuss Mathematics

Discussion in 'Science & Technology' started by ParadigmShifter, Mar 16, 2009.

1. ### AtticusDeityRetired Moderator

Joined:
Aug 20, 2006
Messages:
3,666
Location:
Helsinki, Finland
I'm not sure if there's any useful insight. I've just come across with these two questions, but never gave them thought myself. So, to force myself to do that I posted them here.

I'm not entirely sure how you'd even do the latter with Excel. Take a very fine grid and calculate?

2. ### Miseisle of lucy

Joined:
Apr 13, 2004
Messages:
28,601
Location:
London, UK
Just a whole bunch of simulations with pairs of coordinates. See where the average tends to...

3. ### AtticusDeityRetired Moderator

Joined:
Aug 20, 2006
Messages:
3,666
Location:
Helsinki, Finland
For fun's sake I did the same with python:
Spoiler :
Code:
from math import sqrt
from random import random

def d(x,y):
dx = (x[0] - y[0])**2
dy = (x[1] - y[1])**2
return sqrt(dx+dy)

def randomDist(pointCount):
sum = 0.0
for i in range(0,pointCount):
x = [random(),random()]
y = [random(),random()]
sum += d(x,y)
return ( sum / pointCount )

# MAIN:

print(randomDist(1000000))


A few runs puts it in the interval [0.521, 0.522]. Gonna think about how to do it properly later.

4. ### dutchfireDeity

Joined:
Jan 5, 2006
Messages:
14,106
Location:
-
1) Based on mathematical intuition, I believe it doesn't depend on \alpha. (If you had a quarter circle and had to divide it in half, you could just divide the full circle in an inner and outer half, and then cut it into 4 pieces later).
Assuming you make a 'round' cut at constant radius, it has to be at 1/2 Sqrt(2) of the radius of the full Brie cheese.

5. ### Robert Can'tGrantaire

Joined:
Dec 7, 2007
Messages:
3,151
Location:
I've managed to get the answer to the second problem in the form of an integral (a horrible looking integral but an integral all the same). Now I just need to integrate it. Will get back to you as soon as I've found the answer.

6. ### AtticusDeityRetired Moderator

Joined:
Aug 20, 2006
Messages:
3,666
Location:
Helsinki, Finland
I was thinking you'd make one straight cut, not a circular one.

As for puzzle two, I'm hoping there would be some easier way than the straight up integration of distances.

7. ### uppiDeity

Joined:
Feb 2, 2007
Messages:
4,542
In that case I get x = sqrt(alpha/(2*sin(alpha))), where x is the distance from the tip (as a fraction of the radius) at both edges for the two points that define the cut and alpha is in radians.

For alpha << 1 this reduces to dutchfire's answer.

8. ### dutchfireDeity

Joined:
Jan 5, 2006
Messages:
14,106
Location:
-
That answer fails at larger alpha. For example, at alpha > 0.6pi, x>1.

Re: 2) It looks hard to calculate it exactly, the integral is very ugly. It is much easier if you're doing this on a periodically continued square, because then there are only two variables effectively and the answer is 0.38. This is a strict lower bound for your question (although obviously not a very good one).

The question also looks much more tractable if you use another norm, for example the max-norm or the taxi-cab metric l_1 metric. Maybe that way it is possible to derive some other bounds on the answer.

9. ### AtticusDeityRetired Moderator

Joined:
Aug 20, 2006
Messages:
3,666
Location:
Helsinki, Finland
That's what I got too.

It's valid at least for cases alpha < pi/2, which the most brie pieces conform to. If alpha goes near pi, it's impossible to cut it in half from straight side to straight side, as the triangle becomes extremely small.

The problem #2 is from YouTube, which suggested a video posing this question. I haven't watched it yet (to not spoil the fun), but it could be something more accessible. If you use different norms, perhaps Hölder's inequality could give at least some estimate.

Joined:
Sep 15, 2004
Messages:
622
11. ### AtticusDeityRetired Moderator

Joined:
Aug 20, 2006
Messages:
3,666
Location:
Helsinki, Finland
I don't see how. Here's how I see the problem:

Points = real number pairs in [0,1]x[0,1].
Distance = the usual euclidic distance.
Average of an integrable function over set A is
1/|A| * \int_A f dm, where m = Lebesgue measure.

Thus, the average of the distance is
\int\int\int\int sqrt{ (x_1 - x_2)^2 + (x_3 - x_4)^2 } dx_1 dx_2 dx_3 dx_4.

I suppose you thought that it's the expected value of the distance of two random points?

12. ### rhinokickChieftain

Joined:
Jan 22, 2016
Messages:
12
Try this - For a project in math class, Anne is making a cover for a circular lounge chair 3 feet in diameter. The finished lounge chair needs to hang down 5 inches over the edge of the chair all the way around. To finish the edge of the cover, Anne will fold under and sew down 1 inch of the material all around the edge. Anne is going to use a single piece of rectangle fabric that is 60 inches wide. What is the shortest length of fabric, in inches, Anne could use to make the cover without needing to attached several pieces of fabric together?

Spoiler :
48 inches - Before doing anything else, make sure you convert all your measurements into the same scale. Because we are working mainly with inches, convert the table with a 3 foot diameter into a table with a (3)(12)=(36) inch diameter.

Now we know that the tablecloth must hang an additional 5+1 inches on EVERY side, so our full length of the tablecloth, in any straight line, will be:

1+5+36+5+1

48 inches.

13. ### Timsup2nothinVeteran of 1000 psycic wars

Joined:
Apr 2, 2013
Messages:
37,650
Location:
Where the winds of limbo roar
I just wanna know how putting this cover over it turned the lounge chair into a table.

14. ### Lohrenswald老仁森林

Joined:
Mar 4, 2013
Messages:
5,832
Location:
The end
feet and inches

I'll try to look at it later

15. ### Lohrenswald老仁森林

Joined:
Mar 4, 2013
Messages:
5,832
Location:
The end
Gotta be honest, I can't parse through the english in that problem

16. ### uppiDeity

Joined:
Feb 2, 2007
Messages:
4,542
I thought this thread was supposed to be about mathematics and not conversions between silly units.

17. ### Lohrenswald老仁森林

Joined:
Mar 4, 2013
Messages:
5,832
Location:
The end
you convert by means of mathematic

18. ### Robert FINMonty n' Roll

Joined:
Nov 7, 2012
Messages:
1,363
Location:
Finland
QUESTION: Show that number n^3 - 3n^2 + 2n is divisible by 3. n is integer.

I can't solve it. I tried sth like: the polynome = 3x, x is integer. But not sure how to show what I need by that... help?

19. ### warpusIn pork I trust

Joined:
Aug 28, 2005
Messages:
49,468
Location:
Stamford Bridge
Assume that it isn't divisible by 3 and try to prove by contradiction. Not sure if that'll work but that's what I would try first.

20. ### SamsonDeity

Joined:
Oct 24, 2003
Messages:
4,575
Location:
Cambridge
Is it:

n^3 - 3n^2 + 2n = n (n - 1) (n - 2)

One of n (n - 1) (n - 2) will always be a multiple of 3.

Spoiler :

How to factorize n^3 - 3n^2 + 2n? Put it into Wolfram Alpha.

Last edited: Jan 12, 2017